mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 20:36:33 +01:00
ff708345fa
closed on double-clicking on the node expanded icon. Some improvement in the use of the folder name prompt dialog. Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
202 lines
10 KiB
C#
202 lines
10 KiB
C#
namespace XenAdmin.Dialogs
|
|
{
|
|
partial class FolderChangeDialog
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FolderChangeDialog));
|
|
this.cancelButton = new System.Windows.Forms.Button();
|
|
this.okButton = new System.Windows.Forms.Button();
|
|
this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.toolStripMenuItemNew = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripMenuItemRename = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripMenuItemDelete = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.radioButtonNone = new System.Windows.Forms.RadioButton();
|
|
this.radioButtonChoose = new System.Windows.Forms.RadioButton();
|
|
this.buttonNew = new System.Windows.Forms.Button();
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.treeView = new XenAdmin.Controls.FolderChangeDialogTreeView();
|
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.buttonDelete = new System.Windows.Forms.Button();
|
|
this.buttonRename = new System.Windows.Forms.Button();
|
|
this.contextMenuStrip.SuspendLayout();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.tableLayoutPanel2.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// cancelButton
|
|
//
|
|
this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
resources.ApplyResources(this.cancelButton, "cancelButton");
|
|
this.cancelButton.Name = "cancelButton";
|
|
this.cancelButton.UseVisualStyleBackColor = true;
|
|
//
|
|
// okButton
|
|
//
|
|
resources.ApplyResources(this.okButton, "okButton");
|
|
this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
this.okButton.Name = "okButton";
|
|
this.okButton.UseVisualStyleBackColor = true;
|
|
//
|
|
// contextMenuStrip
|
|
//
|
|
this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.toolStripMenuItemNew,
|
|
this.toolStripMenuItemRename,
|
|
this.toolStripMenuItemDelete});
|
|
this.contextMenuStrip.Name = "contextMenuStrip";
|
|
resources.ApplyResources(this.contextMenuStrip, "contextMenuStrip");
|
|
//
|
|
// toolStripMenuItemNew
|
|
//
|
|
this.toolStripMenuItemNew.Image = global::XenAdmin.Properties.Resources._000_Folder_open_h32bit_16;
|
|
this.toolStripMenuItemNew.Name = "toolStripMenuItemNew";
|
|
resources.ApplyResources(this.toolStripMenuItemNew, "toolStripMenuItemNew");
|
|
this.toolStripMenuItemNew.Click += new System.EventHandler(this.toolStripMenuItemNew_Click);
|
|
//
|
|
// toolStripMenuItemRename
|
|
//
|
|
this.toolStripMenuItemRename.Name = "toolStripMenuItemRename";
|
|
resources.ApplyResources(this.toolStripMenuItemRename, "toolStripMenuItemRename");
|
|
this.toolStripMenuItemRename.Click += new System.EventHandler(this.toolStripMenuItemRename_Click);
|
|
//
|
|
// toolStripMenuItemDelete
|
|
//
|
|
this.toolStripMenuItemDelete.Name = "toolStripMenuItemDelete";
|
|
resources.ApplyResources(this.toolStripMenuItemDelete, "toolStripMenuItemDelete");
|
|
this.toolStripMenuItemDelete.Click += new System.EventHandler(this.toolStripMenuItemDelete_Click);
|
|
//
|
|
// radioButtonNone
|
|
//
|
|
resources.ApplyResources(this.radioButtonNone, "radioButtonNone");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.radioButtonNone, 3);
|
|
this.radioButtonNone.Name = "radioButtonNone";
|
|
this.radioButtonNone.TabStop = true;
|
|
this.radioButtonNone.UseVisualStyleBackColor = true;
|
|
this.radioButtonNone.CheckedChanged += new System.EventHandler(this.radioButtonNone_CheckedChanged);
|
|
this.radioButtonNone.TabStopChanged += new System.EventHandler(this.radioButtonNone_TabStopChanged);
|
|
//
|
|
// radioButtonChoose
|
|
//
|
|
resources.ApplyResources(this.radioButtonChoose, "radioButtonChoose");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.radioButtonChoose, 3);
|
|
this.radioButtonChoose.Name = "radioButtonChoose";
|
|
this.radioButtonChoose.TabStop = true;
|
|
this.radioButtonChoose.UseVisualStyleBackColor = true;
|
|
this.radioButtonChoose.CheckedChanged += new System.EventHandler(this.radioButtonChoose_CheckedChanged);
|
|
this.radioButtonChoose.TabStopChanged += new System.EventHandler(this.radioButtonChoose_TabStopChanged);
|
|
//
|
|
// buttonNew
|
|
//
|
|
resources.ApplyResources(this.buttonNew, "buttonNew");
|
|
this.buttonNew.Name = "buttonNew";
|
|
this.buttonNew.UseVisualStyleBackColor = true;
|
|
this.buttonNew.Click += new System.EventHandler(this.buttonNew_Click);
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
|
this.tableLayoutPanel1.Controls.Add(this.radioButtonNone, 0, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.radioButtonChoose, 0, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.treeView, 1, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.buttonNew, 2, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 5);
|
|
this.tableLayoutPanel1.Controls.Add(this.buttonDelete, 2, 4);
|
|
this.tableLayoutPanel1.Controls.Add(this.buttonRename, 2, 3);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
//
|
|
// treeView
|
|
//
|
|
this.treeView.ContextMenuStrip = this.contextMenuStrip;
|
|
resources.ApplyResources(this.treeView, "treeView");
|
|
this.treeView.HideSelection = false;
|
|
this.treeView.Name = "treeView";
|
|
this.tableLayoutPanel1.SetRowSpan(this.treeView, 3);
|
|
this.treeView.ShowLines = false;
|
|
this.treeView.NodeMouseDoubleClick += new System.EventHandler<XenAdmin.Controls.VirtualTreeNodeMouseClickEventArgs>(this.treeView_NodeMouseDoubleClick);
|
|
this.treeView.SelectionsChanged += new System.EventHandler(this.treeView_SelectionsChanged);
|
|
this.treeView.Enter += new System.EventHandler(this.treeView_Enter);
|
|
this.treeView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView_KeyDown);
|
|
//
|
|
// tableLayoutPanel2
|
|
//
|
|
resources.ApplyResources(this.tableLayoutPanel2, "tableLayoutPanel2");
|
|
this.tableLayoutPanel1.SetColumnSpan(this.tableLayoutPanel2, 3);
|
|
this.tableLayoutPanel2.Controls.Add(this.okButton, 0, 0);
|
|
this.tableLayoutPanel2.Controls.Add(this.cancelButton, 1, 0);
|
|
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
|
|
//
|
|
// buttonDelete
|
|
//
|
|
resources.ApplyResources(this.buttonDelete, "buttonDelete");
|
|
this.buttonDelete.Name = "buttonDelete";
|
|
this.buttonDelete.UseVisualStyleBackColor = true;
|
|
this.buttonDelete.Click += new System.EventHandler(this.buttonDelete_Click);
|
|
//
|
|
// buttonRename
|
|
//
|
|
resources.ApplyResources(this.buttonRename, "buttonRename");
|
|
this.buttonRename.Name = "buttonRename";
|
|
this.buttonRename.UseVisualStyleBackColor = true;
|
|
this.buttonRename.Click += new System.EventHandler(this.buttonRename_Click);
|
|
//
|
|
// FolderChangeDialog
|
|
//
|
|
this.AcceptButton = this.okButton;
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.CancelButton = this.cancelButton;
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Sizable;
|
|
this.Name = "FolderChangeDialog";
|
|
this.contextMenuStrip.ResumeLayout(false);
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
this.tableLayoutPanel2.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button cancelButton;
|
|
private System.Windows.Forms.Button okButton;
|
|
private System.Windows.Forms.RadioButton radioButtonNone;
|
|
private System.Windows.Forms.RadioButton radioButtonChoose;
|
|
private System.Windows.Forms.Button buttonNew;
|
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
|
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemNew;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private Controls.FolderChangeDialogTreeView treeView;
|
|
private System.Windows.Forms.Button buttonDelete;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemDelete;
|
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemRename;
|
|
private System.Windows.Forms.Button buttonRename;
|
|
}
|
|
} |