⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.designer.cs

📁 windows mobile数据库查询应用源码
💻 CS
字号:
using System.Diagnostics;
using System;
using System.Windows.Forms;
using System.Collections;
using System.Drawing;
using Microsoft.VisualBasic;
using System.Data;
using System.Collections.Generic;

namespace DatabaseViewer
{
	public partial class Form1 : System.Windows.Forms.Form
	{
		
		//Form overrides dispose to clean up the component list.
		[System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing)
		{
			if (disposing && (components != null))
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}
		
		//Required by the Windows Form Designer
		private System.ComponentModel.Container components = null;
		
		//NOTE: The following procedure is required by the Windows Form Designer
		//It can be modified using the Windows Form Designer.
		//Do not modify it using the code editor.
		[System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			base.Load += new System.EventHandler(Form1_Load);
			this.Label1 = new System.Windows.Forms.Label();
			this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
			this.TextBox1 = new System.Windows.Forms.TextBox();
			this.OpenButton = new System.Windows.Forms.Button();
			this.OpenButton.Click += new System.EventHandler(OpenButton_Click);
			this.PasswordTextBox = new System.Windows.Forms.TextBox();
			this.Button1 = new System.Windows.Forms.Button();
			this.Button1.Click += new System.EventHandler(Button1_Click);
			this.DataGridView1 = new System.Windows.Forms.DataGridView();
			this.TablesBindingSource = new System.Windows.Forms.BindingSource(this.components);
			this.TablesBindingSource.PositionChanged += new System.EventHandler(TablesBindingSource_CurrentChanged);
			this.Label2 = new System.Windows.Forms.Label();
			this.Label3 = new System.Windows.Forms.Label();
			this.UserNameLabel = new System.Windows.Forms.Label();
			this.TableDataDataGridView = new System.Windows.Forms.DataGridView();
			this.TableDataBindingSource = new System.Windows.Forms.BindingSource(this.components);
			((System.ComponentModel.ISupportInitialize) this.DataGridView1).BeginInit();
			((System.ComponentModel.ISupportInitialize) this.TablesBindingSource).BeginInit();
			((System.ComponentModel.ISupportInitialize) this.TableDataDataGridView).BeginInit();
			((System.ComponentModel.ISupportInitialize) this.TableDataBindingSource).BeginInit();
			this.SuspendLayout();
			//
			//Label1
			//
			this.Label1.AutoSize = true;
			this.Label1.Location = new System.Drawing.Point(22, 52);
			this.Label1.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
			this.Label1.Name = "Label1";
			this.Label1.Size = new System.Drawing.Size(93, 24);
			this.Label1.TabIndex = 0;
			this.Label1.Text = "Database:";
			//
			//openFileDialog
			//
			this.openFileDialog.DefaultExt = "sdf";
			this.openFileDialog.FileName = "OpenFileDialog1";
			this.openFileDialog.Filter = "*.sdf|*.sdf";
			this.openFileDialog.SupportMultiDottedExtensions = true;
			//
			//TextBox1
			//
			this.TextBox1.Anchor = (System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right);
			this.TextBox1.Location = new System.Drawing.Point(134, 47);
			this.TextBox1.Margin = new System.Windows.Forms.Padding(6);
			this.TextBox1.Name = "TextBox1";
			this.TextBox1.Size = new System.Drawing.Size(666, 29);
			this.TextBox1.TabIndex = 1;
			//
			//OpenButton
			//
			this.OpenButton.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
			this.OpenButton.Location = new System.Drawing.Point(812, 41);
			this.OpenButton.Margin = new System.Windows.Forms.Padding(6);
			this.OpenButton.Name = "OpenButton";
			this.OpenButton.Size = new System.Drawing.Size(138, 42);
			this.OpenButton.TabIndex = 2;
			this.OpenButton.Text = "Open...";
			this.OpenButton.UseVisualStyleBackColor = true;
			//
			//PasswordTextBox
			//
			this.PasswordTextBox.Location = new System.Drawing.Point(136, 95);
			this.PasswordTextBox.Margin = new System.Windows.Forms.Padding(6);
			this.PasswordTextBox.Name = "PasswordTextBox";
			this.PasswordTextBox.Size = new System.Drawing.Size(209, 29);
			this.PasswordTextBox.TabIndex = 3;
			//
			//Button1
			//
			this.Button1.Location = new System.Drawing.Point(134, 145);
			this.Button1.Margin = new System.Windows.Forms.Padding(6);
			this.Button1.Name = "Button1";
			this.Button1.Size = new System.Drawing.Size(215, 42);
			this.Button1.TabIndex = 4;
			this.Button1.Text = "Get Table List";
			this.Button1.UseVisualStyleBackColor = true;
			//
			//DataGridView1
			//
			this.DataGridView1.AllowUserToAddRows = false;
			this.DataGridView1.AllowUserToDeleteRows = false;
			this.DataGridView1.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.DataGridView1.AutoGenerateColumns = false;
			this.DataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
			this.DataGridView1.BackgroundColor = System.Drawing.Color.White;
			this.DataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
			this.DataGridView1.DataSource = this.TablesBindingSource;
			this.DataGridView1.Location = new System.Drawing.Point(134, 199);
			this.DataGridView1.Margin = new System.Windows.Forms.Padding(6);
			this.DataGridView1.Name = "DataGridView1";
			this.DataGridView1.ReadOnly = true;
			this.DataGridView1.Size = new System.Drawing.Size(816, 145);
			this.DataGridView1.TabIndex = 5;
			//
			//TablesBindingSource
			//
			//
			//Label2
			//
			this.Label2.AutoSize = true;
			this.Label2.Location = new System.Drawing.Point(22, 100);
			this.Label2.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
			this.Label2.Name = "Label2";
			this.Label2.Size = new System.Drawing.Size(97, 24);
			this.Label2.TabIndex = 6;
			this.Label2.Text = "Password:";
			//
			//Label3
			//
			this.Label3.AutoSize = true;
			this.Label3.Location = new System.Drawing.Point(3, 17);
			this.Label3.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
			this.Label3.Name = "Label3";
			this.Label3.Size = new System.Drawing.Size(116, 24);
			this.Label3.TabIndex = 7;
			this.Label3.Text = "Current User";
			//
			//UserNameLabel
			//
			this.UserNameLabel.AutoSize = true;
			this.UserNameLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 20.0F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0)));
			this.UserNameLabel.ForeColor = System.Drawing.Color.Blue;
			this.UserNameLabel.Location = new System.Drawing.Point(130, 10);
			this.UserNameLabel.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
			this.UserNameLabel.Name = "UserNameLabel";
			this.UserNameLabel.Size = new System.Drawing.Size(76, 31);
			this.UserNameLabel.TabIndex = 8;
			this.UserNameLabel.Text = "User";
			//
			//TableDataDataGridView
			//
			this.TableDataDataGridView.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.TableDataDataGridView.AutoGenerateColumns = false;
			this.TableDataDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
			this.TableDataDataGridView.BackgroundColor = System.Drawing.Color.White;
			this.TableDataDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
			this.TableDataDataGridView.DataSource = this.TableDataBindingSource;
			this.TableDataDataGridView.Location = new System.Drawing.Point(134, 356);
			this.TableDataDataGridView.Margin = new System.Windows.Forms.Padding(6);
			this.TableDataDataGridView.Name = "TableDataDataGridView";
			this.TableDataDataGridView.Size = new System.Drawing.Size(816, 219);
			this.TableDataDataGridView.TabIndex = 9;
			//
			//Form1
			//
			this.AutoScaleDimensions = new System.Drawing.SizeF(11.0f, 24.0f);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.ClientSize = new System.Drawing.Size(965, 590);
			this.Controls.Add(this.TableDataDataGridView);
			this.Controls.Add(this.UserNameLabel);
			this.Controls.Add(this.Label3);
			this.Controls.Add(this.Label2);
			this.Controls.Add(this.DataGridView1);
			this.Controls.Add(this.Button1);
			this.Controls.Add(this.PasswordTextBox);
			this.Controls.Add(this.OpenButton);
			this.Controls.Add(this.TextBox1);
			this.Controls.Add(this.Label1);
			this.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.0F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte) (0)));
			this.Margin = new System.Windows.Forms.Padding(6);
			this.Name = "Form1";
			this.Text = "Database Connection Tester";
			((System.ComponentModel.ISupportInitialize) this.DataGridView1).EndInit();
			((System.ComponentModel.ISupportInitialize) this.TablesBindingSource).EndInit();
			((System.ComponentModel.ISupportInitialize) this.TableDataDataGridView).EndInit();
			((System.ComponentModel.ISupportInitialize) this.TableDataBindingSource).EndInit();
			this.ResumeLayout(false);
			this.PerformLayout();
			
		}
		internal System.Windows.Forms.Label Label1;
		internal System.Windows.Forms.OpenFileDialog openFileDialog;
		internal System.Windows.Forms.TextBox TextBox1;
		internal System.Windows.Forms.Button OpenButton;
		internal System.Windows.Forms.TextBox PasswordTextBox;
		internal System.Windows.Forms.Button Button1;
		internal System.Windows.Forms.DataGridView DataGridView1;
		internal System.Windows.Forms.Label Label2;
		internal System.Windows.Forms.Label Label3;
		internal System.Windows.Forms.Label UserNameLabel;
		internal System.Windows.Forms.DataGridView TableDataDataGridView;
		internal System.Windows.Forms.BindingSource TablesBindingSource;
		internal System.Windows.Forms.BindingSource TableDataBindingSource;
		
	}
	
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -