add repair mode
This commit is contained in:
29
ModpackUpdater.Apps.Client/Form1.Designer.cs
generated
29
ModpackUpdater.Apps.Client/Form1.Designer.cs
generated
@@ -41,7 +41,9 @@ namespace ModpackUpdater.Apps.Client
|
||||
RadLabel_Status = new Telerik.WinControls.UI.RadLabel();
|
||||
RadTextBox_MinecraftProfileFolder = new Telerik.WinControls.UI.RadTextBox();
|
||||
RadTextBox_ModpackConfig = new Telerik.WinControls.UI.RadTextBox();
|
||||
RadButton_Install = new Telerik.WinControls.UI.RadButton();
|
||||
RadButton_Install = new Telerik.WinControls.UI.RadSplitButton();
|
||||
radMenuItem_Install = new Telerik.WinControls.UI.RadMenuItem();
|
||||
radMenuItem_Repair = new Telerik.WinControls.UI.RadMenuItem();
|
||||
RadButton_CheckForUpdates = new Telerik.WinControls.UI.RadButton();
|
||||
RadButton_PasteModpackConfig = new Telerik.WinControls.UI.RadButton();
|
||||
RadButton_SearchMinecraftProfileFolder = new Telerik.WinControls.UI.RadButton();
|
||||
@@ -137,6 +139,7 @@ namespace ModpackUpdater.Apps.Client
|
||||
RadButton_Install.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||
tableLayoutPanel1.SetColumnSpan(RadButton_Install, 2);
|
||||
RadButton_Install.ImageAlignment = ContentAlignment.MiddleRight;
|
||||
RadButton_Install.Items.AddRange(new Telerik.WinControls.RadItem[] { radMenuItem_Install, radMenuItem_Repair });
|
||||
RadButton_Install.Location = new Point(325, 213);
|
||||
RadButton_Install.Name = "RadButton_Install";
|
||||
RadButton_Install.Size = new Size(94, 24);
|
||||
@@ -146,14 +149,26 @@ namespace ModpackUpdater.Apps.Client
|
||||
RadButton_Install.TextImageRelation = TextImageRelation.ImageBeforeText;
|
||||
RadButton_Install.Click += ButtonX_StartUpdate_Click;
|
||||
//
|
||||
// radMenuItem_Install
|
||||
//
|
||||
radMenuItem_Install.Name = "radMenuItem_Install";
|
||||
radMenuItem_Install.Text = "Install";
|
||||
radMenuItem_Install.Click += RadMenuItem_Install_Click;
|
||||
//
|
||||
// radMenuItem_Repair
|
||||
//
|
||||
radMenuItem_Repair.Name = "radMenuItem_Repair";
|
||||
radMenuItem_Repair.Text = "Repair";
|
||||
radMenuItem_Repair.Click += RadMenuItem_Repair_Click;
|
||||
//
|
||||
// RadButton_CheckForUpdates
|
||||
//
|
||||
RadButton_CheckForUpdates.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||
tableLayoutPanel1.SetColumnSpan(RadButton_CheckForUpdates, 3);
|
||||
tableLayoutPanel1.SetColumnSpan(RadButton_CheckForUpdates, 4);
|
||||
RadButton_CheckForUpdates.ImageAlignment = ContentAlignment.MiddleRight;
|
||||
RadButton_CheckForUpdates.Location = new Point(175, 213);
|
||||
RadButton_CheckForUpdates.Location = new Point(153, 213);
|
||||
RadButton_CheckForUpdates.Name = "RadButton_CheckForUpdates";
|
||||
RadButton_CheckForUpdates.Size = new Size(144, 24);
|
||||
RadButton_CheckForUpdates.Size = new Size(166, 24);
|
||||
RadButton_CheckForUpdates.TabIndex = 0;
|
||||
RadButton_CheckForUpdates.Text = "Check for Updates";
|
||||
RadButton_CheckForUpdates.TextAlignment = ContentAlignment.MiddleLeft;
|
||||
@@ -200,7 +215,6 @@ namespace ModpackUpdater.Apps.Client
|
||||
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 50F));
|
||||
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 50F));
|
||||
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 50F));
|
||||
tableLayoutPanel1.Controls.Add(RadButton_CheckForUpdates, 2, 7);
|
||||
tableLayoutPanel1.Controls.Add(RadLabel1, 0, 0);
|
||||
tableLayoutPanel1.Controls.Add(RadLabel2, 0, 2);
|
||||
tableLayoutPanel1.Controls.Add(RadTextBox_MinecraftProfileFolder, 1, 0);
|
||||
@@ -214,6 +228,7 @@ namespace ModpackUpdater.Apps.Client
|
||||
tableLayoutPanel1.Controls.Add(radButton_PasteInstallKey, 5, 5);
|
||||
tableLayoutPanel1.Controls.Add(RadButton_PasteModpackConfig, 5, 3);
|
||||
tableLayoutPanel1.Controls.Add(radButton_RefreshConfig, 4, 3);
|
||||
tableLayoutPanel1.Controls.Add(RadButton_CheckForUpdates, 1, 7);
|
||||
tableLayoutPanel1.Dock = DockStyle.Fill;
|
||||
tableLayoutPanel1.Location = new Point(0, 0);
|
||||
tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
@@ -321,7 +336,7 @@ namespace ModpackUpdater.Apps.Client
|
||||
internal Telerik.WinControls.UI.RadLabel RadLabel_Status;
|
||||
internal Telerik.WinControls.UI.RadTextBox RadTextBox_MinecraftProfileFolder;
|
||||
internal Telerik.WinControls.UI.RadTextBox RadTextBox_ModpackConfig;
|
||||
internal Telerik.WinControls.UI.RadButton RadButton_Install;
|
||||
internal Telerik.WinControls.UI.RadSplitButton RadButton_Install;
|
||||
internal Telerik.WinControls.UI.RadButton RadButton_CheckForUpdates;
|
||||
internal Telerik.WinControls.UI.RadButton RadButton_SearchMinecraftProfileFolder;
|
||||
internal Telerik.WinControls.UI.RadButton RadButton_PasteModpackConfig;
|
||||
@@ -330,5 +345,7 @@ namespace ModpackUpdater.Apps.Client
|
||||
internal Telerik.WinControls.UI.RadLabel radLabel4;
|
||||
internal Telerik.WinControls.UI.RadTextBox radTextBox_InstallKey;
|
||||
internal Telerik.WinControls.UI.RadButton radButton_PasteInstallKey;
|
||||
private Telerik.WinControls.UI.RadMenuItem radMenuItem_Repair;
|
||||
private Telerik.WinControls.UI.RadMenuItem radMenuItem_Install;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user