215 lines
No EOL
12 KiB
C#
215 lines
No EOL
12 KiB
C#
using Mysql_example.Database;
|
|
using System.Data;
|
|
|
|
namespace Mysql_example
|
|
{
|
|
partial class MainForm
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
this.DataGridViewUserInfo = new System.Windows.Forms.DataGridView();
|
|
this.ContextMenuStripUsers = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.AddUserToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.DeleteUserToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.SplitContainer = new System.Windows.Forms.SplitContainer();
|
|
this.TabControlsDataGrids = new System.Windows.Forms.TabControl();
|
|
this.TabPageUsers = new System.Windows.Forms.TabPage();
|
|
this.TableLayoutPanelAddUser = new System.Windows.Forms.TableLayoutPanel();
|
|
this.TabPageAddresses = new System.Windows.Forms.TabPage();
|
|
this.DataGridViewAdressInfo = new System.Windows.Forms.DataGridView();
|
|
((System.ComponentModel.ISupportInitialize)(this.DataGridViewUserInfo)).BeginInit();
|
|
this.ContextMenuStripUsers.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.SplitContainer)).BeginInit();
|
|
this.SplitContainer.Panel2.SuspendLayout();
|
|
this.SplitContainer.SuspendLayout();
|
|
this.TabControlsDataGrids.SuspendLayout();
|
|
this.TabPageUsers.SuspendLayout();
|
|
this.TableLayoutPanelAddUser.SuspendLayout();
|
|
this.TabPageAddresses.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.DataGridViewAdressInfo)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// DataGridViewUserInfo
|
|
//
|
|
this.DataGridViewUserInfo.AllowUserToAddRows = false;
|
|
this.DataGridViewUserInfo.AllowUserToDeleteRows = false;
|
|
this.DataGridViewUserInfo.AllowUserToOrderColumns = true;
|
|
this.DataGridViewUserInfo.AllowUserToResizeRows = false;
|
|
this.DataGridViewUserInfo.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
|
this.DataGridViewUserInfo.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.DataGridViewUserInfo.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.DataGridViewUserInfo.Location = new System.Drawing.Point(0, 0);
|
|
this.DataGridViewUserInfo.Margin = new System.Windows.Forms.Padding(0);
|
|
this.DataGridViewUserInfo.Name = "DataGridViewUserInfo";
|
|
this.DataGridViewUserInfo.RowHeadersVisible = false;
|
|
this.DataGridViewUserInfo.RowTemplate.ContextMenuStrip = this.ContextMenuStripUsers;
|
|
this.DataGridViewUserInfo.RowTemplate.Height = 25;
|
|
this.DataGridViewUserInfo.Size = new System.Drawing.Size(773, 371);
|
|
this.DataGridViewUserInfo.TabIndex = 0;
|
|
this.DataGridViewUserInfo.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridViewUserInfo_CellContentClick);
|
|
this.DataGridViewUserInfo.CellMouseEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridViewUserInfo_CellMouseEnter);
|
|
//
|
|
// ContextMenuStripUsers
|
|
//
|
|
this.ContextMenuStripUsers.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.AddUserToolStripMenuItem,
|
|
this.DeleteUserToolStripMenuItem});
|
|
this.ContextMenuStripUsers.Name = "ContextMenuStripUsers";
|
|
this.ContextMenuStripUsers.Size = new System.Drawing.Size(134, 48);
|
|
//
|
|
// AddUserToolStripMenuItem
|
|
//
|
|
this.AddUserToolStripMenuItem.Name = "AddUserToolStripMenuItem";
|
|
this.AddUserToolStripMenuItem.Size = new System.Drawing.Size(133, 22);
|
|
this.AddUserToolStripMenuItem.Text = "Add User";
|
|
this.AddUserToolStripMenuItem.Click += new System.EventHandler(this.AddUserToolStripMenuItem_Click);
|
|
//
|
|
// DeleteUserToolStripMenuItem
|
|
//
|
|
this.DeleteUserToolStripMenuItem.Name = "DeleteUserToolStripMenuItem";
|
|
this.DeleteUserToolStripMenuItem.Size = new System.Drawing.Size(133, 22);
|
|
this.DeleteUserToolStripMenuItem.Text = "Delete User";
|
|
this.DeleteUserToolStripMenuItem.Click += new System.EventHandler(this.DeleteUserToolStripMenuItem_Click);
|
|
//
|
|
// SplitContainer
|
|
//
|
|
this.SplitContainer.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.SplitContainer.Location = new System.Drawing.Point(0, 0);
|
|
this.SplitContainer.Name = "SplitContainer";
|
|
this.SplitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
|
//
|
|
// SplitContainer.Panel2
|
|
//
|
|
this.SplitContainer.Panel2.Controls.Add(this.TabControlsDataGrids);
|
|
this.SplitContainer.Size = new System.Drawing.Size(787, 441);
|
|
this.SplitContainer.SplitterDistance = 32;
|
|
this.SplitContainer.TabIndex = 1;
|
|
//
|
|
// TabControlsDataGrids
|
|
//
|
|
this.TabControlsDataGrids.Controls.Add(this.TabPageUsers);
|
|
this.TabControlsDataGrids.Controls.Add(this.TabPageAddresses);
|
|
this.TabControlsDataGrids.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.TabControlsDataGrids.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
this.TabControlsDataGrids.ItemSize = new System.Drawing.Size(60, 20);
|
|
this.TabControlsDataGrids.Location = new System.Drawing.Point(0, 0);
|
|
this.TabControlsDataGrids.Margin = new System.Windows.Forms.Padding(0);
|
|
this.TabControlsDataGrids.Name = "TabControlsDataGrids";
|
|
this.TabControlsDataGrids.SelectedIndex = 0;
|
|
this.TabControlsDataGrids.Size = new System.Drawing.Size(787, 405);
|
|
this.TabControlsDataGrids.TabIndex = 1;
|
|
//
|
|
// TabPageUsers
|
|
//
|
|
this.TabPageUsers.Controls.Add(this.TableLayoutPanelAddUser);
|
|
this.TabPageUsers.Location = new System.Drawing.Point(4, 24);
|
|
this.TabPageUsers.Name = "TabPageUsers";
|
|
this.TabPageUsers.Padding = new System.Windows.Forms.Padding(3);
|
|
this.TabPageUsers.Size = new System.Drawing.Size(779, 377);
|
|
this.TabPageUsers.TabIndex = 0;
|
|
this.TabPageUsers.Text = "Users";
|
|
this.TabPageUsers.UseVisualStyleBackColor = true;
|
|
//
|
|
// TableLayoutPanelAddUser
|
|
//
|
|
this.TableLayoutPanelAddUser.ColumnCount = 1;
|
|
this.TableLayoutPanelAddUser.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|
this.TableLayoutPanelAddUser.Controls.Add(this.DataGridViewUserInfo, 0, 0);
|
|
this.TableLayoutPanelAddUser.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.TableLayoutPanelAddUser.Location = new System.Drawing.Point(3, 3);
|
|
this.TableLayoutPanelAddUser.Name = "TableLayoutPanelAddUser";
|
|
this.TableLayoutPanelAddUser.RowCount = 1;
|
|
this.TableLayoutPanelAddUser.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|
this.TableLayoutPanelAddUser.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
|
this.TableLayoutPanelAddUser.Size = new System.Drawing.Size(773, 371);
|
|
this.TableLayoutPanelAddUser.TabIndex = 0;
|
|
//
|
|
// TabPageAddresses
|
|
//
|
|
this.TabPageAddresses.Controls.Add(this.DataGridViewAdressInfo);
|
|
this.TabPageAddresses.Location = new System.Drawing.Point(4, 24);
|
|
this.TabPageAddresses.Name = "TabPageAddresses";
|
|
this.TabPageAddresses.Padding = new System.Windows.Forms.Padding(3);
|
|
this.TabPageAddresses.Size = new System.Drawing.Size(779, 377);
|
|
this.TabPageAddresses.TabIndex = 1;
|
|
this.TabPageAddresses.Text = "Addresses";
|
|
this.TabPageAddresses.UseVisualStyleBackColor = true;
|
|
//
|
|
// DataGridViewAdressInfo
|
|
//
|
|
this.DataGridViewAdressInfo.AllowUserToAddRows = false;
|
|
this.DataGridViewAdressInfo.AllowUserToDeleteRows = false;
|
|
this.DataGridViewAdressInfo.AllowUserToResizeRows = false;
|
|
this.DataGridViewAdressInfo.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
|
this.DataGridViewAdressInfo.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.DataGridViewAdressInfo.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.DataGridViewAdressInfo.Location = new System.Drawing.Point(3, 3);
|
|
this.DataGridViewAdressInfo.Margin = new System.Windows.Forms.Padding(0);
|
|
this.DataGridViewAdressInfo.Name = "DataGridViewAdressInfo";
|
|
this.DataGridViewAdressInfo.RowHeadersVisible = false;
|
|
this.DataGridViewAdressInfo.RowTemplate.Height = 25;
|
|
this.DataGridViewAdressInfo.Size = new System.Drawing.Size(773, 371);
|
|
this.DataGridViewAdressInfo.TabIndex = 0;
|
|
//
|
|
// MainForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(787, 441);
|
|
this.Controls.Add(this.SplitContainer);
|
|
this.Name = "MainForm";
|
|
this.Text = "Form1";
|
|
this.Load += new System.EventHandler(this.MainPage_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.DataGridViewUserInfo)).EndInit();
|
|
this.ContextMenuStripUsers.ResumeLayout(false);
|
|
this.SplitContainer.Panel2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.SplitContainer)).EndInit();
|
|
this.SplitContainer.ResumeLayout(false);
|
|
this.TabControlsDataGrids.ResumeLayout(false);
|
|
this.TabPageUsers.ResumeLayout(false);
|
|
this.TableLayoutPanelAddUser.ResumeLayout(false);
|
|
this.TabPageAddresses.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.DataGridViewAdressInfo)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DataGridView DataGridViewUserInfo;
|
|
private SplitContainer SplitContainer;
|
|
private TabControl TabControlsDataGrids;
|
|
private TabPage TabPageUsers;
|
|
private TabPage TabPageAddresses;
|
|
private DataGridView DataGridViewAdressInfo;
|
|
private TableLayoutPanel TableLayoutPanelAddUser;
|
|
private ContextMenuStrip ContextMenuStripUsers;
|
|
private ToolStripMenuItem AddUserToolStripMenuItem;
|
|
private ToolStripMenuItem DeleteUserToolStripMenuItem;
|
|
}
|
|
} |