C# Class BigRedButtonOfDeath.WPF.MainWindow

Interaction logic for MainWindow.xaml
Inheritance: System.Windows.Window, IView
Datei anzeigen Open project: russjudge/ArtemisSBS-ProtocolSharp Class Usage Examples

Public Properties

Property Type Description
AbortSelfDestructImageProperty System.Windows.DependencyProperty
ConnectionStartedProperty System.Windows.DependencyProperty
GameRunningProperty System.Windows.DependencyProperty
HostProperty System.Windows.DependencyProperty
PortProperty System.Windows.DependencyProperty
RedAlertEnabledProperty System.Windows.DependencyProperty
SelfDestructImageProperty System.Windows.DependencyProperty
SelfDestructRunningProperty System.Windows.DependencyProperty
ShieldsRaisedProperty System.Windows.DependencyProperty
SimulationRunningProperty System.Windows.DependencyProperty

Public Methods

Method Description
AlertAboutArtemisVersionConflict ( string message ) : void
ConnectionFailed ( ) : void
Dispose ( ) : void
GameEnded ( ) : void
GameStarted ( ) : void
GetShipSelection ( PlayerShip shipList ) : void
MainWindow ( ) : ArtemisComm
SetAbortSelfDestruct ( ) : void
SetSelfDestructImage ( ) : void
SimulationEnded ( ) : void
UnableToConnect ( ) : void
UserShipSelect ( ) : void

Protected Methods

Method Description
Dispose ( bool isDisposing ) : void

Private Methods

Method Description
GetImage ( string path ) : ImageSource
InitializeComponent ( ) : void
OnChangeAbortSelfDestruct ( object sender, RoutedEventArgs e ) : void
OnChangeSelfDestruct ( object sender, RoutedEventArgs e ) : void
OnClose ( object sender, RoutedEventArgs e ) : void
OnClosed ( object sender, EventArgs e ) : void
OnConnect ( object sender, RoutedEventArgs e ) : void
OnMouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OnReset ( object sender, RoutedEventArgs e ) : void
OnResetSelfDestruct ( object sender, RoutedEventArgs e ) : void
OnSelfDestruct ( object sender, RoutedEventArgs e ) : void
OnSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
SelectImage ( string title, string baseFile ) : string>.KeyValuePair
System ( int connectionId, object target ) : void

Method Details

AlertAboutArtemisVersionConflict() public method

public AlertAboutArtemisVersionConflict ( string message ) : void
message string
return void

ConnectionFailed() public method

public ConnectionFailed ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool isDisposing ) : void
isDisposing bool
return void

GameEnded() public method

public GameEnded ( ) : void
return void

GameStarted() public method

public GameStarted ( ) : void
return void

GetShipSelection() public method

public GetShipSelection ( PlayerShip shipList ) : void
shipList ArtemisComm.PlayerShip
return void

MainWindow() public method

public MainWindow ( ) : ArtemisComm
return ArtemisComm

SetAbortSelfDestruct() public method

public SetAbortSelfDestruct ( ) : void
return void

SetSelfDestructImage() public method

public SetSelfDestructImage ( ) : void
return void

SimulationEnded() public method

public SimulationEnded ( ) : void
return void

UnableToConnect() public method

public UnableToConnect ( ) : void
return void

UserShipSelect() public method

public UserShipSelect ( ) : void
return void

Property Details

AbortSelfDestructImageProperty public_oe static_oe property

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

ConnectionStartedProperty public_oe static_oe property

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

GameRunningProperty public_oe static_oe property

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

HostProperty public_oe static_oe property

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

PortProperty public_oe static_oe property

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

RedAlertEnabledProperty public_oe static_oe property

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

SelfDestructImageProperty public_oe static_oe property

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

SelfDestructRunningProperty public_oe static_oe property

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

ShieldsRaisedProperty public_oe static_oe property

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

SimulationRunningProperty public_oe static_oe property

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