C# Class Octgn.Play.PlayWindow

Inheritance: INotifyPropertyChanged
显示文件 Open project: octgn/OCTGN Class Usage Examples

Public Properties

Property Type Description
IsFullScreenProperty System.Windows.DependencyProperty
ShowSubscribeMessageProperty System.Windows.DependencyProperty

Public Methods

Method Description
PhaseClicked ( object sender, RoutedEventArgs e ) : void
PlayWindow ( ) : System
ShowGameLog ( object sender, RoutedEventArgs routedEventArgs ) : void
TryClose ( ) : bool

Protected Methods

Method Description
Close ( object sender, RoutedEventArgs e ) : void
LimitedCancelClicked ( object sender, EventArgs e ) : void
LimitedOkClicked ( object sender, EventArgs e ) : void
LimitedSaveClicked ( object sender, EventArgs e ) : void
MouseEnteredMenu ( object sender, RoutedEventArgs e ) : void
MouseLeftMenu ( object sender, RoutedEventArgs e ) : void
OnClosed ( EventArgs e ) : void
OnClosing ( CancelEventArgs e ) : void
OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
OnKeyUp ( System.Windows.Input.KeyEventArgs e ) : void
OnPropertyChanged ( string propertyName ) : void

Private Methods

Method Description
ActivateChat ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
ButtonWaitingForPlayersCancel ( object sender, RoutedEventArgs e ) : void
CardHovered ( object sender, Octgn.Play.Gui.CardEventArgs e ) : void
ChatOnMouseEnter ( object sender, System.Windows.Input.MouseEventArgs mouseEventArgs ) : void
ChatOnMouseLeave ( object sender, System.Windows.Input.MouseEventArgs mouseEventArgs ) : void
ChatSplitDoubleClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
ChatSplit_DragDelta ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs e ) : void
ConsoleClicked ( object sender, RoutedEventArgs e ) : void
GridSplitter_DragDelta ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs e ) : void
HideBackstage ( ) : void
HidePhaseStoryboard ( object sender, System.Windows.Input.MouseEventArgs e ) : void
InitializePlayerSummary ( object sender, EventArgs e ) : void
KickPlayer ( object sender, RoutedEventArgs e ) : void
KillJoshJohnson ( object sender, RoutedEventArgs e ) : void
LimitedAddPacks ( object sender, RoutedEventArgs e ) : void
LimitedGame ( object sender, RoutedEventArgs e ) : void
LimitedLoadCardPool ( object sender, RoutedEventArgs e ) : void
LoadDeck ( string path ) : void
LockPhaseStoryboard ( object sender, System.Windows.Input.MouseEventArgs e ) : void
MenuChangeBackgroundFromFileClick ( object sender, RoutedEventArgs e ) : void
MenuChangeBackgroundReset ( object sender, RoutedEventArgs e ) : void
NextTurnClicked ( object sender, RoutedEventArgs e ) : void
OnLoaded ( object sen, RoutedEventArgs routedEventArgs ) : void
Open ( object sender, RoutedEventArgs e ) : void
PlayerTabsOnMouseEnter ( object sender, System.Windows.Input.MouseEventArgs mouseEventArgs ) : void
PlayerTabsOnMouseLeave ( object sender, System.Windows.Input.MouseEventArgs mouseEventArgs ) : void
ProgramOnOnOptionsChanged ( ) : void
ResetGame ( object sender, RoutedEventArgs e ) : void
ShowAboutWindow ( object sender, RoutedEventArgs e ) : void
ShowBackstage ( UIElement ui ) : void
ShowCardPicture ( Card card, System.Windows.Media.Imaging.BitmapSource img ) : double
ShowPhaseStoryboard ( object sender, System.Windows.Input.MouseEventArgs e ) : void
ShowSecondCardPicture ( Card card, System.Windows.Media.Imaging.BitmapSource img, double requiredMargin ) : void
SubscribeNavigate ( object sender, System.Windows.Navigation.RequestNavigateEventArgs e ) : void
ToggleFullScreen ( object sender, RoutedEventArgs e ) : void
UpdateFont ( ) : void
ViewCardModel ( object sender, CardModelEventArgs e ) : void

Method Details

Close() protected method

protected Close ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

LimitedCancelClicked() protected method

protected LimitedCancelClicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

LimitedOkClicked() protected method

protected LimitedOkClicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

LimitedSaveClicked() protected method

protected LimitedSaveClicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MouseEnteredMenu() protected method

protected MouseEnteredMenu ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

MouseLeftMenu() protected method

protected MouseLeftMenu ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

OnClosed() protected method

protected OnClosed ( EventArgs e ) : void
e System.EventArgs
return void

OnClosing() protected method

protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
return void

OnKeyDown() protected method

protected OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs
return void

OnKeyUp() protected method

protected OnKeyUp ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs
return void

OnPropertyChanged() protected method

protected OnPropertyChanged ( string propertyName ) : void
propertyName string
return void

PhaseClicked() public method

public PhaseClicked ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

PlayWindow() public method

public PlayWindow ( ) : System
return System

ShowGameLog() public method

public ShowGameLog ( object sender, RoutedEventArgs routedEventArgs ) : void
sender object
routedEventArgs System.Windows.RoutedEventArgs
return void

TryClose() public method

public TryClose ( ) : bool
return bool

Property Details

IsFullScreenProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsFullScreenProperty
return System.Windows.DependencyProperty

ShowSubscribeMessageProperty public_oe static_oe property

public static DependencyProperty,System.Windows ShowSubscribeMessageProperty
return System.Windows.DependencyProperty