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

📄 frmcreatedbuser.cs

📁 自己编写的基本Orcale的通用的数据库初始化工具。
💻 CS
📖 第 1 页 / 共 3 页
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using DS.EMIS.StartPrepare.Common;

namespace DS.EMIS.StartPrepare
{
	/// <summary>
	/// FrmCreateDBUser 的摘要说明。
	/// </summary>
	public class FrmCreateDBUser : FrmAncestor
	{
        private System.Windows.Forms.Panel panel1;
        private System.Windows.Forms.Panel panel3;
        private System.Windows.Forms.GroupBox groupBox3;
        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.Button button2;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.TextBox txtPassword;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.TextBox txtUserName;
        private System.Windows.Forms.DateTimePicker dateTimePicker1;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Splitter splitter4;
        private System.Windows.Forms.Splitter splitter2;
		private System.Windows.Forms.Panel panel2;
		private System.Windows.Forms.GroupBox groupBox2;
		private System.Windows.Forms.Panel panel6;
		private System.Windows.Forms.Splitter splitter5;
		private System.Windows.Forms.Panel panel5;
		private System.Windows.Forms.Button button1;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.TextBox textBox1;
		private System.Windows.Forms.Splitter splitter3;
		private System.Windows.Forms.Panel panel4;
		private System.Windows.Forms.Button Btn_Save;
		private System.Windows.Forms.Button Btn_Excut;
		private System.Windows.Forms.Button Btn_Cancel;
		private System.Windows.Forms.Button Btn_OK;
        private DS.Win.UltraWinGrid.UltraGrid dgInitializeInfo;
        private DS.Win.UltraWinDataSource.UltraDataSource ultraDataSource1;
        private System.Windows.Forms.RichTextBox txtLog;
		/// <summary>
		/// 必需的设计器变量。
		/// </summary>
		private System.ComponentModel.Container components = null;

        private User user = new User();

		public FrmCreateDBUser()
		{
			//
			// Windows 窗体设计器支持所必需的
			//
			InitializeComponent();

			//
			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
			//
		}

		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows 窗体设计器生成的代码
		/// <summary>
		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
		/// 此方法的内容。
		/// </summary>
		private void InitializeComponent()
		{
            DS.Win.Appearance appearance1 = new DS.Win.Appearance();
            DS.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new DS.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
            DS.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new DS.Win.UltraWinGrid.UltraGridColumn("datafile");
            DS.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new DS.Win.UltraWinGrid.UltraGridColumn("size");
            DS.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new DS.Win.UltraWinGrid.UltraGridColumn("esize");
            DS.Win.Appearance appearance2 = new DS.Win.Appearance();
            DS.Win.Appearance appearance3 = new DS.Win.Appearance();
            DS.Win.Appearance appearance4 = new DS.Win.Appearance();
            DS.Win.Appearance appearance5 = new DS.Win.Appearance();
            DS.Win.Appearance appearance6 = new DS.Win.Appearance();
            DS.Win.Appearance appearance7 = new DS.Win.Appearance();
            DS.Win.Appearance appearance8 = new DS.Win.Appearance();
            DS.Win.Appearance appearance9 = new DS.Win.Appearance();
            DS.Win.Appearance appearance10 = new DS.Win.Appearance();
            DS.Win.Appearance appearance11 = new DS.Win.Appearance();
            DS.Win.Appearance appearance12 = new DS.Win.Appearance();
            DS.Win.Appearance appearance13 = new DS.Win.Appearance();
            DS.Win.Appearance appearance14 = new DS.Win.Appearance();
            DS.Win.Appearance appearance15 = new DS.Win.Appearance();
            DS.Win.UltraWinDataSource.UltraDataColumn ultraDataColumn1 = new DS.Win.UltraWinDataSource.UltraDataColumn("datafile");
            DS.Win.UltraWinDataSource.UltraDataColumn ultraDataColumn2 = new DS.Win.UltraWinDataSource.UltraDataColumn("size");
            DS.Win.UltraWinDataSource.UltraDataColumn ultraDataColumn3 = new DS.Win.UltraWinDataSource.UltraDataColumn("esize");
            this.panel1 = new System.Windows.Forms.Panel();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.button2 = new System.Windows.Forms.Button();
            this.label5 = new System.Windows.Forms.Label();
            this.txtPassword = new System.Windows.Forms.TextBox();
            this.label3 = new System.Windows.Forms.Label();
            this.txtUserName = new System.Windows.Forms.TextBox();
            this.panel3 = new System.Windows.Forms.Panel();
            this.groupBox3 = new System.Windows.Forms.GroupBox();
            this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
            this.label2 = new System.Windows.Forms.Label();
            this.txtLog = new System.Windows.Forms.RichTextBox();
            this.splitter4 = new System.Windows.Forms.Splitter();
            this.splitter2 = new System.Windows.Forms.Splitter();
            this.panel2 = new System.Windows.Forms.Panel();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.panel6 = new System.Windows.Forms.Panel();
            this.dgInitializeInfo = new DS.Win.UltraWinGrid.UltraGrid();
            this.ultraDataSource1 = new DS.Win.UltraWinDataSource.UltraDataSource();
            this.splitter5 = new System.Windows.Forms.Splitter();
            this.panel5 = new System.Windows.Forms.Panel();
            this.button1 = new System.Windows.Forms.Button();
            this.label1 = new System.Windows.Forms.Label();
            this.textBox1 = new System.Windows.Forms.TextBox();
            this.splitter3 = new System.Windows.Forms.Splitter();
            this.panel4 = new System.Windows.Forms.Panel();
            this.Btn_Save = new System.Windows.Forms.Button();
            this.Btn_Excut = new System.Windows.Forms.Button();
            this.Btn_Cancel = new System.Windows.Forms.Button();
            this.Btn_OK = new System.Windows.Forms.Button();
            this.panel1.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.panel3.SuspendLayout();
            this.groupBox3.SuspendLayout();
            this.panel2.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.panel6.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dgInitializeInfo)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraDataSource1)).BeginInit();
            this.panel5.SuspendLayout();
            this.panel4.SuspendLayout();
            this.SuspendLayout();
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.groupBox1);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel1.Location = new System.Drawing.Point(0, 0);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(674, 88);
            this.panel1.TabIndex = 14;
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.button2);
            this.groupBox1.Controls.Add(this.label5);
            this.groupBox1.Controls.Add(this.txtPassword);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.txtUserName);
            this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.groupBox1.Location = new System.Drawing.Point(0, 0);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(674, 88);
            this.groupBox1.TabIndex = 11;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "用户信息";
            // 
            // button2
            // 
            this.button2.Location = new System.Drawing.Point(300, 24);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(32, 23);
            this.button2.TabIndex = 5;
            this.button2.Text = "...";
            this.button2.Click += new System.EventHandler(this.button2_Click);
            // 
            // label5
            // 
            this.label5.Location = new System.Drawing.Point(132, 56);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(64, 23);
            this.label5.TabIndex = 4;
            this.label5.Text = "登录密码";
            // 
            // txtPassword
            // 
            this.txtPassword.Location = new System.Drawing.Point(200, 56);
            this.txtPassword.Name = "txtPassword";
            this.txtPassword.TabIndex = 3;
            this.txtPassword.Text = "";
            // 
            // label3
            // 
            this.label3.Location = new System.Drawing.Point(132, 24);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(64, 23);
            this.label3.TabIndex = 1;
            this.label3.Text = "登录名";
            // 
            // txtUserName
            // 
            this.txtUserName.Location = new System.Drawing.Point(200, 24);
            this.txtUserName.Name = "txtUserName";
            this.txtUserName.TabIndex = 0;
            this.txtUserName.Text = "";
            // 
            // panel3
            // 
            this.panel3.Controls.Add(this.groupBox3);
            this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panel3.Location = new System.Drawing.Point(0, 315);
            this.panel3.Name = "panel3";
            this.panel3.Size = new System.Drawing.Size(674, 200);
            this.panel3.TabIndex = 16;
            // 
            // groupBox3
            // 
            this.groupBox3.Controls.Add(this.dateTimePicker1);
            this.groupBox3.Controls.Add(this.label2);
            this.groupBox3.Controls.Add(this.txtLog);
            this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.groupBox3.Location = new System.Drawing.Point(0, 0);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Size = new System.Drawing.Size(674, 200);
            this.groupBox3.TabIndex = 16;
            this.groupBox3.TabStop = false;
            this.groupBox3.Text = "日志信息";
            // 
            // dateTimePicker1
            // 
            this.dateTimePicker1.Location = new System.Drawing.Point(380, 28);
            this.dateTimePicker1.Name = "dateTimePicker1";
            this.dateTimePicker1.TabIndex = 2;
            this.dateTimePicker1.Value = new System.DateTime(2008, 3, 13, 10, 4, 42, 421);
            // 
            // label2
            // 
            this.label2.Location = new System.Drawing.Point(316, 28);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(56, 23);
            this.label2.TabIndex = 1;
            this.label2.Text = "创建时间";
            // 
            // txtLog
            // 
            this.txtLog.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.txtLog.Location = new System.Drawing.Point(3, 57);
            this.txtLog.Name = "txtLog";
            this.txtLog.ReadOnly = true;
            this.txtLog.Size = new System.Drawing.Size(668, 140);
            this.txtLog.TabIndex = 0;
            this.txtLog.Text = "";
            // 
            // splitter4
            // 
            this.splitter4.Location = new System.Drawing.Point(0, 0);
            this.splitter4.Name = "splitter4";
            this.splitter4.TabIndex = 0;
            this.splitter4.TabStop = false;
            // 
            // splitter2
            // 
            this.splitter2.BackColor = System.Drawing.SystemColors.Control;
            this.splitter2.Dock = System.Windows.Forms.DockStyle.Top;
            this.splitter2.Location = new System.Drawing.Point(0, 88);
            this.splitter2.Name = "splitter2";
            this.splitter2.Size = new System.Drawing.Size(674, 5);
            this.splitter2.TabIndex = 19;
            this.splitter2.TabStop = false;
            // 
            // panel2
            // 
            this.panel2.Controls.Add(this.groupBox2);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel2.Location = new System.Drawing.Point(0, 93);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(674, 222);
            this.panel2.TabIndex = 20;
            // 
            // groupBox2
            // 
            this.groupBox2.Controls.Add(this.panel6);
            this.groupBox2.Controls.Add(this.splitter5);
            this.groupBox2.Controls.Add(this.panel5);
            this.groupBox2.Controls.Add(this.splitter3);
            this.groupBox2.Controls.Add(this.panel4);
            this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.groupBox2.Location = new System.Drawing.Point(0, 0);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(674, 222);
            this.groupBox2.TabIndex = 11;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "表空间";
            // 
            // panel6
            // 

⌨️ 快捷键说明

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