private void InitializeComponent() { this.btnOK = new System.Windows.Forms.Button(); this.Load += new System.EventHandler(this.ADImport_Load); this.btnOK.Click += new System.EventHandler(this.btnOK_Click); this.btnCancel = new System.Windows.Forms.Button(); this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); this.txtDomain = new System.Windows.Forms.TextBox(); this.lblDomain = new System.Windows.Forms.Label(); this.btnChangeDomain = new System.Windows.Forms.Button(); this.btnChangeDomain.Click += new System.EventHandler(this.btnChangeDomain_Click); this.AD = new ADTree.ADtree(); this.SuspendLayout(); // //btnOK // this.btnOK.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.btnOK.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnOK.Location = new System.Drawing.Point(372, 347); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.TabIndex = 100; this.btnOK.Text = "OK"; this.btnOK.UseVisualStyleBackColor = true; // //btnCancel // this.btnCancel.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCancel.Location = new System.Drawing.Point(453, 347); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 110; this.btnCancel.Text = "Cancel"; this.btnCancel.UseVisualStyleBackColor = true; // //txtDomain // this.txtDomain.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); this.txtDomain.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtDomain.Location = new System.Drawing.Point(57, 348); this.txtDomain.Name = "txtDomain"; this.txtDomain.Size = new System.Drawing.Size(100, 20); this.txtDomain.TabIndex = 30; // //lblDomain // this.lblDomain.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); this.lblDomain.AutoSize = true; this.lblDomain.Location = new System.Drawing.Point(5, 351); this.lblDomain.Name = "lblDomain"; this.lblDomain.Size = new System.Drawing.Size(46, 13); this.lblDomain.TabIndex = 20; this.lblDomain.Text = "Domain:"; // //btnChangeDomain // this.btnChangeDomain.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); this.btnChangeDomain.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnChangeDomain.Location = new System.Drawing.Point(163, 347); this.btnChangeDomain.Name = "btnChangeDomain"; this.btnChangeDomain.Size = new System.Drawing.Size(75, 23); this.btnChangeDomain.TabIndex = 40; this.btnChangeDomain.Text = "Change"; this.btnChangeDomain.UseVisualStyleBackColor = true; // //AD // this.AD.ADPath = null; this.AD.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.AD.Domain = ""; this.AD.Location = new System.Drawing.Point(0, 0); this.AD.Name = "AD"; this.AD.SelectedNode = null; this.AD.Size = new System.Drawing.Size(530, 341); this.AD.TabIndex = 10; // //ADImport // this.AcceptButton = this.btnOK; this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(530, 373); this.Controls.Add(this.AD); this.Controls.Add(this.lblDomain); this.Controls.Add(this.txtDomain); this.Controls.Add(this.btnChangeDomain); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnOK); this.Font = new System.Drawing.Font("Microsoft Sans Serif", (float)(8.25F), System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, (byte)(0)); this.Icon = global::My.Resources.Resources.ActiveDirectory_Icon; this.Name = "ADImport"; this.TabText = "Active Directory Import"; this.Text = "Active Directory Import"; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.btnOK = new System.Windows.Forms.Button(); this.Load += new System.EventHandler(this.ADImport_Load); this.btnOK.Click += new System.EventHandler(this.btnOK_Click); this.btnCancel = new System.Windows.Forms.Button(); this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); this.txtDomain = new System.Windows.Forms.TextBox(); this.lblDomain = new System.Windows.Forms.Label(); this.btnChangeDomain = new System.Windows.Forms.Button(); this.btnChangeDomain.Click += new System.EventHandler(this.btnChangeDomain_Click); this.AD = new ADTree.ADtree(); this.SuspendLayout(); // //btnOK // this.btnOK.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.btnOK.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnOK.Location = new System.Drawing.Point(372, 347); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.TabIndex = 100; this.btnOK.Text = "OK"; this.btnOK.UseVisualStyleBackColor = true; // //btnCancel // this.btnCancel.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCancel.Location = new System.Drawing.Point(453, 347); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 110; this.btnCancel.Text = "Cancel"; this.btnCancel.UseVisualStyleBackColor = true; // //txtDomain // this.txtDomain.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); this.txtDomain.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtDomain.Location = new System.Drawing.Point(57, 348); this.txtDomain.Name = "txtDomain"; this.txtDomain.Size = new System.Drawing.Size(100, 20); this.txtDomain.TabIndex = 30; // //lblDomain // this.lblDomain.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); this.lblDomain.AutoSize = true; this.lblDomain.Location = new System.Drawing.Point(5, 351); this.lblDomain.Name = "lblDomain"; this.lblDomain.Size = new System.Drawing.Size(46, 13); this.lblDomain.TabIndex = 20; this.lblDomain.Text = "Domain:"; // //btnChangeDomain // this.btnChangeDomain.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); this.btnChangeDomain.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnChangeDomain.Location = new System.Drawing.Point(163, 347); this.btnChangeDomain.Name = "btnChangeDomain"; this.btnChangeDomain.Size = new System.Drawing.Size(75, 23); this.btnChangeDomain.TabIndex = 40; this.btnChangeDomain.Text = "Change"; this.btnChangeDomain.UseVisualStyleBackColor = true; // //AD // this.AD.ADPath = null; this.AD.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.AD.Domain = ""; this.AD.Location = new System.Drawing.Point(0, 0); this.AD.Name = "AD"; this.AD.SelectedNode = null; this.AD.Size = new System.Drawing.Size(530, 341); this.AD.TabIndex = 10; // //ADImport // this.AcceptButton = this.btnOK; this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(530, 373); this.Controls.Add(this.AD); this.Controls.Add(this.lblDomain); this.Controls.Add(this.txtDomain); this.Controls.Add(this.btnChangeDomain); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnOK); this.Font = new System.Drawing.Font("Microsoft Sans Serif", (float)(8.25F), System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, (byte)(0)); this.Icon = global::My.Resources.Resources.ActiveDirectory_Icon; this.Name = "ADImport"; this.TabText = "Active Directory Import"; this.Text = "Active Directory Import"; this.ResumeLayout(false); this.PerformLayout(); }