コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TaskSelectForm));
     this.okButton           = new System.Windows.Forms.Button();
     this.cancelButton       = new System.Windows.Forms.Button();
     this.tasksTree          = new PTM.View.Controls.TasksTreeViewControl();
     this.editButton         = new System.Windows.Forms.Button();
     this.deleteButton       = new System.Windows.Forms.Button();
     this.newButton          = new System.Windows.Forms.Button();
     this.groupBox1          = new System.Windows.Forms.GroupBox();
     this.propertiesButton   = new System.Windows.Forms.Button();
     this.showHiddenCheckBox = new System.Windows.Forms.CheckBox();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // okButton
     //
     this.okButton.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location     = new System.Drawing.Point(298, 314);
     this.okButton.Name         = "okButton";
     this.okButton.Size         = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex     = 6;
     this.okButton.Text         = "Ok";
     //
     // cancelButton
     //
     this.cancelButton.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(386, 314);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex     = 7;
     this.cancelButton.Text         = "Cancel";
     //
     // tasksTree
     //
     this.tasksTree.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.tasksTree.Location   = new System.Drawing.Point(6, 18);
     this.tasksTree.Name       = "tasksTree";
     this.tasksTree.ShowHidden = false;
     this.tasksTree.Size       = new System.Drawing.Size(360, 278);
     this.tasksTree.TabIndex   = 0;
     //
     // editButton
     //
     this.editButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.editButton.Location = new System.Drawing.Point(386, 94);
     this.editButton.Name     = "editButton";
     this.editButton.Size     = new System.Drawing.Size(75, 23);
     this.editButton.TabIndex = 4;
     this.editButton.Text     = "Edit";
     this.editButton.Click   += new System.EventHandler(this.editButton_Click);
     //
     // deleteButton
     //
     this.deleteButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.deleteButton.Location = new System.Drawing.Point(386, 134);
     this.deleteButton.Name     = "deleteButton";
     this.deleteButton.Size     = new System.Drawing.Size(75, 23);
     this.deleteButton.TabIndex = 5;
     this.deleteButton.Text     = "Delete";
     this.deleteButton.Click   += new System.EventHandler(this.deleteButton_Click);
     //
     // newButton
     //
     this.newButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.newButton.Location = new System.Drawing.Point(386, 54);
     this.newButton.Name     = "newButton";
     this.newButton.Size     = new System.Drawing.Size(75, 23);
     this.newButton.TabIndex = 3;
     this.newButton.Text     = "New";
     this.newButton.Click   += new System.EventHandler(this.newButton_Click);
     //
     // groupBox1
     //
     this.groupBox1.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.groupBox1.Controls.Add(this.tasksTree);
     this.groupBox1.ForeColor = System.Drawing.Color.Blue;
     this.groupBox1.Location  = new System.Drawing.Point(6, 6);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(372, 302);
     this.groupBox1.TabIndex  = 2;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "Choose a task";
     //
     // propertiesButton
     //
     this.propertiesButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.propertiesButton.Location = new System.Drawing.Point(386, 174);
     this.propertiesButton.Name     = "propertiesButton";
     this.propertiesButton.Size     = new System.Drawing.Size(75, 23);
     this.propertiesButton.TabIndex = 9;
     this.propertiesButton.Text     = "Properties";
     this.propertiesButton.Click   += new System.EventHandler(this.propertiesButton_Click);
     //
     // showHiddenCheckBox
     //
     this.showHiddenCheckBox.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.showHiddenCheckBox.AutoSize = true;
     this.showHiddenCheckBox.Location = new System.Drawing.Point(386, 214);
     this.showHiddenCheckBox.Name     = "showHiddenCheckBox";
     this.showHiddenCheckBox.Size     = new System.Drawing.Size(88, 17);
     this.showHiddenCheckBox.TabIndex = 10;
     this.showHiddenCheckBox.Text     = "Show Hidden";
     this.showHiddenCheckBox.UseVisualStyleBackColor = true;
     this.showHiddenCheckBox.CheckedChanged         += new System.EventHandler(this.showHiddenCheckBox_CheckedChanged);
     //
     // TaskSelectForm
     //
     this.AcceptButton      = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.cancelButton;
     this.ClientSize        = new System.Drawing.Size(474, 351);
     this.Controls.Add(this.showHiddenCheckBox);
     this.Controls.Add(this.propertiesButton);
     this.Controls.Add(this.editButton);
     this.Controls.Add(this.deleteButton);
     this.Controls.Add(this.newButton);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.groupBox1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimizeBox   = false;
     this.MinimumSize   = new System.Drawing.Size(471, 381);
     this.Name          = "TaskSelectForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Tasks";
     this.TopMost       = true;
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TasksExplorerForm));
     this.newButton            = new System.Windows.Forms.Button();
     this.okButton             = new System.Windows.Forms.Button();
     this.deleteButton         = new System.Windows.Forms.Button();
     this.editButton           = new System.Windows.Forms.Button();
     this.tasksTreeViewControl = new PTM.View.Controls.TasksTreeViewControl();
     this.propertiesButton     = new System.Windows.Forms.Button();
     this.showHiddenCheckBox   = new System.Windows.Forms.CheckBox();
     this.SuspendLayout();
     //
     // newButton
     //
     this.newButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.newButton.Location = new System.Drawing.Point(375, 16);
     this.newButton.Name     = "newButton";
     this.newButton.Size     = new System.Drawing.Size(80, 23);
     this.newButton.TabIndex = 1;
     this.newButton.Text     = "New Task";
     this.newButton.Click   += new System.EventHandler(this.newButton_Click);
     //
     // okButton
     //
     this.okButton.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location     = new System.Drawing.Point(375, 321);
     this.okButton.Name         = "okButton";
     this.okButton.Size         = new System.Drawing.Size(80, 23);
     this.okButton.TabIndex     = 4;
     this.okButton.Text         = "Close";
     this.okButton.Click       += new System.EventHandler(this.okButton_Click);
     //
     // deleteButton
     //
     this.deleteButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.deleteButton.Location = new System.Drawing.Point(375, 96);
     this.deleteButton.Name     = "deleteButton";
     this.deleteButton.Size     = new System.Drawing.Size(80, 23);
     this.deleteButton.TabIndex = 3;
     this.deleteButton.Text     = "Delete";
     this.deleteButton.Click   += new System.EventHandler(this.deleteButton_Click);
     //
     // editButton
     //
     this.editButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.editButton.Location = new System.Drawing.Point(375, 56);
     this.editButton.Name     = "editButton";
     this.editButton.Size     = new System.Drawing.Size(80, 23);
     this.editButton.TabIndex = 2;
     this.editButton.Text     = "Edit";
     this.editButton.Click   += new System.EventHandler(this.editButton_Click);
     //
     // tasksTreeViewControl
     //
     this.tasksTreeViewControl.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.tasksTreeViewControl.Location   = new System.Drawing.Point(8, 8);
     this.tasksTreeViewControl.Name       = "tasksTreeViewControl";
     this.tasksTreeViewControl.ShowHidden = false;
     this.tasksTreeViewControl.Size       = new System.Drawing.Size(359, 337);
     this.tasksTreeViewControl.TabIndex   = 0;
     //
     // propertiesButton
     //
     this.propertiesButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.propertiesButton.Location = new System.Drawing.Point(375, 136);
     this.propertiesButton.Name     = "propertiesButton";
     this.propertiesButton.Size     = new System.Drawing.Size(80, 23);
     this.propertiesButton.TabIndex = 5;
     this.propertiesButton.Text     = "Properties";
     this.propertiesButton.Click   += new System.EventHandler(this.propertiesButton_Click);
     //
     // showHiddenCheckBox
     //
     this.showHiddenCheckBox.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.showHiddenCheckBox.AutoSize = true;
     this.showHiddenCheckBox.Location = new System.Drawing.Point(375, 176);
     this.showHiddenCheckBox.Name     = "showHiddenCheckBox";
     this.showHiddenCheckBox.Size     = new System.Drawing.Size(88, 17);
     this.showHiddenCheckBox.TabIndex = 11;
     this.showHiddenCheckBox.Text     = "Show Hidden";
     this.showHiddenCheckBox.UseVisualStyleBackColor = true;
     this.showHiddenCheckBox.CheckedChanged         += new System.EventHandler(this.showHiddenCheckBox_CheckedChanged);
     //
     // TasksExplorerForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(463, 351);
     this.Controls.Add(this.showHiddenCheckBox);
     this.Controls.Add(this.propertiesButton);
     this.Controls.Add(this.tasksTreeViewControl);
     this.Controls.Add(this.editButton);
     this.Controls.Add(this.deleteButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.newButton);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimizeBox   = false;
     this.MinimumSize   = new System.Drawing.Size(471, 381);
     this.Name          = "TasksExplorerForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Tasks Explorer";
     this.ResumeLayout(false);
     this.PerformLayout();
 }