public Diablo2PatchMenu(InstallerWindow installerWindow)
        {
            InitializeComponent();
            this.installerWindow = installerWindow;

            versionToPatchDictionary = new Dictionary <string, FileInfo>();
            this.versionToPatchDictionary.Add("Patch 1.01", new FileInfo(PATCH_PATH + "D2Patch_101.exe"));
            this.versionToPatchDictionary.Add("Patch 1.03", new FileInfo(PATCH_PATH + "D2Patch_103.exe"));
            this.versionToPatchDictionary.Add("Patch 1.04b", new FileInfo(PATCH_PATH + "D2Patch_104b.exe"));
            this.versionToPatchDictionary.Add("Patch 1.04c", new FileInfo(PATCH_PATH + "D2Patch104c.exe"));
            this.versionToPatchDictionary.Add("Patch 1.05", new FileInfo(PATCH_PATH + "D2Patch_105.exe"));
            this.versionToPatchDictionary.Add("Patch 1.05b", new FileInfo(PATCH_PATH + "D2Patch_105b.exe"));
            this.versionToPatchDictionary.Add("Patch 1.06", new FileInfo(PATCH_PATH + "D2Patch_106.exe"));
            this.versionToPatchDictionary.Add("Patch 1.06b", new FileInfo(PATCH_PATH + "D2Patch_106b.exe"));
            this.versionToPatchDictionary.Add("Patch 1.08", new FileInfo(PATCH_PATH + "D2Patch_108.exe"));
            this.versionToPatchDictionary.Add("Patch 1.09", new FileInfo(PATCH_PATH + "D2Patch_109.exe"));
            this.versionToPatchDictionary.Add("Patch 1.09b", new FileInfo(PATCH_PATH + "D2Patch_109b.exe"));
            this.versionToPatchDictionary.Add("Patch 1.10", new FileInfo(PATCH_PATH + "D2Patch_110.exe"));
            this.versionToPatchDictionary.Add("Patch 1.11", new FileInfo(PATCH_PATH + "D2Patch_111.exe"));
            this.versionToPatchDictionary.Add("Patch 1.11b", new FileInfo(PATCH_PATH + "D2Patch_111b.exe"));
            this.versionToPatchDictionary.Add("Patch 1.12a", new FileInfo(PATCH_PATH + "D2Patch_112a.exe"));
            this.versionToPatchDictionary.Add("Patch 1.13c", new FileInfo(PATCH_PATH + "D2Patch_113c.exe"));
            this.versionToPatchDictionary.Add("Patch 1.13d", new FileInfo(PATCH_PATH + "D2Patch_113d.exe"));
            this.versionToPatchDictionary.Add("Patch 1.14a", new FileInfo(PATCH_PATH + "D2Patch_114a.exe"));
            this.versionToPatchDictionary.Add("Patch 1.14b", new FileInfo(PATCH_PATH + "D2Patch_114b.exe"));
            this.versionToPatchDictionary.Add("Patch 1.14c", new FileInfo(PATCH_PATH + "D2Patch_114c.exe"));
            this.versionToPatchDictionary.Add("Patch 1.14d", new FileInfo(PATCH_PATH + "D2Patch_114d.exe"));
        }
예제 #2
0
 public MainMenu(InstallerWindow installerWindow)
 {
     InitializeComponent();
     this.installerWindow = installerWindow;
     this.EnableDiablo2ExpMenuButton();
     this.EnableHellfireMenuButton();
 }
 public DiabloExtrasMenu(InstallerWindow installerWindow)
 {
     InitializeComponent();
     this.installerWindow = installerWindow;
 }
예제 #4
0
 public DiabloCDMenu(InstallerWindow installerWindow)
 {
     InitializeComponent();
     this.installerWindow = installerWindow;
     this.EnableInstallRequiredMenuButton();
 }
 public HellfireCDMenu(InstallerWindow installerWindow)
 {
     InitializeComponent();
     this.installerWindow = installerWindow;
 }
 public DiabloPatchMenu(InstallerWindow installerWindow) : base()
 {
     InitializeComponent();
     this.installerWindow = installerWindow;
 }