From cff1ab498e91f3cc8ebc672ad0303c9859fac8c3 Mon Sep 17 00:00:00 2001 From: citizen-VM Date: Mon, 24 Aug 2020 18:30:59 +0200 Subject: [PATCH] chore: gui updates * sane tabstop numbering * slightly en;arged crypttable to fit most combinations without resizing --- main_form.Designer.cs | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/main_form.Designer.cs b/main_form.Designer.cs index 4f54587..4ec9454 100644 --- a/main_form.Designer.cs +++ b/main_form.Designer.cs @@ -28,7 +28,7 @@ /// private void InitializeComponent() { - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); this.textBox1 = new System.Windows.Forms.TextBox(); this.textBox2 = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); @@ -223,20 +223,20 @@ this.dataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.ColumnHeadersVisible = false; - dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle9.Font = new System.Drawing.Font("Verdana", 30F); - dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle9; - this.dataGridView1.Location = new System.Drawing.Point(401, 88); + dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle1.Font = new System.Drawing.Font("Verdana", 30F); + dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle1; + this.dataGridView1.Location = new System.Drawing.Point(391, 88); this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.ReadOnly = true; this.dataGridView1.RowHeadersVisible = false; this.dataGridView1.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.AutoSizeToDisplayedHeaders; - this.dataGridView1.Size = new System.Drawing.Size(270, 270); + this.dataGridView1.Size = new System.Drawing.Size(300, 300); this.dataGridView1.TabIndex = 501; this.dataGridView1.TabStop = false; // @@ -255,7 +255,7 @@ this.textBox8.Location = new System.Drawing.Point(759, 104); this.textBox8.Name = "textBox8"; this.textBox8.Size = new System.Drawing.Size(313, 20); - this.textBox8.TabIndex = 503; + this.textBox8.TabIndex = 4; // // label9 // @@ -280,14 +280,14 @@ this.textBox9.Location = new System.Drawing.Point(759, 281); this.textBox9.Name = "textBox9"; this.textBox9.Size = new System.Drawing.Size(313, 20); - this.textBox9.TabIndex = 505; + this.textBox9.TabIndex = 6; // // button3 // this.button3.Location = new System.Drawing.Point(759, 210); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(75, 23); - this.button3.TabIndex = 507; + this.button3.TabIndex = 5; this.button3.Text = "check key"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.button3_Click); @@ -331,7 +331,7 @@ this.button4.Location = new System.Drawing.Point(759, 307); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(75, 23); - this.button4.TabIndex = 512; + this.button4.TabIndex = 7; this.button4.Text = "decrypt"; this.button4.UseVisualStyleBackColor = true; this.button4.Click += new System.EventHandler(this.button4_Click);