|
|
@@ -23,24 +23,20 @@ |
|
|
|
#region Windows Form Designer generated code |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// Required method for Designer support - do not modify |
|
|
|
/// the contents of this method with the code editor. |
|
|
|
/// Required method for Designer support - do not modify |
|
|
|
/// the contents of this method with the code editor. |
|
|
|
/// </summary> |
|
|
|
private void InitializeComponent() |
|
|
|
{ |
|
|
|
System.Windows.Forms.ListViewGroup listViewGroup1 = new System.Windows.Forms.ListViewGroup("Installed", System.Windows.Forms.HorizontalAlignment.Center); |
|
|
|
System.Windows.Forms.ListViewGroup listViewGroup2 = new System.Windows.Forms.ListViewGroup("Available", System.Windows.Forms.HorizontalAlignment.Center); |
|
|
|
System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new string[] { |
|
|
|
"Mod", |
|
|
|
"modtainers", |
|
|
|
"1.0", |
|
|
|
"2020.06.15. 2:01:43"}, -1); |
|
|
|
System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new string[] {"Mod", "modtainers", "1.0", "2020.06.15. 2:01:43"}, -1); |
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); |
|
|
|
this.modlist = new System.Windows.Forms.ListView(); |
|
|
|
this.modName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); |
|
|
|
this.modAuthor = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); |
|
|
|
this.modVersion = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); |
|
|
|
this.modTimestamp = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); |
|
|
|
this.modName = new System.Windows.Forms.ColumnHeader(); |
|
|
|
this.modAuthor = new System.Windows.Forms.ColumnHeader(); |
|
|
|
this.modVersion = new System.Windows.Forms.ColumnHeader(); |
|
|
|
this.modTimestamp = new System.Windows.Forms.ColumnHeader(); |
|
|
|
this.status = new System.Windows.Forms.Label(); |
|
|
|
this.installbtn = new System.Windows.Forms.Button(); |
|
|
|
this.uninstallbtn = new System.Windows.Forms.Button(); |
|
|
@@ -50,21 +46,14 @@ |
|
|
|
this.unpatched = new System.Windows.Forms.CheckBox(); |
|
|
|
this.modinfobox = new System.Windows.Forms.RichTextBox(); |
|
|
|
this.refreshbtn = new System.Windows.Forms.Button(); |
|
|
|
this.validatebtn = new System.Windows.Forms.Button(); |
|
|
|
this.SuspendLayout(); |
|
|
|
// |
|
|
|
// modlist |
|
|
|
// |
|
|
|
this.modlist.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
| System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.modlist.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(216)))), ((int)(((byte)(240)))), ((int)(((byte)(216))))); |
|
|
|
this.modlist.Anchor = ((System.Windows.Forms.AnchorStyles) ((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.modlist.BackColor = System.Drawing.Color.FromArgb(((int) (((byte) (216)))), ((int) (((byte) (240)))), ((int) (((byte) (216))))); |
|
|
|
this.modlist.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.modlist.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { |
|
|
|
this.modName, |
|
|
|
this.modAuthor, |
|
|
|
this.modVersion, |
|
|
|
this.modTimestamp}); |
|
|
|
this.modlist.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {this.modName, this.modAuthor, this.modVersion, this.modTimestamp}); |
|
|
|
this.modlist.ForeColor = System.Drawing.Color.Green; |
|
|
|
this.modlist.FullRowSelect = true; |
|
|
|
listViewGroup1.Header = "Installed"; |
|
|
@@ -73,14 +62,11 @@ |
|
|
|
listViewGroup2.Header = "Available"; |
|
|
|
listViewGroup2.HeaderAlignment = System.Windows.Forms.HorizontalAlignment.Center; |
|
|
|
listViewGroup2.Name = "available"; |
|
|
|
this.modlist.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { |
|
|
|
listViewGroup1, |
|
|
|
listViewGroup2}); |
|
|
|
this.modlist.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] {listViewGroup1, listViewGroup2}); |
|
|
|
this.modlist.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; |
|
|
|
this.modlist.HideSelection = false; |
|
|
|
listViewItem1.Group = listViewGroup1; |
|
|
|
this.modlist.Items.AddRange(new System.Windows.Forms.ListViewItem[] { |
|
|
|
listViewItem1}); |
|
|
|
this.modlist.Items.AddRange(new System.Windows.Forms.ListViewItem[] {listViewItem1}); |
|
|
|
this.modlist.Location = new System.Drawing.Point(12, 47); |
|
|
|
this.modlist.Name = "modlist"; |
|
|
|
this.modlist.Size = new System.Drawing.Size(491, 433); |
|
|
@@ -112,10 +98,10 @@ |
|
|
|
// |
|
|
|
// status |
|
|
|
// |
|
|
|
this.status.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); |
|
|
|
this.status.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); |
|
|
|
this.status.AutoSize = true; |
|
|
|
this.status.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.status.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); |
|
|
|
this.status.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte) (238))); |
|
|
|
this.status.ForeColor = System.Drawing.Color.Lime; |
|
|
|
this.status.Location = new System.Drawing.Point(8, 487); |
|
|
|
this.status.Name = "status"; |
|
|
@@ -125,11 +111,11 @@ |
|
|
|
// |
|
|
|
// installbtn |
|
|
|
// |
|
|
|
this.installbtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.installbtn.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.installbtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Green; |
|
|
|
this.installbtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(40)))), ((int)(((byte)(0))))); |
|
|
|
this.installbtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int) (((byte) (0)))), ((int) (((byte) (40)))), ((int) (((byte) (0))))); |
|
|
|
this.installbtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.installbtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); |
|
|
|
this.installbtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte) (238))); |
|
|
|
this.installbtn.Location = new System.Drawing.Point(509, 12); |
|
|
|
this.installbtn.Name = "installbtn"; |
|
|
|
this.installbtn.Size = new System.Drawing.Size(263, 49); |
|
|
@@ -140,11 +126,11 @@ |
|
|
|
// |
|
|
|
// uninstallbtn |
|
|
|
// |
|
|
|
this.uninstallbtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.uninstallbtn.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.uninstallbtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Black; |
|
|
|
this.uninstallbtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Black; |
|
|
|
this.uninstallbtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.uninstallbtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); |
|
|
|
this.uninstallbtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte) (238))); |
|
|
|
this.uninstallbtn.ForeColor = System.Drawing.Color.Green; |
|
|
|
this.uninstallbtn.Location = new System.Drawing.Point(509, 67); |
|
|
|
this.uninstallbtn.Name = "uninstallbtn"; |
|
|
@@ -158,9 +144,9 @@ |
|
|
|
// |
|
|
|
this.playbtn.Anchor = System.Windows.Forms.AnchorStyles.Bottom; |
|
|
|
this.playbtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Green; |
|
|
|
this.playbtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(40)))), ((int)(((byte)(0))))); |
|
|
|
this.playbtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int) (((byte) (0)))), ((int) (((byte) (40)))), ((int) (((byte) (0))))); |
|
|
|
this.playbtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.playbtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); |
|
|
|
this.playbtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte) (238))); |
|
|
|
this.playbtn.Location = new System.Drawing.Point(250, 487); |
|
|
|
this.playbtn.Name = "playbtn"; |
|
|
|
this.playbtn.Size = new System.Drawing.Size(300, 62); |
|
|
@@ -171,9 +157,9 @@ |
|
|
|
// |
|
|
|
// settingsbtn |
|
|
|
// |
|
|
|
this.settingsbtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.settingsbtn.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.settingsbtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Green; |
|
|
|
this.settingsbtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(40)))), ((int)(((byte)(0))))); |
|
|
|
this.settingsbtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int) (((byte) (0)))), ((int) (((byte) (40)))), ((int) (((byte) (0))))); |
|
|
|
this.settingsbtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.settingsbtn.Location = new System.Drawing.Point(667, 487); |
|
|
|
this.settingsbtn.Name = "settingsbtn"; |
|
|
@@ -185,9 +171,9 @@ |
|
|
|
// |
|
|
|
// findlog |
|
|
|
// |
|
|
|
this.findlog.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.findlog.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.findlog.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Green; |
|
|
|
this.findlog.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(40)))), ((int)(((byte)(0))))); |
|
|
|
this.findlog.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int) (((byte) (0)))), ((int) (((byte) (40)))), ((int) (((byte) (0))))); |
|
|
|
this.findlog.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.findlog.Location = new System.Drawing.Point(666, 522); |
|
|
|
this.findlog.Name = "findlog"; |
|
|
@@ -199,7 +185,7 @@ |
|
|
|
// |
|
|
|
// unpatched |
|
|
|
// |
|
|
|
this.unpatched.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); |
|
|
|
this.unpatched.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); |
|
|
|
this.unpatched.AutoSize = true; |
|
|
|
this.unpatched.Location = new System.Drawing.Point(12, 534); |
|
|
|
this.unpatched.Name = "unpatched"; |
|
|
@@ -211,8 +197,7 @@ |
|
|
|
// |
|
|
|
// modinfobox |
|
|
|
// |
|
|
|
this.modinfobox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.modinfobox.Anchor = ((System.Windows.Forms.AnchorStyles) (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.modinfobox.BackColor = System.Drawing.Color.Black; |
|
|
|
this.modinfobox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.modinfobox.ForeColor = System.Drawing.Color.Lime; |
|
|
@@ -226,9 +211,9 @@ |
|
|
|
// refreshbtn |
|
|
|
// |
|
|
|
this.refreshbtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Green; |
|
|
|
this.refreshbtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(40)))), ((int)(((byte)(0))))); |
|
|
|
this.refreshbtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int) (((byte) (0)))), ((int) (((byte) (40)))), ((int) (((byte) (0))))); |
|
|
|
this.refreshbtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.refreshbtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); |
|
|
|
this.refreshbtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte) (238))); |
|
|
|
this.refreshbtn.Location = new System.Drawing.Point(12, 12); |
|
|
|
this.refreshbtn.Name = "refreshbtn"; |
|
|
|
this.refreshbtn.Size = new System.Drawing.Size(105, 29); |
|
|
@@ -237,27 +222,12 @@ |
|
|
|
this.refreshbtn.UseVisualStyleBackColor = true; |
|
|
|
this.refreshbtn.Click += new System.EventHandler(this.refreshbtn_Click); |
|
|
|
// |
|
|
|
// validatebtn |
|
|
|
// |
|
|
|
this.validatebtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Green; |
|
|
|
this.validatebtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(40)))), ((int)(((byte)(0))))); |
|
|
|
this.validatebtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.validatebtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); |
|
|
|
this.validatebtn.Location = new System.Drawing.Point(398, 12); |
|
|
|
this.validatebtn.Name = "validatebtn"; |
|
|
|
this.validatebtn.Size = new System.Drawing.Size(105, 29); |
|
|
|
this.validatebtn.TabIndex = 11; |
|
|
|
this.validatebtn.Text = "Validate game"; |
|
|
|
this.validatebtn.UseVisualStyleBackColor = true; |
|
|
|
this.validatebtn.Click += new System.EventHandler(this.validatebtn_Click); |
|
|
|
// |
|
|
|
// MainForm |
|
|
|
// |
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
|
this.BackColor = System.Drawing.Color.Black; |
|
|
|
this.ClientSize = new System.Drawing.Size(784, 561); |
|
|
|
this.Controls.Add(this.validatebtn); |
|
|
|
this.Controls.Add(this.refreshbtn); |
|
|
|
this.Controls.Add(this.modinfobox); |
|
|
|
this.Controls.Add(this.unpatched); |
|
|
@@ -269,14 +239,13 @@ |
|
|
|
this.Controls.Add(this.status); |
|
|
|
this.Controls.Add(this.modlist); |
|
|
|
this.ForeColor = System.Drawing.Color.Lime; |
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); |
|
|
|
this.Icon = ((System.Drawing.Icon) (resources.GetObject("$this.Icon"))); |
|
|
|
this.Name = "MainForm"; |
|
|
|
this.Text = "Techblox Mod Manager"; |
|
|
|
this.Load += new System.EventHandler(this.Form1_Load); |
|
|
|
this.Shown += new System.EventHandler(this.MainForm_Shown); |
|
|
|
this.ResumeLayout(false); |
|
|
|
this.PerformLayout(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endregion |
|
|
@@ -295,7 +264,6 @@ |
|
|
|
private System.Windows.Forms.CheckBox unpatched; |
|
|
|
private System.Windows.Forms.RichTextBox modinfobox; |
|
|
|
private System.Windows.Forms.Button refreshbtn; |
|
|
|
private System.Windows.Forms.Button validatebtn; |
|
|
|
} |
|
|
|
} |
|
|
|
|