📄 bill.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace Tracker7UI.dialogs
{
/// <summary>
/// Summary description for Bill.
/// </summary>
public class Bill : System.Windows.Forms.Form
{
private System.Windows.Forms.GroupBox groupBox1;
private Infragistics.Win.Misc.UltraButton ultraButton1;
private Infragistics.Win.Misc.UltraButton ultraButton2;
private Infragistics.Win.Misc.UltraLabel ultraLabel1;
private Infragistics.Win.UltraWinEditors.UltraCurrencyEditor ultraCurrencyEditor1;
private Infragistics.Win.Misc.UltraLabel ultraLabel2;
private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor ultraDateTimeEditor1;
private Infragistics.Win.Misc.UltraLabel ultraLabel3;
private Infragistics.Win.UltraWinEditors.UltraNumericEditor ultraNumericEditor1;
private Infragistics.Win.Misc.UltraLabel ultraLabel4;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor1;
private Infragistics.Win.Misc.UltraLabel ultraLabel5;
private Infragistics.Win.UltraWinGrid.UltraCombo ultraCombo1;
private Infragistics.Win.Misc.UltraLabel ultraLabel6;
private Infragistics.Win.UltraWinEditors.UltraCurrencyEditor ultraCurrencyEditor2;
private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor ultraDateTimeEditor2;
private Infragistics.Win.Misc.UltraLabel ultraLabel7;
private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor ultraDateTimeEditor3;
private Infragistics.Win.Misc.UltraLabel ultraLabel8;
private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor ultraDateTimeEditor4;
private Infragistics.Win.Misc.UltraLabel ultraLabel9;
private Infragistics.Win.UltraWinEditors.UltraCurrencyEditor ultraCurrencyEditor3;
private Infragistics.Win.Misc.UltraLabel ultraLabel10;
private Infragistics.Win.UltraWinEditors.UltraCurrencyEditor ultraCurrencyEditor4;
private Infragistics.Win.Misc.UltraLabel ultraLabel11;
private Infragistics.Win.UltraWinEditors.UltraCheckEditor ultraCheckEditor1;
private Infragistics.Win.UltraWinEditors.UltraWinCalc.UltraCalculator ultraCalculator1;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public Bill()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(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.groupBox1 = new System.Windows.Forms.GroupBox();
this.ultraButton2 = new Infragistics.Win.Misc.UltraButton();
this.ultraButton1 = new Infragistics.Win.Misc.UltraButton();
this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
this.ultraCurrencyEditor1 = new Infragistics.Win.UltraWinEditors.UltraCurrencyEditor();
this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
this.ultraDateTimeEditor1 = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
this.ultraNumericEditor1 = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
this.ultraTextEditor1 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
this.ultraCombo1 = new Infragistics.Win.UltraWinGrid.UltraCombo();
this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
this.ultraCurrencyEditor2 = new Infragistics.Win.UltraWinEditors.UltraCurrencyEditor();
this.ultraDateTimeEditor2 = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
this.ultraDateTimeEditor3 = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
this.ultraDateTimeEditor4 = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
this.ultraCurrencyEditor3 = new Infragistics.Win.UltraWinEditors.UltraCurrencyEditor();
this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
this.ultraCurrencyEditor4 = new Infragistics.Win.UltraWinEditors.UltraCurrencyEditor();
this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
this.ultraCheckEditor1 = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
this.ultraCalculator1 = new Infragistics.Win.UltraWinEditors.UltraWinCalc.UltraCalculator();
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ultraCurrencyEditor1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraNumericEditor1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraCombo1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraCurrencyEditor2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraCurrencyEditor3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraCurrencyEditor4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraCalculator1)).BeginInit();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(this.ultraButton2);
this.groupBox1.Controls.Add(this.ultraButton1);
this.groupBox1.Location = new System.Drawing.Point(-2, 226);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(504, 48);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
//
// ultraButton2
//
this.ultraButton2.Location = new System.Drawing.Point(312, 16);
this.ultraButton2.Name = "ultraButton2";
this.ultraButton2.TabIndex = 1;
this.ultraButton2.Text = "&Cancel";
//
// ultraButton1
//
this.ultraButton1.Location = new System.Drawing.Point(232, 16);
this.ultraButton1.Name = "ultraButton1";
this.ultraButton1.TabIndex = 0;
this.ultraButton1.Text = "&OK";
//
// ultraLabel1
//
this.ultraLabel1.Location = new System.Drawing.Point(8, 59);
this.ultraLabel1.Name = "ultraLabel1";
this.ultraLabel1.Size = new System.Drawing.Size(85, 16);
this.ultraLabel1.TabIndex = 1;
this.ultraLabel1.Text = "Unit Price";
//
// ultraCurrencyEditor1
//
this.ultraCurrencyEditor1.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraCurrencyEditor1.Location = new System.Drawing.Point(96, 56);
this.ultraCurrencyEditor1.Name = "ultraCurrencyEditor1";
this.ultraCurrencyEditor1.PromptChar = ' ';
this.ultraCurrencyEditor1.Size = new System.Drawing.Size(100, 21);
this.ultraCurrencyEditor1.TabIndex = 2;
//
// ultraLabel2
//
this.ultraLabel2.Location = new System.Drawing.Point(208, 83);
this.ultraLabel2.Name = "ultraLabel2";
this.ultraLabel2.Size = new System.Drawing.Size(85, 16);
this.ultraLabel2.TabIndex = 3;
this.ultraLabel2.Text = "Due Date";
//
// ultraDateTimeEditor1
//
this.ultraDateTimeEditor1.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraDateTimeEditor1.Location = new System.Drawing.Point(296, 80);
this.ultraDateTimeEditor1.Name = "ultraDateTimeEditor1";
this.ultraDateTimeEditor1.Size = new System.Drawing.Size(100, 21);
this.ultraDateTimeEditor1.TabIndex = 4;
//
// ultraLabel3
//
this.ultraLabel3.Location = new System.Drawing.Point(8, 83);
this.ultraLabel3.Name = "ultraLabel3";
this.ultraLabel3.Size = new System.Drawing.Size(85, 16);
this.ultraLabel3.TabIndex = 5;
this.ultraLabel3.Text = "Quantity";
//
// ultraNumericEditor1
//
this.ultraNumericEditor1.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraNumericEditor1.Location = new System.Drawing.Point(96, 80);
this.ultraNumericEditor1.Name = "ultraNumericEditor1";
this.ultraNumericEditor1.PromptChar = ' ';
this.ultraNumericEditor1.Size = new System.Drawing.Size(100, 21);
this.ultraNumericEditor1.SpinButtonDisplayStyle = Infragistics.Win.ButtonDisplayStyle.Always;
this.ultraNumericEditor1.TabIndex = 6;
this.ultraNumericEditor1.Value = 1;
//
// ultraLabel4
//
this.ultraLabel4.Location = new System.Drawing.Point(8, 11);
this.ultraLabel4.Name = "ultraLabel4";
this.ultraLabel4.Size = new System.Drawing.Size(85, 16);
this.ultraLabel4.TabIndex = 7;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -