Fixed custom scrcmd manager buttons

This commit is contained in:
corentinmace 2025-08-13 17:47:56 +02:00
parent 6bd7c8f9c1
commit 54454352b2

View File

@ -43,13 +43,12 @@
this.CustomScrcmdDataGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.CustomScrcmdDataGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.customScrcmdName});
this.CustomScrcmdDataGrid.Location = new System.Drawing.Point(16, 15);
this.CustomScrcmdDataGrid.Margin = new System.Windows.Forms.Padding(4);
this.CustomScrcmdDataGrid.Location = new System.Drawing.Point(12, 12);
this.CustomScrcmdDataGrid.MultiSelect = false;
this.CustomScrcmdDataGrid.Name = "CustomScrcmdDataGrid";
this.CustomScrcmdDataGrid.RowHeadersWidth = 51;
this.CustomScrcmdDataGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.CustomScrcmdDataGrid.Size = new System.Drawing.Size(617, 350);
this.CustomScrcmdDataGrid.Size = new System.Drawing.Size(463, 284);
this.CustomScrcmdDataGrid.TabIndex = 0;
//
// customScrcmdName
@ -62,10 +61,9 @@
// AddScrcmdButton
//
this.AddScrcmdButton.Image = global::DSPRE.Properties.Resources.scriptDBIconImport;
this.AddScrcmdButton.Location = new System.Drawing.Point(16, 372);
this.AddScrcmdButton.Margin = new System.Windows.Forms.Padding(4);
this.AddScrcmdButton.Location = new System.Drawing.Point(12, 302);
this.AddScrcmdButton.Name = "AddScrcmdButton";
this.AddScrcmdButton.Size = new System.Drawing.Size(129, 39);
this.AddScrcmdButton.Size = new System.Drawing.Size(99, 37);
this.AddScrcmdButton.TabIndex = 1;
this.AddScrcmdButton.Text = "Import DB";
this.AddScrcmdButton.TextImageRelation = System.Windows.Forms.TextImageRelation.TextBeforeImage;
@ -75,10 +73,9 @@
// RemoveScrcmdButton
//
this.RemoveScrcmdButton.Image = global::DSPRE.Properties.Resources.scriptDBIconExport;
this.RemoveScrcmdButton.Location = new System.Drawing.Point(153, 372);
this.RemoveScrcmdButton.Margin = new System.Windows.Forms.Padding(4);
this.RemoveScrcmdButton.Location = new System.Drawing.Point(117, 302);
this.RemoveScrcmdButton.Name = "RemoveScrcmdButton";
this.RemoveScrcmdButton.Size = new System.Drawing.Size(132, 39);
this.RemoveScrcmdButton.Size = new System.Drawing.Size(99, 37);
this.RemoveScrcmdButton.TabIndex = 2;
this.RemoveScrcmdButton.Text = "Export DB";
this.RemoveScrcmdButton.TextImageRelation = System.Windows.Forms.TextImageRelation.TextBeforeImage;
@ -88,10 +85,9 @@
// button1
//
this.button1.Image = global::DSPRE.Properties.Resources.open_file;
this.button1.Location = new System.Drawing.Point(449, 372);
this.button1.Margin = new System.Windows.Forms.Padding(4);
this.button1.Location = new System.Drawing.Point(337, 302);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(184, 39);
this.button1.Size = new System.Drawing.Size(138, 37);
this.button1.TabIndex = 3;
this.button1.Text = "Open DB Folder";
this.button1.TextImageRelation = System.Windows.Forms.TextImageRelation.TextBeforeImage;
@ -100,16 +96,15 @@
//
// CustomScrcmdManager
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(651, 414);
this.ClientSize = new System.Drawing.Size(490, 348);
this.Controls.Add(this.button1);
this.Controls.Add(this.RemoveScrcmdButton);
this.Controls.Add(this.AddScrcmdButton);
this.Controls.Add(this.CustomScrcmdDataGrid);
this.Margin = new System.Windows.Forms.Padding(4);
this.MaximumSize = new System.Drawing.Size(669, 461);
this.MinimumSize = new System.Drawing.Size(669, 461);
this.MaximumSize = new System.Drawing.Size(506, 387);
this.MinimumSize = new System.Drawing.Size(506, 382);
this.Name = "CustomScrcmdManager";
this.ShowIcon = false;
this.Text = "ScrCmd Database Manager";