private void InitializeComponent() { dgvHash = new DataGridViewEx(); clmn1_Icon = new DataGridViewImageColumn(); clmn2_Path = new DataGridViewTextBoxColumn(); clmn3_Hash = new DataGridViewProgressBarColumn(); panel1 = new Panel(); btnClear = new Button(); btnClose = new Button(); btnRefresh = new Button(); chbFullPath = new CheckBox(); chbClearOnClose = new CheckBox(); chbShowResult = new CheckBox(); chbTopMost = new CheckBox(); cmbHashType = new ComboBox(); ((ISupportInitialize)dgvHash).BeginInit(); panel1.SuspendLayout(); SuspendLayout(); dgvHash.AllowUserToAddRows = false; dgvHash.AllowUserToResizeRows = false; dgvHash.BackgroundColor = SystemColors.Window; dgvHash.BorderStyle = BorderStyle.None; dgvHash.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.None; dgvHash.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; dgvHash.Columns.AddRange(new DataGridViewColumn[] { clmn1_Icon, clmn2_Path, clmn3_Hash }); dgvHash.Dock = DockStyle.Fill; dgvHash.GridColor = SystemColors.ControlLight; dgvHash.Location = new Point(0, 0); dgvHash.ReadOnly = true; dgvHash.RowHeadersVisible = false; dgvHash.RowTemplate.Height = 0x15; dgvHash.Size = new Size(0x1bf, 0x6c); dgvHash.MouseDown += dataGridView1_MouseDown; dgvHash.KeyDown += dataGridView1_KeyDown; dgvHash.CellStateChanged += dataGridView1_CellStateChanged; dgvHash.CellMouseDoubleClick += dataGridView1_CellMouseDoubleClick; clmn1_Icon.ReadOnly = true; clmn1_Icon.Resizable = DataGridViewTriState.False; clmn1_Icon.Width = 0x12; clmn2_Path.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; clmn2_Path.HeaderText = QTUtility.TextResourcesDic["FileHashComputer"][0]; clmn2_Path.MinimumWidth = 80; clmn2_Path.ReadOnly = true; clmn3_Hash.AutoSizeMode = DataGridViewAutoSizeColumnMode.DisplayedCells; clmn3_Hash.HeaderText = QTUtility.TextResourcesDic["FileHashComputer"][1]; clmn3_Hash.MinimumWidth = 200; clmn3_Hash.ReadOnly = true; panel1.Controls.Add(cmbHashType); panel1.Controls.Add(chbTopMost); panel1.Controls.Add(chbShowResult); panel1.Controls.Add(chbClearOnClose); panel1.Controls.Add(chbFullPath); panel1.Controls.Add(btnClear); panel1.Controls.Add(btnClose); panel1.Controls.Add(btnRefresh); panel1.Dock = DockStyle.Bottom; panel1.Location = new Point(0, 0x6c); panel1.Size = new Size(0x1bf, 0x5d); panel1.Paint += panel1_Paint; btnClose.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; btnClose.Location = new Point(0x171, 0x43); btnClose.Size = new Size(0x4b, 0x17); btnClose.Text = QTUtility.TextResourcesDic["FileHashComputer"][2]; btnClose.UseVisualStyleBackColor = true; btnClose.Click += buttonClose_Click; btnClear.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; btnClear.Location = new Point(0x120, 0x43); btnClear.Size = new Size(0x4b, 0x17); btnClear.Text = QTUtility.TextResourcesDic["FileHashComputer"][3]; btnClear.UseVisualStyleBackColor = true; btnClear.Click += buttonClear_Click; btnRefresh.Location = new Point(0x89, 8); btnRefresh.Size = new Size(0x4b, 0x15); btnRefresh.Text = QTUtility.TextResourcesDic["FileHashComputer"][4]; btnRefresh.UseVisualStyleBackColor = true; btnRefresh.Click += buttonRefresh_Click; cmbHashType.DropDownStyle = ComboBoxStyle.DropDownList; cmbHashType.Items.AddRange(new object[] { "MD5", "SHA-1", "SHA-256", "SHA-384", "SHA-512" }); cmbHashType.Location = new Point(12, 8); cmbHashType.Size = new Size(0x79, 0x15); chbTopMost.AutoSize = true; chbTopMost.Location = new Point(12, 0x43); chbTopMost.Size = new Size(0x4b, 0x17); chbTopMost.Text = QTUtility.TextResourcesDic["FileHashComputer"][5]; chbTopMost.UseVisualStyleBackColor = true; chbTopMost.CheckedChanged += checkBoxTopMost_CheckedChanged; chbShowResult.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; chbShowResult.AutoSize = true; chbShowResult.Location = new Point(0xd7, 0x29); chbShowResult.Size = new Size(0x5e, 0x11); chbShowResult.Text = QTUtility.TextResourcesDic["FileHashComputer"][6]; chbShowResult.UseVisualStyleBackColor = true; chbClearOnClose.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; chbClearOnClose.AutoSize = true; chbClearOnClose.Location = new Point(0x60, 0x29); chbClearOnClose.Size = new Size(0x5e, 0x11); chbClearOnClose.Text = QTUtility.TextResourcesDic["FileHashComputer"][7]; chbClearOnClose.UseVisualStyleBackColor = true; chbFullPath.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; chbFullPath.AutoSize = true; chbFullPath.Location = new Point(12, 0x29); chbFullPath.Size = new Size(0x5e, 0x11); chbFullPath.Text = QTUtility.TextResourcesDic["FileHashComputer"][8]; chbFullPath.UseVisualStyleBackColor = true; chbFullPath.CheckedChanged += checkBoxFullPath_CheckedChanged; AutoScaleDimensions = new SizeF(6f, 13f); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(0x1bf, 0xab); Controls.Add(dgvHash); Controls.Add(panel1); MinimumSize = new Size(320, 0xd5); MaximizeBox = false; MinimizeBox = false; ShowIcon = false; ShowInTaskbar = false; StartPosition = FormStartPosition.Manual; Text = QTUtility.TextResourcesDic["FileHashComputer"][1]; FormClosing += MD5Form_FormClosing; ((ISupportInitialize)dgvHash).EndInit(); panel1.ResumeLayout(false); ResumeLayout(false); }
private void InitializeComponent() { this.dgvHash = new DataGridViewEx(); this.clmn1_Icon = new DataGridViewImageColumn(); this.clmn2_Path = new DataGridViewTextBoxColumn(); this.clmn3_Hash = new DataGridViewProgressBarColumn(); this.panel1 = new Panel(); this.btnClear = new Button(); this.btnClose = new Button(); this.btnRefresh = new Button(); this.chbFullPath = new CheckBox(); this.chbClearOnClose = new CheckBox(); this.chbShowResult = new CheckBox(); this.chbTopMost = new CheckBox(); this.cmbHashType = new ComboBox(); ((ISupportInitialize)this.dgvHash).BeginInit(); this.panel1.SuspendLayout(); base.SuspendLayout(); this.dgvHash.AllowUserToAddRows = false; this.dgvHash.AllowUserToResizeRows = false; this.dgvHash.BackgroundColor = SystemColors.Window; this.dgvHash.BorderStyle = BorderStyle.None; this.dgvHash.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.None; this.dgvHash.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvHash.Columns.AddRange(new DataGridViewColumn[] { this.clmn1_Icon, this.clmn2_Path, this.clmn3_Hash }); this.dgvHash.Dock = DockStyle.Fill; this.dgvHash.GridColor = SystemColors.ControlLight; this.dgvHash.Location = new Point(0, 0); this.dgvHash.ReadOnly = true; this.dgvHash.RowHeadersVisible = false; this.dgvHash.RowTemplate.Height = 0x15; this.dgvHash.Size = new Size(0x1bf, 0x6c); this.dgvHash.MouseDown += new MouseEventHandler(this.dataGridView1_MouseDown); this.dgvHash.KeyDown += new KeyEventHandler(this.dataGridView1_KeyDown); this.dgvHash.CellStateChanged += new DataGridViewCellStateChangedEventHandler(this.dataGridView1_CellStateChanged); this.dgvHash.CellMouseDoubleClick += new DataGridViewCellMouseEventHandler(this.dataGridView1_CellMouseDoubleClick); this.clmn1_Icon.ReadOnly = true; this.clmn1_Icon.Resizable = DataGridViewTriState.False; this.clmn1_Icon.Width = 0x12; this.clmn2_Path.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; this.clmn2_Path.HeaderText = "Path"; this.clmn2_Path.MinimumWidth = 80; this.clmn2_Path.ReadOnly = true; this.clmn3_Hash.AutoSizeMode = DataGridViewAutoSizeColumnMode.DisplayedCells; this.clmn3_Hash.HeaderText = "Hash"; this.clmn3_Hash.MinimumWidth = 200; this.clmn3_Hash.ReadOnly = true; this.panel1.Controls.Add(this.cmbHashType); this.panel1.Controls.Add(this.chbTopMost); this.panel1.Controls.Add(this.chbShowResult); this.panel1.Controls.Add(this.chbClearOnClose); this.panel1.Controls.Add(this.chbFullPath); this.panel1.Controls.Add(this.btnClear); this.panel1.Controls.Add(this.btnClose); this.panel1.Controls.Add(this.btnRefresh); this.panel1.Dock = DockStyle.Bottom; this.panel1.Location = new Point(0, 0x6c); this.panel1.Size = new Size(0x1bf, 0x5d); this.panel1.Paint += new PaintEventHandler(this.panel1_Paint); this.btnClose.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.btnClose.Location = new Point(0x171, 0x43); this.btnClose.Size = new Size(0x4b, 0x17); this.btnClose.Text = "Close"; this.btnClose.UseVisualStyleBackColor = true; this.btnClose.Click += new EventHandler(this.buttonClose_Click); this.btnClear.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.btnClear.Location = new Point(0x120, 0x43); this.btnClear.Size = new Size(0x4b, 0x17); this.btnClear.Text = "Clear"; this.btnClear.UseVisualStyleBackColor = true; this.btnClear.Click += new EventHandler(this.buttonClear_Click); this.btnRefresh.Location = new Point(0x89, 8); this.btnRefresh.Size = new Size(0x4b, 0x15); this.btnRefresh.Text = "Refresh"; this.btnRefresh.UseVisualStyleBackColor = true; this.btnRefresh.Click += new EventHandler(this.buttonRefresh_Click); this.cmbHashType.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbHashType.Items.AddRange(new object[] { "MD5", "SHA-1", "SHA-256", "SHA-384", "SHA-512" }); this.cmbHashType.Location = new Point(12, 8); this.cmbHashType.Size = new Size(0x79, 0x15); this.chbTopMost.AutoSize = true; this.chbTopMost.Location = new Point(12, 0x43); this.chbTopMost.Size = new Size(0x4b, 0x17); this.chbTopMost.Text = "Always on top"; this.chbTopMost.UseVisualStyleBackColor = true; this.chbTopMost.CheckedChanged += new EventHandler(this.checkBoxTopMost_CheckedChanged); this.chbShowResult.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.chbShowResult.AutoSize = true; this.chbShowResult.Location = new Point(0xd7, 0x29); this.chbShowResult.Size = new Size(0x5e, 0x11); this.chbShowResult.Text = "Show result"; this.chbShowResult.UseVisualStyleBackColor = true; this.chbClearOnClose.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.chbClearOnClose.AutoSize = true; this.chbClearOnClose.Location = new Point(0x60, 0x29); this.chbClearOnClose.Size = new Size(0x5e, 0x11); this.chbClearOnClose.Text = "Clear on close"; this.chbClearOnClose.UseVisualStyleBackColor = true; this.chbFullPath.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.chbFullPath.AutoSize = true; this.chbFullPath.Location = new Point(12, 0x29); this.chbFullPath.Size = new Size(0x5e, 0x11); this.chbFullPath.Text = "Full path"; this.chbFullPath.UseVisualStyleBackColor = true; this.chbFullPath.CheckedChanged += new EventHandler(this.checkBoxFullPath_CheckedChanged); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(0x1bf, 0xab); base.Controls.Add(this.dgvHash); base.Controls.Add(this.panel1); this.MinimumSize = new Size(320, 0xd5); base.MaximizeBox = false; base.MinimizeBox = false; base.ShowIcon = false; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.Manual; this.Text = "Hash"; base.FormClosing += new FormClosingEventHandler(this.MD5Form_FormClosing); ((ISupportInitialize)this.dgvHash).EndInit(); this.panel1.ResumeLayout(false); base.ResumeLayout(false); }
private void InitializeComponent() { dgvHash = new DataGridViewEx(); clmn1_Icon = new DataGridViewImageColumn(); clmn2_Path = new DataGridViewTextBoxColumn(); clmn3_Hash = new DataGridViewProgressBarColumn(); panel1 = new Panel(); btnClear = new Button(); btnClose = new Button(); btnRefresh = new Button(); chbFullPath = new CheckBox(); chbClearOnClose = new CheckBox(); chbShowResult = new CheckBox(); chbTopMost = new CheckBox(); cmbHashType = new ComboBox(); ((ISupportInitialize)dgvHash).BeginInit(); panel1.SuspendLayout(); SuspendLayout(); dgvHash.AllowUserToAddRows = false; dgvHash.AllowUserToResizeRows = false; dgvHash.BackgroundColor = SystemColors.Window; dgvHash.BorderStyle = BorderStyle.None; dgvHash.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.None; dgvHash.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; dgvHash.Columns.AddRange(new DataGridViewColumn[] { clmn1_Icon, clmn2_Path, clmn3_Hash }); dgvHash.Dock = DockStyle.Fill; dgvHash.GridColor = SystemColors.ControlLight; dgvHash.Location = new Point(0, 0); dgvHash.ReadOnly = true; dgvHash.RowHeadersVisible = false; dgvHash.RowTemplate.Height = 0x15; dgvHash.Size = new Size(0x1bf, 0x6c); dgvHash.MouseDown += dataGridView1_MouseDown; dgvHash.KeyDown += dataGridView1_KeyDown; dgvHash.CellStateChanged += dataGridView1_CellStateChanged; dgvHash.CellMouseDoubleClick += dataGridView1_CellMouseDoubleClick; clmn1_Icon.ReadOnly = true; clmn1_Icon.Resizable = DataGridViewTriState.False; clmn1_Icon.Width = 0x12; clmn2_Path.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; clmn2_Path.HeaderText = QTUtility.TextResourcesDic["FileHashComputer"][0]; clmn2_Path.MinimumWidth = 80; clmn2_Path.ReadOnly = true; clmn3_Hash.AutoSizeMode = DataGridViewAutoSizeColumnMode.DisplayedCells; clmn3_Hash.HeaderText = QTUtility.TextResourcesDic["FileHashComputer"][1]; clmn3_Hash.MinimumWidth = 200; clmn3_Hash.ReadOnly = true; panel1.Controls.Add(cmbHashType); panel1.Controls.Add(chbTopMost); panel1.Controls.Add(chbShowResult); panel1.Controls.Add(chbClearOnClose); panel1.Controls.Add(chbFullPath); panel1.Controls.Add(btnClear); panel1.Controls.Add(btnClose); panel1.Controls.Add(btnRefresh); panel1.Dock = DockStyle.Bottom; panel1.Location = new Point(0, 0x6c); panel1.Size = new Size(0x1bf, 0x5d); panel1.Paint += panel1_Paint; btnClose.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; btnClose.Location = new Point(0x171, 0x43); btnClose.Size = new Size(0x4b, 0x17); btnClose.Text = QTUtility.TextResourcesDic["FileHashComputer"][2]; btnClose.UseVisualStyleBackColor = true; btnClose.Click += buttonClose_Click; btnClear.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; btnClear.Location = new Point(0x120, 0x43); btnClear.Size = new Size(0x4b, 0x17); btnClear.Text = QTUtility.TextResourcesDic["FileHashComputer"][3]; btnClear.UseVisualStyleBackColor = true; btnClear.Click += buttonClear_Click; btnRefresh.Location = new Point(0x89, 8); btnRefresh.Size = new Size(0x4b, 0x15); btnRefresh.Text = QTUtility.TextResourcesDic["FileHashComputer"][4]; btnRefresh.UseVisualStyleBackColor = true; btnRefresh.Click += buttonRefresh_Click; cmbHashType.DropDownStyle = ComboBoxStyle.DropDownList; cmbHashType.Items.AddRange(new object[] { "MD5", "SHA-1", "SHA-256", "SHA-384", "SHA-512" }); cmbHashType.Location = new Point(12, 8); cmbHashType.Size = new Size(0x79, 0x15); chbTopMost.AutoSize = true; chbTopMost.Location = new Point(12, 0x43); chbTopMost.Size = new Size(0x4b, 0x17); chbTopMost.Text = QTUtility.TextResourcesDic["FileHashComputer"][5]; chbTopMost.UseVisualStyleBackColor = true; chbTopMost.CheckedChanged += checkBoxTopMost_CheckedChanged; chbShowResult.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; chbShowResult.AutoSize = true; chbShowResult.Location = new Point(0xd7, 0x29); chbShowResult.Size = new Size(0x5e, 0x11); chbShowResult.Text = QTUtility.TextResourcesDic["FileHashComputer"][6]; chbShowResult.UseVisualStyleBackColor = true; chbClearOnClose.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; chbClearOnClose.AutoSize = true; chbClearOnClose.Location = new Point(0x60, 0x29); chbClearOnClose.Size = new Size(0x5e, 0x11); chbClearOnClose.Text = QTUtility.TextResourcesDic["FileHashComputer"][7]; chbClearOnClose.UseVisualStyleBackColor = true; chbFullPath.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; chbFullPath.AutoSize = true; chbFullPath.Location = new Point(12, 0x29); chbFullPath.Size = new Size(0x5e, 0x11); chbFullPath.Text = QTUtility.TextResourcesDic["FileHashComputer"][8]; chbFullPath.UseVisualStyleBackColor = true; chbFullPath.CheckedChanged += checkBoxFullPath_CheckedChanged; AutoScaleDimensions = new SizeF(6f, 13f); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(0x1bf, 0xab); Controls.Add(dgvHash); Controls.Add(panel1); MinimumSize = new Size(320, 0xd5); MaximizeBox = false; MinimizeBox = false; ShowIcon = false; ShowInTaskbar = false; StartPosition = FormStartPosition.Manual; Text = QTUtility.TextResourcesDic["FileHashComputer"][1]; FormClosing += MD5Form_FormClosing; ((ISupportInitialize)dgvHash).EndInit(); panel1.ResumeLayout(false); ResumeLayout(false); }
private void InitializeComponent() { this.dgvHash = new DataGridViewEx(); this.clmn1_Icon = new DataGridViewImageColumn(); this.clmn2_Path = new DataGridViewTextBoxColumn(); this.clmn3_Hash = new DataGridViewProgressBarColumn(); this.panel1 = new Panel(); this.btnClear = new Button(); this.btnClose = new Button(); this.btnRefresh = new Button(); this.chbFullPath = new CheckBox(); this.chbClearOnClose = new CheckBox(); this.chbShowResult = new CheckBox(); this.chbTopMost = new CheckBox(); this.cmbHashType = new ComboBox(); ((ISupportInitialize)this.dgvHash).BeginInit(); this.panel1.SuspendLayout(); base.SuspendLayout(); this.dgvHash.AllowUserToAddRows = false; this.dgvHash.AllowUserToResizeRows = false; this.dgvHash.BackgroundColor = SystemColors.Window; this.dgvHash.BorderStyle = BorderStyle.None; this.dgvHash.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.None; this.dgvHash.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvHash.Columns.AddRange(new DataGridViewColumn[] { this.clmn1_Icon, this.clmn2_Path, this.clmn3_Hash }); this.dgvHash.Dock = DockStyle.Fill; this.dgvHash.GridColor = SystemColors.ControlLight; this.dgvHash.Location = new Point(0, 0); this.dgvHash.ReadOnly = true; this.dgvHash.RowHeadersVisible = false; this.dgvHash.RowTemplate.Height = 0x15; this.dgvHash.Size = new Size(0x1bf, 0x6c); this.dgvHash.MouseDown += new MouseEventHandler(this.dataGridView1_MouseDown); this.dgvHash.KeyDown += new KeyEventHandler(this.dataGridView1_KeyDown); this.dgvHash.CellStateChanged += new DataGridViewCellStateChangedEventHandler(this.dataGridView1_CellStateChanged); this.dgvHash.CellMouseDoubleClick += new DataGridViewCellMouseEventHandler(this.dataGridView1_CellMouseDoubleClick); this.clmn1_Icon.ReadOnly = true; this.clmn1_Icon.Resizable = DataGridViewTriState.False; this.clmn1_Icon.Width = 0x12; this.clmn2_Path.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; this.clmn2_Path.HeaderText = "Path"; this.clmn2_Path.MinimumWidth = 80; this.clmn2_Path.ReadOnly = true; this.clmn3_Hash.AutoSizeMode = DataGridViewAutoSizeColumnMode.DisplayedCells; this.clmn3_Hash.HeaderText = "Hash"; this.clmn3_Hash.MinimumWidth = 200; this.clmn3_Hash.ReadOnly = true; this.panel1.Controls.Add(this.cmbHashType); this.panel1.Controls.Add(this.chbTopMost); this.panel1.Controls.Add(this.chbShowResult); this.panel1.Controls.Add(this.chbClearOnClose); this.panel1.Controls.Add(this.chbFullPath); this.panel1.Controls.Add(this.btnClear); this.panel1.Controls.Add(this.btnClose); this.panel1.Controls.Add(this.btnRefresh); this.panel1.Dock = DockStyle.Bottom; this.panel1.Location = new Point(0, 0x6c); this.panel1.Size = new Size(0x1bf, 0x5d); this.panel1.Paint += new PaintEventHandler(this.panel1_Paint); this.btnClose.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.btnClose.Location = new Point(0x171, 0x43); this.btnClose.Size = new Size(0x4b, 0x17); this.btnClose.Text = "Close"; this.btnClose.UseVisualStyleBackColor = true; this.btnClose.Click += new EventHandler(this.buttonClose_Click); this.btnClear.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.btnClear.Location = new Point(0x120, 0x43); this.btnClear.Size = new Size(0x4b, 0x17); this.btnClear.Text = "Clear"; this.btnClear.UseVisualStyleBackColor = true; this.btnClear.Click += new EventHandler(this.buttonClear_Click); this.btnRefresh.Location = new Point(0x89, 8); this.btnRefresh.Size = new Size(0x4b, 0x15); this.btnRefresh.Text = "Refresh"; this.btnRefresh.UseVisualStyleBackColor = true; this.btnRefresh.Click += new EventHandler(this.buttonRefresh_Click); this.cmbHashType.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbHashType.Items.AddRange(new object[] { "MD5", "SHA-1", "SHA-256", "SHA-384", "SHA-512" }); this.cmbHashType.Location = new Point(12, 8); this.cmbHashType.Size = new Size(0x79, 0x15); this.chbTopMost.AutoSize = true; this.chbTopMost.Location = new Point(12, 0x43); this.chbTopMost.Size = new Size(0x4b, 0x17); this.chbTopMost.Text = "Always on top"; this.chbTopMost.UseVisualStyleBackColor = true; this.chbTopMost.CheckedChanged += new EventHandler(this.checkBoxTopMost_CheckedChanged); this.chbShowResult.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.chbShowResult.AutoSize = true; this.chbShowResult.Location = new Point(0xd7, 0x29); this.chbShowResult.Size = new Size(0x5e, 0x11); this.chbShowResult.Text = "Show result"; this.chbShowResult.UseVisualStyleBackColor = true; this.chbClearOnClose.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.chbClearOnClose.AutoSize = true; this.chbClearOnClose.Location = new Point(0x60, 0x29); this.chbClearOnClose.Size = new Size(0x5e, 0x11); this.chbClearOnClose.Text = "Clear on close"; this.chbClearOnClose.UseVisualStyleBackColor = true; this.chbFullPath.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.chbFullPath.AutoSize = true; this.chbFullPath.Location = new Point(12, 0x29); this.chbFullPath.Size = new Size(0x5e, 0x11); this.chbFullPath.Text = "Full path"; this.chbFullPath.UseVisualStyleBackColor = true; this.chbFullPath.CheckedChanged += new EventHandler(this.checkBoxFullPath_CheckedChanged); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(0x1bf, 0xab); base.Controls.Add(this.dgvHash); base.Controls.Add(this.panel1); this.MinimumSize = new Size(320, 0xd5); base.MaximizeBox = false; base.MinimizeBox = false; base.ShowIcon = false; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.Manual; this.Text = "Hash"; base.FormClosing += new FormClosingEventHandler(this.MD5Form_FormClosing); ((ISupportInitialize)this.dgvHash).EndInit(); this.panel1.ResumeLayout(false); base.ResumeLayout(false); }