📄 uccontactinfo.cs
字号:
buttonTool4,
buttonTool5,
buttonTool6,
buttonTool7,
buttonTool8,
buttonTool9});
this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
ultraToolbar1});
appearance1.Image = ((object)(resources.GetObject("appearance1.Image")));
buttonTool10.SharedProps.AppearancesSmall.Appearance = appearance1;
buttonTool10.SharedProps.Caption = "New";
buttonTool10.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
buttonTool11.SharedProps.Caption = "Edit";
buttonTool11.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
buttonTool12.SharedProps.Caption = "Delete";
buttonTool12.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
buttonTool13.SharedProps.Caption = "Copy";
buttonTool13.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
buttonTool14.SharedProps.Caption = "Print";
buttonTool14.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
buttonTool15.SharedProps.Caption = "Help";
buttonTool15.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
buttonTool16.SharedProps.Caption = "Export";
buttonTool16.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
buttonTool17.SharedProps.Caption = "Move Up";
buttonTool17.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
buttonTool18.SharedProps.Caption = "Move Down";
buttonTool18.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
buttonTool10,
buttonTool11,
buttonTool12,
buttonTool13,
buttonTool14,
buttonTool15,
buttonTool16,
buttonTool17,
buttonTool18});
this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
//
// _UCBilling_Toolbars_Dock_Area_Top
//
this._UCBilling_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
this._UCBilling_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
this._UCBilling_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
this._UCBilling_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
this._UCBilling_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
this._UCBilling_Toolbars_Dock_Area_Top.Name = "_UCBilling_Toolbars_Dock_Area_Top";
this._UCBilling_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(568, 24);
this._UCBilling_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
//
// _UCBilling_Toolbars_Dock_Area_Bottom
//
this._UCBilling_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
this._UCBilling_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
this._UCBilling_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
this._UCBilling_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
this._UCBilling_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 150);
this._UCBilling_Toolbars_Dock_Area_Bottom.Name = "_UCBilling_Toolbars_Dock_Area_Bottom";
this._UCBilling_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(568, 0);
this._UCBilling_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
//
// _UCBilling_Toolbars_Dock_Area_Left
//
this._UCBilling_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
this._UCBilling_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
this._UCBilling_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
this._UCBilling_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
this._UCBilling_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 24);
this._UCBilling_Toolbars_Dock_Area_Left.Name = "_UCBilling_Toolbars_Dock_Area_Left";
this._UCBilling_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 126);
this._UCBilling_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
//
// _UCBilling_Toolbars_Dock_Area_Right
//
this._UCBilling_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
this._UCBilling_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
this._UCBilling_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
this._UCBilling_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
this._UCBilling_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(568, 24);
this._UCBilling_Toolbars_Dock_Area_Right.Name = "_UCBilling_Toolbars_Dock_Area_Right";
this._UCBilling_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 126);
this._UCBilling_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
//
// UCContactInfo
//
this.Controls.Add(this.ultraGrid1);
this.Controls.Add(this.ultraTextEditor1);
this.Controls.Add(this._UCBilling_Toolbars_Dock_Area_Right);
this.Controls.Add(this._UCBilling_Toolbars_Dock_Area_Left);
this.Controls.Add(this._UCBilling_Toolbars_Dock_Area_Top);
this.Controls.Add(this._UCBilling_Toolbars_Dock_Area_Bottom);
this.Name = "UCContactInfo";
this.Size = new System.Drawing.Size(568, 150);
((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraDataSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
{
switch (e.Tool.Key)
{
case "NewBill": // ButtonTool
// Place code here
dialogs.ContactInfo dialog = new Tracker7UI.dialogs.ContactInfo();
dialog.ShowDialog();
break;
case "Edit Bill": // ButtonTool
// Place code here
break;
case "Delete": // ButtonTool
// Place code here
break;
case "Copy": // ButtonTool
// Place code here
break;
case "Print": // ButtonTool
// Place code here
break;
case "Help": // ButtonTool
// Place code here
break;
case "Export": // ButtonTool
// Place code here
break;
case "Move Up": // ButtonTool
// Place code here
break;
case "Move Down": // ButtonTool
// Place code here
break;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -