mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-26 12:08:37 +08:00
102 lines
4.4 KiB
C#
102 lines
4.4 KiB
C#
|
|
|
|
using mRemoteNG.My;
|
|
|
|
namespace mRemoteNG.UI.Window
|
|
{
|
|
public partial class ActiveDirectoryImportWindow : BaseWindow
|
|
{
|
|
#region Windows Form Designer generated code
|
|
private void InitializeComponent()
|
|
{
|
|
this.btnImport = new System.Windows.Forms.Button();
|
|
this.Load += new System.EventHandler(ADImport_Load);
|
|
this.btnImport.Click += new System.EventHandler(this.btnImport_Click);
|
|
this.txtDomain = new System.Windows.Forms.TextBox();
|
|
this.txtDomain.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(mRemoteNG.UI.Window.ActiveDirectoryImportWindow.txtDomain_PreviewKeyDown);
|
|
this.txtDomain.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtDomain_KeyDown);
|
|
this.lblDomain = new System.Windows.Forms.Label();
|
|
this.btnChangeDomain = new System.Windows.Forms.Button();
|
|
this.btnChangeDomain.Click += new System.EventHandler(this.btnChangeDomain_Click);
|
|
this.ActiveDirectoryTree = new ADTree.ADtree();
|
|
this.ActiveDirectoryTree.ADPathChanged += new ADTree.ADtree.ADPathChangedEventHandler(this.ActiveDirectoryTree_ADPathChanged);
|
|
this.SuspendLayout();
|
|
//
|
|
//btnImport
|
|
//
|
|
this.btnImport.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
|
|
this.btnImport.Location = new System.Drawing.Point(443, 338);
|
|
this.btnImport.Name = "btnImport";
|
|
this.btnImport.Size = new System.Drawing.Size(75, 23);
|
|
this.btnImport.TabIndex = 4;
|
|
this.btnImport.Text = "&Import";
|
|
this.btnImport.UseVisualStyleBackColor = true;
|
|
//
|
|
//txtDomain
|
|
//
|
|
this.txtDomain.Anchor = (System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right);
|
|
this.txtDomain.Location = new System.Drawing.Point(12, 25);
|
|
this.txtDomain.Name = "txtDomain";
|
|
this.txtDomain.Size = new System.Drawing.Size(425, 20);
|
|
this.txtDomain.TabIndex = 1;
|
|
//
|
|
//lblDomain
|
|
//
|
|
this.lblDomain.AutoSize = true;
|
|
this.lblDomain.Location = new System.Drawing.Point(9, 9);
|
|
this.lblDomain.Name = "lblDomain";
|
|
this.lblDomain.Size = new System.Drawing.Size(46, 13);
|
|
this.lblDomain.TabIndex = 0;
|
|
this.lblDomain.Text = "Domain:";
|
|
//
|
|
//btnChangeDomain
|
|
//
|
|
this.btnChangeDomain.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
|
|
this.btnChangeDomain.Location = new System.Drawing.Point(443, 23);
|
|
this.btnChangeDomain.Name = "btnChangeDomain";
|
|
this.btnChangeDomain.Size = new System.Drawing.Size(75, 23);
|
|
this.btnChangeDomain.TabIndex = 2;
|
|
this.btnChangeDomain.Text = "Change";
|
|
this.btnChangeDomain.UseVisualStyleBackColor = true;
|
|
//
|
|
//ActiveDirectoryTree
|
|
//
|
|
this.ActiveDirectoryTree.ADPath = null;
|
|
this.ActiveDirectoryTree.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.ActiveDirectoryTree.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.ActiveDirectoryTree.Location = new System.Drawing.Point(12, 52);
|
|
this.ActiveDirectoryTree.Name = "ActiveDirectoryTree";
|
|
this.ActiveDirectoryTree.SelectedNode = null;
|
|
this.ActiveDirectoryTree.Size = new System.Drawing.Size(506, 280);
|
|
this.ActiveDirectoryTree.TabIndex = 3;
|
|
//
|
|
//ADImport
|
|
//
|
|
this.AcceptButton = this.btnImport;
|
|
this.ClientSize = new System.Drawing.Size(530, 373);
|
|
this.Controls.Add(this.ActiveDirectoryTree);
|
|
this.Controls.Add(this.lblDomain);
|
|
this.Controls.Add(this.txtDomain);
|
|
this.Controls.Add(this.btnChangeDomain);
|
|
this.Controls.Add(this.btnImport);
|
|
this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0));
|
|
this.Icon = Resources.ActiveDirectory_Icon;
|
|
this.Name = "ActiveDirectoryImport";
|
|
this.TabText = "Active Directory Import";
|
|
this.Text = "Active Directory Import";
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
private System.Windows.Forms.Button btnImport;
|
|
private System.Windows.Forms.TextBox txtDomain;
|
|
private System.Windows.Forms.Label lblDomain;
|
|
private System.Windows.Forms.Button btnChangeDomain;
|
|
private ADTree.ADtree ActiveDirectoryTree;
|
|
#endregion
|
|
}
|
|
}
|