示例#1
0
 private void MountButton_Click(object sender, EventArgs e)
 {
     Console.WriteLine("Now mounting {0}...", Global.Diablo.GAME_NAME);
     CDMounter.InstallService();
     CDMounter.MountImage(Global.Diablo.CD_PATH);
     MainMenuButton.Text = "Unmount and " + InstallerWindow.MAIN_MENU_BUTTON_TEXT;
 }
示例#2
0
 private void MainMenuButton_Click(object sender, EventArgs e)
 {
     if (MainMenuButton.Text.StartsWith("Unmount"))
     {
         Console.WriteLine("Unmounting {0}...", Global.Diablo.GAME_NAME);
         CDMounter.UnmountImage(Global.Diablo.CD_PATH);
         MainMenuButton.Text = InstallerWindow.MAIN_MENU_BUTTON_TEXT;
     }
     this.installerWindow.changeState(MenuStates.MainMenu);
 }
示例#3
0
 private void MountButton_Click(object sender, EventArgs e)
 {
     CDMounter.MountImage(Diablo2CDMenu.CD_PATH);
     MainMenuButton.Text = "Unmount and " + InstallerWindow.MAIN_MENU_BUTTON_TEXT;
 }
示例#4
0
 private void MainMenuButton_Click(object sender, EventArgs e)
 {
     this.installerWindow.changeState(MenuStates.MainMenu);
     CDMounter.UnmountImage(Diablo2CDMenu.CD_PATH);
     MainMenuButton.Text = InstallerWindow.MAIN_MENU_BUTTON_TEXT;
 }