C# Class OhMyDanmaku.MainWindow

MainWindow.xaml
Inheritance: System.Windows.Window
Exibir arquivo Open project: StoneMoe/OhMyDanmaku Class Usage Examples

Public Properties

Property Type Description
_SCREEN_HEIGHT double
_SCREEN_WIDTH double

Public Methods

Method Description
MainWindow ( ) : System
loadDefaultConfig ( ) : void
sendDanmaku ( string msg ) : void

Private Methods

Method Description
HideButton_Click ( object sender, RoutedEventArgs e ) : void
InitCompleted ( ) : void
OhMyDanmaku_Init ( ) : void
Setting_Click ( object sender, RoutedEventArgs e ) : void
getRandomString ( int _Length ) : string
msgHandler ( byte buffer, int bufferLength, bool audit ) : void
networkListenLoop ( int _port, bool audit ) : void
pressureButton_Click ( object sender, RoutedEventArgs e ) : void
renderWindow_Closing ( object sender, System e ) : void
setSize ( double _width, double _height ) : void
visualBorder_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Method Details

MainWindow() public method

public MainWindow ( ) : System
return System

loadDefaultConfig() public method

public loadDefaultConfig ( ) : void
return void

sendDanmaku() public method

public sendDanmaku ( string msg ) : void
msg string
return void

Property Details

_SCREEN_HEIGHT public_oe property

public double _SCREEN_HEIGHT
return double

_SCREEN_WIDTH public_oe property

public double _SCREEN_WIDTH
return double