📄 task.cs
字号:
//
this.ultraTextEditor3.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor3.Location = new System.Drawing.Point(108, 10);
this.ultraTextEditor3.Name = "ultraTextEditor3";
this.ultraTextEditor3.Size = new System.Drawing.Size(185, 21);
this.ultraTextEditor3.TabIndex = 16;
this.ultraTextEditor3.Text = "Link main entity: Case A, Person 1, Organization 2";
//
// ultraLabel13
//
this.ultraLabel13.Location = new System.Drawing.Point(445, 13);
this.ultraLabel13.Name = "ultraLabel13";
this.ultraLabel13.Size = new System.Drawing.Size(56, 16);
this.ultraLabel13.TabIndex = 15;
this.ultraLabel13.Text = "Priority";
//
// ultraCombo5
//
this.ultraCombo5.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
this.ultraCombo5.DisplayMember = "";
this.ultraCombo5.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraCombo5.Location = new System.Drawing.Point(514, 9);
this.ultraCombo5.Name = "ultraCombo5";
this.ultraCombo5.Size = new System.Drawing.Size(72, 21);
this.ultraCombo5.TabIndex = 19;
this.ultraCombo5.Text = "Normal";
this.ultraCombo5.ValueMember = "";
//
// ultraButton2
//
appearance3.TextHAlign = Infragistics.Win.HAlign.Left;
this.ultraButton2.Appearance = appearance3;
this.ultraButton2.Location = new System.Drawing.Point(12, 9);
this.ultraButton2.Name = "ultraButton2";
this.ultraButton2.Size = new System.Drawing.Size(88, 24);
this.ultraButton2.TabIndex = 10;
this.ultraButton2.Text = "&Regarding...";
this.ultraButton2.Click += new System.EventHandler(this.ultraButton2_Click);
//
// ultraLabel2
//
this.ultraLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.ultraLabel2.Location = new System.Drawing.Point(8, 34);
this.ultraLabel2.Name = "ultraLabel2";
this.ultraLabel2.Size = new System.Drawing.Size(88, 16);
this.ultraLabel2.TabIndex = 7;
this.ultraLabel2.Text = "From:";
//
// ultraTextEditor4
//
this.ultraTextEditor4.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor4.Location = new System.Drawing.Point(104, 32);
this.ultraTextEditor4.Name = "ultraTextEditor4";
this.ultraTextEditor4.Size = new System.Drawing.Size(224, 21);
this.ultraTextEditor4.TabIndex = 6;
this.ultraTextEditor4.Text = "Who wrote this email: Staff A or HR B or FN1";
//
// ultraTextEditor2
//
this.ultraTextEditor2.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor2.Location = new System.Drawing.Point(104, 109);
this.ultraTextEditor2.Name = "ultraTextEditor2";
this.ultraTextEditor2.Size = new System.Drawing.Size(480, 21);
this.ultraTextEditor2.TabIndex = 3;
this.ultraTextEditor2.Text = "Subject here...";
//
// ultraTextEditor1
//
this.ultraTextEditor1.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor1.Location = new System.Drawing.Point(104, 57);
this.ultraTextEditor1.Name = "ultraTextEditor1";
this.ultraTextEditor1.Size = new System.Drawing.Size(480, 21);
this.ultraTextEditor1.TabIndex = 2;
this.ultraTextEditor1.Text = "Assign to one or more users + send to non-user: Staff A, HR B, FN 1, nonuser@emai" +
"l.com";
//
// ultraLabel1
//
this.ultraLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.ultraLabel1.Location = new System.Drawing.Point(8, 113);
this.ultraLabel1.Name = "ultraLabel1";
this.ultraLabel1.Size = new System.Drawing.Size(88, 16);
this.ultraLabel1.TabIndex = 1;
this.ultraLabel1.Text = "Subject";
//
// ultraButton1
//
appearance4.TextHAlign = Infragistics.Win.HAlign.Left;
this.ultraButton1.Appearance = appearance4;
this.ultraButton1.Location = new System.Drawing.Point(8, 55);
this.ultraButton1.Name = "ultraButton1";
this.ultraButton1.Size = new System.Drawing.Size(88, 24);
this.ultraButton1.TabIndex = 0;
this.ultraButton1.Text = "Re&quired...";
this.ultraButton1.Click += new System.EventHandler(this.ultraButton1_Click);
//
// ultraLabel5
//
this.ultraLabel5.Location = new System.Drawing.Point(335, 35);
this.ultraLabel5.Name = "ultraLabel5";
this.ultraLabel5.Size = new System.Drawing.Size(72, 16);
this.ultraLabel5.TabIndex = 14;
this.ultraLabel5.Text = "Category";
//
// ultraToolbarsManager1
//
this.ultraToolbarsManager1.DesignerFlags = 1;
this.ultraToolbarsManager1.DockWithinContainer = this;
ultraToolbar1.DockedColumn = 0;
ultraToolbar1.DockedRow = 0;
ultraToolbar1.Text = "Email";
ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
buttonTool1,
buttonTool2,
buttonTool3,
buttonTool4});
this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
ultraToolbar1});
buttonTool5.SharedProps.Caption = "Send";
buttonTool5.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
buttonTool6.SharedProps.Caption = "Save";
buttonTool6.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
buttonTool7.SharedProps.Caption = "Delete";
buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
buttonTool8.SharedProps.Caption = "Print";
buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
buttonTool9.SharedProps.Caption = "Attach File";
buttonTool9.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
buttonTool5,
buttonTool6,
buttonTool7,
buttonTool8,
buttonTool9});
//
// _Email_Toolbars_Dock_Area_Top
//
this._Email_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
this._Email_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
this._Email_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
this._Email_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
this._Email_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
this._Email_Toolbars_Dock_Area_Top.Name = "_Email_Toolbars_Dock_Area_Top";
this._Email_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(592, 24);
this._Email_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
//
// _Email_Toolbars_Dock_Area_Bottom
//
this._Email_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
this._Email_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
this._Email_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
this._Email_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
this._Email_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 473);
this._Email_Toolbars_Dock_Area_Bottom.Name = "_Email_Toolbars_Dock_Area_Bottom";
this._Email_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(592, 0);
this._Email_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
//
// _Email_Toolbars_Dock_Area_Left
//
this._Email_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
this._Email_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
this._Email_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
this._Email_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
this._Email_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 24);
this._Email_Toolbars_Dock_Area_Left.Name = "_Email_Toolbars_Dock_Area_Left";
this._Email_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 449);
this._Email_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
//
// _Email_Toolbars_Dock_Area_Right
//
this._Email_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
this._Email_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
this._Email_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
this._Email_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
this._Email_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(592, 24);
this._Email_Toolbars_Dock_Area_Right.Name = "_Email_Toolbars_Dock_Area_Right";
this._Email_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 449);
this._Email_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
//
// Task
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(592, 473);
this.Controls.Add(this.Email_Fill_Panel);
this.Controls.Add(this._Email_Toolbars_Dock_Area_Left);
this.Controls.Add(this._Email_Toolbars_Dock_Area_Right);
this.Controls.Add(this._Email_Toolbars_Dock_Area_Top);
this.Controls.Add(this._Email_Toolbars_Dock_Area_Bottom);
this.Name = "Task";
this.Text = "Task";
this.Email_Fill_Panel.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor7)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.grpReminder)).EndInit();
this.grpReminder.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.ultraCombo4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor8)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox3)).EndInit();
this.ultraGroupBox3.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.txtAttachments)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraCombo2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.grpDates)).EndInit();
this.grpDates.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraNumericEditor1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.grpAbout)).EndInit();
this.grpAbout.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.ultraCombo1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraCombo5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private void ultraButton4_Click(object sender, System.EventArgs e)
{
if (openFileDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
string editingFileName = openFileDialog1.FileName;
txtAttachments.Text += editingFileName;
}
}
private void ultraButton2_Click(object sender, System.EventArgs e)
{
dialogs.FindRecord find = new Tracker7UI.dialogs.FindRecord();
find.ShowDialog();
}
private void ultraButton1_Click(object sender, System.EventArgs e)
{
dialogs.SelectNames userdialog = new Tracker7UI.dialogs.SelectNames();
userdialog.ShowDialog();
}
private void ultraButton3_Click(object sender, System.EventArgs e)
{
dialogs.SelectNames userdialog = new Tracker7UI.dialogs.SelectNames();
userdialog.ShowDialog();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -