/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.containerListView1 = new CustomControls.ManagedListView.ContainerListView(); this.containerListViewColumnHeader1 = new CustomControls.ManagedListView.ContainerListViewColumnHeader(); this.containerListViewColumnHeader2 = new CustomControls.ManagedListView.ContainerListViewColumnHeader(); this.containerListViewColumnHeader3 = new CustomControls.ManagedListView.ContainerListViewColumnHeader(); this.containerListViewColumnHeader4 = new CustomControls.ManagedListView.ContainerListViewColumnHeader(); this.containerListViewColumnHeader5 = new CustomControls.ManagedListView.ContainerListViewColumnHeader(); this.containerListViewColumnHeader6 = new CustomControls.ManagedListView.ContainerListViewColumnHeader(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.btCancel = new System.Windows.Forms.Button(); this.btOK = new System.Windows.Forms.Button(); this.button1 = new CustomControls.CoolButton(); this.button2 = new CustomControls.CoolButton(); this.radioButton1 = new System.Windows.Forms.RadioButton(); this.radioButton2 = new System.Windows.Forms.RadioButton(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.button3 = new CustomControls.CoolButton(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // containerListView1 // this.containerListView1.AlternatingRowColor = System.Drawing.Color.WhiteSmoke; this.containerListView1.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.containerListView1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.containerListView1.CheckBoxes = true; this.containerListView1.Columns.AddRange(new CustomControls.ManagedListView.ContainerListViewColumnHeader[] { this.containerListViewColumnHeader1, this.containerListViewColumnHeader2, this.containerListViewColumnHeader3, this.containerListViewColumnHeader4, this.containerListViewColumnHeader5, this.containerListViewColumnHeader6}); this.containerListView1.ColumnSortColor = System.Drawing.SystemColors.Window; this.containerListView1.ColumnTracking = true; this.containerListView1.DataSource = null; this.containerListView1.DisplayMember = ""; this.containerListView1.Location = new System.Drawing.Point(8, 64); this.containerListView1.Name = "containerListView1"; this.containerListView1.NoItemsMessage = "No Data Sources found."; this.containerListView1.SelectedItem = null; this.containerListView1.Size = new System.Drawing.Size(433, 256); this.containerListView1.SmallImageList = this.imageList; this.containerListView1.TabIndex = 1; this.containerListView1.ItemCheck += new CustomControls.ManagedListView.ContainerListViewEventHandler(this.containerListView1_ItemCheck); // // containerListViewColumnHeader1 // this.containerListViewColumnHeader1.MinimumWidth = 60; this.containerListViewColumnHeader1.Reorderable = true; this.containerListViewColumnHeader1.SortDataType = CustomControls.ManagedListView.SortDataType.TextCaseSensitive; this.containerListViewColumnHeader1.Text = "Name"; this.containerListViewColumnHeader1.Width = 205; // // containerListViewColumnHeader2 // this.containerListViewColumnHeader2.DisplayIndex = 1; this.containerListViewColumnHeader2.MinimumWidth = 60; this.containerListViewColumnHeader2.Reorderable = true; this.containerListViewColumnHeader2.SortDataType = CustomControls.ManagedListView.SortDataType.TextCaseSensitive; this.containerListViewColumnHeader2.Text = "Driver"; this.containerListViewColumnHeader2.Width = 215; // // containerListViewColumnHeader3 // this.containerListViewColumnHeader3.DisplayIndex = 2; this.containerListViewColumnHeader3.MinimumWidth = 60; this.containerListViewColumnHeader3.Reorderable = true; this.containerListViewColumnHeader3.SortDataType = CustomControls.ManagedListView.SortDataType.TextCaseSensitive; this.containerListViewColumnHeader3.Text = "Server"; this.containerListViewColumnHeader3.Visible = false; this.containerListViewColumnHeader3.Width = 120; // // containerListViewColumnHeader4 // this.containerListViewColumnHeader4.DisplayIndex = 3; this.containerListViewColumnHeader4.MinimumWidth = 60; this.containerListViewColumnHeader4.Reorderable = true; this.containerListViewColumnHeader4.SortDataType = CustomControls.ManagedListView.SortDataType.TextCaseSensitive; this.containerListViewColumnHeader4.Text = "Description"; this.containerListViewColumnHeader4.Visible = false; this.containerListViewColumnHeader4.Width = 160; // // containerListViewColumnHeader5 // this.containerListViewColumnHeader5.DisplayIndex = 4; this.containerListViewColumnHeader5.MinimumWidth = 60; this.containerListViewColumnHeader5.Reorderable = true; this.containerListViewColumnHeader5.SortDataType = CustomControls.ManagedListView.SortDataType.TextCaseSensitive; this.containerListViewColumnHeader5.Text = "Path"; this.containerListViewColumnHeader5.Visible = false; this.containerListViewColumnHeader5.Width = 200; // // containerListViewColumnHeader6 // this.containerListViewColumnHeader6.DisplayIndex = 5; this.containerListViewColumnHeader6.MinimumWidth = 60; this.containerListViewColumnHeader6.Reorderable = true; this.containerListViewColumnHeader6.SortDataType = CustomControls.ManagedListView.SortDataType.TextCaseSensitive; this.containerListViewColumnHeader6.Text = "Database"; this.containerListViewColumnHeader6.Width = 200; // // imageList // this.imageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit; this.imageList.ImageSize = new System.Drawing.Size(16, 16); this.imageList.TransparentColor = System.Drawing.Color.Transparent; // // btCancel // this.btCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btCancel.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btCancel.Location = new System.Drawing.Point(452, 334); this.btCancel.Name = "btCancel"; this.btCancel.Size = new System.Drawing.Size(92, 24); this.btCancel.TabIndex = 9; this.btCancel.Text = "Cancel"; // // btOK // this.btOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.btOK.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btOK.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.btOK.Location = new System.Drawing.Point(349, 334); this.btOK.Name = "btOK"; this.btOK.Size = new System.Drawing.Size(92, 24); this.btOK.TabIndex = 8; this.btOK.Text = "OK"; // // button1 // this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.button1.BackColor = System.Drawing.Color.Transparent; this.button1.ForeColor = System.Drawing.SystemColors.ControlText; this.button1.Image = global::Database.Properties.Resources.mAddTableHS; this.button1.Location = new System.Drawing.Point(452, 64); this.button1.Name = "button1"; this.button1.Padding = new System.Windows.Forms.Padding(6, 4, 10, 4); this.button1.Size = new System.Drawing.Size(92, 24); this.button1.TabIndex = 3; this.button1.Text = "&Add"; this.button1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.button1.UseVisualStyleBackColor = false; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.button2.BackColor = System.Drawing.Color.Transparent; this.button2.ForeColor = System.Drawing.SystemColors.ControlText; this.button2.Image = global::Database.Properties.Resources.mDeleteHS; this.button2.Location = new System.Drawing.Point(452, 94); this.button2.Name = "button2"; this.button2.Padding = new System.Windows.Forms.Padding(6, 4, 10, 4); this.button2.Size = new System.Drawing.Size(92, 24); this.button2.TabIndex = 3; this.button2.Text = "&Remove"; this.button2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.button2.UseVisualStyleBackColor = false; this.button2.Click += new System.EventHandler(this.button2_Click); // // radioButton1 // this.radioButton1.AutoSize = true; this.radioButton1.Checked = true; this.radioButton1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.radioButton1.Location = new System.Drawing.Point(8, 24); this.radioButton1.Name = "radioButton1"; this.radioButton1.Size = new System.Drawing.Size(91, 18); this.radioButton1.TabIndex = 10; this.radioButton1.TabStop = true; this.radioButton1.Text = "System DSN"; this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged); // // radioButton2 // this.radioButton2.AutoSize = true; this.radioButton2.FlatStyle = System.Windows.Forms.FlatStyle.System; this.radioButton2.Location = new System.Drawing.Point(128, 24); this.radioButton2.Name = "radioButton2"; this.radioButton2.Size = new System.Drawing.Size(79, 18); this.radioButton2.TabIndex = 10; this.radioButton2.Text = "User DSN"; // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.radioButton1); this.groupBox1.Controls.Add(this.radioButton2); this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox1.Location = new System.Drawing.Point(8, 8); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(433, 48); this.groupBox1.TabIndex = 11; this.groupBox1.TabStop = false; this.groupBox1.Text = "Show only System Data Sources or User Data Sources:"; // // button3 // this.button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.button3.BackColor = System.Drawing.Color.Transparent; this.button3.ForeColor = System.Drawing.SystemColors.ControlText; this.button3.Image = global::Database.Properties.Resources.mDataSet_TableView; this.button3.Location = new System.Drawing.Point(452, 124); this.button3.Name = "button3"; this.button3.Padding = new System.Windows.Forms.Padding(6, 4, 10, 4); this.button3.Size = new System.Drawing.Size(92, 24); this.button3.TabIndex = 3; this.button3.Text = "&Edit"; this.button3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.button3.UseVisualStyleBackColor = false; this.button3.Click += new System.EventHandler(this.button3_Click); // // ManageDsn // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(553, 369); this.Controls.Add(this.groupBox1); this.Controls.Add(this.btCancel); this.Controls.Add(this.btOK); this.Controls.Add(this.containerListView1); this.Controls.Add(this.button1); this.Controls.Add(this.button2); this.Controls.Add(this.button3); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.Name = "ManageDsn"; this.Text = "Manage Data Sources"; this.Load += new System.EventHandler(this.ManageDsn_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.containerListView1 = new CustomControls.ManagedListView.ContainerListView(); this.containerListViewColumnHeader1 = new CustomControls.ManagedListView.ContainerListViewColumnHeader(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.btCancel = new System.Windows.Forms.Button(); this.btOK = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.SuspendLayout(); // // containerListView1 // this.containerListView1.AlternatingRowColor = System.Drawing.Color.WhiteSmoke; this.containerListView1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.containerListView1.CheckBoxes = true; this.containerListView1.Columns.AddRange(new CustomControls.ManagedListView.ContainerListViewColumnHeader[] { this.containerListViewColumnHeader1}); this.containerListView1.ColumnSortColor = System.Drawing.SystemColors.Window; this.containerListView1.ColumnTracking = true; this.containerListView1.DataSource = null; this.containerListView1.DisplayMember = ""; this.containerListView1.Location = new System.Drawing.Point(8, 64); this.containerListView1.Name = "containerListView1"; this.containerListView1.NoItemsMessage = "No Databases found."; this.containerListView1.SelectedItem = null; this.containerListView1.Size = new System.Drawing.Size(448, 272); this.containerListView1.SmallImageList = this.imageList; this.containerListView1.TabIndex = 1; this.containerListView1.ItemCheck += new CustomControls.ManagedListView.ContainerListViewEventHandler(this.containerListView1_ItemCheck); // // containerListViewColumnHeader1 // this.containerListViewColumnHeader1.MinimumWidth = 60; this.containerListViewColumnHeader1.Reorderable = true; this.containerListViewColumnHeader1.SortDataType = CustomControls.ManagedListView.SortDataType.TextCaseSensitive; this.containerListViewColumnHeader1.Text = "Name"; this.containerListViewColumnHeader1.Width = 360; // // imageList // this.imageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit; this.imageList.ImageSize = new System.Drawing.Size(16, 16); this.imageList.TransparentColor = System.Drawing.Color.Magenta; // // btCancel // this.btCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btCancel.Location = new System.Drawing.Point(471, 344); this.btCancel.Name = "btCancel"; this.btCancel.Size = new System.Drawing.Size(92, 24); this.btCancel.TabIndex = 9; this.btCancel.Text = "Cancel"; // // btOK // this.btOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.btOK.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.btOK.Location = new System.Drawing.Point(364, 344); this.btOK.Name = "btOK"; this.btOK.Size = new System.Drawing.Size(92, 24); this.btOK.TabIndex = 8; this.btOK.Text = "OK"; // // button2 // this.button2.Image = global::Database.Properties.Resources.mDeleteHS; this.button2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.button2.Location = new System.Drawing.Point(468, 96); this.button2.Name = "button2"; this.button2.Padding = new System.Windows.Forms.Padding(4, 2, 4, 2); this.button2.Size = new System.Drawing.Size(92, 24); this.button2.TabIndex = 3; this.button2.Text = "&Remove"; this.button2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.button2.Click += new System.EventHandler(this.button2_Click); // // label1 // this.label1.BackColor = System.Drawing.Color.Transparent; this.label1.Location = new System.Drawing.Point(5, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(457, 39); this.label1.TabIndex = 10; this.label1.Text = "Below you can see a list of MySql databases installed on your MySql server.\r\nNote" + " that this list only contains databases that was granted privilege to read for t" + "he current user.\r\n\r\n"; // // label2 // this.label2.AutoSize = true; this.label2.BackColor = System.Drawing.Color.Transparent; this.label2.Location = new System.Drawing.Point(5, 48); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(69, 13); this.label2.TabIndex = 11; this.label2.Text = "Current User:"******"label3"; this.label3.Size = new System.Drawing.Size(35, 13); this.label3.TabIndex = 11; this.label3.Text = "label3"; // // button1 // this.button1.Image = global::Database.Properties.Resources.mAddTableHS; this.button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.button1.Location = new System.Drawing.Point(468, 64); this.button1.Name = "button1"; this.button1.Padding = new System.Windows.Forms.Padding(4, 2, 4, 2); this.button1.Size = new System.Drawing.Size(92, 24); this.button1.TabIndex = 3; this.button1.Text = "&Add"; this.button1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.button1.Click += new System.EventHandler(this.button1_Click); // // button3 // this.button3.Enabled = false; this.button3.Image = global::Database.Properties.Resources.mDataSet_TableView; this.button3.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.button3.Location = new System.Drawing.Point(468, 128); this.button3.Name = "button3"; this.button3.Padding = new System.Windows.Forms.Padding(4, 2, 4, 2); this.button3.Size = new System.Drawing.Size(92, 24); this.button3.TabIndex = 3; this.button3.Text = "&Edit"; this.button3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.button3.Click += new System.EventHandler(this.button3_Click); // // DatabaseBrowser // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(573, 382); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.btCancel); this.Controls.Add(this.btOK); this.Controls.Add(this.containerListView1); this.Controls.Add(this.button1); this.Controls.Add(this.button2); this.Controls.Add(this.button3); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.Name = "DatabaseBrowser"; this.Text = "MySql Database Browser"; this.Load += new System.EventHandler(this.DatabaseBrowser_Load); this.ResumeLayout(false); this.PerformLayout(); }