C# Class MTMCL.MainWindow

MainWindow.xaml 的互動邏輯
Inheritance: IDisposable
Mostra file Open project: cvronmin/metocraft

Public Properties

Property Type Description
_LaunchOptions MTMCL.Launch.LaunchGameInfo
taskdict TaskListBar>.Dictionary

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method 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 method

public Dispose ( ) : void
return void

Dispose() protected method

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

LaunchGame() public method

public LaunchGame ( LaunchMode mode ) : void
mode MTMCL.Launch.LaunchMode
return void

MainWindow() public method

public MainWindow ( ) : MahApps.Metro
return MahApps.Metro

Render() public method

public Render ( ) : void
return void

RenderColor() public method

public RenderColor ( ) : void
return void

addBalloonNotice() public method

public addBalloonNotice ( Notice balloon ) : void
balloon Notice
return void

addTask() public method

public addTask ( string identifier, TaskListBar task ) : void
identifier string
task MTMCL.Task.TaskListBar
return void

removeTask() public method

public removeTask ( string s, TaskListBar task ) : void
s string
task MTMCL.Task.TaskListBar
return void

Property Details

_LaunchOptions public_oe property

public LaunchGameInfo,MTMCL.Launch _LaunchOptions
return MTMCL.Launch.LaunchGameInfo

taskdict public_oe property

public Dictionary taskdict
return TaskListBar>.Dictionary