C# Class MTMCL.MainWindow

MainWindow.xaml 的互動邏輯
Inheritance: IDisposable
Afficher le fichier Open project: cvronmin/metocraft

Méthodes publiques

Свойство Type Description
_LaunchOptions MTMCL.Launch.LaunchGameInfo
taskdict TaskListBar>.Dictionary

Méthodes publiques

Méthode Description
Dispose ( ) : void
LaunchGame ( LaunchMode mode ) : void
MainWindow ( ) : MahApps.Metro
Render ( ) : void
RenderColor ( ) : void
addBalloonNotice ( Notice balloon ) : void
addTask ( string identifier, TaskListBar task ) : void
removeTask ( string s, TaskListBar task ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
ChangePage ( string type, bool required0Margin = false ) : System.Threading.Tasks.Task
ChangeTileColor ( ) : void
LoadServerDeDicatedVersion ( ) : void
MenuChangeColor_Click ( object sender, RoutedEventArgs e ) : void
MetroWindow_Closing ( object sender, System e ) : void
MetroWindow_Loaded ( object sender, RoutedEventArgs e ) : void
RenderTheme ( Themes theme ) : void
SwitchBetweenHomeAndMenu ( bool toHome ) : void
Window_Closing ( object sender, System e ) : void
addNotice ( Notice notice ) : void
butDL_Click ( object sender, RoutedEventArgs e ) : void
butGradle_Click ( object sender, RoutedEventArgs e ) : void
butHelp_Click ( object sender, RoutedEventArgs e ) : void
butHome_Click ( object sender, RoutedEventArgs e ) : void
butInstall_Click ( object sender, RoutedEventArgs e ) : void
butLaunchBMCL_Click ( object sender, RoutedEventArgs e ) : void
butLaunchBMCL_MouseEnter ( object sender, System e ) : void
butLaunchBMCL_MouseLeave ( object sender, System e ) : void
butLaunchBaka_Click ( object sender, RoutedEventArgs e ) : void
butLaunchBaka_MouseEnter ( object sender, System e ) : void
butLaunchBaka_MouseLeave ( object sender, System e ) : void
butLaunchNormal_Click ( object sender, RoutedEventArgs e ) : void
butLaunchNormal_MouseEnter ( object sender, System e ) : void
butLaunchNormal_MouseLeave ( object sender, System e ) : void
butNotice_Click ( object sender, RoutedEventArgs e ) : void
butPlayQuick_Click ( object sender, RoutedEventArgs e ) : void
butPlayQuick_IsEnabledChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
butPlayQuick_MouseEnter ( object sender, System e ) : void
butPlayQuick_MouseLeave ( object sender, System e ) : void
butPlay_Click ( object sender, RoutedEventArgs e ) : void
butServer_Click ( object sender, RoutedEventArgs e ) : void
butSetting_Click ( object sender, RoutedEventArgs e ) : void
butTask_Click ( object sender, RoutedEventArgs e ) : void
quickbutDL_Click ( object sender, RoutedEventArgs e ) : void
quickbutGradle_Click ( object sender, RoutedEventArgs e ) : void
quickbutNotice_Click ( object sender, RoutedEventArgs e ) : void
quickbutPlay_Click ( object sender, RoutedEventArgs e ) : void
quickbutSetting_Click ( object sender, RoutedEventArgs e ) : void
quickbutTask_Click ( object sender, RoutedEventArgs e ) : void
timer_Tick ( object sender, EventArgs e ) : void
toGoodString ( int i ) : string

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

LaunchGame() public méthode

public LaunchGame ( LaunchMode mode ) : void
mode MTMCL.Launch.LaunchMode
Résultat void

MainWindow() public méthode

public MainWindow ( ) : MahApps.Metro
Résultat MahApps.Metro

Render() public méthode

public Render ( ) : void
Résultat void

RenderColor() public méthode

public RenderColor ( ) : void
Résultat void

addBalloonNotice() public méthode

public addBalloonNotice ( Notice balloon ) : void
balloon Notice
Résultat void

addTask() public méthode

public addTask ( string identifier, TaskListBar task ) : void
identifier string
task MTMCL.Task.TaskListBar
Résultat void

removeTask() public méthode

public removeTask ( string s, TaskListBar task ) : void
s string
task MTMCL.Task.TaskListBar
Résultat void

Property Details

_LaunchOptions public_oe property

public LaunchGameInfo,MTMCL.Launch _LaunchOptions
Résultat MTMCL.Launch.LaunchGameInfo

taskdict public_oe property

public Dictionary taskdict
Résultat TaskListBar>.Dictionary