Пример #1
0
 private void InitializeComponent()
 {
     this.GroupBox1       = new System.Windows.Forms.GroupBox();
     this.lblTheme        = new System.Windows.Forms.Label();
     this.lblDate         = new System.Windows.Forms.Label();
     this.lblType         = new System.Windows.Forms.Label();
     this.lblCorresponder = new System.Windows.Forms.Label();
     this.btnPersonAdd    = new System.Windows.Forms.Button();
     this.txtName         = new System.Windows.Forms.TextBox();
     this.txtDate         = new GKUI.Components.GKDateBox();
     this.cmbCorrType     = new System.Windows.Forms.ComboBox();
     this.txtDir          = new System.Windows.Forms.ComboBox();
     this.txtCorresponder = new System.Windows.Forms.TextBox();
     this.btnAccept       = new System.Windows.Forms.Button();
     this.btnCancel       = new System.Windows.Forms.Button();
     this.tabsData        = new System.Windows.Forms.TabControl();
     this.pageNotes       = new System.Windows.Forms.TabPage();
     this.pageMultimedia  = new System.Windows.Forms.TabPage();
     this.GroupBox1.SuspendLayout();
     this.tabsData.SuspendLayout();
     this.SuspendLayout();
     //
     // GroupBox1
     //
     this.GroupBox1.Controls.Add(this.lblTheme);
     this.GroupBox1.Controls.Add(this.lblDate);
     this.GroupBox1.Controls.Add(this.lblType);
     this.GroupBox1.Controls.Add(this.lblCorresponder);
     this.GroupBox1.Controls.Add(this.btnPersonAdd);
     this.GroupBox1.Controls.Add(this.txtName);
     this.GroupBox1.Controls.Add(this.txtDate);
     this.GroupBox1.Controls.Add(this.cmbCorrType);
     this.GroupBox1.Controls.Add(this.txtDir);
     this.GroupBox1.Controls.Add(this.txtCorresponder);
     this.GroupBox1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.GroupBox1.Location = new System.Drawing.Point(0, 0);
     this.GroupBox1.Name     = "GroupBox1";
     this.GroupBox1.Size     = new System.Drawing.Size(675, 118);
     this.GroupBox1.TabIndex = 0;
     this.GroupBox1.TabStop  = false;
     //
     // lblTheme
     //
     this.lblTheme.AutoSize = true;
     this.lblTheme.Location = new System.Drawing.Point(11, 22);
     this.lblTheme.Name     = "lblTheme";
     this.lblTheme.Size     = new System.Drawing.Size(62, 17);
     this.lblTheme.TabIndex = 0;
     this.lblTheme.Text     = "lblTheme";
     //
     // lblDate
     //
     this.lblDate.AutoSize = true;
     this.lblDate.Location = new System.Drawing.Point(322, 81);
     this.lblDate.Name     = "lblDate";
     this.lblDate.Size     = new System.Drawing.Size(49, 17);
     this.lblDate.TabIndex = 8;
     this.lblDate.Text     = "lblDate";
     //
     // lblType
     //
     this.lblType.AutoSize = true;
     this.lblType.Location = new System.Drawing.Point(11, 81);
     this.lblType.Name     = "lblType";
     this.lblType.Size     = new System.Drawing.Size(51, 17);
     this.lblType.TabIndex = 6;
     this.lblType.Text     = "lblType";
     //
     // lblCorresponder
     //
     this.lblCorresponder.AutoSize = true;
     this.lblCorresponder.Location = new System.Drawing.Point(11, 53);
     this.lblCorresponder.Name     = "lblCorresponder";
     this.lblCorresponder.Size     = new System.Drawing.Size(104, 17);
     this.lblCorresponder.TabIndex = 2;
     this.lblCorresponder.Text     = "lblCorresponder";
     //
     // btnPersonAdd
     //
     this.btnPersonAdd.Location = new System.Drawing.Point(627, 45);
     this.btnPersonAdd.Name     = "btnPersonAdd";
     this.btnPersonAdd.Size     = new System.Drawing.Size(37, 32);
     this.btnPersonAdd.TabIndex = 5;
     this.btnPersonAdd.Click   += new System.EventHandler(this.btnPersonAdd_Click);
     //
     // txtName
     //
     this.txtName.Location = new System.Drawing.Point(134, 19);
     this.txtName.Name     = "txtName";
     this.txtName.Size     = new System.Drawing.Size(528, 24);
     this.txtName.TabIndex = 1;
     //
     // txtDate
     //
     this.txtDate.Location       = new System.Drawing.Point(392, 78);
     this.txtDate.Mask           = "00/00/0000";
     this.txtDate.Name           = "txtDate";
     this.txtDate.Size           = new System.Drawing.Size(225, 24);
     this.txtDate.TabIndex       = 9;
     this.txtDate.TextMaskFormat = System.Windows.Forms.MaskFormat.IncludePromptAndLiterals;
     //
     // cmbCorrType
     //
     this.cmbCorrType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbCorrType.Location      = new System.Drawing.Point(134, 78);
     this.cmbCorrType.Name          = "cmbCorrType";
     this.cmbCorrType.Size          = new System.Drawing.Size(147, 25);
     this.cmbCorrType.TabIndex      = 7;
     //
     // txtDir
     //
     this.txtDir.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.txtDir.Location      = new System.Drawing.Point(134, 49);
     this.txtDir.Name          = "txtDir";
     this.txtDir.Size          = new System.Drawing.Size(91, 25);
     this.txtDir.TabIndex      = 3;
     //
     // txtCorresponder
     //
     this.txtCorresponder.ForeColor = System.Drawing.SystemColors.Control;
     this.txtCorresponder.Location  = new System.Drawing.Point(235, 49);
     this.txtCorresponder.Name      = "txtCorresponder";
     this.txtCorresponder.ReadOnly  = true;
     this.txtCorresponder.Size      = new System.Drawing.Size(382, 24);
     this.txtCorresponder.TabIndex  = 4;
     //
     // btnAccept
     //
     this.btnAccept.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnAccept.Location   = new System.Drawing.Point(426, 466);
     this.btnAccept.Name       = "btnAccept";
     this.btnAccept.Size       = new System.Drawing.Size(113, 31);
     this.btnAccept.TabIndex   = 2;
     this.btnAccept.Text       = "btnAccept";
     this.btnAccept.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.btnAccept.Click     += new System.EventHandler(this.btnAccept_Click);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.ImageAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnCancel.Location     = new System.Drawing.Point(549, 466);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(113, 31);
     this.btnCancel.TabIndex     = 3;
     this.btnCancel.Text         = "btnCancel";
     this.btnCancel.TextAlign    = System.Drawing.ContentAlignment.MiddleRight;
     this.btnCancel.Click       += new System.EventHandler(this.btnCancel_Click);
     //
     // tabsData
     //
     this.tabsData.Controls.Add(this.pageNotes);
     this.tabsData.Controls.Add(this.pageMultimedia);
     this.tabsData.Dock          = System.Windows.Forms.DockStyle.Top;
     this.tabsData.Location      = new System.Drawing.Point(0, 118);
     this.tabsData.Name          = "tabsData";
     this.tabsData.SelectedIndex = 0;
     this.tabsData.Size          = new System.Drawing.Size(675, 330);
     this.tabsData.TabIndex      = 1;
     //
     // pageNotes
     //
     this.pageNotes.Location = new System.Drawing.Point(4, 26);
     this.pageNotes.Name     = "pageNotes";
     this.pageNotes.Size     = new System.Drawing.Size(667, 300);
     this.pageNotes.TabIndex = 0;
     this.pageNotes.Text     = "pageNotes";
     //
     // pageMultimedia
     //
     this.pageMultimedia.Location = new System.Drawing.Point(4, 26);
     this.pageMultimedia.Name     = "pageMultimedia";
     this.pageMultimedia.Size     = new System.Drawing.Size(667, 300);
     this.pageMultimedia.TabIndex = 1;
     this.pageMultimedia.Text     = "pageMultimedia";
     //
     // CommunicationEditDlg
     //
     this.AcceptButton        = this.btnAccept;
     this.AutoScaleDimensions = new System.Drawing.SizeF(120F, 120F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.CancelButton        = this.btnCancel;
     this.ClientSize          = new System.Drawing.Size(675, 513);
     this.Controls.Add(this.tabsData);
     this.Controls.Add(this.GroupBox1);
     this.Controls.Add(this.btnAccept);
     this.Controls.Add(this.btnCancel);
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "CommunicationEditDlg";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "CommunicationEditDlg";
     this.GroupBox1.ResumeLayout(false);
     this.GroupBox1.PerformLayout();
     this.tabsData.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #2
0
 private void InitializeComponent()
 {
     this.GroupBox1     = new System.Windows.Forms.GroupBox();
     this.lblPriority   = new System.Windows.Forms.Label();
     this.lblStartDate  = new System.Windows.Forms.Label();
     this.lblStopDate   = new System.Windows.Forms.Label();
     this.lblGoal       = new System.Windows.Forms.Label();
     this.btnGoalSelect = new System.Windows.Forms.Button();
     this.txtPriority   = new System.Windows.Forms.ComboBox();
     this.txtStartDate  = new GKUI.Components.GKDateBox();
     this.txtStopDate   = new GKUI.Components.GKDateBox();
     this.cmbGoalType   = new System.Windows.Forms.ComboBox();
     this.txtGoal       = new System.Windows.Forms.TextBox();
     this.btnAccept     = new System.Windows.Forms.Button();
     this.btnCancel     = new System.Windows.Forms.Button();
     this.tabsData      = new System.Windows.Forms.TabControl();
     this.pageNotes     = new System.Windows.Forms.TabPage();
     this.GroupBox1.SuspendLayout();
     this.tabsData.SuspendLayout();
     this.SuspendLayout();
     //
     // GroupBox1
     //
     this.GroupBox1.Controls.Add(this.lblPriority);
     this.GroupBox1.Controls.Add(this.lblStartDate);
     this.GroupBox1.Controls.Add(this.lblStopDate);
     this.GroupBox1.Controls.Add(this.lblGoal);
     this.GroupBox1.Controls.Add(this.btnGoalSelect);
     this.GroupBox1.Controls.Add(this.txtPriority);
     this.GroupBox1.Controls.Add(this.txtStartDate);
     this.GroupBox1.Controls.Add(this.txtStopDate);
     this.GroupBox1.Controls.Add(this.cmbGoalType);
     this.GroupBox1.Controls.Add(this.txtGoal);
     this.GroupBox1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.GroupBox1.Location = new System.Drawing.Point(0, 0);
     this.GroupBox1.Name     = "GroupBox1";
     this.GroupBox1.Size     = new System.Drawing.Size(674, 118);
     this.GroupBox1.TabIndex = 0;
     this.GroupBox1.TabStop  = false;
     //
     // lblPriority
     //
     this.lblPriority.AutoSize = true;
     this.lblPriority.Location = new System.Drawing.Point(11, 52);
     this.lblPriority.Name     = "lblPriority";
     this.lblPriority.Size     = new System.Drawing.Size(63, 17);
     this.lblPriority.TabIndex = 4;
     this.lblPriority.Text     = "lblPriority";
     //
     // lblStartDate
     //
     this.lblStartDate.AutoSize = true;
     this.lblStartDate.Location = new System.Drawing.Point(11, 81);
     this.lblStartDate.Name     = "lblStartDate";
     this.lblStartDate.Size     = new System.Drawing.Size(79, 17);
     this.lblStartDate.TabIndex = 6;
     this.lblStartDate.Text     = "lblStartDate";
     //
     // lblStopDate
     //
     this.lblStopDate.AutoSize = true;
     this.lblStopDate.Location = new System.Drawing.Point(343, 81);
     this.lblStopDate.Name     = "lblStopDate";
     this.lblStopDate.Size     = new System.Drawing.Size(78, 17);
     this.lblStopDate.TabIndex = 8;
     this.lblStopDate.Text     = "lblStopDate";
     //
     // lblGoal
     //
     this.lblGoal.AutoSize = true;
     this.lblGoal.Location = new System.Drawing.Point(11, 22);
     this.lblGoal.Name     = "lblGoal";
     this.lblGoal.Size     = new System.Drawing.Size(46, 17);
     this.lblGoal.TabIndex = 0;
     this.lblGoal.Text     = "lblGoal";
     //
     // btnGoalSelect
     //
     this.btnGoalSelect.Location = new System.Drawing.Point(627, 16);
     this.btnGoalSelect.Name     = "btnGoalSelect";
     this.btnGoalSelect.Size     = new System.Drawing.Size(39, 34);
     this.btnGoalSelect.TabIndex = 3;
     this.btnGoalSelect.Click   += new System.EventHandler(this.btnGoalSelect_Click);
     //
     // txtPriority
     //
     this.txtPriority.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.txtPriority.Location      = new System.Drawing.Point(101, 49);
     this.txtPriority.Name          = "txtPriority";
     this.txtPriority.Size          = new System.Drawing.Size(225, 25);
     this.txtPriority.TabIndex      = 5;
     //
     // txtStartDate
     //
     this.txtStartDate.Location       = new System.Drawing.Point(101, 78);
     this.txtStartDate.Mask           = "00/00/0000";
     this.txtStartDate.Name           = "txtStartDate";
     this.txtStartDate.Size           = new System.Drawing.Size(225, 24);
     this.txtStartDate.TabIndex       = 7;
     this.txtStartDate.TextMaskFormat = System.Windows.Forms.MaskFormat.IncludePromptAndLiterals;
     //
     // txtStopDate
     //
     this.txtStopDate.Location       = new System.Drawing.Point(437, 78);
     this.txtStopDate.Mask           = "00/00/0000";
     this.txtStopDate.Name           = "txtStopDate";
     this.txtStopDate.Size           = new System.Drawing.Size(225, 24);
     this.txtStopDate.TabIndex       = 9;
     this.txtStopDate.TextMaskFormat = System.Windows.Forms.MaskFormat.IncludePromptAndLiterals;
     //
     // cmbGoalType
     //
     this.cmbGoalType.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbGoalType.Location              = new System.Drawing.Point(101, 19);
     this.cmbGoalType.Name                  = "cmbGoalType";
     this.cmbGoalType.Size                  = new System.Drawing.Size(158, 25);
     this.cmbGoalType.TabIndex              = 1;
     this.cmbGoalType.SelectedIndexChanged += new System.EventHandler(this.cmbGoalType_SelectedIndexChanged);
     //
     // txtGoal
     //
     this.txtGoal.Location = new System.Drawing.Point(269, 19);
     this.txtGoal.Name     = "txtGoal";
     this.txtGoal.ReadOnly = true;
     this.txtGoal.Size     = new System.Drawing.Size(348, 24);
     this.txtGoal.TabIndex = 2;
     //
     // btnAccept
     //
     this.btnAccept.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnAccept.Location   = new System.Drawing.Point(426, 447);
     this.btnAccept.Name       = "btnAccept";
     this.btnAccept.Size       = new System.Drawing.Size(113, 30);
     this.btnAccept.TabIndex   = 2;
     this.btnAccept.Text       = "btnAccept";
     this.btnAccept.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.btnAccept.Click     += new System.EventHandler(this.btnAccept_Click);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.ImageAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnCancel.Location     = new System.Drawing.Point(549, 447);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(113, 30);
     this.btnCancel.TabIndex     = 3;
     this.btnCancel.Text         = "btnCancel";
     this.btnCancel.TextAlign    = System.Drawing.ContentAlignment.MiddleRight;
     this.btnCancel.Click       += new System.EventHandler(this.btnCancel_Click);
     //
     // tabsData
     //
     this.tabsData.Controls.Add(this.pageNotes);
     this.tabsData.Dock          = System.Windows.Forms.DockStyle.Top;
     this.tabsData.Location      = new System.Drawing.Point(0, 118);
     this.tabsData.Name          = "tabsData";
     this.tabsData.SelectedIndex = 0;
     this.tabsData.Size          = new System.Drawing.Size(674, 311);
     this.tabsData.TabIndex      = 1;
     //
     // pageNotes
     //
     this.pageNotes.Location = new System.Drawing.Point(4, 26);
     this.pageNotes.Name     = "pageNotes";
     this.pageNotes.Size     = new System.Drawing.Size(666, 281);
     this.pageNotes.TabIndex = 0;
     this.pageNotes.Text     = "pageNotes";
     //
     // TaskEditDlg
     //
     this.AcceptButton        = this.btnAccept;
     this.AutoScaleDimensions = new System.Drawing.SizeF(120F, 120F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.CancelButton        = this.btnCancel;
     this.ClientSize          = new System.Drawing.Size(674, 494);
     this.Controls.Add(this.tabsData);
     this.Controls.Add(this.GroupBox1);
     this.Controls.Add(this.btnAccept);
     this.Controls.Add(this.btnCancel);
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "TaskEditDlg";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "TaskEditDlg";
     this.GroupBox1.ResumeLayout(false);
     this.GroupBox1.PerformLayout();
     this.tabsData.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     this.GroupBox1          = new System.Windows.Forms.GroupBox();
     this.lblName            = new System.Windows.Forms.Label();
     this.lblPriority        = new System.Windows.Forms.Label();
     this.lblStatus          = new System.Windows.Forms.Label();
     this.lblStartDate       = new System.Windows.Forms.Label();
     this.lblStopDate        = new System.Windows.Forms.Label();
     this.lblPercent         = new System.Windows.Forms.Label();
     this.txtName            = new System.Windows.Forms.TextBox();
     this.cmbPriority        = new System.Windows.Forms.ComboBox();
     this.cmbStatus          = new System.Windows.Forms.ComboBox();
     this.txtStartDate       = new GKUI.Components.GKDateBox();
     this.txtStopDate        = new GKUI.Components.GKDateBox();
     this.nudPercent         = new System.Windows.Forms.NumericUpDown();
     this.btnAccept          = new System.Windows.Forms.Button();
     this.btnCancel          = new System.Windows.Forms.Button();
     this.tabsData           = new System.Windows.Forms.TabControl();
     this.pageTasks          = new System.Windows.Forms.TabPage();
     this.pageCommunications = new System.Windows.Forms.TabPage();
     this.pageGroups         = new System.Windows.Forms.TabPage();
     this.pageNotes          = new System.Windows.Forms.TabPage();
     this.GroupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nudPercent)).BeginInit();
     this.tabsData.SuspendLayout();
     this.SuspendLayout();
     //
     // GroupBox1
     //
     this.GroupBox1.Controls.Add(this.lblName);
     this.GroupBox1.Controls.Add(this.lblPriority);
     this.GroupBox1.Controls.Add(this.lblStatus);
     this.GroupBox1.Controls.Add(this.lblStartDate);
     this.GroupBox1.Controls.Add(this.lblStopDate);
     this.GroupBox1.Controls.Add(this.lblPercent);
     this.GroupBox1.Controls.Add(this.txtName);
     this.GroupBox1.Controls.Add(this.cmbPriority);
     this.GroupBox1.Controls.Add(this.cmbStatus);
     this.GroupBox1.Controls.Add(this.txtStartDate);
     this.GroupBox1.Controls.Add(this.txtStopDate);
     this.GroupBox1.Controls.Add(this.nudPercent);
     this.GroupBox1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.GroupBox1.Location = new System.Drawing.Point(0, 0);
     this.GroupBox1.Name     = "GroupBox1";
     this.GroupBox1.Size     = new System.Drawing.Size(852, 118);
     this.GroupBox1.TabIndex = 0;
     this.GroupBox1.TabStop  = false;
     //
     // lblName
     //
     this.lblName.AutoSize = true;
     this.lblName.Location = new System.Drawing.Point(11, 22);
     this.lblName.Name     = "lblName";
     this.lblName.Size     = new System.Drawing.Size(67, 17);
     this.lblName.TabIndex = 0;
     this.lblName.Text     = "lblName";
     //
     // lblPriority
     //
     this.lblPriority.AutoSize = true;
     this.lblPriority.Location = new System.Drawing.Point(11, 51);
     this.lblPriority.Name     = "lblPriority";
     this.lblPriority.Size     = new System.Drawing.Size(80, 17);
     this.lblPriority.TabIndex = 2;
     this.lblPriority.Text     = "lblPriority";
     //
     // lblStatus
     //
     this.lblStatus.AutoSize = true;
     this.lblStatus.Location = new System.Drawing.Point(347, 52);
     this.lblStatus.Name     = "lblStatus";
     this.lblStatus.Size     = new System.Drawing.Size(78, 17);
     this.lblStatus.TabIndex = 4;
     this.lblStatus.Text     = "lblStatus";
     //
     // lblStartDate
     //
     this.lblStartDate.AutoSize = true;
     this.lblStartDate.Location = new System.Drawing.Point(11, 81);
     this.lblStartDate.Name     = "lblStartDate";
     this.lblStartDate.Size     = new System.Drawing.Size(72, 17);
     this.lblStartDate.TabIndex = 8;
     this.lblStartDate.Text     = "lblStartDate";
     //
     // lblStopDate
     //
     this.lblStopDate.AutoSize = true;
     this.lblStopDate.Location = new System.Drawing.Point(347, 81);
     this.lblStopDate.Name     = "lblStopDate";
     this.lblStopDate.Size     = new System.Drawing.Size(77, 17);
     this.lblStopDate.TabIndex = 10;
     this.lblStopDate.Text     = "lblStopDate";
     //
     // lblPercent
     //
     this.lblPercent.AutoSize = true;
     this.lblPercent.Location = new System.Drawing.Point(683, 52);
     this.lblPercent.Name     = "lblPercent";
     this.lblPercent.Size     = new System.Drawing.Size(64, 17);
     this.lblPercent.TabIndex = 6;
     this.lblPercent.Text     = "lblPercent";
     //
     // txtName
     //
     this.txtName.Location = new System.Drawing.Point(101, 19);
     this.txtName.Name     = "txtName";
     this.txtName.Size     = new System.Drawing.Size(740, 24);
     this.txtName.TabIndex = 1;
     //
     // cmbPriority
     //
     this.cmbPriority.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbPriority.Location      = new System.Drawing.Point(101, 49);
     this.cmbPriority.Name          = "cmbPriority";
     this.cmbPriority.Size          = new System.Drawing.Size(225, 25);
     this.cmbPriority.TabIndex      = 3;
     //
     // cmbStatus
     //
     this.cmbStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbStatus.Location      = new System.Drawing.Point(437, 49);
     this.cmbStatus.Name          = "cmbStatus";
     this.cmbStatus.Size          = new System.Drawing.Size(225, 25);
     this.cmbStatus.TabIndex      = 5;
     //
     // txtStartDate
     //
     this.txtStartDate.Location       = new System.Drawing.Point(101, 78);
     this.txtStartDate.Mask           = "00/00/0000";
     this.txtStartDate.Name           = "txtStartDate";
     this.txtStartDate.Size           = new System.Drawing.Size(225, 24);
     this.txtStartDate.TabIndex       = 9;
     this.txtStartDate.TextMaskFormat = System.Windows.Forms.MaskFormat.IncludePromptAndLiterals;
     //
     // txtStopDate
     //
     this.txtStopDate.Location       = new System.Drawing.Point(437, 78);
     this.txtStopDate.Mask           = "00/00/0000";
     this.txtStopDate.Name           = "txtStopDate";
     this.txtStopDate.Size           = new System.Drawing.Size(225, 24);
     this.txtStopDate.TabIndex       = 11;
     this.txtStopDate.TextMaskFormat = System.Windows.Forms.MaskFormat.IncludePromptAndLiterals;
     //
     // nudPercent
     //
     this.nudPercent.Increment = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.nudPercent.Location = new System.Drawing.Point(762, 49);
     this.nudPercent.Name     = "nudPercent";
     this.nudPercent.Size     = new System.Drawing.Size(57, 24);
     this.nudPercent.TabIndex = 7;
     //
     // btnAccept
     //
     this.btnAccept.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnAccept.Location   = new System.Drawing.Point(605, 515);
     this.btnAccept.Name       = "btnAccept";
     this.btnAccept.Size       = new System.Drawing.Size(113, 30);
     this.btnAccept.TabIndex   = 2;
     this.btnAccept.Text       = "btnAccept";
     this.btnAccept.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.btnAccept.Click     += new System.EventHandler(this.btnAccept_Click);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.ImageAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnCancel.Location     = new System.Drawing.Point(728, 515);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(113, 30);
     this.btnCancel.TabIndex     = 3;
     this.btnCancel.Text         = "btnCancel";
     this.btnCancel.TextAlign    = System.Drawing.ContentAlignment.MiddleRight;
     this.btnCancel.Click       += new System.EventHandler(this.btnCancel_Click);
     //
     // tabsData
     //
     this.tabsData.Controls.Add(this.pageTasks);
     this.tabsData.Controls.Add(this.pageCommunications);
     this.tabsData.Controls.Add(this.pageGroups);
     this.tabsData.Controls.Add(this.pageNotes);
     this.tabsData.Dock          = System.Windows.Forms.DockStyle.Top;
     this.tabsData.Location      = new System.Drawing.Point(0, 118);
     this.tabsData.Name          = "tabsData";
     this.tabsData.SelectedIndex = 0;
     this.tabsData.Size          = new System.Drawing.Size(852, 379);
     this.tabsData.TabIndex      = 1;
     //
     // pageTasks
     //
     this.pageTasks.Location = new System.Drawing.Point(4, 26);
     this.pageTasks.Name     = "pageTasks";
     this.pageTasks.Size     = new System.Drawing.Size(844, 349);
     this.pageTasks.TabIndex = 0;
     this.pageTasks.Text     = "pageTasks";
     //
     // pageCommunications
     //
     this.pageCommunications.Location = new System.Drawing.Point(4, 26);
     this.pageCommunications.Name     = "pageCommunications";
     this.pageCommunications.Size     = new System.Drawing.Size(844, 349);
     this.pageCommunications.TabIndex = 1;
     this.pageCommunications.Text     = "pageCommunications";
     //
     // pageGroups
     //
     this.pageGroups.Location = new System.Drawing.Point(4, 26);
     this.pageGroups.Name     = "pageGroups";
     this.pageGroups.Size     = new System.Drawing.Size(844, 349);
     this.pageGroups.TabIndex = 2;
     this.pageGroups.Text     = "pageGroups";
     //
     // pageNotes
     //
     this.pageNotes.Location = new System.Drawing.Point(4, 26);
     this.pageNotes.Name     = "pageNotes";
     this.pageNotes.Size     = new System.Drawing.Size(844, 349);
     this.pageNotes.TabIndex = 3;
     this.pageNotes.Text     = "pageNotes";
     //
     // ResearchEditDlg
     //
     this.AcceptButton        = this.btnAccept;
     this.AutoScaleDimensions = new System.Drawing.SizeF(120F, 120F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.CancelButton        = this.btnCancel;
     this.ClientSize          = new System.Drawing.Size(852, 557);
     this.Controls.Add(this.tabsData);
     this.Controls.Add(this.GroupBox1);
     this.Controls.Add(this.btnAccept);
     this.Controls.Add(this.btnCancel);
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "ResearchEditDlg";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "ResearchEditDlg";
     this.GroupBox1.ResumeLayout(false);
     this.GroupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nudPercent)).EndInit();
     this.tabsData.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #4
0
 private void InitializeComponent()
 {
     this.btnAccept        = new System.Windows.Forms.Button();
     this.btnCancel        = new System.Windows.Forms.Button();
     this.tabsData         = new System.Windows.Forms.TabControl();
     this.pageCommon       = new System.Windows.Forms.TabPage();
     this.btnBC2           = new System.Windows.Forms.CheckBox();
     this.btnBC1           = new System.Windows.Forms.CheckBox();
     this.lblEvent         = new System.Windows.Forms.Label();
     this.lblPlace         = new System.Windows.Forms.Label();
     this.lblDate          = new System.Windows.Forms.Label();
     this.lblCause         = new System.Windows.Forms.Label();
     this.lblOrg           = new System.Windows.Forms.Label();
     this.lblAttrValue     = new System.Windows.Forms.Label();
     this.btnPlaceAdd      = new System.Windows.Forms.Button();
     this.btnPlaceDelete   = new System.Windows.Forms.Button();
     this.cmbEventType     = new System.Windows.Forms.ComboBox();
     this.txtEventName     = new System.Windows.Forms.TextBox();
     this.txtEventPlace    = new System.Windows.Forms.TextBox();
     this.cmbEventDateType = new System.Windows.Forms.ComboBox();
     this.txtEventDate1    = new GKUI.Components.GKDateBox();
     this.txtEventDate2    = new GKUI.Components.GKDateBox();
     this.txtEventCause    = new System.Windows.Forms.TextBox();
     this.txtEventOrg      = new System.Windows.Forms.TextBox();
     this.txtAttribute     = new System.Windows.Forms.ComboBox();
     this.cmbDate1Calendar = new System.Windows.Forms.ComboBox();
     this.cmbDate2Calendar = new System.Windows.Forms.ComboBox();
     this.pageNotes        = new System.Windows.Forms.TabPage();
     this.pageMultimedia   = new System.Windows.Forms.TabPage();
     this.pageSources      = new System.Windows.Forms.TabPage();
     this.btnAddress       = new System.Windows.Forms.Button();
     this.tabsData.SuspendLayout();
     this.pageCommon.SuspendLayout();
     this.SuspendLayout();
     //
     // btnAccept
     //
     this.btnAccept.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnAccept.Location   = new System.Drawing.Point(297, 358);
     this.btnAccept.Name       = "btnAccept";
     this.btnAccept.Size       = new System.Drawing.Size(90, 24);
     this.btnAccept.TabIndex   = 2;
     this.btnAccept.Text       = "btnAccept";
     this.btnAccept.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.btnAccept.Click     += new System.EventHandler(this.btnAccept_Click);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.ImageAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnCancel.Location     = new System.Drawing.Point(395, 358);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(90, 24);
     this.btnCancel.TabIndex     = 3;
     this.btnCancel.Text         = "btnCancel";
     this.btnCancel.TextAlign    = System.Drawing.ContentAlignment.MiddleRight;
     this.btnCancel.Click       += new System.EventHandler(this.btnCancel_Click);
     //
     // tabsData
     //
     this.tabsData.Controls.Add(this.pageCommon);
     this.tabsData.Controls.Add(this.pageNotes);
     this.tabsData.Controls.Add(this.pageMultimedia);
     this.tabsData.Controls.Add(this.pageSources);
     this.tabsData.Dock          = System.Windows.Forms.DockStyle.Top;
     this.tabsData.Location      = new System.Drawing.Point(0, 0);
     this.tabsData.Name          = "tabsData";
     this.tabsData.SelectedIndex = 0;
     this.tabsData.Size          = new System.Drawing.Size(496, 343);
     this.tabsData.TabIndex      = 0;
     //
     // pageCommon
     //
     this.pageCommon.Controls.Add(this.btnBC2);
     this.pageCommon.Controls.Add(this.btnBC1);
     this.pageCommon.Controls.Add(this.lblEvent);
     this.pageCommon.Controls.Add(this.lblPlace);
     this.pageCommon.Controls.Add(this.lblDate);
     this.pageCommon.Controls.Add(this.lblCause);
     this.pageCommon.Controls.Add(this.lblOrg);
     this.pageCommon.Controls.Add(this.lblAttrValue);
     this.pageCommon.Controls.Add(this.btnPlaceAdd);
     this.pageCommon.Controls.Add(this.btnPlaceDelete);
     this.pageCommon.Controls.Add(this.cmbEventType);
     this.pageCommon.Controls.Add(this.txtEventName);
     this.pageCommon.Controls.Add(this.txtEventPlace);
     this.pageCommon.Controls.Add(this.cmbEventDateType);
     this.pageCommon.Controls.Add(this.txtEventDate1);
     this.pageCommon.Controls.Add(this.txtEventDate2);
     this.pageCommon.Controls.Add(this.txtEventCause);
     this.pageCommon.Controls.Add(this.txtEventOrg);
     this.pageCommon.Controls.Add(this.txtAttribute);
     this.pageCommon.Controls.Add(this.cmbDate1Calendar);
     this.pageCommon.Controls.Add(this.cmbDate2Calendar);
     this.pageCommon.Location = new System.Drawing.Point(4, 22);
     this.pageCommon.Name     = "pageCommon";
     this.pageCommon.Size     = new System.Drawing.Size(488, 317);
     this.pageCommon.TabIndex = 0;
     this.pageCommon.Text     = "pageCommon";
     //
     // btnBC2
     //
     this.btnBC2.AutoSize  = true;
     this.btnBC2.Location  = new System.Drawing.Point(434, 192);
     this.btnBC2.Name      = "btnBC2";
     this.btnBC2.Size      = new System.Drawing.Size(43, 17);
     this.btnBC2.TabIndex  = 17;
     this.btnBC2.Text      = "BC";
     this.btnBC2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.btnBC2.UseVisualStyleBackColor = true;
     //
     // btnBC1
     //
     this.btnBC1.AutoSize  = true;
     this.btnBC1.Location  = new System.Drawing.Point(266, 194);
     this.btnBC1.Name      = "btnBC1";
     this.btnBC1.Size      = new System.Drawing.Size(43, 17);
     this.btnBC1.TabIndex  = 14;
     this.btnBC1.Text      = "BC";
     this.btnBC1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.btnBC1.UseVisualStyleBackColor = true;
     //
     // lblEvent
     //
     this.lblEvent.AutoSize = true;
     this.lblEvent.Location = new System.Drawing.Point(9, 8);
     this.lblEvent.Name     = "lblEvent";
     this.lblEvent.Size     = new System.Drawing.Size(52, 13);
     this.lblEvent.TabIndex = 0;
     this.lblEvent.Text     = "lblEvent";
     //
     // lblPlace
     //
     this.lblPlace.AutoSize = true;
     this.lblPlace.Location = new System.Drawing.Point(9, 101);
     this.lblPlace.Name     = "lblPlace";
     this.lblPlace.Size     = new System.Drawing.Size(50, 13);
     this.lblPlace.TabIndex = 5;
     this.lblPlace.Text     = "lblPlace";
     //
     // lblDate
     //
     this.lblDate.AutoSize = true;
     this.lblDate.Location = new System.Drawing.Point(9, 148);
     this.lblDate.Name     = "lblDate";
     this.lblDate.Size     = new System.Drawing.Size(47, 13);
     this.lblDate.TabIndex = 10;
     this.lblDate.Text     = "lblDate";
     //
     // lblCause
     //
     this.lblCause.AutoSize = true;
     this.lblCause.Location = new System.Drawing.Point(9, 226);
     this.lblCause.Name     = "lblCause";
     this.lblCause.Size     = new System.Drawing.Size(56, 13);
     this.lblCause.TabIndex = 18;
     this.lblCause.Text     = "lblCause";
     //
     // lblOrg
     //
     this.lblOrg.AutoSize = true;
     this.lblOrg.Location = new System.Drawing.Point(9, 272);
     this.lblOrg.Name     = "lblOrg";
     this.lblOrg.Size     = new System.Drawing.Size(41, 13);
     this.lblOrg.TabIndex = 20;
     this.lblOrg.Text     = "lblOrg";
     //
     // lblAttrValue
     //
     this.lblAttrValue.AutoSize = true;
     this.lblAttrValue.Location = new System.Drawing.Point(9, 54);
     this.lblAttrValue.Name     = "lblAttrValue";
     this.lblAttrValue.Size     = new System.Drawing.Size(72, 13);
     this.lblAttrValue.TabIndex = 3;
     this.lblAttrValue.Text     = "lblAttrValue";
     //
     // btnPlaceAdd
     //
     this.btnPlaceAdd.Enabled  = false;
     this.btnPlaceAdd.Location = new System.Drawing.Point(409, 114);
     this.btnPlaceAdd.Name     = "btnPlaceAdd";
     this.btnPlaceAdd.Size     = new System.Drawing.Size(31, 27);
     this.btnPlaceAdd.TabIndex = 7;
     this.btnPlaceAdd.Click   += new System.EventHandler(this.btnPlaceAdd_Click);
     //
     // btnPlaceDelete
     //
     this.btnPlaceDelete.Enabled  = false;
     this.btnPlaceDelete.Location = new System.Drawing.Point(446, 114);
     this.btnPlaceDelete.Name     = "btnPlaceDelete";
     this.btnPlaceDelete.Size     = new System.Drawing.Size(31, 27);
     this.btnPlaceDelete.TabIndex = 9;
     this.btnPlaceDelete.Click   += new System.EventHandler(this.btnPlaceDelete_Click);
     //
     // cmbEventType
     //
     this.cmbEventType.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbEventType.Location              = new System.Drawing.Point(9, 23);
     this.cmbEventType.Name                  = "cmbEventType";
     this.cmbEventType.Size                  = new System.Drawing.Size(208, 21);
     this.cmbEventType.TabIndex              = 1;
     this.cmbEventType.SelectedIndexChanged += new System.EventHandler(this.EditEventType_SelectedIndexChanged);
     //
     // txtEventName
     //
     this.txtEventName.Location = new System.Drawing.Point(224, 23);
     this.txtEventName.Name     = "txtEventName";
     this.txtEventName.Size     = new System.Drawing.Size(254, 21);
     this.txtEventName.TabIndex = 2;
     //
     // txtEventPlace
     //
     this.txtEventPlace.Location = new System.Drawing.Point(9, 117);
     this.txtEventPlace.Name     = "txtEventPlace";
     this.txtEventPlace.Size     = new System.Drawing.Size(394, 21);
     this.txtEventPlace.TabIndex = 6;
     this.txtEventPlace.KeyDown += new System.Windows.Forms.KeyEventHandler(this.EditEventPlace_KeyDown);
     //
     // cmbEventDateType
     //
     this.cmbEventDateType.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbEventDateType.Location              = new System.Drawing.Point(9, 163);
     this.cmbEventDateType.Name                  = "cmbEventDateType";
     this.cmbEventDateType.Size                  = new System.Drawing.Size(135, 21);
     this.cmbEventDateType.TabIndex              = 11;
     this.cmbEventDateType.SelectedIndexChanged += new System.EventHandler(this.EditEventDateType_SelectedIndexChanged);
     //
     // txtEventDate1
     //
     this.txtEventDate1.AllowDrop = true;
     this.txtEventDate1.BackColor = System.Drawing.SystemColors.Window;
     this.txtEventDate1.Location  = new System.Drawing.Point(152, 163);
     this.txtEventDate1.Name      = "txtEventDate1";
     this.txtEventDate1.Size      = new System.Drawing.Size(158, 21);
     this.txtEventDate1.TabIndex  = 12;
     this.txtEventDate1.DragDrop += new System.Windows.Forms.DragEventHandler(this.EditEventDate1_DragDrop);
     this.txtEventDate1.DragOver += new System.Windows.Forms.DragEventHandler(this.EditEventDate1_DragOver);
     //
     // txtEventDate2
     //
     this.txtEventDate2.AllowDrop = true;
     this.txtEventDate2.Location  = new System.Drawing.Point(320, 163);
     this.txtEventDate2.Name      = "txtEventDate2";
     this.txtEventDate2.Size      = new System.Drawing.Size(158, 21);
     this.txtEventDate2.TabIndex  = 15;
     this.txtEventDate2.DragDrop += new System.Windows.Forms.DragEventHandler(this.EditEventDate1_DragDrop);
     this.txtEventDate2.DragOver += new System.Windows.Forms.DragEventHandler(this.EditEventDate1_DragOver);
     //
     // txtEventCause
     //
     this.txtEventCause.Location = new System.Drawing.Point(9, 241);
     this.txtEventCause.Name     = "txtEventCause";
     this.txtEventCause.Size     = new System.Drawing.Size(469, 21);
     this.txtEventCause.TabIndex = 19;
     //
     // txtEventOrg
     //
     this.txtEventOrg.Location = new System.Drawing.Point(9, 287);
     this.txtEventOrg.Name     = "txtEventOrg";
     this.txtEventOrg.Size     = new System.Drawing.Size(469, 21);
     this.txtEventOrg.TabIndex = 21;
     //
     // txtAttribute
     //
     this.txtAttribute.Location = new System.Drawing.Point(9, 70);
     this.txtAttribute.Name     = "txtAttribute";
     this.txtAttribute.Size     = new System.Drawing.Size(469, 21);
     this.txtAttribute.TabIndex = 4;
     //
     // cmbDate1Calendar
     //
     this.cmbDate1Calendar.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbDate1Calendar.Location      = new System.Drawing.Point(152, 194);
     this.cmbDate1Calendar.Name          = "cmbDate1Calendar";
     this.cmbDate1Calendar.Size          = new System.Drawing.Size(107, 21);
     this.cmbDate1Calendar.TabIndex      = 13;
     //
     // cmbDate2Calendar
     //
     this.cmbDate2Calendar.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbDate2Calendar.Location      = new System.Drawing.Point(320, 194);
     this.cmbDate2Calendar.Name          = "cmbDate2Calendar";
     this.cmbDate2Calendar.Size          = new System.Drawing.Size(107, 21);
     this.cmbDate2Calendar.TabIndex      = 16;
     //
     // pageNotes
     //
     this.pageNotes.Location = new System.Drawing.Point(4, 22);
     this.pageNotes.Name     = "pageNotes";
     this.pageNotes.Size     = new System.Drawing.Size(488, 317);
     this.pageNotes.TabIndex = 1;
     this.pageNotes.Text     = "pageNotes";
     //
     // pageMultimedia
     //
     this.pageMultimedia.Location = new System.Drawing.Point(4, 22);
     this.pageMultimedia.Name     = "pageMultimedia";
     this.pageMultimedia.Size     = new System.Drawing.Size(488, 317);
     this.pageMultimedia.TabIndex = 2;
     this.pageMultimedia.Text     = "pageMultimedia";
     //
     // pageSources
     //
     this.pageSources.Location = new System.Drawing.Point(4, 22);
     this.pageSources.Name     = "pageSources";
     this.pageSources.Size     = new System.Drawing.Size(488, 317);
     this.pageSources.TabIndex = 3;
     this.pageSources.Text     = "pageSources";
     //
     // btnAddress
     //
     this.btnAddress.Location = new System.Drawing.Point(9, 358);
     this.btnAddress.Name     = "btnAddress";
     this.btnAddress.Size     = new System.Drawing.Size(91, 24);
     this.btnAddress.TabIndex = 1;
     this.btnAddress.Text     = "btnAddress";
     this.btnAddress.Click   += new System.EventHandler(this.btnAddress_Click);
     //
     // EventEditDlg
     //
     this.AcceptButton        = this.btnAccept;
     this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.CancelButton        = this.btnCancel;
     this.ClientSize          = new System.Drawing.Size(496, 394);
     this.Controls.Add(this.btnAccept);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.tabsData);
     this.Controls.Add(this.btnAddress);
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "EventEditDlg";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "EventEditDlg";
     this.tabsData.ResumeLayout(false);
     this.pageCommon.ResumeLayout(false);
     this.pageCommon.PerformLayout();
     this.ResumeLayout(false);
 }