private void InitializeComponent() { this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); this.SuspendLayout(); // // gridView1 // this.gridView1.Name = "gridView1"; // // gridView2 // this.gridView2.GridControl = this; this.gridView2.Name = "gridView2"; // // GridControlEx // this.MainView = this.gridView2; this.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView2}); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); this.ResumeLayout(false); }
private void pivotGridControlMain_CellDoubleClick(object sender, PivotCellEventArgs e) { Form form = new Form(); form.Text = "Records"; // Place a DataGrid control on the form. DevExpress.XtraGrid.GridControl grid = new DevExpress.XtraGrid.GridControl(); DevExpress.XtraGrid.Views.Grid.GridView view = new DevExpress.XtraGrid.Views.Grid.GridView(); view.OptionsView.ColumnAutoWidth = false; grid.MainView = view; grid.Parent = form; grid.Dock = DockStyle.Fill; // Get the recrd set associated with the current cell and bind it to the grid. grid.DataSource = e.CreateDrillDownDataSource(); form.Bounds = new Rectangle(100, 100, 500, 400); // Display the form. form.ShowDialog(); form.Dispose(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); this.SuspendLayout(); // // gridControl1 // this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControl1.Location = new System.Drawing.Point(0, 0); this.gridControl1.MainView = this.gridView1; this.gridControl1.Name = "gridControl1"; this.gridControl1.Size = new System.Drawing.Size(1222, 880); this.gridControl1.TabIndex = 0; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1}); // // gridView1 // this.gridView1.GridControl = this.gridControl1; this.gridView1.Name = "gridView1"; // // DataList_Form // this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1222, 880); this.Controls.Add(this.gridControl1); this.Name = "DataList_Form"; this.Text = "DataList_Form"; this.Load += new System.EventHandler(this.DataList_Form_Load); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.patientDocBgWorker = new System.ComponentModel.BackgroundWorker(); this.searchTimer = new System.Windows.Forms.Timer(this.components); this.postCodeTimer = new System.Windows.Forms.Timer(this.components); this.postCodeBgWorker = new System.ComponentModel.BackgroundWorker(); this.loadBarTimer = new System.Windows.Forms.Timer(this.components); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.commentTextBox = new System.Windows.Forms.TextBox(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.removeClaimantBtn = new DevExpress.XtraEditors.SimpleButton(); this.addClaimantBtn = new DevExpress.XtraEditors.SimpleButton(); this.claimantListBox = new System.Windows.Forms.ListBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.MedicalConditionsComboBoxEdit = new DevExpress.XtraEditors.CheckedComboBoxEdit(); this.labelControl14 = new DevExpress.XtraEditors.LabelControl(); this.labelControl13 = new DevExpress.XtraEditors.LabelControl(); this.SmokerNoCheckEdit = new DevExpress.XtraEditors.CheckEdit(); this.SmokerYesCheckEdit = new DevExpress.XtraEditors.CheckEdit(); this.patientDetailsGroupBox = new System.Windows.Forms.GroupBox(); this.claimNoTextEdit = new DevExpress.XtraEditors.TextEdit(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.physioComboBox = new System.Windows.Forms.ComboBox(); this.labelControl12 = new DevExpress.XtraEditors.LabelControl(); this.labelControl11 = new DevExpress.XtraEditors.LabelControl(); this.dvaTextBox = new DevExpress.XtraEditors.TextEdit(); this.findPostCodeBtn = new DevExpress.XtraEditors.SimpleButton(); this.labelControl19 = new DevExpress.XtraEditors.LabelControl(); this.labelControl18 = new DevExpress.XtraEditors.LabelControl(); this.TitleComboBox = new System.Windows.Forms.ComboBox(); this.postCodeTextBox = new DevExpress.XtraEditors.TextEdit(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.stateTextBox = new DevExpress.XtraEditors.TextEdit(); this.genderFemaleTickBox = new DevExpress.XtraEditors.CheckEdit(); this.genderMaleTickBox = new DevExpress.XtraEditors.CheckEdit(); this.suburbComboBox = new System.Windows.Forms.ComboBox(); this.addressTextEdit = new DevExpress.XtraEditors.TextEdit(); this.labelControl10 = new DevExpress.XtraEditors.LabelControl(); this.doBDateEdit = new DevExpress.XtraEditors.DateEdit(); this.labelControl6 = new DevExpress.XtraEditors.LabelControl(); this.labelControl5 = new DevExpress.XtraEditors.LabelControl(); this.givenNameTextEdit = new DevExpress.XtraEditors.TextEdit(); this.labelControl4 = new DevExpress.XtraEditors.LabelControl(); this.surnameTextEdit = new DevExpress.XtraEditors.TextEdit(); this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); this.applyBtn = new DevExpress.XtraEditors.SimpleButton(); this.searchResultProgressBar = new System.Windows.Forms.ProgressBar(); this.newPatientBtn = new DevExpress.XtraEditors.SimpleButton(); this.cancelBtn = new DevExpress.XtraEditors.SimpleButton(); this.okBtn = new DevExpress.XtraEditors.SimpleButton(); this.groupBox5 = new System.Windows.Forms.GroupBox(); this.displayGridControl = new DevExpress.XtraGrid.GridControl(); this.displayGridView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.goBtn = new DevExpress.XtraEditors.SimpleButton(); this.searchFieldTextBox = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.labelControl7 = new DevExpress.XtraEditors.LabelControl(); this.homePhoneTextEdit = new DevExpress.XtraEditors.TextEdit(); this.labelControl8 = new DevExpress.XtraEditors.LabelControl(); this.mobileTextEdit = new DevExpress.XtraEditors.TextEdit(); this.labelControl9 = new DevExpress.XtraEditors.LabelControl(); this.workPhoneTextEdit = new DevExpress.XtraEditors.TextEdit(); this.emailTextEdit = new DevExpress.XtraEditors.TextEdit(); this.labelControl17 = new DevExpress.XtraEditors.LabelControl(); this.groupBox4.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.MedicalConditionsComboBoxEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.SmokerNoCheckEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.SmokerYesCheckEdit.Properties)).BeginInit(); this.patientDetailsGroupBox.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.claimNoTextEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dvaTextBox.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.postCodeTextBox.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.stateTextBox.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.genderFemaleTickBox.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.genderMaleTickBox.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.addressTextEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.doBDateEdit.Properties.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.doBDateEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.givenNameTextEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.surnameTextEdit.Properties)).BeginInit(); this.groupBox5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.displayGridControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.displayGridView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.homePhoneTextEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mobileTextEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.workPhoneTextEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emailTextEdit.Properties)).BeginInit(); this.SuspendLayout(); // // patientDocBgWorker // this.patientDocBgWorker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.PatientBgWorkerDoWork); this.patientDocBgWorker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.PatientBgWorkerRunWorkerCompleted); // // searchTimer // this.searchTimer.Interval = 1500; this.searchTimer.Tick += new System.EventHandler(this.SearchTimerTick); // // postCodeTimer // this.postCodeTimer.Interval = 1500; this.postCodeTimer.Tick += new System.EventHandler(this.PostCodeTimerTick); // // postCodeBgWorker // this.postCodeBgWorker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.PostCodeBgWorkerDoWork); this.postCodeBgWorker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.PostCodeBgWorkerRunWorkerCompleted); // // loadBarTimer // this.loadBarTimer.Interval = 300; this.loadBarTimer.Tick += new System.EventHandler(this.LoadTimerTick); // // groupBox4 // this.groupBox4.Controls.Add(this.commentTextBox); this.groupBox4.Location = new System.Drawing.Point(2, 498); this.groupBox4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.groupBox4.Name = "groupBox4"; this.groupBox4.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); this.groupBox4.Size = new System.Drawing.Size(326, 81); this.groupBox4.TabIndex = 65; this.groupBox4.TabStop = false; this.groupBox4.Text = "Comments"; // // commentTextBox // this.commentTextBox.Location = new System.Drawing.Point(9, 18); this.commentTextBox.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.commentTextBox.Multiline = true; this.commentTextBox.Name = "commentTextBox"; this.commentTextBox.Size = new System.Drawing.Size(310, 59); this.commentTextBox.TabIndex = 21; this.commentTextBox.TextChanged += new System.EventHandler(this.CommentTextBoxTextChanged); // // groupBox3 // this.groupBox3.Controls.Add(this.removeClaimantBtn); this.groupBox3.Controls.Add(this.addClaimantBtn); this.groupBox3.Controls.Add(this.claimantListBox); this.groupBox3.Location = new System.Drawing.Point(341, 404); this.groupBox3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.groupBox3.Name = "groupBox3"; this.groupBox3.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); this.groupBox3.Size = new System.Drawing.Size(228, 176); this.groupBox3.TabIndex = 64; this.groupBox3.TabStop = false; this.groupBox3.Text = "Claimants"; // // removeClaimantBtn // this.removeClaimantBtn.Location = new System.Drawing.Point(150, 152); this.removeClaimantBtn.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.removeClaimantBtn.Name = "removeClaimantBtn"; this.removeClaimantBtn.Size = new System.Drawing.Size(64, 19); this.removeClaimantBtn.TabIndex = 40; this.removeClaimantBtn.TabStop = false; this.removeClaimantBtn.Text = "Remove"; this.removeClaimantBtn.Click += new System.EventHandler(this.RemoveClaimantBtnClick); // // addClaimantBtn // this.addClaimantBtn.Location = new System.Drawing.Point(81, 152); this.addClaimantBtn.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.addClaimantBtn.Name = "addClaimantBtn"; this.addClaimantBtn.Size = new System.Drawing.Size(64, 19); this.addClaimantBtn.TabIndex = 39; this.addClaimantBtn.TabStop = false; this.addClaimantBtn.Text = "Add"; this.addClaimantBtn.Click += new System.EventHandler(this.AddClaimantBtnClick); // // claimantListBox // this.claimantListBox.DisplayMember = "LastName"; this.claimantListBox.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable; this.claimantListBox.FormattingEnabled = true; this.claimantListBox.Location = new System.Drawing.Point(5, 18); this.claimantListBox.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.claimantListBox.Name = "claimantListBox"; this.claimantListBox.Size = new System.Drawing.Size(210, 134); this.claimantListBox.TabIndex = 38; this.claimantListBox.TabStop = false; this.claimantListBox.ValueMember = "ClaimantID"; this.claimantListBox.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.ClaimantListBoxDrawItem); // // groupBox2 // this.groupBox2.Controls.Add(this.MedicalConditionsComboBoxEdit); this.groupBox2.Controls.Add(this.labelControl14); this.groupBox2.Controls.Add(this.labelControl13); this.groupBox2.Controls.Add(this.SmokerNoCheckEdit); this.groupBox2.Controls.Add(this.SmokerYesCheckEdit); this.groupBox2.Location = new System.Drawing.Point(2, 404); this.groupBox2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.groupBox2.Name = "groupBox2"; this.groupBox2.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); this.groupBox2.Size = new System.Drawing.Size(326, 89); this.groupBox2.TabIndex = 63; this.groupBox2.TabStop = false; this.groupBox2.Text = "Patient Medical Details"; // // MedicalConditionsComboBoxEdit // this.MedicalConditionsComboBoxEdit.EditValue = ""; this.MedicalConditionsComboBoxEdit.Location = new System.Drawing.Point(154, 20); this.MedicalConditionsComboBoxEdit.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.MedicalConditionsComboBoxEdit.Name = "MedicalConditionsComboBoxEdit"; this.MedicalConditionsComboBoxEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.MedicalConditionsComboBoxEdit.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.CheckedListBoxItem[] { new DevExpress.XtraEditors.Controls.CheckedListBoxItem(null, "Cardiac Pacemaker"), new DevExpress.XtraEditors.Controls.CheckedListBoxItem(null, "Loss of Weight"), new DevExpress.XtraEditors.Controls.CheckedListBoxItem(null, "Heart Condition"), new DevExpress.XtraEditors.Controls.CheckedListBoxItem(null, "Dizziness"), new DevExpress.XtraEditors.Controls.CheckedListBoxItem(null, "Artificial joint"), new DevExpress.XtraEditors.Controls.CheckedListBoxItem(null, "Epilepsy"), new DevExpress.XtraEditors.Controls.CheckedListBoxItem(null, "Surgery in the past 3 months")}); this.MedicalConditionsComboBoxEdit.Size = new System.Drawing.Size(165, 20); this.MedicalConditionsComboBoxEdit.TabIndex = 19; // // labelControl14 // this.labelControl14.Location = new System.Drawing.Point(11, 25); this.labelControl14.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.labelControl14.Name = "labelControl14"; this.labelControl14.Size = new System.Drawing.Size(88, 13); this.labelControl14.TabIndex = 30; this.labelControl14.Text = "Medical Conditions"; // // labelControl13 // this.labelControl13.Location = new System.Drawing.Point(9, 67); this.labelControl13.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.labelControl13.Name = "labelControl13"; this.labelControl13.Size = new System.Drawing.Size(117, 13); this.labelControl13.TabIndex = 29; this.labelControl13.Text = "Is the Patient a Smoker?"; // // SmokerNoCheckEdit // this.SmokerNoCheckEdit.Location = new System.Drawing.Point(199, 66); this.SmokerNoCheckEdit.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.SmokerNoCheckEdit.Name = "SmokerNoCheckEdit"; this.SmokerNoCheckEdit.Properties.Caption = "no"; this.SmokerNoCheckEdit.Size = new System.Drawing.Size(38, 19); this.SmokerNoCheckEdit.TabIndex = 16; // // SmokerYesCheckEdit // this.SmokerYesCheckEdit.Location = new System.Drawing.Point(153, 66); this.SmokerYesCheckEdit.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.SmokerYesCheckEdit.Name = "SmokerYesCheckEdit"; this.SmokerYesCheckEdit.Properties.Caption = "Yes"; this.SmokerYesCheckEdit.Size = new System.Drawing.Size(41, 19); this.SmokerYesCheckEdit.TabIndex = 15; // // patientDetailsGroupBox // this.patientDetailsGroupBox.Controls.Add(this.claimNoTextEdit); this.patientDetailsGroupBox.Controls.Add(this.labelControl1); this.patientDetailsGroupBox.Controls.Add(this.physioComboBox); this.patientDetailsGroupBox.Controls.Add(this.labelControl12); this.patientDetailsGroupBox.Controls.Add(this.labelControl11); this.patientDetailsGroupBox.Controls.Add(this.dvaTextBox); this.patientDetailsGroupBox.Controls.Add(this.findPostCodeBtn); this.patientDetailsGroupBox.Controls.Add(this.labelControl17); this.patientDetailsGroupBox.Controls.Add(this.labelControl19); this.patientDetailsGroupBox.Controls.Add(this.emailTextEdit); this.patientDetailsGroupBox.Controls.Add(this.labelControl18); this.patientDetailsGroupBox.Controls.Add(this.TitleComboBox); this.patientDetailsGroupBox.Controls.Add(this.postCodeTextBox); this.patientDetailsGroupBox.Controls.Add(this.labelControl2); this.patientDetailsGroupBox.Controls.Add(this.stateTextBox); this.patientDetailsGroupBox.Controls.Add(this.genderFemaleTickBox); this.patientDetailsGroupBox.Controls.Add(this.genderMaleTickBox); this.patientDetailsGroupBox.Controls.Add(this.suburbComboBox); this.patientDetailsGroupBox.Controls.Add(this.addressTextEdit); this.patientDetailsGroupBox.Controls.Add(this.labelControl10); this.patientDetailsGroupBox.Controls.Add(this.workPhoneTextEdit); this.patientDetailsGroupBox.Controls.Add(this.labelControl9); this.patientDetailsGroupBox.Controls.Add(this.mobileTextEdit); this.patientDetailsGroupBox.Controls.Add(this.labelControl8); this.patientDetailsGroupBox.Controls.Add(this.homePhoneTextEdit); this.patientDetailsGroupBox.Controls.Add(this.labelControl7); this.patientDetailsGroupBox.Controls.Add(this.doBDateEdit); this.patientDetailsGroupBox.Controls.Add(this.labelControl6); this.patientDetailsGroupBox.Controls.Add(this.labelControl5); this.patientDetailsGroupBox.Controls.Add(this.givenNameTextEdit); this.patientDetailsGroupBox.Controls.Add(this.labelControl4); this.patientDetailsGroupBox.Controls.Add(this.surnameTextEdit); this.patientDetailsGroupBox.Controls.Add(this.labelControl3); this.patientDetailsGroupBox.Location = new System.Drawing.Point(2, 205); this.patientDetailsGroupBox.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.patientDetailsGroupBox.Name = "patientDetailsGroupBox"; this.patientDetailsGroupBox.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); this.patientDetailsGroupBox.Size = new System.Drawing.Size(567, 194); this.patientDetailsGroupBox.TabIndex = 3; this.patientDetailsGroupBox.TabStop = false; this.patientDetailsGroupBox.Text = "Enter new Patient"; // // claimNoTextEdit // this.claimNoTextEdit.Location = new System.Drawing.Point(449, 160); this.claimNoTextEdit.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.claimNoTextEdit.Name = "claimNoTextEdit"; this.claimNoTextEdit.Properties.Mask.AutoComplete = DevExpress.XtraEditors.Mask.AutoCompleteType.None; this.claimNoTextEdit.Properties.Mask.EditMask = "04\\d\\d\\d\\d\\d\\d\\d\\d"; this.claimNoTextEdit.Properties.Mask.PlaceHolder = '*'; this.claimNoTextEdit.Size = new System.Drawing.Size(104, 20); this.claimNoTextEdit.TabIndex = 67; // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(387, 163); this.labelControl1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(36, 13); this.labelControl1.TabIndex = 66; this.labelControl1.Text = "Claim #"; // // physioComboBox // this.physioComboBox.DisplayMember = "PhysioID"; this.physioComboBox.FormattingEnabled = true; this.physioComboBox.Location = new System.Drawing.Point(433, 51); this.physioComboBox.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.physioComboBox.Name = "physioComboBox"; this.physioComboBox.Size = new System.Drawing.Size(86, 21); this.physioComboBox.TabIndex = 14; this.physioComboBox.ValueMember = "PhysioID"; this.physioComboBox.TextChanged += new System.EventHandler(this.PhysioComboBoxTextChanged); // // labelControl12 // this.labelControl12.Location = new System.Drawing.Point(391, 56); this.labelControl12.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.labelControl12.Name = "labelControl12"; this.labelControl12.Size = new System.Drawing.Size(31, 13); this.labelControl12.TabIndex = 65; this.labelControl12.Text = "Physio"; // // labelControl11 // this.labelControl11.Location = new System.Drawing.Point(243, 163); this.labelControl11.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.labelControl11.Name = "labelControl11"; this.labelControl11.Size = new System.Drawing.Size(28, 13); this.labelControl11.TabIndex = 64; this.labelControl11.Text = "DVA#"; // // dvaTextBox // this.dvaTextBox.Location = new System.Drawing.Point(285, 158); this.dvaTextBox.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.dvaTextBox.Name = "dvaTextBox"; this.dvaTextBox.Properties.Mask.AutoComplete = DevExpress.XtraEditors.Mask.AutoCompleteType.None; this.dvaTextBox.Properties.Mask.EditMask = "04\\d\\d\\d\\d\\d\\d\\d\\d"; this.dvaTextBox.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx; this.dvaTextBox.Properties.Mask.PlaceHolder = '*'; this.dvaTextBox.Size = new System.Drawing.Size(86, 20); this.dvaTextBox.TabIndex = 18; this.dvaTextBox.EditValueChanged += new System.EventHandler(this.DvaTextBoxEditValueChanged); // // findPostCodeBtn // this.findPostCodeBtn.Appearance.Font = new System.Drawing.Font("Tahoma", 6F); this.findPostCodeBtn.Appearance.Options.UseFont = true; this.findPostCodeBtn.Location = new System.Drawing.Point(475, 104); this.findPostCodeBtn.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.findPostCodeBtn.Name = "findPostCodeBtn"; this.findPostCodeBtn.Size = new System.Drawing.Size(79, 19); this.findPostCodeBtn.TabIndex = 17; this.findPostCodeBtn.Text = "Find Post Code"; this.findPostCodeBtn.Click += new System.EventHandler(this.FindPostCodeBtnClick); // // labelControl19 // this.labelControl19.Location = new System.Drawing.Point(185, 136); this.labelControl19.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.labelControl19.Name = "labelControl19"; this.labelControl19.Size = new System.Drawing.Size(85, 13); this.labelControl19.TabIndex = 62; this.labelControl19.Text = "State / Post Code"; // // labelControl18 // this.labelControl18.Location = new System.Drawing.Point(235, 110); this.labelControl18.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.labelControl18.Name = "labelControl18"; this.labelControl18.Size = new System.Drawing.Size(34, 13); this.labelControl18.TabIndex = 60; this.labelControl18.Text = "Suburb"; // // TitleComboBox // this.TitleComboBox.FormattingEnabled = true; this.TitleComboBox.Items.AddRange(new object[] { "Mr", "Ms", "Miss", "Mrs", "Doctor"}); this.TitleComboBox.Location = new System.Drawing.Point(285, 25); this.TitleComboBox.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.TitleComboBox.Name = "TitleComboBox"; this.TitleComboBox.Size = new System.Drawing.Size(86, 21); this.TitleComboBox.TabIndex = 10; this.TitleComboBox.TextChanged += new System.EventHandler(this.TitleComboBoxTextChanged); // // postCodeTextBox // this.postCodeTextBox.Location = new System.Drawing.Point(387, 132); this.postCodeTextBox.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.postCodeTextBox.Name = "postCodeTextBox"; this.postCodeTextBox.Size = new System.Drawing.Size(86, 20); this.postCodeTextBox.TabIndex = 61; this.postCodeTextBox.TabStop = false; this.postCodeTextBox.EditValueChanged += new System.EventHandler(this.PostCodeTextBoxEditValueChanged); // // labelControl2 // this.labelControl2.Location = new System.Drawing.Point(391, 29); this.labelControl2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(35, 13); this.labelControl2.TabIndex = 56; this.labelControl2.Text = "Gender"; // // stateTextBox // this.stateTextBox.EditValue = ""; this.stateTextBox.Location = new System.Drawing.Point(285, 132); this.stateTextBox.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.stateTextBox.Name = "stateTextBox"; this.stateTextBox.Size = new System.Drawing.Size(86, 20); this.stateTextBox.TabIndex = 60; this.stateTextBox.TabStop = false; this.stateTextBox.EditValueChanged += new System.EventHandler(this.StateTextBoxEditValueChanged); // // genderFemaleTickBox // this.genderFemaleTickBox.Location = new System.Drawing.Point(477, 28); this.genderFemaleTickBox.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.genderFemaleTickBox.Name = "genderFemaleTickBox"; this.genderFemaleTickBox.Properties.Caption = "Female"; this.genderFemaleTickBox.Size = new System.Drawing.Size(57, 19); this.genderFemaleTickBox.TabIndex = 12; this.genderFemaleTickBox.CheckedChanged += new System.EventHandler(this.GenderFemaleTickBoxCheckedChanged); // // genderMaleTickBox // this.genderMaleTickBox.Location = new System.Drawing.Point(431, 28); this.genderMaleTickBox.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.genderMaleTickBox.Name = "genderMaleTickBox"; this.genderMaleTickBox.Properties.Caption = "Male"; this.genderMaleTickBox.Size = new System.Drawing.Size(41, 19); this.genderMaleTickBox.TabIndex = 11; this.genderMaleTickBox.CheckedChanged += new System.EventHandler(this.GenderMaleTickBoxCheckedChanged); // // suburbComboBox // this.suburbComboBox.DisplayMember = "Location"; this.suburbComboBox.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable; this.suburbComboBox.FormattingEnabled = true; this.suburbComboBox.Location = new System.Drawing.Point(285, 104); this.suburbComboBox.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.suburbComboBox.Name = "suburbComboBox"; this.suburbComboBox.Size = new System.Drawing.Size(187, 22); this.suburbComboBox.TabIndex = 16; this.suburbComboBox.ValueMember = "PostCodeID"; this.suburbComboBox.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.SuburbComboBoxDrawItem); this.suburbComboBox.TextChanged += new System.EventHandler(this.SuburbComboBoxTextChanged); this.suburbComboBox.Leave += new System.EventHandler(this.SuburbComboBoxLeave); // // addressTextEdit // this.addressTextEdit.Location = new System.Drawing.Point(285, 79); this.addressTextEdit.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.addressTextEdit.Name = "addressTextEdit"; this.addressTextEdit.Size = new System.Drawing.Size(268, 20); this.addressTextEdit.TabIndex = 15; this.addressTextEdit.EditValueChanged += new System.EventHandler(this.AddressTextEditEditValueChanged); // // labelControl10 // this.labelControl10.Location = new System.Drawing.Point(231, 81); this.labelControl10.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.labelControl10.Name = "labelControl10"; this.labelControl10.Size = new System.Drawing.Size(39, 13); this.labelControl10.TabIndex = 48; this.labelControl10.Text = "Address"; // // doBDateEdit // this.doBDateEdit.EditValue = null; this.doBDateEdit.Location = new System.Drawing.Point(285, 51); this.doBDateEdit.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.doBDateEdit.Name = "doBDateEdit"; this.doBDateEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.doBDateEdit.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.doBDateEdit.Size = new System.Drawing.Size(86, 20); this.doBDateEdit.TabIndex = 13; this.doBDateEdit.EditValueChanged += new System.EventHandler(this.DoBDateEditEditValueChanged); // // labelControl6 // this.labelControl6.Location = new System.Drawing.Point(210, 56); this.labelControl6.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.labelControl6.Name = "labelControl6"; this.labelControl6.Size = new System.Drawing.Size(61, 13); this.labelControl6.TabIndex = 40; this.labelControl6.Text = "Date of Birth"; // // labelControl5 // this.labelControl5.Location = new System.Drawing.Point(249, 30); this.labelControl5.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.labelControl5.Name = "labelControl5"; this.labelControl5.Size = new System.Drawing.Size(20, 13); this.labelControl5.TabIndex = 39; this.labelControl5.Text = "Title"; // // givenNameTextEdit // this.givenNameTextEdit.Location = new System.Drawing.Point(89, 51); this.givenNameTextEdit.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.givenNameTextEdit.Name = "givenNameTextEdit"; this.givenNameTextEdit.Size = new System.Drawing.Size(86, 20); this.givenNameTextEdit.TabIndex = 5; this.givenNameTextEdit.EditValueChanged += new System.EventHandler(this.GivenNameTextEditEditValueChanged); // // labelControl4 // this.labelControl4.Location = new System.Drawing.Point(9, 54); this.labelControl4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.labelControl4.Name = "labelControl4"; this.labelControl4.Size = new System.Drawing.Size(62, 13); this.labelControl4.TabIndex = 37; this.labelControl4.Text = "Given Names"; // // surnameTextEdit // this.surnameTextEdit.Location = new System.Drawing.Point(89, 25); this.surnameTextEdit.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.surnameTextEdit.Name = "surnameTextEdit"; this.surnameTextEdit.Size = new System.Drawing.Size(86, 20); this.surnameTextEdit.TabIndex = 4; this.surnameTextEdit.EditValueChanged += new System.EventHandler(this.SurnameTextEditEditValueChanged); // // labelControl3 // this.labelControl3.Location = new System.Drawing.Point(27, 30); this.labelControl3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.labelControl3.Name = "labelControl3"; this.labelControl3.Size = new System.Drawing.Size(42, 13); this.labelControl3.TabIndex = 35; this.labelControl3.Text = "Surname"; // // applyBtn // this.applyBtn.Appearance.Font = new System.Drawing.Font("Tahoma", 6F); this.applyBtn.Appearance.Options.UseFont = true; this.applyBtn.Location = new System.Drawing.Point(407, 586); this.applyBtn.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.applyBtn.Name = "applyBtn"; this.applyBtn.Size = new System.Drawing.Size(79, 19); this.applyBtn.TabIndex = 75; this.applyBtn.Text = "Apply(F12)"; this.applyBtn.Click += new System.EventHandler(this.ApplyBtnClick); // // searchResultProgressBar // this.searchResultProgressBar.Location = new System.Drawing.Point(91, 586); this.searchResultProgressBar.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.searchResultProgressBar.Name = "searchResultProgressBar"; this.searchResultProgressBar.Size = new System.Drawing.Size(198, 19); this.searchResultProgressBar.TabIndex = 74; // // newPatientBtn // this.newPatientBtn.Appearance.Font = new System.Drawing.Font("Tahoma", 6F); this.newPatientBtn.Appearance.Options.UseFont = true; this.newPatientBtn.Location = new System.Drawing.Point(2, 586); this.newPatientBtn.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.newPatientBtn.Name = "newPatientBtn"; this.newPatientBtn.Size = new System.Drawing.Size(80, 19); this.newPatientBtn.TabIndex = 73; this.newPatientBtn.TabStop = false; this.newPatientBtn.Text = "NEW(CTRL+N)"; this.newPatientBtn.Click += new System.EventHandler(this.NewPatientBtnClick); // // cancelBtn // this.cancelBtn.Appearance.Font = new System.Drawing.Font("Tahoma", 6F); this.cancelBtn.Appearance.Options.UseFont = true; this.cancelBtn.Location = new System.Drawing.Point(491, 586); this.cancelBtn.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.cancelBtn.Name = "cancelBtn"; this.cancelBtn.Size = new System.Drawing.Size(79, 19); this.cancelBtn.TabIndex = 72; this.cancelBtn.TabStop = false; this.cancelBtn.Text = "Cancel(ESC)"; this.cancelBtn.Click += new System.EventHandler(this.BtnCancelClick); // // okBtn // this.okBtn.Appearance.Font = new System.Drawing.Font("Tahoma", 6F); this.okBtn.Appearance.Options.UseFont = true; this.okBtn.Location = new System.Drawing.Point(323, 586); this.okBtn.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.okBtn.Name = "okBtn"; this.okBtn.Size = new System.Drawing.Size(79, 19); this.okBtn.TabIndex = 71; this.okBtn.Text = "OK(F2)"; this.okBtn.Click += new System.EventHandler(this.BtnOkClick); // // groupBox5 // this.groupBox5.Controls.Add(this.displayGridControl); this.groupBox5.Controls.Add(this.goBtn); this.groupBox5.Controls.Add(this.searchFieldTextBox); this.groupBox5.Controls.Add(this.label1); this.groupBox5.Location = new System.Drawing.Point(2, 2); this.groupBox5.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.groupBox5.Name = "groupBox5"; this.groupBox5.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); this.groupBox5.Size = new System.Drawing.Size(567, 198); this.groupBox5.TabIndex = 0; this.groupBox5.TabStop = false; this.groupBox5.Text = "Select a Doctor"; // // displayGridControl // this.displayGridControl.Location = new System.Drawing.Point(0, 33); this.displayGridControl.MainView = this.displayGridView; this.displayGridControl.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.displayGridControl.Name = "displayGridControl"; this.displayGridControl.Size = new System.Drawing.Size(562, 162); this.displayGridControl.TabIndex = 2; this.displayGridControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.displayGridView}); this.displayGridControl.Click += new System.EventHandler(this.DisplayGridControlClick); // // displayGridView // this.displayGridView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.gridColumn2, this.gridColumn3, this.gridColumn4}); this.displayGridView.GridControl = this.displayGridControl; this.displayGridView.Name = "displayGridView"; this.displayGridView.OptionsBehavior.Editable = false; this.displayGridView.OptionsBehavior.FocusLeaveOnTab = true; this.displayGridView.OptionsBehavior.ReadOnly = true; this.displayGridView.OptionsNavigation.UseTabKey = false; this.displayGridView.OptionsView.ShowGroupPanel = false; this.displayGridView.ViewCaption = "Results:"; this.displayGridView.RowCellClick += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.DisplayGridViewRowCellClick); this.displayGridView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.DisplayGridViewKeyDown); // // gridColumn1 // this.gridColumn1.Caption = "First Name"; this.gridColumn1.FieldName = "FirstNames"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; // // gridColumn2 // this.gridColumn2.Caption = "Last Name"; this.gridColumn2.FieldName = "LastName"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 1; // // gridColumn3 // this.gridColumn3.Caption = "Gender"; this.gridColumn3.FieldName = "Sex"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 2; // // gridColumn4 // this.gridColumn4.Caption = "DVA #"; this.gridColumn4.FieldName = "DVANumber"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 3; // // goBtn // this.goBtn.Appearance.Font = new System.Drawing.Font("Tahoma", 6F); this.goBtn.Appearance.Options.UseFont = true; this.goBtn.Location = new System.Drawing.Point(539, 9); this.goBtn.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.goBtn.Name = "goBtn"; this.goBtn.Size = new System.Drawing.Size(23, 19); this.goBtn.TabIndex = 0; this.goBtn.TabStop = false; this.goBtn.Text = "go"; this.goBtn.Click += new System.EventHandler(this.GoBtnClick); // // searchFieldTextBox // this.searchFieldTextBox.Location = new System.Drawing.Point(279, 10); this.searchFieldTextBox.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.searchFieldTextBox.Name = "searchFieldTextBox"; this.searchFieldTextBox.Size = new System.Drawing.Size(256, 21); this.searchFieldTextBox.TabIndex = 1; this.searchFieldTextBox.TextChanged += new System.EventHandler(this.SearchFieldTextBoxTextChanged); this.searchFieldTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.SearchFieldTextBoxKeyDown); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(228, 12); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(40, 13); this.label1.TabIndex = 7; this.label1.Text = "Search"; // // labelControl7 // this.labelControl7.Location = new System.Drawing.Point(11, 81); this.labelControl7.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.labelControl7.Name = "labelControl7"; this.labelControl7.Size = new System.Drawing.Size(60, 13); this.labelControl7.TabIndex = 42; this.labelControl7.Text = "Home Phone"; // // homePhoneTextEdit // this.homePhoneTextEdit.Location = new System.Drawing.Point(89, 79); this.homePhoneTextEdit.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.homePhoneTextEdit.Name = "homePhoneTextEdit"; this.homePhoneTextEdit.Properties.Mask.EditMask = "(0[2|3|4|7|8]-)?[1-9]\\d\\d\\d\\d\\d\\d\\d"; this.homePhoneTextEdit.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx; this.homePhoneTextEdit.Properties.Mask.PlaceHolder = '*'; this.homePhoneTextEdit.Size = new System.Drawing.Size(86, 20); this.homePhoneTextEdit.TabIndex = 6; this.homePhoneTextEdit.EditValueChanged += new System.EventHandler(this.HomePhoneTextEditEditValueChanged); // // labelControl8 // this.labelControl8.Location = new System.Drawing.Point(41, 134); this.labelControl8.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.labelControl8.Name = "labelControl8"; this.labelControl8.Size = new System.Drawing.Size(30, 13); this.labelControl8.TabIndex = 44; this.labelControl8.Text = "Mobile"; // // mobileTextEdit // this.mobileTextEdit.Location = new System.Drawing.Point(89, 129); this.mobileTextEdit.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.mobileTextEdit.Name = "mobileTextEdit"; this.mobileTextEdit.Properties.Mask.AutoComplete = DevExpress.XtraEditors.Mask.AutoCompleteType.None; this.mobileTextEdit.Properties.Mask.EditMask = "04\\d\\d\\d\\d\\d\\d\\d\\d"; this.mobileTextEdit.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx; this.mobileTextEdit.Properties.Mask.PlaceHolder = '*'; this.mobileTextEdit.Size = new System.Drawing.Size(86, 20); this.mobileTextEdit.TabIndex = 8; this.mobileTextEdit.EditValueChanged += new System.EventHandler(this.MobileTextEditEditValueChanged); // // labelControl9 // this.labelControl9.Location = new System.Drawing.Point(14, 106); this.labelControl9.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.labelControl9.Name = "labelControl9"; this.labelControl9.Size = new System.Drawing.Size(58, 13); this.labelControl9.TabIndex = 46; this.labelControl9.Text = "Work Phone"; // // workPhoneTextEdit // this.workPhoneTextEdit.Location = new System.Drawing.Point(89, 104); this.workPhoneTextEdit.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.workPhoneTextEdit.Name = "workPhoneTextEdit"; this.workPhoneTextEdit.Properties.Mask.EditMask = "(0[2|3|4|7|8]-)?[1-9]\\d\\d\\d\\d\\d\\d\\d"; this.workPhoneTextEdit.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx; this.workPhoneTextEdit.Properties.Mask.PlaceHolder = '*'; this.workPhoneTextEdit.Size = new System.Drawing.Size(86, 20); this.workPhoneTextEdit.TabIndex = 7; this.workPhoneTextEdit.EditValueChanged += new System.EventHandler(this.WorkPhoneTextEditEditValueChanged); // // emailTextEdit // this.emailTextEdit.Location = new System.Drawing.Point(89, 156); this.emailTextEdit.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.emailTextEdit.Name = "emailTextEdit"; this.emailTextEdit.Properties.Mask.AutoComplete = DevExpress.XtraEditors.Mask.AutoCompleteType.None; this.emailTextEdit.Properties.Mask.EditMask = "04\\d\\d\\d\\d\\d\\d\\d\\d"; this.emailTextEdit.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx; this.emailTextEdit.Properties.Mask.PlaceHolder = '*'; this.emailTextEdit.Size = new System.Drawing.Size(86, 20); this.emailTextEdit.TabIndex = 9; this.emailTextEdit.EditValueChanged += new System.EventHandler(this.EmailTextEditEditValueChanged); // // labelControl17 // this.labelControl17.Location = new System.Drawing.Point(46, 161); this.labelControl17.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.labelControl17.Name = "labelControl17"; this.labelControl17.Size = new System.Drawing.Size(24, 13); this.labelControl17.TabIndex = 59; this.labelControl17.Text = "Email"; // // patientViewForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(571, 607); this.Controls.Add(this.groupBox5); this.Controls.Add(this.applyBtn); this.Controls.Add(this.searchResultProgressBar); this.Controls.Add(this.newPatientBtn); this.Controls.Add(this.cancelBtn); this.Controls.Add(this.okBtn); this.Controls.Add(this.groupBox4); this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox2); this.Controls.Add(this.patientDetailsGroupBox); this.KeyPreview = true; this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.Name = "patientViewForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "NewPatientViewForm"; this.Load += new System.EventHandler(this.PatientViewFormLoad); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.PatientViewFormKeyDown); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.MedicalConditionsComboBoxEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.SmokerNoCheckEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.SmokerYesCheckEdit.Properties)).EndInit(); this.patientDetailsGroupBox.ResumeLayout(false); this.patientDetailsGroupBox.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.claimNoTextEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dvaTextBox.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.postCodeTextBox.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.stateTextBox.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.genderFemaleTickBox.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.genderMaleTickBox.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.addressTextEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.doBDateEdit.Properties.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.doBDateEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.givenNameTextEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.surnameTextEdit.Properties)).EndInit(); this.groupBox5.ResumeLayout(false); this.groupBox5.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.displayGridControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.displayGridView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.homePhoneTextEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mobileTextEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.workPhoneTextEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emailTextEdit.Properties)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.panelControl3 = new DevExpress.XtraEditors.PanelControl(); this.panelControl4 = new DevExpress.XtraEditors.PanelControl(); this.dbHoliday = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemLookUpEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); this.groupControl1 = new DevExpress.XtraEditors.GroupControl(); this.btnOut = new DevExpress.XtraEditors.SimpleButton(); this.btnSave = new DevExpress.XtraEditors.SimpleButton(); this.btnDel = new DevExpress.XtraEditors.SimpleButton(); this.btnAdd = new DevExpress.XtraEditors.SimpleButton(); this.bar2 = new DevExpress.XtraBars.Bar(); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit(); this.panelControl3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit(); this.panelControl4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dbHoliday)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); this.panelControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit(); this.groupControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); this.SuspendLayout(); // // panelControl1 // this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControl1.Controls.Add(this.panelControl3); this.panelControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.panelControl1.Location = new System.Drawing.Point(0, 0); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(803, 653); this.panelControl1.TabIndex = 0; // // panelControl3 // this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControl3.Controls.Add(this.panelControl4); this.panelControl3.Controls.Add(this.panelControl2); this.panelControl3.Dock = System.Windows.Forms.DockStyle.Top; this.panelControl3.Location = new System.Drawing.Point(0, 0); this.panelControl3.Name = "panelControl3"; this.panelControl3.Size = new System.Drawing.Size(803, 653); this.panelControl3.TabIndex = 1; // // panelControl4 // this.panelControl4.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControl4.Controls.Add(this.dbHoliday); this.panelControl4.Dock = System.Windows.Forms.DockStyle.Top; this.panelControl4.Location = new System.Drawing.Point(0, 66); this.panelControl4.Name = "panelControl4"; this.panelControl4.Size = new System.Drawing.Size(803, 560); this.panelControl4.TabIndex = 2; // // dbHoliday // this.dbHoliday.Dock = System.Windows.Forms.DockStyle.Fill; this.dbHoliday.Location = new System.Drawing.Point(0, 0); this.dbHoliday.MainView = this.gridView1; this.dbHoliday.Name = "dbHoliday"; this.dbHoliday.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemLookUpEdit1, this.repositoryItemLookUpEdit2}); this.dbHoliday.Size = new System.Drawing.Size(803, 560); this.dbHoliday.TabIndex = 2; this.dbHoliday.Tag = "@db=��������ά��"; this.dbHoliday.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1, this.gridView2}); // // gridView1 // this.gridView1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.gridColumn2, this.gridColumn3, this.gridColumn4, this.gridColumn5}); this.gridView1.GridControl = this.dbHoliday; this.gridView1.GroupPanelText = "��������"; this.gridView1.Name = "gridView1"; this.gridView1.OptionsView.ShowGroupPanel = false; this.gridView1.CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.gridView1_CellValueChanged); // // gridColumn1 // this.gridColumn1.Caption = "����"; this.gridColumn1.ColumnEdit = this.repositoryItemLookUpEdit1; this.gridColumn1.FieldName = "����"; this.gridColumn1.GroupInterval = DevExpress.XtraGrid.ColumnGroupInterval.DisplayText; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.UnboundType = DevExpress.Data.UnboundColumnType.Object; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; // // repositoryItemLookUpEdit1 // this.repositoryItemLookUpEdit1.AccessibleRole = System.Windows.Forms.AccessibleRole.ScrollBar; this.repositoryItemLookUpEdit1.AllowFocused = false; this.repositoryItemLookUpEdit1.AutoHeight = false; this.repositoryItemLookUpEdit1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.repositoryItemLookUpEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemLookUpEdit1.ButtonsStyle = DevExpress.XtraEditors.Controls.BorderStyles.Style3D; this.repositoryItemLookUpEdit1.Name = "repositoryItemLookUpEdit1"; this.repositoryItemLookUpEdit1.NullText = ""; this.repositoryItemLookUpEdit1.PopupBorderStyle = DevExpress.XtraEditors.Controls.PopupBorderStyles.Simple; // // gridColumn2 // this.gridColumn2.Caption = "��ʼ����"; this.gridColumn2.FieldName = "��ʼ����"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 1; // // gridColumn3 // this.gridColumn3.Caption = "�ݼ�"; this.gridColumn3.FieldName = "�ݼ�"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 3; // // gridColumn4 // this.gridColumn4.Caption = "ID"; this.gridColumn4.FieldName = "ID"; this.gridColumn4.Name = "gridColumn4"; // // gridColumn5 // this.gridColumn5.Caption = "��������"; this.gridColumn5.FieldName = "��������"; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.Visible = true; this.gridColumn5.VisibleIndex = 2; // // repositoryItemLookUpEdit2 // this.repositoryItemLookUpEdit2.AutoHeight = false; this.repositoryItemLookUpEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemLookUpEdit2.Name = "repositoryItemLookUpEdit2"; // // gridView2 // this.gridView2.GridControl = this.dbHoliday; this.gridView2.Name = "gridView2"; // // panelControl2 // this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControl2.Controls.Add(this.groupControl1); this.panelControl2.Dock = System.Windows.Forms.DockStyle.Top; this.panelControl2.Location = new System.Drawing.Point(0, 0); this.panelControl2.Name = "panelControl2"; this.panelControl2.Size = new System.Drawing.Size(803, 66); this.panelControl2.TabIndex = 1; // // groupControl1 // this.groupControl1.Controls.Add(this.btnOut); this.groupControl1.Controls.Add(this.btnSave); this.groupControl1.Controls.Add(this.btnDel); this.groupControl1.Controls.Add(this.btnAdd); this.groupControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupControl1.Location = new System.Drawing.Point(0, 0); this.groupControl1.Name = "groupControl1"; this.groupControl1.Size = new System.Drawing.Size(803, 66); this.groupControl1.TabIndex = 0; this.groupControl1.Text = "��������ά��"; // // btnOut // this.btnOut.Location = new System.Drawing.Point(515, 26); this.btnOut.Name = "btnOut"; this.btnOut.Size = new System.Drawing.Size(81, 29); this.btnOut.TabIndex = 8; this.btnOut.Text = "�˳�"; this.btnOut.Click += new System.EventHandler(this.btnOut_Click); // // btnSave // this.btnSave.Location = new System.Drawing.Point(392, 26); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(81, 29); this.btnSave.TabIndex = 7; this.btnSave.Text = "����"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // btnDel // this.btnDel.Location = new System.Drawing.Point(271, 26); this.btnDel.Name = "btnDel"; this.btnDel.Size = new System.Drawing.Size(81, 29); this.btnDel.TabIndex = 6; this.btnDel.Text = "ɾ��"; this.btnDel.Click += new System.EventHandler(this.btnDel_Click); // // btnAdd // this.btnAdd.Location = new System.Drawing.Point(159, 26); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(81, 29); this.btnAdd.TabIndex = 5; this.btnAdd.Text = "���"; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // bar2 // this.bar2.BarName = "Main menu"; this.bar2.DockCol = 0; this.bar2.DockRow = 0; this.bar2.FloatLocation = new System.Drawing.Point(237, 270); this.bar2.OptionsBar.MultiLine = true; this.bar2.OptionsBar.UseWholeRow = true; this.bar2.Text = "Main menu"; // // barManager1 // this.barManager1.DockControls.Add(this.barDockControlTop); this.barManager1.DockControls.Add(this.barDockControlBottom); this.barManager1.DockControls.Add(this.barDockControlLeft); this.barManager1.DockControls.Add(this.barDockControlRight); this.barManager1.Form = this; this.barManager1.MaxItemId = 0; // // FrmHolidaySet // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(803, 653); this.Controls.Add(this.panelControl1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "FrmHolidaySet"; this.Text = "��������"; this.Load += new System.EventHandler(this.FrmHolidaySet_Load); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit(); this.panelControl3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit(); this.panelControl4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dbHoliday)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); this.panelControl2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit(); this.groupControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// CJiaRTLookUp 构造函数 /// </summary> public CJiaRTLookUp() { popupControl = new DevExpress.XtraEditors.PopupContainerControl(); gridData = new CJiaGrid(); gridColumn = new DevExpress.XtraGrid.Columns.GridColumn(); // // popupControl // this.popupControl.Controls.Add(this.gridData); // //gridData // gridData.Dock = DockStyle.Fill; gridData.Name = "cJiaGrid1"; gridData.ShowRowNumber = false; gridData.IndicatorWidth = 20; // //viewData // viewData = gridData.gridView1; viewData.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn }); viewData.DoubleClick += viewData_DoubleClick; viewData.KeyDown += viewData_KeyDown; // //viewData.Click += viewData_Click; //viewData.FocusedRowChanged += viewData_FocusedRowChanged; //gridColumn // gridColumn.Name = "gridColumn1"; gridColumn.Visible = true; // // CJiaRTLookUp // #region CJiaRTLookUp Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); Properties.Appearance.Options.UseFont = true; Properties.Appearance.Options.UseTextOptions = true; Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Down) }); Properties.LookAndFeel.SkinName = "Office 2010 Blue"; Properties.LookAndFeel.UseDefaultLookAndFeel = false; //Properties.PopupBorderStyle = DevExpress.XtraEditors.Controls.PopupBorderStyles.NoBorder; Properties.PopupControl = this.popupControl; Properties.PopupFormMinSize = new System.Drawing.Size(200, 200); Properties.PopupFormSize = new System.Drawing.Size(200, 200); //Properties.PopupSizeable = false; //Properties.ShowPopupCloseButton = false; Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; Size = new System.Drawing.Size(200, 22); Text = ""; Enter += CJiaRTLookUp_Enter; Popup += CJiaRTLookUp_Popup; KeyDown += CJiaRTLookUp_KeyDown; TextChanged += CJiaRTLookUp_TextChanged; //SizeChanged += CJiaRTLookUp_SizeChanged; #endregion }
public void Print(DevExpress.XtraGrid.Views.Grid.GridView dop) { dop.PrintDialog(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl(); this.groupControlList = new DevExpress.XtraEditors.GroupControl(); this.gridControlItem = new DevExpress.XtraGrid.GridControl(); this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.item_id = new DevExpress.XtraGrid.Columns.GridColumn(); this.grid_name = new DevExpress.XtraGrid.Columns.GridColumn(); this.grid_price_monthly = new DevExpress.XtraGrid.Columns.GridColumn(); this.grid_price_daily = new DevExpress.XtraGrid.Columns.GridColumn(); this.grid_vat_text = new DevExpress.XtraGrid.Columns.GridColumn(); this.item_type = new DevExpress.XtraGrid.Columns.GridColumn(); this.grid_type_text = new DevExpress.XtraGrid.Columns.GridColumn(); this.grid_vat = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.panelControl3 = new DevExpress.XtraEditors.PanelControl(); this.groupControlAddittional = new DevExpress.XtraEditors.GroupControl(); this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl(); this.panelEnable = new DevExpress.XtraEditors.PanelControl(); this.labelControlRequired = new DevExpress.XtraEditors.LabelControl(); this.labelControl4 = new DevExpress.XtraEditors.LabelControl(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.labelControl12 = new DevExpress.XtraEditors.LabelControl(); this.lookUpEditPayType = new DevExpress.XtraEditors.LookUpEdit(); this.lookUpEditVatType = new DevExpress.XtraEditors.LookUpEdit(); this.labelBasicinfoType = new DevExpress.XtraEditors.LabelControl(); this.labelBasicinfoName = new DevExpress.XtraEditors.LabelControl(); this.labelBasicinfoPriceMonthly = new DevExpress.XtraEditors.LabelControl(); this.labelBasicinfoPriceDaily = new DevExpress.XtraEditors.LabelControl(); this.labelBasicinfoDetail = new DevExpress.XtraEditors.LabelControl(); this.labelControlBaht2 = new DevExpress.XtraEditors.LabelControl(); this.labelControlBaht = new DevExpress.XtraEditors.LabelControl(); this.labelBasicinfoVat = new DevExpress.XtraEditors.LabelControl(); this.textEditItemPriceMonthly = new DevExpress.XtraEditors.TextEdit(); this.memoEditItemDetail = new DevExpress.XtraEditors.MemoEdit(); this.textEditItemName = new DevExpress.XtraEditors.TextEdit(); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.texthiddenAction = new DevExpress.XtraEditors.TextEdit(); this.bttDelete = new DevExpress.XtraEditors.SimpleButton(); this.labelBasicinfoID = new DevExpress.XtraEditors.LabelControl(); this.textEditItemID = new DevExpress.XtraEditors.TextEdit(); this.textEditCheckEvent = new DevExpress.XtraEditors.TextEdit(); this.bttAdd = new DevExpress.XtraEditors.SimpleButton(); this.bttEdit = new DevExpress.XtraEditors.SimpleButton(); this.bttCancel = new DevExpress.XtraEditors.SimpleButton(); this.bttSave = new DevExpress.XtraEditors.SimpleButton(); this.textEditItemPriceDaily = new DevExpress.XtraEditors.TextEdit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit(); this.splitContainerControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControlList)).BeginInit(); this.groupControlList.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControlItem)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit(); this.panelControl3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControlAddittional)).BeginInit(); this.groupControlAddittional.SuspendLayout(); this.xtraScrollableControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelEnable)).BeginInit(); this.panelEnable.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.lookUpEditPayType.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lookUpEditVatType.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textEditItemPriceMonthly.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.memoEditItemDetail.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textEditItemName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.texthiddenAction.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textEditItemID.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textEditCheckEvent.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textEditItemPriceDaily.Properties)).BeginInit(); this.SuspendLayout(); // // panelControl2 // this.panelControl2.Appearance.BackColor = System.Drawing.Color.WhiteSmoke; this.panelControl2.Appearance.Options.UseBackColor = true; this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.panelControl2.Location = new System.Drawing.Point(7, 7); this.panelControl2.Name = "panelControl2"; this.panelControl2.Size = new System.Drawing.Size(1079, 614); this.panelControl2.TabIndex = 20; // // splitContainerControl2 // this.splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerControl2.Location = new System.Drawing.Point(7, 7); this.splitContainerControl2.Name = "splitContainerControl2"; this.splitContainerControl2.Panel1.Controls.Add(this.groupControlList); this.splitContainerControl2.Panel1.Text = "Panel1"; this.splitContainerControl2.Panel2.Controls.Add(this.panelControl3); this.splitContainerControl2.Panel2.Controls.Add(this.panelControl1); this.splitContainerControl2.Panel2.Text = "Panel2"; this.splitContainerControl2.Size = new System.Drawing.Size(1079, 614); this.splitContainerControl2.SplitterPosition = 500; this.splitContainerControl2.TabIndex = 22; this.splitContainerControl2.Text = "splitContainerControl2"; // // groupControlList // this.groupControlList.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.groupControlList.AppearanceCaption.Options.UseFont = true; this.groupControlList.Controls.Add(this.gridControlItem); this.groupControlList.Dock = System.Windows.Forms.DockStyle.Fill; this.groupControlList.Location = new System.Drawing.Point(0, 0); this.groupControlList.Name = "groupControlList"; this.groupControlList.Size = new System.Drawing.Size(500, 614); this.groupControlList.TabIndex = 0; this.groupControlList.Text = "รายการค่าใช้จ่ายเพิ่มเติม"; // // gridControlItem // this.gridControlItem.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControlItem.Location = new System.Drawing.Point(2, 22); this.gridControlItem.MainView = this.gridView3; this.gridControlItem.Name = "gridControlItem"; this.gridControlItem.Size = new System.Drawing.Size(496, 590); this.gridControlItem.TabIndex = 18; this.gridControlItem.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView3, this.gridView2, this.gridView1}); // // gridView3 // this.gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.item_id, this.grid_name, this.grid_price_monthly, this.grid_price_daily, this.grid_vat_text, this.item_type, this.grid_type_text, this.grid_vat}); this.gridView3.GridControl = this.gridControlItem; this.gridView3.Name = "gridView3"; this.gridView3.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False; this.gridView3.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False; this.gridView3.OptionsBehavior.Editable = false; this.gridView3.OptionsBehavior.ReadOnly = true; this.gridView3.OptionsFind.AlwaysVisible = true; this.gridView3.OptionsFind.ShowCloseButton = false; this.gridView3.OptionsView.ShowGroupPanel = false; // // item_id // this.item_id.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.item_id.AppearanceHeader.Options.UseFont = true; this.item_id.Caption = "รหัสค่าใช่จ่ายเพิ่มเติม"; this.item_id.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.item_id.FieldName = "item_id"; this.item_id.Name = "item_id"; this.item_id.OptionsColumn.AllowEdit = false; this.item_id.OptionsColumn.AllowFocus = false; this.item_id.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.item_id.OptionsColumn.AllowMove = false; this.item_id.Width = 161; // // grid_name // this.grid_name.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.grid_name.AppearanceHeader.Options.UseFont = true; this.grid_name.Caption = "ชื่อรายการค่าใช้จ่าย"; this.grid_name.FieldName = "item_name"; this.grid_name.Name = "grid_name"; this.grid_name.OptionsColumn.AllowEdit = false; this.grid_name.OptionsColumn.AllowFocus = false; this.grid_name.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.grid_name.OptionsColumn.AllowMove = false; this.grid_name.Visible = true; this.grid_name.VisibleIndex = 0; this.grid_name.Width = 114; // // grid_price_monthly // this.grid_price_monthly.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.grid_price_monthly.AppearanceHeader.Options.UseFont = true; this.grid_price_monthly.Caption = "ราคารายเดือน"; this.grid_price_monthly.DisplayFormat.FormatString = "{0:n2}"; this.grid_price_monthly.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.grid_price_monthly.FieldName = "item_price_monthly"; this.grid_price_monthly.Name = "grid_price_monthly"; this.grid_price_monthly.OptionsColumn.AllowEdit = false; this.grid_price_monthly.OptionsColumn.AllowFocus = false; this.grid_price_monthly.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.grid_price_monthly.OptionsColumn.AllowMove = false; this.grid_price_monthly.Visible = true; this.grid_price_monthly.VisibleIndex = 2; this.grid_price_monthly.Width = 107; // // grid_price_daily // this.grid_price_daily.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.grid_price_daily.AppearanceHeader.Options.UseFont = true; this.grid_price_daily.Caption = "ราคารายวัน"; this.grid_price_daily.DisplayFormat.FormatString = "{0:n2}"; this.grid_price_daily.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.grid_price_daily.FieldName = "item_price_daily"; this.grid_price_daily.Name = "grid_price_daily"; this.grid_price_daily.OptionsColumn.AllowEdit = false; this.grid_price_daily.OptionsColumn.AllowFocus = false; this.grid_price_daily.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.grid_price_daily.OptionsColumn.AllowMove = false; this.grid_price_daily.Visible = true; this.grid_price_daily.VisibleIndex = 3; this.grid_price_daily.Width = 97; // // grid_vat_text // this.grid_vat_text.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.grid_vat_text.AppearanceHeader.Options.UseFont = true; this.grid_vat_text.Caption = "การคิดภาษี"; this.grid_vat_text.FieldName = "item_vat_text"; this.grid_vat_text.Name = "grid_vat_text"; this.grid_vat_text.OptionsColumn.AllowEdit = false; this.grid_vat_text.OptionsColumn.AllowFocus = false; this.grid_vat_text.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.grid_vat_text.OptionsColumn.AllowMove = false; this.grid_vat_text.Visible = true; this.grid_vat_text.VisibleIndex = 4; this.grid_vat_text.Width = 70; // // item_type // this.item_type.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.item_type.AppearanceHeader.Options.UseFont = true; this.item_type.Name = "item_type"; // // grid_type_text // this.grid_type_text.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.grid_type_text.AppearanceHeader.Options.UseFont = true; this.grid_type_text.Caption = "รูปแบบค่าใช้จ่าย"; this.grid_type_text.FieldName = "item_type_text"; this.grid_type_text.Name = "grid_type_text"; this.grid_type_text.OptionsColumn.AllowEdit = false; this.grid_type_text.OptionsColumn.AllowFocus = false; this.grid_type_text.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.grid_type_text.OptionsColumn.AllowMove = false; this.grid_type_text.Visible = true; this.grid_type_text.VisibleIndex = 1; this.grid_type_text.Width = 92; // // grid_vat // this.grid_vat.Caption = "gridColumn1"; this.grid_vat.FieldName = "item_vat"; this.grid_vat.Name = "grid_vat"; // // gridView2 // this.gridView2.GridControl = this.gridControlItem; this.gridView2.Name = "gridView2"; // // gridView1 // this.gridView1.GridControl = this.gridControlItem; this.gridView1.Name = "gridView1"; // // panelControl3 // this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControl3.Controls.Add(this.groupControlAddittional); this.panelControl3.Dock = System.Windows.Forms.DockStyle.Fill; this.panelControl3.Location = new System.Drawing.Point(0, 0); this.panelControl3.Name = "panelControl3"; this.panelControl3.Size = new System.Drawing.Size(574, 548); this.panelControl3.TabIndex = 12; // // groupControlAddittional // this.groupControlAddittional.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.groupControlAddittional.AppearanceCaption.Options.UseFont = true; this.groupControlAddittional.Controls.Add(this.xtraScrollableControl1); this.groupControlAddittional.Dock = System.Windows.Forms.DockStyle.Fill; this.groupControlAddittional.Location = new System.Drawing.Point(0, 0); this.groupControlAddittional.Name = "groupControlAddittional"; this.groupControlAddittional.Size = new System.Drawing.Size(574, 548); this.groupControlAddittional.TabIndex = 3; this.groupControlAddittional.Text = "ข้อมูลค่าใช้จ่ายเพิ่มเติม"; // // xtraScrollableControl1 // this.xtraScrollableControl1.Controls.Add(this.panelEnable); this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.xtraScrollableControl1.Location = new System.Drawing.Point(2, 22); this.xtraScrollableControl1.Name = "xtraScrollableControl1"; this.xtraScrollableControl1.Size = new System.Drawing.Size(570, 524); this.xtraScrollableControl1.TabIndex = 0; // // panelEnable // this.panelEnable.Appearance.BackColor = System.Drawing.Color.Transparent; this.panelEnable.Appearance.Options.UseBackColor = true; this.panelEnable.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelEnable.Controls.Add(this.textEditItemPriceDaily); this.panelEnable.Controls.Add(this.labelControlRequired); this.panelEnable.Controls.Add(this.labelControl4); this.panelEnable.Controls.Add(this.labelControl1); this.panelEnable.Controls.Add(this.labelControl12); this.panelEnable.Controls.Add(this.lookUpEditPayType); this.panelEnable.Controls.Add(this.lookUpEditVatType); this.panelEnable.Controls.Add(this.labelBasicinfoType); this.panelEnable.Controls.Add(this.labelBasicinfoName); this.panelEnable.Controls.Add(this.labelBasicinfoPriceMonthly); this.panelEnable.Controls.Add(this.labelBasicinfoPriceDaily); this.panelEnable.Controls.Add(this.labelBasicinfoDetail); this.panelEnable.Controls.Add(this.labelControlBaht2); this.panelEnable.Controls.Add(this.labelControlBaht); this.panelEnable.Controls.Add(this.labelBasicinfoVat); this.panelEnable.Controls.Add(this.textEditItemPriceMonthly); this.panelEnable.Controls.Add(this.memoEditItemDetail); this.panelEnable.Controls.Add(this.textEditItemName); this.panelEnable.Dock = System.Windows.Forms.DockStyle.Top; this.panelEnable.Location = new System.Drawing.Point(0, 0); this.panelEnable.Name = "panelEnable"; this.panelEnable.Size = new System.Drawing.Size(570, 243); this.panelEnable.TabIndex = 267; // // labelControlRequired // this.labelControlRequired.Appearance.ForeColor = System.Drawing.Color.Red; this.labelControlRequired.Location = new System.Drawing.Point(9, 227); this.labelControlRequired.Name = "labelControlRequired"; this.labelControlRequired.Size = new System.Drawing.Size(50, 13); this.labelControlRequired.TabIndex = 413; this.labelControlRequired.Text = "* โปรดระบุ"; // // labelControl4 // this.labelControl4.Appearance.ForeColor = System.Drawing.Color.Red; this.labelControl4.Location = new System.Drawing.Point(9, 121); this.labelControl4.Name = "labelControl4"; this.labelControl4.Size = new System.Drawing.Size(6, 13); this.labelControl4.TabIndex = 317; this.labelControl4.Text = "*"; // // labelControl1 // this.labelControl1.Appearance.ForeColor = System.Drawing.Color.Red; this.labelControl1.Location = new System.Drawing.Point(9, 47); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(6, 13); this.labelControl1.TabIndex = 317; this.labelControl1.Text = "*"; // // labelControl12 // this.labelControl12.Appearance.ForeColor = System.Drawing.Color.Red; this.labelControl12.Location = new System.Drawing.Point(9, 17); this.labelControl12.Name = "labelControl12"; this.labelControl12.Size = new System.Drawing.Size(6, 13); this.labelControl12.TabIndex = 317; this.labelControl12.Text = "*"; // // lookUpEditPayType // this.lookUpEditPayType.Location = new System.Drawing.Point(174, 36); this.lookUpEditPayType.Name = "lookUpEditPayType"; this.lookUpEditPayType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lookUpEditPayType.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("paytype_label", " ")}); this.lookUpEditPayType.Size = new System.Drawing.Size(241, 20); this.lookUpEditPayType.TabIndex = 2; // // lookUpEditVatType // this.lookUpEditVatType.Location = new System.Drawing.Point(174, 115); this.lookUpEditVatType.Name = "lookUpEditVatType"; this.lookUpEditVatType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lookUpEditVatType.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("vattype_label", " ")}); this.lookUpEditVatType.Size = new System.Drawing.Size(241, 20); this.lookUpEditVatType.TabIndex = 5; // // labelBasicinfoType // this.labelBasicinfoType.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.labelBasicinfoType.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; this.labelBasicinfoType.Location = new System.Drawing.Point(32, 41); this.labelBasicinfoType.Name = "labelBasicinfoType"; this.labelBasicinfoType.Size = new System.Drawing.Size(122, 13); this.labelBasicinfoType.TabIndex = 262; this.labelBasicinfoType.Text = "รูปแบบค่าใช้จ่าย :"; // // labelBasicinfoName // this.labelBasicinfoName.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.labelBasicinfoName.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; this.labelBasicinfoName.Location = new System.Drawing.Point(32, 13); this.labelBasicinfoName.Name = "labelBasicinfoName"; this.labelBasicinfoName.Size = new System.Drawing.Size(122, 13); this.labelBasicinfoName.TabIndex = 72; this.labelBasicinfoName.Text = "ชื่อรายการค่าใช้จ่าย :"; // // labelBasicinfoPriceMonthly // this.labelBasicinfoPriceMonthly.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.labelBasicinfoPriceMonthly.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; this.labelBasicinfoPriceMonthly.Location = new System.Drawing.Point(32, 66); this.labelBasicinfoPriceMonthly.Name = "labelBasicinfoPriceMonthly"; this.labelBasicinfoPriceMonthly.Size = new System.Drawing.Size(122, 13); this.labelBasicinfoPriceMonthly.TabIndex = 73; this.labelBasicinfoPriceMonthly.Text = "ราคารายเดือน :"; // // labelBasicinfoPriceDaily // this.labelBasicinfoPriceDaily.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.labelBasicinfoPriceDaily.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; this.labelBasicinfoPriceDaily.Location = new System.Drawing.Point(32, 92); this.labelBasicinfoPriceDaily.Name = "labelBasicinfoPriceDaily"; this.labelBasicinfoPriceDaily.Size = new System.Drawing.Size(122, 13); this.labelBasicinfoPriceDaily.TabIndex = 75; this.labelBasicinfoPriceDaily.Text = "ราคารายวัน :"; // // labelBasicinfoDetail // this.labelBasicinfoDetail.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.labelBasicinfoDetail.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; this.labelBasicinfoDetail.Location = new System.Drawing.Point(26, 142); this.labelBasicinfoDetail.Name = "labelBasicinfoDetail"; this.labelBasicinfoDetail.Size = new System.Drawing.Size(128, 13); this.labelBasicinfoDetail.TabIndex = 251; this.labelBasicinfoDetail.Text = "รายละเอียดเพิ่มเติม :"; // // labelControlBaht2 // this.labelControlBaht2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; this.labelControlBaht2.Location = new System.Drawing.Point(421, 91); this.labelControlBaht2.Name = "labelControlBaht2"; this.labelControlBaht2.Size = new System.Drawing.Size(81, 13); this.labelControlBaht2.TabIndex = 76; this.labelControlBaht2.Text = "บาท"; // // labelControlBaht // this.labelControlBaht.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; this.labelControlBaht.Location = new System.Drawing.Point(421, 65); this.labelControlBaht.Name = "labelControlBaht"; this.labelControlBaht.Size = new System.Drawing.Size(81, 13); this.labelControlBaht.TabIndex = 76; this.labelControlBaht.Text = "บาท"; // // labelBasicinfoVat // this.labelBasicinfoVat.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.labelBasicinfoVat.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; this.labelBasicinfoVat.Location = new System.Drawing.Point(32, 118); this.labelBasicinfoVat.Name = "labelBasicinfoVat"; this.labelBasicinfoVat.Size = new System.Drawing.Size(122, 13); this.labelBasicinfoVat.TabIndex = 76; this.labelBasicinfoVat.Text = "การคิดภาษี :"; // // textEditItemPriceMonthly // this.textEditItemPriceMonthly.EditValue = "1000000.00"; this.textEditItemPriceMonthly.Location = new System.Drawing.Point(174, 62); this.textEditItemPriceMonthly.Name = "textEditItemPriceMonthly"; this.textEditItemPriceMonthly.Properties.Appearance.Options.UseTextOptions = true; this.textEditItemPriceMonthly.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.textEditItemPriceMonthly.Properties.DisplayFormat.FormatString = "{n2}"; this.textEditItemPriceMonthly.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.textEditItemPriceMonthly.Properties.EditFormat.FormatString = "{n2}"; this.textEditItemPriceMonthly.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.textEditItemPriceMonthly.Properties.Mask.BeepOnError = true; this.textEditItemPriceMonthly.Properties.Mask.EditMask = "0*([0-9]{1,7}|1000000)|0*([0-9]{1,7}|1000000)\\.([0-9]){2}"; this.textEditItemPriceMonthly.Properties.Mask.IgnoreMaskBlank = false; this.textEditItemPriceMonthly.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx; this.textEditItemPriceMonthly.Properties.Mask.ShowPlaceHolders = false; this.textEditItemPriceMonthly.Properties.Mask.UseMaskAsDisplayFormat = true; this.textEditItemPriceMonthly.Properties.MaxLength = 7; this.textEditItemPriceMonthly.Size = new System.Drawing.Size(241, 20); this.textEditItemPriceMonthly.TabIndex = 3; // // memoEditItemDetail // this.memoEditItemDetail.Location = new System.Drawing.Point(174, 143); this.memoEditItemDetail.Name = "memoEditItemDetail"; this.memoEditItemDetail.Properties.MaxLength = 500; this.memoEditItemDetail.Size = new System.Drawing.Size(241, 72); this.memoEditItemDetail.TabIndex = 6; // // textEditItemName // this.textEditItemName.Location = new System.Drawing.Point(174, 10); this.textEditItemName.Name = "textEditItemName"; this.textEditItemName.Properties.Mask.BeepOnError = true; this.textEditItemName.Properties.Mask.EditMask = "([a-zA-Z0-9|ก-๙|\\\' \']){0,50}"; this.textEditItemName.Properties.Mask.IgnoreMaskBlank = false; this.textEditItemName.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx; this.textEditItemName.Properties.Mask.UseMaskAsDisplayFormat = true; this.textEditItemName.Properties.MaxLength = 50; this.textEditItemName.Size = new System.Drawing.Size(241, 20); this.textEditItemName.TabIndex = 1; // // panelControl1 // this.panelControl1.Controls.Add(this.texthiddenAction); this.panelControl1.Controls.Add(this.bttDelete); this.panelControl1.Controls.Add(this.labelBasicinfoID); this.panelControl1.Controls.Add(this.textEditItemID); this.panelControl1.Controls.Add(this.textEditCheckEvent); this.panelControl1.Controls.Add(this.bttAdd); this.panelControl1.Controls.Add(this.bttEdit); this.panelControl1.Controls.Add(this.bttCancel); this.panelControl1.Controls.Add(this.bttSave); this.panelControl1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panelControl1.Location = new System.Drawing.Point(0, 548); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(574, 66); this.panelControl1.TabIndex = 13; // // texthiddenAction // this.texthiddenAction.Location = new System.Drawing.Point(11, 35); this.texthiddenAction.Name = "texthiddenAction"; this.texthiddenAction.Size = new System.Drawing.Size(100, 20); this.texthiddenAction.TabIndex = 264; this.texthiddenAction.Visible = false; // // bttDelete // this.bttDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.bttDelete.Image = global::DXWindowsApplication2.Properties.Resources.delete; this.bttDelete.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter; this.bttDelete.Location = new System.Drawing.Point(347, 5); this.bttDelete.Name = "bttDelete"; this.bttDelete.Size = new System.Drawing.Size(70, 55); this.bttDelete.TabIndex = 20; this.bttDelete.Text = "ลบข้อมูล"; this.bttDelete.Click += new System.EventHandler(this.bttDelete_Click); // // labelBasicinfoID // this.labelBasicinfoID.Location = new System.Drawing.Point(17, 6); this.labelBasicinfoID.Name = "labelBasicinfoID"; this.labelBasicinfoID.Padding = new System.Windows.Forms.Padding(10); this.labelBasicinfoID.Size = new System.Drawing.Size(46, 33); this.labelBasicinfoID.TabIndex = 71; this.labelBasicinfoID.Text = "รหัส :"; this.labelBasicinfoID.Visible = false; // // textEditItemID // this.textEditItemID.Location = new System.Drawing.Point(69, 13); this.textEditItemID.Name = "textEditItemID"; this.textEditItemID.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.textEditItemID.Properties.Appearance.Options.UseFont = true; this.textEditItemID.Properties.ReadOnly = true; this.textEditItemID.Size = new System.Drawing.Size(18, 20); this.textEditItemID.TabIndex = 248; this.textEditItemID.Visible = false; // // textEditCheckEvent // this.textEditCheckEvent.EditValue = ""; this.textEditCheckEvent.Location = new System.Drawing.Point(93, 13); this.textEditCheckEvent.Name = "textEditCheckEvent"; this.textEditCheckEvent.Properties.Mask.BeepOnError = true; this.textEditCheckEvent.Properties.Mask.EditMask = "([0-9]*)"; this.textEditCheckEvent.Properties.Mask.IgnoreMaskBlank = false; this.textEditCheckEvent.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx; this.textEditCheckEvent.Properties.MaxLength = 10; this.textEditCheckEvent.Size = new System.Drawing.Size(18, 20); this.textEditCheckEvent.TabIndex = 258; this.textEditCheckEvent.Visible = false; // // bttAdd // this.bttAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.bttAdd.Image = global::DXWindowsApplication2.Properties.Resources.Add; this.bttAdd.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter; this.bttAdd.Location = new System.Drawing.Point(195, 5); this.bttAdd.Name = "bttAdd"; this.bttAdd.Size = new System.Drawing.Size(70, 55); this.bttAdd.TabIndex = 18; this.bttAdd.Text = "เพิ่มข้อมูล"; this.bttAdd.Click += new System.EventHandler(this.bttAdd_Click); // // bttEdit // this.bttEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.bttEdit.Image = global::DXWindowsApplication2.Properties.Resources.edit; this.bttEdit.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter; this.bttEdit.Location = new System.Drawing.Point(271, 5); this.bttEdit.Name = "bttEdit"; this.bttEdit.Size = new System.Drawing.Size(70, 55); this.bttEdit.TabIndex = 19; this.bttEdit.Text = "แก้ไขข้อมูล"; this.bttEdit.Click += new System.EventHandler(this.bttEdit_Click); // // bttCancel // this.bttCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.bttCancel.Enabled = false; this.bttCancel.Image = global::DXWindowsApplication2.Properties.Resources.Close; this.bttCancel.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter; this.bttCancel.Location = new System.Drawing.Point(499, 5); this.bttCancel.Name = "bttCancel"; this.bttCancel.Size = new System.Drawing.Size(70, 55); this.bttCancel.TabIndex = 22; this.bttCancel.Text = "ยกเลิก"; this.bttCancel.Click += new System.EventHandler(this.bttCancel_Click); // // bttSave // this.bttSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.bttSave.Enabled = false; this.bttSave.Image = global::DXWindowsApplication2.Properties.Resources.save; this.bttSave.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter; this.bttSave.Location = new System.Drawing.Point(423, 5); this.bttSave.Name = "bttSave"; this.bttSave.Size = new System.Drawing.Size(70, 55); this.bttSave.TabIndex = 21; this.bttSave.Text = "บันทึก"; this.bttSave.Click += new System.EventHandler(this.bttSave_Click); // // textEditItemPriceDaily // this.textEditItemPriceDaily.EditValue = "1000000.00"; this.textEditItemPriceDaily.Location = new System.Drawing.Point(174, 88); this.textEditItemPriceDaily.Name = "textEditItemPriceDaily"; this.textEditItemPriceDaily.Properties.Appearance.Options.UseTextOptions = true; this.textEditItemPriceDaily.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.textEditItemPriceDaily.Properties.DisplayFormat.FormatString = "{n2}"; this.textEditItemPriceDaily.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.textEditItemPriceDaily.Properties.EditFormat.FormatString = "{n2}"; this.textEditItemPriceDaily.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.textEditItemPriceDaily.Properties.Mask.BeepOnError = true; this.textEditItemPriceDaily.Properties.Mask.EditMask = "0*([0-9]{1,7}|1000000)|0*([0-9]{1,7}|1000000)\\.([0-9]){2}"; this.textEditItemPriceDaily.Properties.Mask.IgnoreMaskBlank = false; this.textEditItemPriceDaily.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx; this.textEditItemPriceDaily.Properties.Mask.ShowPlaceHolders = false; this.textEditItemPriceDaily.Properties.Mask.UseMaskAsDisplayFormat = true; this.textEditItemPriceDaily.Properties.MaxLength = 7; this.textEditItemPriceDaily.Size = new System.Drawing.Size(241, 20); this.textEditItemPriceDaily.TabIndex = 414; // // BasicInfoAdditionItem // this.Appearance.BackColor = System.Drawing.Color.White; this.Appearance.Options.UseBackColor = true; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.splitContainerControl2); this.Controls.Add(this.panelControl2); this.Name = "BasicInfoAdditionItem"; this.Padding = new System.Windows.Forms.Padding(7); this.Size = new System.Drawing.Size(1093, 628); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).EndInit(); this.splitContainerControl2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.groupControlList)).EndInit(); this.groupControlList.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControlItem)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit(); this.panelControl3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.groupControlAddittional)).EndInit(); this.groupControlAddittional.ResumeLayout(false); this.xtraScrollableControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelEnable)).EndInit(); this.panelEnable.ResumeLayout(false); this.panelEnable.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.lookUpEditPayType.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lookUpEditVatType.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textEditItemPriceMonthly.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.memoEditItemDetail.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textEditItemName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); this.panelControl1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.texthiddenAction.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textEditItemID.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textEditCheckEvent.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textEditItemPriceDaily.Properties)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmClass)); this.grpMDClass = new DevExpress.XtraEditors.GroupControl(); this.btnClass_Add = new DevExpress.XtraEditors.SimpleButton(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.btnClass_Del = new DevExpress.XtraEditors.SimpleButton(); this.btn_Add = new DevExpress.XtraEditors.SimpleButton(); this.btn_Del = new DevExpress.XtraEditors.SimpleButton(); this.groupControl2 = new DevExpress.XtraEditors.GroupControl(); this.gridControlMd_ClassType = new DevExpress.XtraGrid.GridControl(); this.gridViewMd_ClassType = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.groupControl1 = new DevExpress.XtraEditors.GroupControl(); this.gridControlMD_Class = new DevExpress.XtraGrid.GridControl(); this.gridViewMd_Class = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.lk_RPClassType = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); ((System.ComponentModel.ISupportInitialize)(this.grpMDClass)).BeginInit(); this.grpMDClass.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit(); this.groupControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControlMd_ClassType)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMd_ClassType)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit(); this.groupControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControlMD_Class)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMd_Class)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lk_RPClassType)).BeginInit(); this.SuspendLayout(); // // grpMDClass // this.grpMDClass.Appearance.BackColor = System.Drawing.SystemColors.Control; this.grpMDClass.Appearance.Options.UseBackColor = true; this.grpMDClass.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple; this.grpMDClass.Controls.Add(this.btnClass_Add); this.grpMDClass.Controls.Add(this.btnClass_Del); this.grpMDClass.Controls.Add(this.btn_Add); this.grpMDClass.Controls.Add(this.btn_Del); this.grpMDClass.Controls.Add(this.groupControl2); this.grpMDClass.Controls.Add(this.groupControl1); this.grpMDClass.ImeMode = System.Windows.Forms.ImeMode.On; this.grpMDClass.Location = new System.Drawing.Point(8, 0); this.grpMDClass.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003; this.grpMDClass.LookAndFeel.UseDefaultLookAndFeel = false; this.grpMDClass.LookAndFeel.UseWindowsXPTheme = false; this.grpMDClass.Name = "grpMDClass"; this.grpMDClass.Size = new System.Drawing.Size(970, 560); this.grpMDClass.TabIndex = 33; this.grpMDClass.Text = "Class"; // // btnClass_Add // this.btnClass_Add.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.btnClass_Add.Appearance.Options.UseFont = true; this.btnClass_Add.Appearance.Options.UseTextOptions = true; this.btnClass_Add.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.btnClass_Add.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top; this.btnClass_Add.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.btnClass_Add.ImageIndex = 0; this.btnClass_Add.ImageList = this.imageList1; this.btnClass_Add.ImeMode = System.Windows.Forms.ImeMode.On; this.btnClass_Add.Location = new System.Drawing.Point(8, 272); this.btnClass_Add.Name = "btnClass_Add"; this.btnClass_Add.Size = new System.Drawing.Size(38, 16); this.btnClass_Add.TabIndex = 134; this.btnClass_Add.Click += new System.EventHandler(this.btnClass_Add_Click); // // imageList1 // this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit; this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Magenta; // // btnClass_Del // this.btnClass_Del.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.btnClass_Del.Appearance.Options.UseFont = true; this.btnClass_Del.Appearance.Options.UseTextOptions = true; this.btnClass_Del.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.btnClass_Del.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top; this.btnClass_Del.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.btnClass_Del.ImageIndex = 1; this.btnClass_Del.ImageList = this.imageList1; this.btnClass_Del.Location = new System.Drawing.Point(48, 272); this.btnClass_Del.Name = "btnClass_Del"; this.btnClass_Del.Size = new System.Drawing.Size(38, 16); this.btnClass_Del.TabIndex = 133; this.btnClass_Del.Click += new System.EventHandler(this.btnClass_Del_Click); // // btn_Add // this.btn_Add.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.btn_Add.Appearance.Options.UseFont = true; this.btn_Add.Appearance.Options.UseTextOptions = true; this.btn_Add.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.btn_Add.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top; this.btn_Add.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.btn_Add.ImageIndex = 0; this.btn_Add.ImageList = this.imageList1; this.btn_Add.ImeMode = System.Windows.Forms.ImeMode.On; this.btn_Add.Location = new System.Drawing.Point(8, 24); this.btn_Add.Name = "btn_Add"; this.btn_Add.Size = new System.Drawing.Size(38, 16); this.btn_Add.TabIndex = 132; this.btn_Add.Click += new System.EventHandler(this.btn_Add_Click); // // btn_Del // this.btn_Del.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.btn_Del.Appearance.Options.UseFont = true; this.btn_Del.Appearance.Options.UseTextOptions = true; this.btn_Del.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.btn_Del.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top; this.btn_Del.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.btn_Del.ImageIndex = 1; this.btn_Del.ImageList = this.imageList1; this.btn_Del.Location = new System.Drawing.Point(48, 24); this.btn_Del.Name = "btn_Del"; this.btn_Del.Size = new System.Drawing.Size(38, 16); this.btn_Del.TabIndex = 131; this.btn_Del.Click += new System.EventHandler(this.btn_Del_Click); // // groupControl2 // this.groupControl2.Controls.Add(this.gridControlMd_ClassType); this.groupControl2.Location = new System.Drawing.Point(0, 48); this.groupControl2.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003; this.groupControl2.LookAndFeel.UseDefaultLookAndFeel = false; this.groupControl2.LookAndFeel.UseWindowsXPTheme = false; this.groupControl2.Name = "groupControl2"; this.groupControl2.Size = new System.Drawing.Size(968, 216); this.groupControl2.TabIndex = 128; this.groupControl2.Text = "Class Type"; // // gridControlMd_ClassType // this.gridControlMd_ClassType.Dock = System.Windows.Forms.DockStyle.Top; // // gridControlMd_ClassType.EmbeddedNavigator // this.gridControlMd_ClassType.EmbeddedNavigator.Name = ""; this.gridControlMd_ClassType.Location = new System.Drawing.Point(2, 20); this.gridControlMd_ClassType.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Skin; this.gridControlMd_ClassType.LookAndFeel.UseDefaultLookAndFeel = false; this.gridControlMd_ClassType.MainView = this.gridViewMd_ClassType; this.gridControlMd_ClassType.Name = "gridControlMd_ClassType"; this.gridControlMd_ClassType.Size = new System.Drawing.Size(964, 194); this.gridControlMd_ClassType.TabIndex = 126; this.gridControlMd_ClassType.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewMd_ClassType}); // // gridViewMd_ClassType // this.gridViewMd_ClassType.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn3, this.gridColumn4}); this.gridViewMd_ClassType.GridControl = this.gridControlMd_ClassType; this.gridViewMd_ClassType.Name = "gridViewMd_ClassType"; this.gridViewMd_ClassType.OptionsCustomization.AllowColumnMoving = false; this.gridViewMd_ClassType.OptionsCustomization.AllowFilter = false; this.gridViewMd_ClassType.OptionsCustomization.AllowSort = false; this.gridViewMd_ClassType.OptionsView.ShowGroupPanel = false; this.gridViewMd_ClassType.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridViewMd_ClassType_FocusedRowChanged); this.gridViewMd_ClassType.LostFocus += new System.EventHandler(this.gridViewMd_ClassType_LostFocus); // // gridColumn3 // this.gridColumn3.Caption = "Class Type Id"; this.gridColumn3.FieldName = "nClassTypeID"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 0; // // gridColumn4 // this.gridColumn4.Caption = "Description"; this.gridColumn4.FieldName = "strDescription"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 1; // // groupControl1 // this.groupControl1.Controls.Add(this.gridControlMD_Class); this.groupControl1.Location = new System.Drawing.Point(0, 296); this.groupControl1.LookAndFeel.SkinName = "The Asphalt World"; this.groupControl1.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003; this.groupControl1.LookAndFeel.UseDefaultLookAndFeel = false; this.groupControl1.LookAndFeel.UseWindowsXPTheme = false; this.groupControl1.Name = "groupControl1"; this.groupControl1.Size = new System.Drawing.Size(968, 256); this.groupControl1.TabIndex = 127; this.groupControl1.Text = "Class"; // // gridControlMD_Class // this.gridControlMD_Class.Dock = System.Windows.Forms.DockStyle.Top; // // gridControlMD_Class.EmbeddedNavigator // this.gridControlMD_Class.EmbeddedNavigator.Name = ""; this.gridControlMD_Class.Location = new System.Drawing.Point(2, 20); this.gridControlMD_Class.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Skin; this.gridControlMD_Class.LookAndFeel.UseDefaultLookAndFeel = false; this.gridControlMD_Class.MainView = this.gridViewMd_Class; this.gridControlMD_Class.Name = "gridControlMD_Class"; this.gridControlMD_Class.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.lk_RPClassType}); this.gridControlMD_Class.Size = new System.Drawing.Size(964, 250); this.gridControlMD_Class.TabIndex = 127; this.gridControlMD_Class.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewMd_Class}); // // gridViewMd_Class // this.gridViewMd_Class.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.gridColumn2}); this.gridViewMd_Class.GridControl = this.gridControlMD_Class; this.gridViewMd_Class.Name = "gridViewMd_Class"; this.gridViewMd_Class.OptionsCustomization.AllowFilter = false; this.gridViewMd_Class.OptionsCustomization.AllowSort = false; this.gridViewMd_Class.OptionsView.ShowGroupPanel = false; this.gridViewMd_Class.LostFocus += new System.EventHandler(this.gridViewMd_Class_LostFocus); // // gridColumn1 // this.gridColumn1.Caption = "Class Code"; this.gridColumn1.FieldName = "strClassCode"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; // // gridColumn2 // this.gridColumn2.Caption = "Description"; this.gridColumn2.FieldName = "strDescription"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 1; // // lk_RPClassType // this.lk_RPClassType.AutoHeight = false; this.lk_RPClassType.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lk_RPClassType.Name = "lk_RPClassType"; // // frmClass // this.AutoScale = false; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(990, 560); this.Controls.Add(this.grpMDClass); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "frmClass"; this.Text = "frmClass"; this.Load += new System.EventHandler(this.frmClass_Load); ((System.ComponentModel.ISupportInitialize)(this.grpMDClass)).EndInit(); this.grpMDClass.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit(); this.groupControl2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControlMd_ClassType)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMd_ClassType)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit(); this.groupControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControlMD_Class)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMd_Class)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lk_RPClassType)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.groupOverTime = new DevExpress.XtraEditors.GroupControl(); this.btnClear = new DevExpress.XtraEditors.SimpleButton(); this.btnViewAll = new DevExpress.XtraEditors.SimpleButton(); this.groupControl1 = new DevExpress.XtraEditors.GroupControl(); this.prevToMonth = new DevExpress.XtraEditors.ImageComboBoxEdit(); this.prevFromMonth = new DevExpress.XtraEditors.ImageComboBoxEdit(); this.btnPrevGo = new DevExpress.XtraEditors.SimpleButton(); this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.prevToYear = new DevExpress.XtraEditors.ImageComboBoxEdit(); this.prevFromYear = new DevExpress.XtraEditors.ImageComboBoxEdit(); this.cmbBranch = new DevExpress.XtraEditors.ImageComboBoxEdit(); this.label25 = new System.Windows.Forms.Label(); this.OvertimeStatus = new DevExpress.XtraEditors.ImageComboBoxEdit(); this.label151 = new System.Windows.Forms.Label(); this.gridOverTime = new DevExpress.XtraGrid.GridControl(); this.gridViewOverTime = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn69 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn62 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn63 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.btnApprove = new DevExpress.XtraEditors.SimpleButton(); this.btnReject = new DevExpress.XtraEditors.SimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.groupOverTime)).BeginInit(); this.groupOverTime.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit(); this.groupControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.prevToMonth.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.prevFromMonth.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.prevToYear.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.prevFromYear.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cmbBranch.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.OvertimeStatus.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridOverTime)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewOverTime)).BeginInit(); this.SuspendLayout(); // // groupOverTime // this.groupOverTime.Appearance.BackColor = System.Drawing.SystemColors.Control; this.groupOverTime.Appearance.Options.UseBackColor = true; this.groupOverTime.Controls.Add(this.btnClear); this.groupOverTime.Controls.Add(this.btnViewAll); this.groupOverTime.Controls.Add(this.groupControl1); this.groupOverTime.Controls.Add(this.cmbBranch); this.groupOverTime.Controls.Add(this.label25); this.groupOverTime.Controls.Add(this.OvertimeStatus); this.groupOverTime.Controls.Add(this.label151); this.groupOverTime.Controls.Add(this.gridOverTime); this.groupOverTime.Controls.Add(this.btnApprove); this.groupOverTime.Controls.Add(this.btnReject); this.groupOverTime.Dock = System.Windows.Forms.DockStyle.Fill; this.groupOverTime.Location = new System.Drawing.Point(0, 0); this.groupOverTime.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003; this.groupOverTime.LookAndFeel.UseDefaultLookAndFeel = false; this.groupOverTime.Name = "groupOverTime"; this.groupOverTime.Size = new System.Drawing.Size(992, 568); this.groupOverTime.TabIndex = 27; this.groupOverTime.Text = "Public Holiday"; // // btnClear // this.btnClear.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnClear.Appearance.Options.UseFont = true; this.btnClear.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple; this.btnClear.Location = new System.Drawing.Point(702, 88); this.btnClear.Name = "btnClear"; this.btnClear.Size = new System.Drawing.Size(112, 20); this.btnClear.TabIndex = 183; this.btnClear.Text = "Clear OT Balance"; this.btnClear.Visible = false; this.btnClear.Click += new System.EventHandler(this.btnClear_Click); // // btnViewAll // this.btnViewAll.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnViewAll.Appearance.Options.UseFont = true; this.btnViewAll.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple; this.btnViewAll.Location = new System.Drawing.Point(464, 88); this.btnViewAll.Name = "btnViewAll"; this.btnViewAll.Size = new System.Drawing.Size(72, 20); this.btnViewAll.TabIndex = 182; this.btnViewAll.Text = "View All"; this.btnViewAll.Click += new System.EventHandler(this.btnViewAll_Click); // // groupControl1 // this.groupControl1.Controls.Add(this.prevToMonth); this.groupControl1.Controls.Add(this.prevFromMonth); this.groupControl1.Controls.Add(this.btnPrevGo); this.groupControl1.Controls.Add(this.label5); this.groupControl1.Controls.Add(this.label4); this.groupControl1.Controls.Add(this.prevToYear); this.groupControl1.Controls.Add(this.prevFromYear); this.groupControl1.Location = new System.Drawing.Point(16, 32); this.groupControl1.LookAndFeel.UseDefaultLookAndFeel = false; this.groupControl1.Name = "groupControl1"; this.groupControl1.Size = new System.Drawing.Size(560, 48); this.groupControl1.TabIndex = 181; // // prevToMonth // this.prevToMonth.Location = new System.Drawing.Point(272, 16); this.prevToMonth.Name = "prevToMonth"; this.prevToMonth.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.prevToMonth.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] { new DevExpress.XtraEditors.Controls.ImageComboBoxItem("January", 1, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("February", 2, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("March", 3, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("April", 4, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("May", 5, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("June", 6, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("July", 7, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("August", 8, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("September", 9, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("October", 10, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("November", 11, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("December", 12, -1) }); this.prevToMonth.Size = new System.Drawing.Size(72, 20); this.prevToMonth.TabIndex = 56; // // prevFromMonth // this.prevFromMonth.Location = new System.Drawing.Point(64, 16); this.prevFromMonth.Name = "prevFromMonth"; this.prevFromMonth.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.prevFromMonth.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] { new DevExpress.XtraEditors.Controls.ImageComboBoxItem("January", 1, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("February", 2, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("March", 3, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("April", 4, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("May", 5, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("June", 6, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("July", 7, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("August", 8, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("September", 9, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("October", 10, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("November", 11, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("December", 12, -1) }); this.prevFromMonth.Size = new System.Drawing.Size(72, 20); this.prevFromMonth.TabIndex = 55; // // btnPrevGo // this.btnPrevGo.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPrevGo.Appearance.Options.UseFont = true; this.btnPrevGo.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple; this.btnPrevGo.Location = new System.Drawing.Point(448, 16); this.btnPrevGo.Name = "btnPrevGo"; this.btnPrevGo.Size = new System.Drawing.Size(72, 20); this.btnPrevGo.TabIndex = 54; this.btnPrevGo.Text = "Go"; this.btnPrevGo.Click += new System.EventHandler(this.btnPrevGo_Click); // // label5 // this.label5.BackColor = System.Drawing.Color.Transparent; this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.Location = new System.Drawing.Point(240, 16); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(24, 16); this.label5.TabIndex = 53; this.label5.Text = "To"; // // label4 // this.label4.BackColor = System.Drawing.Color.Transparent; this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.Location = new System.Drawing.Point(16, 16); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(48, 16); this.label4.TabIndex = 52; this.label4.Text = "From"; // // prevToYear // this.prevToYear.EditValue = "cbGIROStatus"; this.prevToYear.Location = new System.Drawing.Point(352, 16); this.prevToYear.Name = "prevToYear"; this.prevToYear.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.prevToYear.Properties.LookAndFeel.UseDefaultLookAndFeel = false; this.prevToYear.Size = new System.Drawing.Size(80, 20); this.prevToYear.TabIndex = 51; // // prevFromYear // this.prevFromYear.EditValue = "cbGIROStatus"; this.prevFromYear.Location = new System.Drawing.Point(144, 16); this.prevFromYear.Name = "prevFromYear"; this.prevFromYear.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.prevFromYear.Properties.LookAndFeel.UseDefaultLookAndFeel = false; this.prevFromYear.Size = new System.Drawing.Size(72, 20); this.prevFromYear.TabIndex = 50; // // cmbBranch // this.cmbBranch.Location = new System.Drawing.Point(288, 88); this.cmbBranch.Name = "cmbBranch"; this.cmbBranch.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.cmbBranch.Size = new System.Drawing.Size(120, 20); this.cmbBranch.TabIndex = 179; this.cmbBranch.SelectedValueChanged += new System.EventHandler(this.cmbBranch_SelectedValueChanged); // // label25 // this.label25.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label25.ForeColor = System.Drawing.Color.Black; this.label25.Location = new System.Drawing.Point(224, 88); this.label25.Name = "label25"; this.label25.Size = new System.Drawing.Size(56, 16); this.label25.TabIndex = 174; this.label25.Text = "Branch"; // // OvertimeStatus // this.OvertimeStatus.EditValue = 0; this.OvertimeStatus.Location = new System.Drawing.Point(80, 88); this.OvertimeStatus.Name = "OvertimeStatus"; this.OvertimeStatus.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.OvertimeStatus.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] { new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Pending", 0, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Approved", 1, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Rejected", 2, -1) }); this.OvertimeStatus.Size = new System.Drawing.Size(128, 20); this.OvertimeStatus.TabIndex = 124; this.OvertimeStatus.SelectedValueChanged += new System.EventHandler(this.OvertimeStatus_SelectedValueChanged); // // label151 // this.label151.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label151.ForeColor = System.Drawing.Color.Black; this.label151.Location = new System.Drawing.Point(24, 88); this.label151.Name = "label151"; this.label151.Size = new System.Drawing.Size(56, 16); this.label151.TabIndex = 19; this.label151.Text = "Status"; // // gridOverTime // this.gridOverTime.Dock = System.Windows.Forms.DockStyle.Bottom; this.gridOverTime.Location = new System.Drawing.Point(2, 118); this.gridOverTime.LookAndFeel.UseDefaultLookAndFeel = false; this.gridOverTime.MainView = this.gridViewOverTime; this.gridOverTime.Name = "gridOverTime"; this.gridOverTime.Size = new System.Drawing.Size(988, 448); this.gridOverTime.TabIndex = 12; this.gridOverTime.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewOverTime }); // // gridViewOverTime // this.gridViewOverTime.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn69, this.gridColumn62, this.gridColumn63, this.gridColumn2, this.gridColumn3, this.gridColumn4 }); this.gridViewOverTime.GridControl = this.gridOverTime; this.gridViewOverTime.Name = "gridViewOverTime"; this.gridViewOverTime.OptionsBehavior.Editable = false; this.gridViewOverTime.OptionsCustomization.AllowFilter = false; this.gridViewOverTime.OptionsCustomization.AllowSort = false; this.gridViewOverTime.OptionsView.ColumnAutoWidth = false; this.gridViewOverTime.OptionsView.ShowGroupPanel = false; // // gridColumn69 // this.gridColumn69.Caption = "Date"; this.gridColumn69.DisplayFormat.FormatString = "dd/MM/yyyy"; this.gridColumn69.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.gridColumn69.FieldName = "dtDate"; this.gridColumn69.GroupFormat.FormatString = "dd/MM/yyyy"; this.gridColumn69.GroupFormat.FormatType = DevExpress.Utils.FormatType.Custom; this.gridColumn69.Name = "gridColumn69"; this.gridColumn69.Visible = true; this.gridColumn69.VisibleIndex = 0; this.gridColumn69.Width = 74; // // gridColumn62 // this.gridColumn62.Caption = "Employee Id"; this.gridColumn62.FieldName = "nEmployeeID"; this.gridColumn62.Name = "gridColumn62"; this.gridColumn62.Visible = true; this.gridColumn62.VisibleIndex = 1; this.gridColumn62.Width = 84; // // gridColumn63 // this.gridColumn63.Caption = "Name"; this.gridColumn63.FieldName = "strEmployeeName"; this.gridColumn63.Name = "gridColumn63"; this.gridColumn63.Visible = true; this.gridColumn63.VisibleIndex = 2; this.gridColumn63.Width = 148; // // gridColumn2 // this.gridColumn2.Caption = "Reason"; this.gridColumn2.FieldName = "strReason"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 7; this.gridColumn2.Width = 109; // // gridColumn3 // this.gridColumn3.Caption = "Approving Manager"; this.gridColumn3.FieldName = "strManagerName"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 4; this.gridColumn3.Width = 106; // // gridColumn4 // this.gridColumn4.Caption = "Status"; this.gridColumn4.FieldName = "OvertimeStatus"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 9; this.gridColumn4.Width = 81; // // btnApprove // this.btnApprove.Appearance.BackColor = System.Drawing.SystemColors.Control; this.btnApprove.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnApprove.Appearance.Options.UseBackColor = true; this.btnApprove.Appearance.Options.UseFont = true; this.btnApprove.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple; this.btnApprove.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.btnApprove.Location = new System.Drawing.Point(544, 88); this.btnApprove.Name = "btnApprove"; this.btnApprove.Size = new System.Drawing.Size(72, 20); this.btnApprove.TabIndex = 123; this.btnApprove.Text = "Approve"; this.btnApprove.Click += new System.EventHandler(this.btnApprove_Click); // // btnReject // this.btnReject.Appearance.BackColor = System.Drawing.SystemColors.Control; this.btnReject.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnReject.Appearance.Options.UseBackColor = true; this.btnReject.Appearance.Options.UseFont = true; this.btnReject.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple; this.btnReject.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.btnReject.Location = new System.Drawing.Point(624, 88); this.btnReject.Name = "btnReject"; this.btnReject.Size = new System.Drawing.Size(72, 20); this.btnReject.TabIndex = 124; this.btnReject.Text = "Reject"; this.btnReject.Click += new System.EventHandler(this.btnReject_Click); // // frmPHMain // this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(992, 568); this.Controls.Add(this.groupOverTime); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "frmPHMain"; this.Text = "frmPHMain"; this.Load += new System.EventHandler(this.frmPHMain_Load); ((System.ComponentModel.ISupportInitialize)(this.groupOverTime)).EndInit(); this.groupOverTime.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit(); this.groupControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.prevToMonth.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.prevFromMonth.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.prevToYear.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.prevFromYear.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cmbBranch.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.OvertimeStatus.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridOverTime)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewOverTime)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.gridControlData = new DevExpress.XtraGrid.GridControl(); this.LSMS = new DevExpress.Data.Linq.LinqServerModeSource(); this.gridViewData = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colMMashatNId = new DevExpress.XtraGrid.Columns.GridColumn(); this.colMMashatName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colsarfnumber = new DevExpress.XtraGrid.Columns.GridColumn(); this.coldatein = new DevExpress.XtraGrid.Columns.GridColumn(); this.colyasref = new DevExpress.XtraGrid.Columns.GridColumn(); this.colRealName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSubCommitte = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSyndicate = new DevExpress.XtraGrid.Columns.GridColumn(); this.colEndworkReson = new DevExpress.XtraGrid.Columns.GridColumn(); this.colfiledate = new DevExpress.XtraGrid.Columns.GridColumn(); this.colMashHala = new DevExpress.XtraGrid.Columns.GridColumn(); this.colMMashataddres = new DevExpress.XtraGrid.Columns.GridColumn(); this.colMMashatMobil = new DevExpress.XtraGrid.Columns.GridColumn(); this.colWorkeEndDate = new DevExpress.XtraGrid.Columns.GridColumn(); this.colKideNumber = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSyndicateId = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSubCommitteId = new DevExpress.XtraGrid.Columns.GridColumn(); this.colMMashatId = new DevExpress.XtraGrid.Columns.GridColumn(); this.colvisa = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemDateEditDate = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); this.repositoryItemPictureEditImg = new DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit(); this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.repositoryItemDateEditDMY = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.btnPrintExport = new DevExpress.XtraEditors.SimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.LSMS)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDate)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDate.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPictureEditImg)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); this.SuspendLayout(); // // gridControlData // this.gridControlData.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.gridControlData.DataSource = this.LSMS; this.gridControlData.EmbeddedNavigator.Buttons.CancelEdit.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.Edit.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.EndEdit.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.Remove.Visible = false; this.gridControlData.EmbeddedNavigator.TextStringFormat = "صف {0} من {1}"; this.gridControlData.Location = new System.Drawing.Point(0, 53); this.gridControlData.MainView = this.gridViewData; this.gridControlData.Name = "gridControlData"; this.gridControlData.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemDateEditDate, this.repositoryItemPictureEditImg, this.repositoryItemCheckEdit1, this.repositoryItemDateEditDMY}); this.gridControlData.Size = new System.Drawing.Size(734, 406); this.gridControlData.TabIndex = 1; this.gridControlData.UseEmbeddedNavigator = true; this.gridControlData.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewData}); // // LSMS // this.LSMS.ElementType = typeof(RetirementCenter.DataSources.Linq.vTBLMashat); this.LSMS.KeyExpression = "MMashatId"; // // gridViewData // this.gridViewData.Appearance.ColumnFilterButton.BackColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.ColumnFilterButton.BorderColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.ColumnFilterButton.ForeColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.ColumnFilterButton.Options.UseBackColor = true; this.gridViewData.Appearance.ColumnFilterButton.Options.UseBorderColor = true; this.gridViewData.Appearance.ColumnFilterButton.Options.UseForeColor = true; this.gridViewData.Appearance.ColumnFilterButtonActive.BackColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.ColumnFilterButtonActive.BorderColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.ColumnFilterButtonActive.ForeColor = System.Drawing.Color.Gainsboro; this.gridViewData.Appearance.ColumnFilterButtonActive.Options.UseBackColor = true; this.gridViewData.Appearance.ColumnFilterButtonActive.Options.UseBorderColor = true; this.gridViewData.Appearance.ColumnFilterButtonActive.Options.UseForeColor = true; this.gridViewData.Appearance.Empty.BackColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.Empty.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.BackwardDiagonal; this.gridViewData.Appearance.Empty.Options.UseBackColor = true; this.gridViewData.Appearance.EvenRow.BackColor = System.Drawing.Color.White; this.gridViewData.Appearance.EvenRow.Options.UseBackColor = true; this.gridViewData.Appearance.FilterCloseButton.BackColor = System.Drawing.Color.Gray; this.gridViewData.Appearance.FilterCloseButton.BorderColor = System.Drawing.Color.Gray; this.gridViewData.Appearance.FilterCloseButton.Options.UseBackColor = true; this.gridViewData.Appearance.FilterCloseButton.Options.UseBorderColor = true; this.gridViewData.Appearance.FilterPanel.BackColor = System.Drawing.Color.Gray; this.gridViewData.Appearance.FilterPanel.ForeColor = System.Drawing.Color.Black; this.gridViewData.Appearance.FilterPanel.Options.UseBackColor = true; this.gridViewData.Appearance.FilterPanel.Options.UseForeColor = true; this.gridViewData.Appearance.FocusedRow.BackColor = System.Drawing.Color.Black; this.gridViewData.Appearance.FocusedRow.ForeColor = System.Drawing.Color.White; this.gridViewData.Appearance.FocusedRow.Options.UseBackColor = true; this.gridViewData.Appearance.FocusedRow.Options.UseForeColor = true; this.gridViewData.Appearance.FooterPanel.BackColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.FooterPanel.BorderColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.FooterPanel.Options.UseBackColor = true; this.gridViewData.Appearance.FooterPanel.Options.UseBorderColor = true; this.gridViewData.Appearance.FooterPanel.Options.UseTextOptions = true; this.gridViewData.Appearance.FooterPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewData.Appearance.GroupButton.BackColor = System.Drawing.Color.Silver; this.gridViewData.Appearance.GroupButton.BorderColor = System.Drawing.Color.Silver; this.gridViewData.Appearance.GroupButton.Options.UseBackColor = true; this.gridViewData.Appearance.GroupButton.Options.UseBorderColor = true; this.gridViewData.Appearance.GroupFooter.BackColor = System.Drawing.Color.Silver; this.gridViewData.Appearance.GroupFooter.BorderColor = System.Drawing.Color.Silver; this.gridViewData.Appearance.GroupFooter.Options.UseBackColor = true; this.gridViewData.Appearance.GroupFooter.Options.UseBorderColor = true; this.gridViewData.Appearance.GroupPanel.BackColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.GroupPanel.ForeColor = System.Drawing.Color.Gray; this.gridViewData.Appearance.GroupPanel.Options.UseBackColor = true; this.gridViewData.Appearance.GroupPanel.Options.UseForeColor = true; this.gridViewData.Appearance.GroupRow.BackColor = System.Drawing.Color.Silver; this.gridViewData.Appearance.GroupRow.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.gridViewData.Appearance.GroupRow.Options.UseBackColor = true; this.gridViewData.Appearance.GroupRow.Options.UseFont = true; this.gridViewData.Appearance.HeaderPanel.BackColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.HeaderPanel.BorderColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.HeaderPanel.Options.UseBackColor = true; this.gridViewData.Appearance.HeaderPanel.Options.UseBorderColor = true; this.gridViewData.Appearance.HideSelectionRow.BackColor = System.Drawing.Color.LightSlateGray; this.gridViewData.Appearance.HideSelectionRow.Options.UseBackColor = true; this.gridViewData.Appearance.HorzLine.BackColor = System.Drawing.Color.LightGray; this.gridViewData.Appearance.HorzLine.Options.UseBackColor = true; this.gridViewData.Appearance.OddRow.BackColor = System.Drawing.Color.WhiteSmoke; this.gridViewData.Appearance.OddRow.Options.UseBackColor = true; this.gridViewData.Appearance.Preview.BackColor = System.Drawing.Color.Gainsboro; this.gridViewData.Appearance.Preview.ForeColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.Preview.Options.UseBackColor = true; this.gridViewData.Appearance.Preview.Options.UseForeColor = true; this.gridViewData.Appearance.Row.BackColor = System.Drawing.Color.White; this.gridViewData.Appearance.Row.Options.UseBackColor = true; this.gridViewData.Appearance.RowSeparator.BackColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.RowSeparator.Options.UseBackColor = true; this.gridViewData.Appearance.SelectedRow.BackColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.SelectedRow.Options.UseBackColor = true; this.gridViewData.Appearance.VertLine.BackColor = System.Drawing.Color.LightGray; this.gridViewData.Appearance.VertLine.Options.UseBackColor = true; this.gridViewData.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colMMashatNId, this.colMMashatName, this.colsarfnumber, this.coldatein, this.colyasref, this.colRealName, this.colSubCommitte, this.colSyndicate, this.colEndworkReson, this.colfiledate, this.colMashHala, this.colMMashataddres, this.colMMashatMobil, this.colWorkeEndDate, this.colKideNumber, this.colSyndicateId, this.colSubCommitteId, this.colMMashatId, this.colvisa}); this.gridViewData.GridControl = this.gridControlData; this.gridViewData.Name = "gridViewData"; this.gridViewData.OptionsCustomization.AllowRowSizing = true; this.gridViewData.OptionsFind.AlwaysVisible = true; this.gridViewData.OptionsPrint.EnableAppearanceEvenRow = true; this.gridViewData.OptionsPrint.EnableAppearanceOddRow = true; this.gridViewData.OptionsView.ColumnAutoWidth = false; this.gridViewData.OptionsView.EnableAppearanceEvenRow = true; this.gridViewData.OptionsView.EnableAppearanceOddRow = true; this.gridViewData.OptionsView.ShowAutoFilterRow = true; this.gridViewData.OptionsView.ShowFooter = true; // // colMMashatNId // this.colMMashatNId.AppearanceCell.Options.UseTextOptions = true; this.colMMashatNId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashatNId.AppearanceHeader.Options.UseTextOptions = true; this.colMMashatNId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashatNId.Caption = "الرقم القومي"; this.colMMashatNId.FieldName = "MMashatNId"; this.colMMashatNId.Name = "colMMashatNId"; this.colMMashatNId.Visible = true; this.colMMashatNId.VisibleIndex = 2; this.colMMashatNId.Width = 80; // // colMMashatName // this.colMMashatName.AppearanceCell.Options.UseTextOptions = true; this.colMMashatName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashatName.AppearanceHeader.Options.UseTextOptions = true; this.colMMashatName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashatName.Caption = "الاسم"; this.colMMashatName.FieldName = "MMashatName"; this.colMMashatName.Name = "colMMashatName"; this.colMMashatName.Visible = true; this.colMMashatName.VisibleIndex = 1; // // colsarfnumber // this.colsarfnumber.AppearanceCell.Options.UseTextOptions = true; this.colsarfnumber.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colsarfnumber.AppearanceHeader.Options.UseTextOptions = true; this.colsarfnumber.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colsarfnumber.Caption = "رقم الصرف"; this.colsarfnumber.FieldName = "sarfnumber"; this.colsarfnumber.Name = "colsarfnumber"; this.colsarfnumber.Visible = true; this.colsarfnumber.VisibleIndex = 3; // // coldatein // this.coldatein.AppearanceCell.Options.UseTextOptions = true; this.coldatein.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.coldatein.AppearanceHeader.Options.UseTextOptions = true; this.coldatein.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.coldatein.Caption = "تاريخ الادخال"; this.coldatein.FieldName = "datein"; this.coldatein.Name = "coldatein"; this.coldatein.Visible = true; this.coldatein.VisibleIndex = 4; // // colyasref // this.colyasref.AppearanceCell.Options.UseTextOptions = true; this.colyasref.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colyasref.AppearanceHeader.Options.UseTextOptions = true; this.colyasref.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colyasref.Caption = "يصرف"; this.colyasref.FieldName = "yasref"; this.colyasref.Name = "colyasref"; this.colyasref.Visible = true; this.colyasref.VisibleIndex = 5; this.colyasref.Width = 42; // // colRealName // this.colRealName.AppearanceCell.Options.UseTextOptions = true; this.colRealName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colRealName.AppearanceHeader.Options.UseTextOptions = true; this.colRealName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colRealName.Caption = "مدخل البيان"; this.colRealName.FieldName = "RealName"; this.colRealName.Name = "colRealName"; this.colRealName.Visible = true; this.colRealName.VisibleIndex = 6; // // colSubCommitte // this.colSubCommitte.AppearanceCell.Options.UseTextOptions = true; this.colSubCommitte.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSubCommitte.AppearanceHeader.Options.UseTextOptions = true; this.colSubCommitte.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSubCommitte.Caption = "الجنة"; this.colSubCommitte.FieldName = "SubCommitte"; this.colSubCommitte.Name = "colSubCommitte"; this.colSubCommitte.Visible = true; this.colSubCommitte.VisibleIndex = 7; // // colSyndicate // this.colSyndicate.AppearanceCell.Options.UseTextOptions = true; this.colSyndicate.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSyndicate.AppearanceHeader.Options.UseTextOptions = true; this.colSyndicate.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSyndicate.Caption = "الفرعية"; this.colSyndicate.FieldName = "Syndicate"; this.colSyndicate.Name = "colSyndicate"; this.colSyndicate.Visible = true; this.colSyndicate.VisibleIndex = 8; // // colEndworkReson // this.colEndworkReson.AppearanceCell.Options.UseTextOptions = true; this.colEndworkReson.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEndworkReson.AppearanceHeader.Options.UseTextOptions = true; this.colEndworkReson.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEndworkReson.Caption = "سبب نهاية العمل"; this.colEndworkReson.FieldName = "EndworkReson"; this.colEndworkReson.Name = "colEndworkReson"; this.colEndworkReson.Visible = true; this.colEndworkReson.VisibleIndex = 9; this.colEndworkReson.Width = 98; // // colfiledate // this.colfiledate.AppearanceCell.Options.UseTextOptions = true; this.colfiledate.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colfiledate.AppearanceHeader.Options.UseTextOptions = true; this.colfiledate.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colfiledate.Caption = "تاريخ ورود الملف"; this.colfiledate.FieldName = "filedate"; this.colfiledate.Name = "colfiledate"; this.colfiledate.Visible = true; this.colfiledate.VisibleIndex = 10; this.colfiledate.Width = 92; // // colMashHala // this.colMashHala.AppearanceCell.Options.UseTextOptions = true; this.colMashHala.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMashHala.AppearanceHeader.Options.UseTextOptions = true; this.colMashHala.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMashHala.Caption = "الحالة"; this.colMashHala.FieldName = "MashHala"; this.colMashHala.Name = "colMashHala"; this.colMashHala.Visible = true; this.colMashHala.VisibleIndex = 11; // // colMMashataddres // this.colMMashataddres.AppearanceCell.Options.UseTextOptions = true; this.colMMashataddres.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashataddres.AppearanceHeader.Options.UseTextOptions = true; this.colMMashataddres.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashataddres.Caption = "العنوان"; this.colMMashataddres.FieldName = "MMashataddres"; this.colMMashataddres.Name = "colMMashataddres"; this.colMMashataddres.Visible = true; this.colMMashataddres.VisibleIndex = 12; // // colMMashatMobil // this.colMMashatMobil.AppearanceCell.Options.UseTextOptions = true; this.colMMashatMobil.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashatMobil.AppearanceHeader.Options.UseTextOptions = true; this.colMMashatMobil.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashatMobil.Caption = "الموبيل"; this.colMMashatMobil.FieldName = "MMashatMobil"; this.colMMashatMobil.Name = "colMMashatMobil"; this.colMMashatMobil.Visible = true; this.colMMashatMobil.VisibleIndex = 13; // // colWorkeEndDate // this.colWorkeEndDate.AppearanceCell.Options.UseTextOptions = true; this.colWorkeEndDate.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colWorkeEndDate.AppearanceHeader.Options.UseTextOptions = true; this.colWorkeEndDate.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colWorkeEndDate.Caption = "تاريخ نهاية العمل"; this.colWorkeEndDate.FieldName = "WorkeEndDate"; this.colWorkeEndDate.Name = "colWorkeEndDate"; this.colWorkeEndDate.Visible = true; this.colWorkeEndDate.VisibleIndex = 14; this.colWorkeEndDate.Width = 94; // // colKideNumber // this.colKideNumber.AppearanceCell.Options.UseTextOptions = true; this.colKideNumber.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colKideNumber.AppearanceHeader.Options.UseTextOptions = true; this.colKideNumber.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colKideNumber.Caption = "رقم القيد"; this.colKideNumber.FieldName = "KideNumber"; this.colKideNumber.Name = "colKideNumber"; this.colKideNumber.Visible = true; this.colKideNumber.VisibleIndex = 15; // // colSyndicateId // this.colSyndicateId.AppearanceCell.Options.UseTextOptions = true; this.colSyndicateId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSyndicateId.AppearanceHeader.Options.UseTextOptions = true; this.colSyndicateId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSyndicateId.Caption = "كود الفرعية"; this.colSyndicateId.FieldName = "SyndicateId"; this.colSyndicateId.Name = "colSyndicateId"; this.colSyndicateId.Visible = true; this.colSyndicateId.VisibleIndex = 17; // // colSubCommitteId // this.colSubCommitteId.AppearanceCell.Options.UseTextOptions = true; this.colSubCommitteId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSubCommitteId.AppearanceHeader.Options.UseTextOptions = true; this.colSubCommitteId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSubCommitteId.Caption = "كود اللجنة"; this.colSubCommitteId.FieldName = "SubCommitteId"; this.colSubCommitteId.Name = "colSubCommitteId"; this.colSubCommitteId.Visible = true; this.colSubCommitteId.VisibleIndex = 18; // // colMMashatId // this.colMMashatId.AppearanceCell.Options.UseTextOptions = true; this.colMMashatId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashatId.AppearanceHeader.Options.UseTextOptions = true; this.colMMashatId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashatId.Caption = "كود"; this.colMMashatId.FieldName = "MMashatId"; this.colMMashatId.Name = "colMMashatId"; this.colMMashatId.Visible = true; this.colMMashatId.VisibleIndex = 16; // // colvisa // this.colvisa.AppearanceCell.Options.UseTextOptions = true; this.colvisa.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colvisa.AppearanceHeader.Options.UseTextOptions = true; this.colvisa.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colvisa.Caption = "فيزا"; this.colvisa.FieldName = "visa"; this.colvisa.Name = "colvisa"; this.colvisa.Visible = true; this.colvisa.VisibleIndex = 0; // // repositoryItemDateEditDate // this.repositoryItemDateEditDate.AutoHeight = false; this.repositoryItemDateEditDate.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemDateEditDate.DisplayFormat.FormatString = "u"; this.repositoryItemDateEditDate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.repositoryItemDateEditDate.Mask.EditMask = "u"; this.repositoryItemDateEditDate.Name = "repositoryItemDateEditDate"; this.repositoryItemDateEditDate.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); // // repositoryItemPictureEditImg // this.repositoryItemPictureEditImg.Name = "repositoryItemPictureEditImg"; // // repositoryItemCheckEdit1 // this.repositoryItemCheckEdit1.AutoHeight = false; this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1"; // // repositoryItemDateEditDMY // this.repositoryItemDateEditDMY.AutoHeight = false; this.repositoryItemDateEditDMY.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemDateEditDMY.DisplayFormat.FormatString = "dd/MM/yyyy"; this.repositoryItemDateEditDMY.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.repositoryItemDateEditDMY.EditFormat.FormatString = "dd/MM/yyyy"; this.repositoryItemDateEditDMY.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.repositoryItemDateEditDMY.Mask.EditMask = "dd/MM/yyyy"; this.repositoryItemDateEditDMY.Name = "repositoryItemDateEditDMY"; this.repositoryItemDateEditDMY.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); // // panelControl1 // this.panelControl1.Controls.Add(this.btnPrintExport); this.panelControl1.Dock = System.Windows.Forms.DockStyle.Top; this.panelControl1.Location = new System.Drawing.Point(0, 0); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(734, 47); this.panelControl1.TabIndex = 3; // // btnPrintExport // this.btnPrintExport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnPrintExport.Location = new System.Drawing.Point(588, 12); this.btnPrintExport.Name = "btnPrintExport"; this.btnPrintExport.Size = new System.Drawing.Size(134, 23); this.btnPrintExport.TabIndex = 0; this.btnPrintExport.Text = "طباعه و تصدير"; this.btnPrintExport.Visible = false; this.btnPrintExport.Click += new System.EventHandler(this.btnPrintExport_Click); // // Qry04Frm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(734, 462); this.Controls.Add(this.panelControl1); this.Controls.Add(this.gridControlData); this.Name = "Qry04Frm"; this.Text = " الاعضاء"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.QryTblAhteatyFrm_Load); ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.LSMS)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDate.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDate)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPictureEditImg)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); this.ResumeLayout(false); }
public void load(DevExpress.XtraGrid.Views.Grid.GridView view) { byte[] byteArray = Encoding.ASCII.GetBytes(layout); System.IO.MemoryStream stream = new System.IO.MemoryStream(byteArray); view.RestoreLayoutFromStream(stream); }
/// <summary> /// 显示所有轮胎信息 /// </summary> public void ShowOtherMainData(string paramName, string mainId = "", string paramId = "", string paramValue = "") { string tableName = string.Empty; string field1Name = string.Empty; string field2Name = string.Empty; XtraTabPage selectedPage = null; LabelControl selectedLbl = null; DevExpress.XtraGrid.GridControl selectGc = null; DevExpress.XtraGrid.Views.Grid.GridView selectGv = null; try { switch (paramName) { case "LTGG": tableName = "MAIN_LTGG"; field1Name = "LTGG_ID"; field2Name = "LTGG"; selectedPage = tpLtgg; selectedLbl = lblLtggSum; selectGc = gcLtgg; selectGv = gvLtgg; break; case "LJ": tableName = "MAIN_LJ"; field1Name = "LJ_ID"; field2Name = "LJ"; selectedPage = tpLj; selectedLbl = lblLjSum; selectGc = gcLj; selectGv = gvLj; break; case "ZCZBZL": tableName = "MAIN_ZCZBZL"; field1Name = "ZCZBZL_ID"; field2Name = "ZCZBZL"; selectedPage = tpZczbzl; selectedLbl = lblZbSum; selectGc = gcZb; selectGv = gvZb; break; default: break; } // 获取本地轮胎信息信息 string sql = string.Format(@"SELECT * FROM {0} WHERE 1=1", tableName); string sqlOrder = string.Format(@" ORDER BY MAIN_ID,{0},{1}", field1Name, field2Name); string sw = ""; if (!string.IsNullOrEmpty(mainId)) { sw += " AND (MAIN_ID LIKE '%" + mainId + "%')"; } if (!string.IsNullOrEmpty(paramId)) { sw += string.Format(@" AND ({0} LIKE '%{1}%')", field1Name, paramId); } if (!string.IsNullOrEmpty(paramValue)) { sw += string.Format(@" AND ({0} LIKE '%{1}%')", field2Name, paramValue); } DataSet ds = AccessHelper.ExecuteDataSet(AccessHelper.conn, sql + sw + sqlOrder, null); DataTable dt = ds.Tables[0]; dt.Columns.Add("check", System.Type.GetType("System.Boolean")); selectGc.DataSource = dt; selectGv.BestFitColumns(); Utils.SelectItem(selectGv, false); selectedLbl.Text = string.Format("共{0}条", dt.Rows.Count); btnRLDCExport.SelectedTabPage = selectedPage; } catch (Exception ex) { MessageBox.Show("查询出现错误:" + ex.Message); } }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode2 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode3 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode4 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode5 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode6 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode7 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode8 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode9 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode10 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode11 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode12 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode13 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode14 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode15 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode16 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode17 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode18 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode19 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode20 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode21 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode22 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode23 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode24 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode25 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode26 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode27 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode28 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode29 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode30 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode31 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode32 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode33 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode34 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode35 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode36 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode37 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode38 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode39 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode40 = new DevExpress.XtraGrid.GridLevelNode(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); DevExpress.XtraPrinting.BarCode.QRCodeGenerator qrCodeGenerator1 = new DevExpress.XtraPrinting.BarCode.QRCodeGenerator(); DevExpress.XtraPrinting.BarCode.Code39Generator code39Generator1 = new DevExpress.XtraPrinting.BarCode.Code39Generator(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.qCSampleMixBindingSource = new System.Windows.Forms.BindingSource(this.components); this.cardView1 = new DevExpress.XtraGrid.Views.Card.CardView(); this.colZyDanHao = new DevExpress.XtraGrid.Columns.GridColumn(); this.colCardID = new DevExpress.XtraGrid.Columns.GridColumn(); this.printDocument1 = new System.Drawing.Printing.PrintDocument(); this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); this.printDialog1 = new System.Windows.Forms.PrintDialog(); this.barCodeControl1 = new DevExpress.XtraEditors.BarCodeControl(); this.button1 = new System.Windows.Forms.Button(); this.panel1 = new System.Windows.Forms.Panel(); this.label11 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.panel3 = new System.Windows.Forms.Panel(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.panel4 = new System.Windows.Forms.Panel(); this.label6 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.panel5 = new System.Windows.Forms.Panel(); this.label8 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.panel6 = new System.Windows.Forms.Panel(); this.button2 = new System.Windows.Forms.Button(); this.gridSplitContainer1 = new DevExpress.XtraGrid.GridSplitContainer(); this.barCodeControl2 = new DevExpress.XtraEditors.BarCodeControl(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.qCSampleMixBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cardView1)).BeginInit(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.panel3.SuspendLayout(); this.panel4.SuspendLayout(); this.panel5.SuspendLayout(); this.panel6.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridSplitContainer1)).BeginInit(); this.gridSplitContainer1.SuspendLayout(); this.SuspendLayout(); // // gridView1 // this.gridView1.GridControl = this.gridControl1; this.gridView1.Name = "gridView1"; this.gridView1.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Never; // // gridControl1 // this.gridControl1.DataSource = this.qCSampleMixBindingSource; this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill; gridLevelNode1.RelationName = "AddCheckItems"; gridLevelNode2.RelationName = "VehSamples"; gridLevelNode3.RelationName = "CheckItems"; gridLevelNode4.LevelTemplate = this.gridView1; gridLevelNode4.RelationName = "CheckVals"; gridLevelNode6.RelationName = "AddCheckItems"; gridLevelNode7.RelationName = "VehSamples"; gridLevelNode8.RelationName = "CheckItems"; gridLevelNode9.RelationName = "CheckVals"; gridLevelNode11.RelationName = "AddCheckItems"; gridLevelNode12.RelationName = "VehSamples"; gridLevelNode13.RelationName = "CheckItems"; gridLevelNode14.RelationName = "CheckVals"; gridLevelNode16.RelationName = "AddCheckItems"; gridLevelNode17.RelationName = "VehSamples"; gridLevelNode18.RelationName = "CheckItems"; gridLevelNode19.RelationName = "CheckVals"; gridLevelNode21.RelationName = "AddCheckItems"; gridLevelNode22.RelationName = "VehSamples"; gridLevelNode23.RelationName = "CheckItems"; gridLevelNode24.RelationName = "CheckVals"; gridLevelNode26.RelationName = "AddCheckItems"; gridLevelNode27.RelationName = "VehSamples"; gridLevelNode28.RelationName = "CheckItems"; gridLevelNode29.RelationName = "CheckVals"; gridLevelNode31.RelationName = "AddCheckItems"; gridLevelNode32.RelationName = "VehSamples"; gridLevelNode33.RelationName = "CheckItems"; gridLevelNode34.RelationName = "CheckVals"; gridLevelNode36.RelationName = "AddCheckItems"; gridLevelNode37.RelationName = "VehSamples"; gridLevelNode38.RelationName = "CheckItems"; gridLevelNode39.RelationName = "CheckVals"; gridLevelNode40.RelationName = "InspectSamples"; gridLevelNode35.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] { gridLevelNode36, gridLevelNode37, gridLevelNode38, gridLevelNode39, gridLevelNode40 }); gridLevelNode35.RelationName = "InspectSamples"; gridLevelNode30.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] { gridLevelNode31, gridLevelNode32, gridLevelNode33, gridLevelNode34, gridLevelNode35 }); gridLevelNode30.RelationName = "InspectSamples"; gridLevelNode25.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] { gridLevelNode26, gridLevelNode27, gridLevelNode28, gridLevelNode29, gridLevelNode30 }); gridLevelNode25.RelationName = "InspectSamples"; gridLevelNode20.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] { gridLevelNode21, gridLevelNode22, gridLevelNode23, gridLevelNode24, gridLevelNode25 }); gridLevelNode20.RelationName = "InspectSamples"; gridLevelNode15.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] { gridLevelNode16, gridLevelNode17, gridLevelNode18, gridLevelNode19, gridLevelNode20 }); gridLevelNode15.RelationName = "InspectSamples"; gridLevelNode10.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] { gridLevelNode11, gridLevelNode12, gridLevelNode13, gridLevelNode14, gridLevelNode15 }); gridLevelNode10.RelationName = "InspectSamples"; gridLevelNode5.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] { gridLevelNode6, gridLevelNode7, gridLevelNode8, gridLevelNode9, gridLevelNode10 }); gridLevelNode5.RelationName = "InspectSamples"; this.gridControl1.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] { gridLevelNode1, gridLevelNode2, gridLevelNode3, gridLevelNode4, gridLevelNode5 }); this.gridControl1.Location = new System.Drawing.Point(0, 0); this.gridControl1.MainView = this.cardView1; this.gridControl1.Name = "gridControl1"; this.gridControl1.Size = new System.Drawing.Size(549, 300); this.gridControl1.TabIndex = 9; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.cardView1, this.gridView1 }); // // qCSampleMixBindingSource // this.qCSampleMixBindingSource.DataSource = typeof(Xg.Lab.Sample.QC_Sample_Mix); // // cardView1 // this.cardView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colZyDanHao, this.colCardID }); this.cardView1.FocusedCardTopFieldIndex = 0; this.cardView1.GridControl = this.gridControl1; this.cardView1.Name = "cardView1"; this.cardView1.OptionsView.ShowViewCaption = true; this.cardView1.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Auto; // // colZyDanHao // this.colZyDanHao.Caption = "制样单号"; this.colZyDanHao.FieldName = "ZyDanHao"; this.colZyDanHao.Name = "colZyDanHao"; this.colZyDanHao.Visible = true; this.colZyDanHao.VisibleIndex = 0; this.colZyDanHao.Width = 200; // // colCardID // this.colCardID.Caption = "检验项目"; this.colCardID.FieldName = "CheckItems.CheckItemName"; this.colCardID.Name = "colCardID"; this.colCardID.Visible = true; this.colCardID.VisibleIndex = 1; this.colCardID.Width = 200; // // printDocument1 // this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); // // printPreviewDialog1 // this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog1.Document = this.printDocument1; this.printPreviewDialog1.Enabled = true; this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon"))); this.printPreviewDialog1.Name = "printPreviewDialog1"; this.printPreviewDialog1.Visible = false; // // printDialog1 // this.printDialog1.Document = this.printDocument1; this.printDialog1.UseEXDialog = true; // // barCodeControl1 // this.barCodeControl1.AutoModule = true; this.barCodeControl1.Location = new System.Drawing.Point(16, 137); this.barCodeControl1.Name = "barCodeControl1"; this.barCodeControl1.Padding = new System.Windows.Forms.Padding(10, 2, 10, 0); this.barCodeControl1.ShowText = false; this.barCodeControl1.Size = new System.Drawing.Size(201, 193); qrCodeGenerator1.CompactionMode = DevExpress.XtraPrinting.BarCode.QRCodeCompactionMode.Byte; qrCodeGenerator1.Version = DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version1; this.barCodeControl1.Symbology = qrCodeGenerator1; this.barCodeControl1.TabIndex = 0; this.barCodeControl1.Text = "B03050101"; // // button1 // this.button1.Location = new System.Drawing.Point(12, 3); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 1; this.button1.Text = "button1"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // panel1 // this.panel1.BackColor = System.Drawing.Color.White; this.panel1.Controls.Add(this.label11); this.panel1.Controls.Add(this.label10); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.barCodeControl1); this.panel1.Location = new System.Drawing.Point(53, 62); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(240, 383); this.panel1.TabIndex = 2; // // label11 // this.label11.AutoSize = true; this.label11.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label11.Location = new System.Drawing.Point(48, 83); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(103, 29); this.label11.TabIndex = 5; this.label11.Text = "B0601F"; // // label10 // this.label10.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label10.Location = new System.Drawing.Point(40, 345); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(143, 24); this.label10.TabIndex = 4; this.label10.Text = "灰分/挥发份/S"; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label1.Location = new System.Drawing.Point(48, 28); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(103, 29); this.label1.TabIndex = 1; this.label1.Text = "B0601F"; // // panel2 // this.panel2.BackColor = System.Drawing.Color.White; this.panel2.Controls.Add(this.label3); this.panel2.Controls.Add(this.label2); this.panel2.Location = new System.Drawing.Point(13, 12); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(169, 88); this.panel2.TabIndex = 3; // // label3 // this.label3.Font = new System.Drawing.Font("宋体", 7.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label3.Location = new System.Drawing.Point(15, 54); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(127, 24); this.label3.TabIndex = 3; this.label3.Text = "201405/水分/化验/煤研/角质层"; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("宋体", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label2.Location = new System.Drawing.Point(21, 16); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(100, 33); this.label2.TabIndex = 2; this.label2.Text = "B0601"; // // panel3 // this.panel3.BackColor = System.Drawing.Color.White; this.panel3.Controls.Add(this.label4); this.panel3.Controls.Add(this.label5); this.panel3.Location = new System.Drawing.Point(13, 210); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(169, 88); this.panel3.TabIndex = 4; // // label4 // this.label4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label4.Location = new System.Drawing.Point(15, 54); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(143, 24); this.label4.TabIndex = 3; this.label4.Text = "201405/灰分/挥发份/S"; // // label5 // this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label5.Location = new System.Drawing.Point(21, 16); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(103, 29); this.label5.TabIndex = 2; this.label5.Text = "B0601F"; // // panel4 // this.panel4.BackColor = System.Drawing.Color.White; this.panel4.Controls.Add(this.label6); this.panel4.Controls.Add(this.label7); this.panel4.Location = new System.Drawing.Point(13, 111); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(169, 88); this.panel4.TabIndex = 5; // // label6 // this.label6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label6.Location = new System.Drawing.Point(15, 54); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(143, 24); this.label6.TabIndex = 3; this.label6.Text = "201405/水分"; // // label7 // this.label7.AutoSize = true; this.label7.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label7.Location = new System.Drawing.Point(21, 16); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(103, 29); this.label7.TabIndex = 2; this.label7.Text = "B0601S"; // // panel5 // this.panel5.BackColor = System.Drawing.Color.White; this.panel5.Controls.Add(this.label8); this.panel5.Controls.Add(this.label9); this.panel5.Location = new System.Drawing.Point(13, 309); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(169, 88); this.panel5.TabIndex = 6; // // label8 // this.label8.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label8.Location = new System.Drawing.Point(15, 54); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(143, 24); this.label8.TabIndex = 3; this.label8.Text = "201405/G"; // // label9 // this.label9.AutoSize = true; this.label9.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label9.Location = new System.Drawing.Point(21, 16); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(130, 24); this.label9.TabIndex = 2; this.label9.Text = "B0601G_3-1"; // // panel6 // this.panel6.Controls.Add(this.panel2); this.panel6.Controls.Add(this.panel5); this.panel6.Controls.Add(this.panel3); this.panel6.Controls.Add(this.panel4); this.panel6.Location = new System.Drawing.Point(330, 34); this.panel6.Name = "panel6"; this.panel6.Size = new System.Drawing.Size(200, 411); this.panel6.TabIndex = 7; // // button2 // this.button2.Location = new System.Drawing.Point(144, 12); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(75, 23); this.button2.TabIndex = 8; this.button2.Text = "button2"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // gridSplitContainer1 // this.gridSplitContainer1.Grid = this.gridControl1; this.gridSplitContainer1.Location = new System.Drawing.Point(548, 46); this.gridSplitContainer1.Name = "gridSplitContainer1"; this.gridSplitContainer1.Panel1.Controls.Add(this.gridControl1); this.gridSplitContainer1.Size = new System.Drawing.Size(549, 300); this.gridSplitContainer1.TabIndex = 9; // // barCodeControl2 // this.barCodeControl2.Location = new System.Drawing.Point(602, 380); this.barCodeControl2.Name = "barCodeControl2"; this.barCodeControl2.Padding = new System.Windows.Forms.Padding(10, 2, 10, 0); this.barCodeControl2.ShowText = false; this.barCodeControl2.Size = new System.Drawing.Size(223, 65); code39Generator1.WideNarrowRatio = 3F; this.barCodeControl2.Symbology = code39Generator1; this.barCodeControl2.TabIndex = 10; this.barCodeControl2.Text = "01"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1168, 553); this.Controls.Add(this.barCodeControl2); this.Controls.Add(this.gridSplitContainer1); this.Controls.Add(this.button2); this.Controls.Add(this.panel6); this.Controls.Add(this.panel1); this.Controls.Add(this.button1); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.qCSampleMixBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cardView1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); this.panel4.ResumeLayout(false); this.panel4.PerformLayout(); this.panel5.ResumeLayout(false); this.panel5.PerformLayout(); this.panel6.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridSplitContainer1)).EndInit(); this.gridSplitContainer1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmEquipmentFrockReport)); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.tsbExport = new System.Windows.Forms.ToolStripButton(); this.tsbPrint = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.exit = new System.Windows.Forms.ToolStripButton(); this.gridProductClass = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridWorkEfficiency = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridEquipmentStuff = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridEquipmentFormal = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridFrockSource = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemSpinEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit(); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridEquipmentID = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridEquipmentName = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridUsePerson = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridSavePlace = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridEquipmentState = new DevExpress.XtraGrid.Columns.GridColumn(); this.toolStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); this.SuspendLayout(); // // toolStrip1 // this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbExport, this.tsbPrint, this.toolStripSeparator2, this.exit }); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(798, 25); this.toolStrip1.TabIndex = 142; this.toolStrip1.Text = "toolStrip1"; // // tsbExport // this.tsbExport.Image = ((System.Drawing.Image)(resources.GetObject("tsbExport.Image"))); this.tsbExport.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbExport.Name = "tsbExport"; this.tsbExport.Size = new System.Drawing.Size(79, 22); this.tsbExport.Text = "导出EXCEL"; this.tsbExport.Click += new System.EventHandler(this.tsbExport_Click); // // tsbPrint // this.tsbPrint.Image = ((System.Drawing.Image)(resources.GetObject("tsbPrint.Image"))); this.tsbPrint.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbPrint.Name = "tsbPrint"; this.tsbPrint.Size = new System.Drawing.Size(49, 22); this.tsbPrint.Text = "打印"; this.tsbPrint.Visible = false; // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); // // exit // this.exit.Image = ((System.Drawing.Image)(resources.GetObject("exit.Image"))); this.exit.ImageTransparentColor = System.Drawing.Color.Magenta; this.exit.Name = "exit"; this.exit.Size = new System.Drawing.Size(49, 22); this.exit.Text = "退出"; this.exit.Click += new System.EventHandler(this.exit_Click); // // gridProductClass // this.gridProductClass.Caption = "产品类别"; this.gridProductClass.FieldName = "ProductClass"; this.gridProductClass.Name = "gridProductClass"; this.gridProductClass.OptionsColumn.AllowEdit = false; this.gridProductClass.Visible = true; this.gridProductClass.VisibleIndex = 0; // // gridWorkEfficiency // this.gridWorkEfficiency.Caption = "工位"; this.gridWorkEfficiency.FieldName = "WorkEfficiency"; this.gridWorkEfficiency.Name = "gridWorkEfficiency"; this.gridWorkEfficiency.OptionsColumn.AllowEdit = false; this.gridWorkEfficiency.Visible = true; this.gridWorkEfficiency.VisibleIndex = 3; // // gridEquipmentStuff // this.gridEquipmentStuff.Caption = "材料"; this.gridEquipmentStuff.FieldName = "EquipmentStuff"; this.gridEquipmentStuff.Name = "gridEquipmentStuff"; this.gridEquipmentStuff.OptionsColumn.AllowEdit = false; this.gridEquipmentStuff.Visible = true; this.gridEquipmentStuff.VisibleIndex = 5; // // gridEquipmentFormal // this.gridEquipmentFormal.Caption = "外形尺寸"; this.gridEquipmentFormal.FieldName = "EquipmentFormal"; this.gridEquipmentFormal.Name = "gridEquipmentFormal"; this.gridEquipmentFormal.OptionsColumn.AllowEdit = false; this.gridEquipmentFormal.Visible = true; this.gridEquipmentFormal.VisibleIndex = 7; // // gridFrockSource // this.gridFrockSource.Caption = "工装来源"; this.gridFrockSource.FieldName = "FrockSource"; this.gridFrockSource.Name = "gridFrockSource"; this.gridFrockSource.OptionsColumn.AllowEdit = false; this.gridFrockSource.Visible = true; this.gridFrockSource.VisibleIndex = 8; // // repositoryItemSpinEdit1 // this.repositoryItemSpinEdit1.AutoHeight = false; this.repositoryItemSpinEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton() }); this.repositoryItemSpinEdit1.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.repositoryItemSpinEdit1.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.repositoryItemSpinEdit1.HideSelection = false; this.repositoryItemSpinEdit1.Name = "repositoryItemSpinEdit1"; // // gridControl1 // this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControl1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.gridControl1.Location = new System.Drawing.Point(0, 25); this.gridControl1.MainView = this.gridView1; this.gridControl1.Name = "gridControl1"; this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemSpinEdit1 }); this.gridControl1.Size = new System.Drawing.Size(798, 479); this.gridControl1.TabIndex = 77; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1 }); // // gridView1 // this.gridView1.Appearance.FocusedRow.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridView1.Appearance.FocusedRow.Options.UseFont = true; this.gridView1.Appearance.GroupFooter.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridView1.Appearance.GroupFooter.Options.UseFont = true; this.gridView1.Appearance.HeaderPanel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridView1.Appearance.HeaderPanel.Options.UseFont = true; this.gridView1.Appearance.Row.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridView1.Appearance.Row.Options.UseFont = true; this.gridView1.Appearance.RowSeparator.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridView1.Appearance.RowSeparator.Options.UseFont = true; this.gridView1.Appearance.SelectedRow.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridView1.Appearance.SelectedRow.Options.UseFont = true; this.gridView1.Appearance.VertLine.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridView1.Appearance.VertLine.Options.UseFont = true; this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridProductClass, this.gridEquipmentID, this.gridEquipmentName, this.gridUsePerson, this.gridSavePlace, this.gridWorkEfficiency, this.gridEquipmentStuff, this.gridEquipmentFormal, this.gridFrockSource, this.gridEquipmentState }); this.gridView1.GridControl = this.gridControl1; this.gridView1.Name = "gridView1"; this.gridView1.OptionsView.ShowGroupPanel = false; // // gridEquipmentID // this.gridEquipmentID.Caption = "编号"; this.gridEquipmentID.FieldName = "EquipmentID"; this.gridEquipmentID.Name = "gridEquipmentID"; this.gridEquipmentID.Visible = true; this.gridEquipmentID.VisibleIndex = 1; // // gridEquipmentName // this.gridEquipmentName.Caption = "名称"; this.gridEquipmentName.FieldName = "EquipmentName"; this.gridEquipmentName.Name = "gridEquipmentName"; this.gridEquipmentName.Visible = true; this.gridEquipmentName.VisibleIndex = 2; // // gridUsePerson // this.gridUsePerson.Caption = "使用人"; this.gridUsePerson.FieldName = "UsePerson"; this.gridUsePerson.Name = "gridUsePerson"; this.gridUsePerson.Visible = true; this.gridUsePerson.VisibleIndex = 4; // // gridSavePlace // this.gridSavePlace.Caption = "存放地点"; this.gridSavePlace.FieldName = "SavePlace"; this.gridSavePlace.Name = "gridSavePlace"; this.gridSavePlace.Visible = true; this.gridSavePlace.VisibleIndex = 6; // // gridEquipmentState // this.gridEquipmentState.Caption = "状态"; this.gridEquipmentState.FieldName = "EquipmentStateName"; this.gridEquipmentState.Name = "gridEquipmentState"; this.gridEquipmentState.Visible = true; this.gridEquipmentState.VisibleIndex = 9; // // frmEquipmentFrockReport // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(798, 504); this.Controls.Add(this.gridControl1); this.Controls.Add(this.toolStrip1); this.Name = "frmEquipmentFrockReport"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "工装设备一览表"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.frmEquipmentFrockReport_Load); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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(ucThongKeBanTheoThang)); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.btnIn = new DevExpress.XtraEditors.SimpleButton(); this.lblTienBan = new DevExpress.XtraEditors.LabelControl(); this.lblTienLai = new DevExpress.XtraEditors.LabelControl(); this.lblTienNhap = new DevExpress.XtraEditors.LabelControl(); this.lblSoLuong = new DevExpress.XtraEditors.LabelControl(); this.groupControl1 = new DevExpress.XtraEditors.GroupControl(); this.gcDanhSachThongKe = new DevExpress.XtraGrid.GridControl(); this.gvDanhSachThongKe = new DevExpress.XtraGrid.Views.Grid.GridView(); this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.panelControl3 = new DevExpress.XtraEditors.PanelControl(); this.lueLoaiThongKe = new DevExpress.XtraEditors.LookUpEdit(); this.btnThongKe = new DevExpress.XtraEditors.SimpleButton(); this.labelControl4 = new DevExpress.XtraEditors.LabelControl(); this.cboNam = new DevExpress.XtraEditors.ComboBoxEdit(); this.spedThang = new DevExpress.XtraEditors.SpinEdit(); this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit(); this.groupControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gcDanhSachThongKe)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvDanhSachThongKe)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); this.panelControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit(); this.panelControl3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.lueLoaiThongKe.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cboNam.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.spedThang.Properties)).BeginInit(); this.SuspendLayout(); // // panelControl1 // this.panelControl1.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.panelControl1.Controls.Add(this.btnIn); this.panelControl1.Controls.Add(this.lblTienBan); this.panelControl1.Controls.Add(this.lblTienLai); this.panelControl1.Controls.Add(this.lblTienNhap); this.panelControl1.Controls.Add(this.lblSoLuong); this.panelControl1.Controls.Add(this.groupControl1); this.panelControl1.Location = new System.Drawing.Point(209, 64); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(739, 460); this.panelControl1.TabIndex = 0; // // btnIn // this.btnIn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnIn.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnIn.Appearance.Options.UseFont = true; this.btnIn.Image = ((System.Drawing.Image)(resources.GetObject("btnIn.Image"))); this.btnIn.Location = new System.Drawing.Point(488, 381); this.btnIn.Name = "btnIn"; this.btnIn.Size = new System.Drawing.Size(222, 64); this.btnIn.TabIndex = 10; this.btnIn.Text = "In danh sách"; this.btnIn.Click += new System.EventHandler(this.btnIn_Click); // // lblTienBan // this.lblTienBan.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.lblTienBan.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTienBan.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0))))); this.lblTienBan.Location = new System.Drawing.Point(72, 409); this.lblTienBan.Name = "lblTienBan"; this.lblTienBan.Size = new System.Drawing.Size(124, 19); this.lblTienBan.TabIndex = 9; this.lblTienBan.Text = "Tổng tiền bán: "; // // lblTienLai // this.lblTienLai.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.lblTienLai.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTienLai.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); this.lblTienLai.Location = new System.Drawing.Point(72, 436); this.lblTienLai.Name = "lblTienLai"; this.lblTienLai.Size = new System.Drawing.Size(114, 19); this.lblTienLai.TabIndex = 8; this.lblTienLai.Text = "Tổng tiền lãi: "; // // lblTienNhap // this.lblTienNhap.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.lblTienNhap.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTienNhap.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0))))); this.lblTienNhap.Location = new System.Drawing.Point(72, 382); this.lblTienNhap.Name = "lblTienNhap"; this.lblTienNhap.Size = new System.Drawing.Size(134, 19); this.lblTienNhap.TabIndex = 7; this.lblTienNhap.Text = "Tổng tiền nhập: "; // // lblSoLuong // this.lblSoLuong.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.lblSoLuong.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblSoLuong.Appearance.ForeColor = System.Drawing.Color.Red; this.lblSoLuong.Location = new System.Drawing.Point(72, 355); this.lblSoLuong.Name = "lblSoLuong"; this.lblSoLuong.Size = new System.Drawing.Size(126, 19); this.lblSoLuong.TabIndex = 6; this.lblSoLuong.Text = "Tổng số lượng: "; // // groupControl1 // this.groupControl1.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.groupControl1.Controls.Add(this.gcDanhSachThongKe); this.groupControl1.Location = new System.Drawing.Point(29, 22); this.groupControl1.Name = "groupControl1"; this.groupControl1.Size = new System.Drawing.Size(681, 327); this.groupControl1.TabIndex = 0; this.groupControl1.Text = "Danh sách"; // // gcDanhSachThongKe // this.gcDanhSachThongKe.Dock = System.Windows.Forms.DockStyle.Fill; this.gcDanhSachThongKe.Location = new System.Drawing.Point(2, 20); this.gcDanhSachThongKe.MainView = this.gvDanhSachThongKe; this.gcDanhSachThongKe.Name = "gcDanhSachThongKe"; this.gcDanhSachThongKe.Size = new System.Drawing.Size(677, 305); this.gcDanhSachThongKe.TabIndex = 0; this.gcDanhSachThongKe.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvDanhSachThongKe}); // // gvDanhSachThongKe // this.gvDanhSachThongKe.GridControl = this.gcDanhSachThongKe; this.gvDanhSachThongKe.Name = "gvDanhSachThongKe"; this.gvDanhSachThongKe.OptionsView.ShowGroupPanel = false; // // panelControl2 // this.panelControl2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panelControl2.Controls.Add(this.labelControl1); this.panelControl2.Location = new System.Drawing.Point(0, 0); this.panelControl2.Name = "panelControl2"; this.panelControl2.Size = new System.Drawing.Size(948, 66); this.panelControl2.TabIndex = 1; // // labelControl1 // this.labelControl1.Anchor = System.Windows.Forms.AnchorStyles.Top; this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelControl1.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); this.labelControl1.Location = new System.Drawing.Point(260, 14); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(429, 29); this.labelControl1.TabIndex = 3; this.labelControl1.Text = "THỐNG KÊ BÁN HÀNG THEO THÁNG"; // // labelControl2 // this.labelControl2.Anchor = System.Windows.Forms.AnchorStyles.Top; this.labelControl2.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelControl2.Location = new System.Drawing.Point(15, 22); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(180, 23); this.labelControl2.TabIndex = 4; this.labelControl2.Text = "Chọn loại thống kê"; // // panelControl3 // this.panelControl3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.panelControl3.Controls.Add(this.lueLoaiThongKe); this.panelControl3.Controls.Add(this.btnThongKe); this.panelControl3.Controls.Add(this.labelControl4); this.panelControl3.Controls.Add(this.cboNam); this.panelControl3.Controls.Add(this.spedThang); this.panelControl3.Controls.Add(this.labelControl3); this.panelControl3.Controls.Add(this.labelControl2); this.panelControl3.Location = new System.Drawing.Point(0, 64); this.panelControl3.Name = "panelControl3"; this.panelControl3.Size = new System.Drawing.Size(211, 460); this.panelControl3.TabIndex = 2; // // lueLoaiThongKe // this.lueLoaiThongKe.Location = new System.Drawing.Point(37, 62); this.lueLoaiThongKe.Name = "lueLoaiThongKe"; this.lueLoaiThongKe.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lueLoaiThongKe.Properties.Appearance.Options.UseFont = true; this.lueLoaiThongKe.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lueLoaiThongKe.Size = new System.Drawing.Size(136, 26); this.lueLoaiThongKe.TabIndex = 11; // // btnThongKe // this.btnThongKe.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btnThongKe.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnThongKe.Appearance.Options.UseFont = true; this.btnThongKe.Image = ((System.Drawing.Image)(resources.GetObject("btnThongKe.Image"))); this.btnThongKe.Location = new System.Drawing.Point(5, 337); this.btnThongKe.Name = "btnThongKe"; this.btnThongKe.Size = new System.Drawing.Size(198, 73); this.btnThongKe.TabIndex = 10; this.btnThongKe.Text = "Thống kê"; this.btnThongKe.Click += new System.EventHandler(this.btnThongKe_Click); // // labelControl4 // this.labelControl4.Anchor = System.Windows.Forms.AnchorStyles.Top; this.labelControl4.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelControl4.Location = new System.Drawing.Point(37, 228); this.labelControl4.Name = "labelControl4"; this.labelControl4.Size = new System.Drawing.Size(96, 23); this.labelControl4.TabIndex = 9; this.labelControl4.Text = "Chọn năm"; // // cboNam // this.cboNam.Location = new System.Drawing.Point(37, 266); this.cboNam.Name = "cboNam"; this.cboNam.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cboNam.Properties.Appearance.Options.UseFont = true; this.cboNam.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.cboNam.Size = new System.Drawing.Size(136, 26); this.cboNam.TabIndex = 8; // // spedThang // this.spedThang.Anchor = System.Windows.Forms.AnchorStyles.Top; this.spedThang.EditValue = new decimal(new int[] { 1, 0, 0, 0}); this.spedThang.Location = new System.Drawing.Point(37, 162); this.spedThang.Name = "spedThang"; this.spedThang.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.spedThang.Properties.Appearance.Options.UseFont = true; this.spedThang.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.spedThang.Properties.Mask.EditMask = "d"; this.spedThang.Properties.MaxValue = new decimal(new int[] { 12, 0, 0, 0}); this.spedThang.Properties.MinValue = new decimal(new int[] { 1, 0, 0, 0}); this.spedThang.Size = new System.Drawing.Size(136, 26); this.spedThang.TabIndex = 7; // // labelControl3 // this.labelControl3.Anchor = System.Windows.Forms.AnchorStyles.Top; this.labelControl3.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelControl3.Location = new System.Drawing.Point(37, 124); this.labelControl3.Name = "labelControl3"; this.labelControl3.Size = new System.Drawing.Size(110, 23); this.labelControl3.TabIndex = 6; this.labelControl3.Text = "Chọn tháng"; // // ucThongKeBanTheoThang // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.panelControl3); this.Controls.Add(this.panelControl2); this.Controls.Add(this.panelControl1); this.Name = "ucThongKeBanTheoThang"; this.Size = new System.Drawing.Size(948, 524); this.Load += new System.EventHandler(this.ucThongKeBanTheoThang_Load); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); this.panelControl1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit(); this.groupControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gcDanhSachThongKe)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvDanhSachThongKe)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); this.panelControl2.ResumeLayout(false); this.panelControl2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit(); this.panelControl3.ResumeLayout(false); this.panelControl3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.lueLoaiThongKe.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cboNam.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.spedThang.Properties)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmXuatNhapTon)); this.img = new DevExpress.Utils.ImageCollection(this.components); this.bm = new DevExpress.XtraBars.BarManager(this.components); this.bar2 = new DevExpress.XtraBars.Bar(); this.bbiXem = new DevExpress.XtraBars.BarButtonItem(); this.bbiSua = new DevExpress.XtraBars.BarButtonItem(); this.bbiXoa = new DevExpress.XtraBars.BarButtonItem(); this.bbiXuatExcel = new DevExpress.XtraBars.BarButtonItem(); this.bbiDong = new DevExpress.XtraBars.BarButtonItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.txtKhoHang = new DevExpress.XtraEditors.GridLookUpEdit(); this.kHOHANGBindingSource = new System.Windows.Forms.BindingSource(this.components); this.dsKho = new Do_An_Quan_Ly_Kho.Kho.DS.dsKho(); this.txtKhoHang_View = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colMa_Kho = new DevExpress.XtraGrid.Columns.GridColumn(); this.colTen_Kho1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colDia_Chi = new DevExpress.XtraGrid.Columns.GridColumn(); this.colEmail = new DevExpress.XtraGrid.Columns.GridColumn(); this.colDien_Thoai = new DevExpress.XtraGrid.Columns.GridColumn(); this.colFax = new DevExpress.XtraGrid.Columns.GridColumn(); this.colDi_Dong = new DevExpress.XtraGrid.Columns.GridColumn(); this.colThu_Kho = new DevExpress.XtraGrid.Columns.GridColumn(); this.colGhi_Chu = new DevExpress.XtraGrid.Columns.GridColumn(); this.layoutControl2 = new DevExpress.XtraLayout.LayoutControl(); this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); this.dtDen = new DevExpress.XtraEditors.DateEdit(); this.dtTu = new DevExpress.XtraEditors.DateEdit(); this.cbChonNgay = new DevExpress.XtraEditors.ComboBoxEdit(); this.gcList = new DevExpress.XtraGrid.GridControl(); this.xuatNhapTonTheoNgayBindingSource = new System.Windows.Forms.BindingSource(this.components); this.dsXuatNhapTon = new Do_An_Quan_Ly_Kho.XuatNhapTon.DataSet.dsXuatNhapTon(); this.gbList = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colMa_Hang_Hoa = new DevExpress.XtraGrid.Columns.GridColumn(); this.colTen_Hang = new DevExpress.XtraGrid.Columns.GridColumn(); this.colDon_Vi = new DevExpress.XtraGrid.Columns.GridColumn(); this.colMa_Kho_Hang = new DevExpress.XtraGrid.Columns.GridColumn(); this.colTen_Kho = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSo_Luong_Dau_Ky = new DevExpress.XtraGrid.Columns.GridColumn(); this.rptMayTinh = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit(); this.colSo_Luong_Nhap_Trong_Ky = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSo_Luong_Xuat_Trong_Ky = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSo_Luong_Cuoi_Ky = new DevExpress.XtraGrid.Columns.GridColumn(); this.colThanh_Tien_Dau_Ky = new DevExpress.XtraGrid.Columns.GridColumn(); this.colThanh_Tien_Nhap_Trong_Ky = new DevExpress.XtraGrid.Columns.GridColumn(); this.colThanh_Tien_Xuat_Trong_Ky = new DevExpress.XtraGrid.Columns.GridColumn(); this.colThanh_Tien_Cuoi_Ky = new DevExpress.XtraGrid.Columns.GridColumn(); this.colNhom_Hang = new DevExpress.XtraGrid.Columns.GridColumn(); this.colTen_Nhom_Hang = new DevExpress.XtraGrid.Columns.GridColumn(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); this.kHO_HANGTableAdapter = new Do_An_Quan_Ly_Kho.Kho.DS.dsKhoTableAdapters.KHO_HANGTableAdapter(); ((System.ComponentModel.ISupportInitialize)(this.img)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bm)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtKhoHang.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kHOHANGBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsKho)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtKhoHang_View)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dtDen.Properties.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dtDen.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dtTu.Properties.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dtTu.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbChonNgay.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gcList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xuatNhapTonTheoNgayBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsXuatNhapTon)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gbList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptMayTinh)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); this.SuspendLayout(); // // img // this.img.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("img.ImageStream"))); this.img.Images.SetKeyName(0, "abort.png"); this.img.Images.SetKeyName(1, "about.png"); this.img.Images.SetKeyName(2, "accept.png"); this.img.Images.SetKeyName(3, "add.png"); this.img.Images.SetKeyName(4, "application.png"); this.img.Images.SetKeyName(5, "apply.png"); this.img.Images.SetKeyName(6, "attention.png"); this.img.Images.SetKeyName(7, "back.png"); this.img.Images.SetKeyName(8, "cancel.png"); this.img.Images.SetKeyName(9, "circulation.png"); this.img.Images.SetKeyName(10, "close.png"); this.img.Images.SetKeyName(11, "create.png"); this.img.Images.SetKeyName(12, "cut.png"); this.img.Images.SetKeyName(13, "danger.png"); this.img.Images.SetKeyName(14, "delete.png"); this.img.Images.SetKeyName(15, "down.png"); this.img.Images.SetKeyName(16, "erase.png"); this.img.Images.SetKeyName(17, "error.png"); this.img.Images.SetKeyName(18, "forward.png"); this.img.Images.SetKeyName(19, "help.png"); this.img.Images.SetKeyName(20, "info.png"); this.img.Images.SetKeyName(21, "information.png"); this.img.Images.SetKeyName(22, "logout.png"); this.img.Images.SetKeyName(23, "minus.png"); this.img.Images.SetKeyName(24, "move.png"); this.img.Images.SetKeyName(25, "next.png"); this.img.Images.SetKeyName(26, "no entry.png"); this.img.Images.SetKeyName(27, "no.png"); this.img.Images.SetKeyName(28, "OK.png"); this.img.Images.SetKeyName(29, "options.png"); this.img.Images.SetKeyName(30, "plus.png"); this.img.Images.SetKeyName(31, "previous.png"); this.img.Images.SetKeyName(32, "problem.png"); this.img.Images.SetKeyName(33, "question.png"); this.img.Images.SetKeyName(34, "redo.png"); this.img.Images.SetKeyName(35, "refresh.png"); this.img.Images.SetKeyName(36, "remove.png"); this.img.Images.SetKeyName(37, "renew.png"); this.img.Images.SetKeyName(38, "repeat.png"); this.img.Images.SetKeyName(39, "run.png"); this.img.Images.SetKeyName(40, "save.png"); this.img.Images.SetKeyName(41, "search.png"); this.img.Images.SetKeyName(42, "settings.png"); this.img.Images.SetKeyName(43, "stop.png"); this.img.Images.SetKeyName(44, "switch.png"); this.img.Images.SetKeyName(45, "sync.png"); this.img.Images.SetKeyName(46, "system.png"); this.img.Images.SetKeyName(47, "turn off.png"); this.img.Images.SetKeyName(48, "undo.png"); this.img.Images.SetKeyName(49, "up.png"); this.img.Images.SetKeyName(50, "update.png"); this.img.Images.SetKeyName(51, "view.png"); this.img.Images.SetKeyName(52, "warning.png"); this.img.Images.SetKeyName(53, "yes.png"); this.img.Images.SetKeyName(54, "document-excel-icon.png"); this.img.Images.SetKeyName(55, "Excel-icon (1).png"); this.img.Images.SetKeyName(56, "Excel-icon (2).png"); this.img.Images.SetKeyName(57, "Excel-icon.png"); // // bm // this.bm.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar2}); this.bm.DockControls.Add(this.barDockControlTop); this.bm.DockControls.Add(this.barDockControlBottom); this.bm.DockControls.Add(this.barDockControlLeft); this.bm.DockControls.Add(this.barDockControlRight); this.bm.Form = this; this.bm.Images = this.img; this.bm.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.bbiXem, this.bbiSua, this.bbiXoa, this.bbiDong, this.bbiXuatExcel}); this.bm.LargeImages = this.img; this.bm.MainMenu = this.bar2; this.bm.MaxItemId = 13; // // bar2 // this.bar2.BarName = "Main menu"; this.bar2.DockCol = 0; this.bar2.DockRow = 0; this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar2.FloatLocation = new System.Drawing.Point(49, 160); this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.bbiXem, true), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.None, false, this.bbiSua, false), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.None, false, this.bbiXoa, false), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.bbiXuatExcel, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(this.bbiDong)}); this.bar2.OptionsBar.AllowDelete = true; this.bar2.OptionsBar.DrawSizeGrip = true; this.bar2.Text = "Main menu"; // // bbiXem // this.bbiXem.Caption = "Xem"; this.bbiXem.Id = 0; this.bbiXem.ImageIndex = 35; this.bbiXem.Name = "bbiXem"; this.bbiXem.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.bbiXem.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiXem_ItemClick); // // bbiSua // this.bbiSua.Caption = "Sửa"; this.bbiSua.Id = 1; this.bbiSua.ImageIndex = 29; this.bbiSua.Name = "bbiSua"; this.bbiSua.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.bbiSua.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; // // bbiXoa // this.bbiXoa.Caption = "Xóa"; this.bbiXoa.Id = 2; this.bbiXoa.ImageIndex = 16; this.bbiXoa.Name = "bbiXoa"; this.bbiXoa.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.bbiXoa.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; // // bbiXuatExcel // this.bbiXuatExcel.Caption = "Xuất Excel"; this.bbiXuatExcel.Id = 12; this.bbiXuatExcel.ImageIndex = 55; this.bbiXuatExcel.Name = "bbiXuatExcel"; this.bbiXuatExcel.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiXuatExcel_ItemClick); // // bbiDong // this.bbiDong.Caption = "Đóng"; this.bbiDong.Id = 6; this.bbiDong.ImageIndex = 10; this.bbiDong.Name = "bbiDong"; this.bbiDong.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barDockControlTop // this.barDockControlTop.CausesValidation = false; this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Size = new System.Drawing.Size(1102, 24); // // barDockControlBottom // this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 416); this.barDockControlBottom.Size = new System.Drawing.Size(1102, 0); // // barDockControlLeft // this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 24); this.barDockControlLeft.Size = new System.Drawing.Size(0, 392); // // barDockControlRight // this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(1102, 24); this.barDockControlRight.Size = new System.Drawing.Size(0, 392); // // layoutControl1 // this.layoutControl1.Controls.Add(this.txtKhoHang); this.layoutControl1.Controls.Add(this.layoutControl2); this.layoutControl1.Controls.Add(this.dtDen); this.layoutControl1.Controls.Add(this.dtTu); this.layoutControl1.Controls.Add(this.cbChonNgay); this.layoutControl1.Controls.Add(this.gcList); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(0, 24); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(1102, 392); this.layoutControl1.TabIndex = 4; this.layoutControl1.Text = "layoutControl1"; // // txtKhoHang // this.txtKhoHang.EditValue = ""; this.txtKhoHang.Location = new System.Drawing.Point(55, 2); this.txtKhoHang.MenuManager = this.bm; this.txtKhoHang.Name = "txtKhoHang"; this.txtKhoHang.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup; this.txtKhoHang.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.txtKhoHang.Properties.DataSource = this.kHOHANGBindingSource; this.txtKhoHang.Properties.DisplayMember = "Ten_Kho"; this.txtKhoHang.Properties.NullText = ""; this.txtKhoHang.Properties.NullValuePrompt = "(Kho Hàng)"; this.txtKhoHang.Properties.NullValuePromptShowForEmptyValue = true; this.txtKhoHang.Properties.ValueMember = "Ma_Kho"; this.txtKhoHang.Properties.View = this.txtKhoHang_View; this.txtKhoHang.Size = new System.Drawing.Size(121, 20); this.txtKhoHang.StyleController = this.layoutControl1; this.txtKhoHang.TabIndex = 9; this.txtKhoHang.EditValueChanged += new System.EventHandler(this.txtKhoHang_EditValueChanged); // // kHOHANGBindingSource // this.kHOHANGBindingSource.DataMember = "KHO_HANG"; this.kHOHANGBindingSource.DataSource = this.dsKho; // // dsKho // this.dsKho.DataSetName = "dsKho"; this.dsKho.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // txtKhoHang_View // this.txtKhoHang_View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colMa_Kho, this.colTen_Kho1, this.colDia_Chi, this.colEmail, this.colDien_Thoai, this.colFax, this.colDi_Dong, this.colThu_Kho, this.colGhi_Chu}); this.txtKhoHang_View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.txtKhoHang_View.Name = "txtKhoHang_View"; this.txtKhoHang_View.OptionsSelection.EnableAppearanceFocusedCell = false; this.txtKhoHang_View.OptionsView.ShowAutoFilterRow = true; this.txtKhoHang_View.OptionsView.ShowGroupPanel = false; // // colMa_Kho // this.colMa_Kho.Caption = "Mã Kho"; this.colMa_Kho.FieldName = "Ma_Kho"; this.colMa_Kho.Name = "colMa_Kho"; this.colMa_Kho.OptionsColumn.ReadOnly = true; this.colMa_Kho.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colMa_Kho.Visible = true; this.colMa_Kho.VisibleIndex = 0; // // colTen_Kho1 // this.colTen_Kho1.Caption = "Tên Kho"; this.colTen_Kho1.FieldName = "Ten_Kho"; this.colTen_Kho1.Name = "colTen_Kho1"; this.colTen_Kho1.OptionsColumn.ReadOnly = true; this.colTen_Kho1.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colTen_Kho1.Visible = true; this.colTen_Kho1.VisibleIndex = 1; // // colDia_Chi // this.colDia_Chi.Caption = "Địa Chỉ"; this.colDia_Chi.FieldName = "Dia_Chi"; this.colDia_Chi.Name = "colDia_Chi"; this.colDia_Chi.OptionsColumn.ReadOnly = true; this.colDia_Chi.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colDia_Chi.Visible = true; this.colDia_Chi.VisibleIndex = 2; // // colEmail // this.colEmail.Caption = "Email"; this.colEmail.FieldName = "Email"; this.colEmail.Name = "colEmail"; this.colEmail.OptionsColumn.ReadOnly = true; this.colEmail.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colEmail.Visible = true; this.colEmail.VisibleIndex = 3; // // colDien_Thoai // this.colDien_Thoai.Caption = "Điện Thoại"; this.colDien_Thoai.FieldName = "Dien_Thoai"; this.colDien_Thoai.Name = "colDien_Thoai"; this.colDien_Thoai.OptionsColumn.ReadOnly = true; this.colDien_Thoai.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colDien_Thoai.Visible = true; this.colDien_Thoai.VisibleIndex = 4; // // colFax // this.colFax.Caption = "Fax"; this.colFax.FieldName = "Fax"; this.colFax.Name = "colFax"; this.colFax.OptionsColumn.ReadOnly = true; this.colFax.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colFax.Visible = true; this.colFax.VisibleIndex = 5; // // colDi_Dong // this.colDi_Dong.Caption = "Di Động"; this.colDi_Dong.FieldName = "Di_Dong"; this.colDi_Dong.Name = "colDi_Dong"; this.colDi_Dong.OptionsColumn.ReadOnly = true; this.colDi_Dong.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colDi_Dong.Visible = true; this.colDi_Dong.VisibleIndex = 6; // // colThu_Kho // this.colThu_Kho.Caption = "Thủ Kho"; this.colThu_Kho.FieldName = "Thu_Kho"; this.colThu_Kho.Name = "colThu_Kho"; this.colThu_Kho.OptionsColumn.ReadOnly = true; this.colThu_Kho.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colThu_Kho.Visible = true; this.colThu_Kho.VisibleIndex = 7; // // colGhi_Chu // this.colGhi_Chu.Caption = "Ghi Chú"; this.colGhi_Chu.FieldName = "Ghi_Chu"; this.colGhi_Chu.Name = "colGhi_Chu"; this.colGhi_Chu.OptionsColumn.ReadOnly = true; this.colGhi_Chu.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colGhi_Chu.Visible = true; this.colGhi_Chu.VisibleIndex = 8; // // layoutControl2 // this.layoutControl2.Location = new System.Drawing.Point(613, 2); this.layoutControl2.Name = "layoutControl2"; this.layoutControl2.Root = this.layoutControlGroup2; this.layoutControl2.Size = new System.Drawing.Size(487, 20); this.layoutControl2.TabIndex = 8; this.layoutControl2.Text = "layoutControl2"; // // layoutControlGroup2 // this.layoutControlGroup2.CustomizationFormText = "layoutControlGroup2"; this.layoutControlGroup2.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup2.GroupBordersVisible = false; this.layoutControlGroup2.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup2.Name = "layoutControlGroup2"; this.layoutControlGroup2.Size = new System.Drawing.Size(487, 20); this.layoutControlGroup2.Text = "layoutControlGroup2"; this.layoutControlGroup2.TextVisible = false; // // dtDen // this.dtDen.EditValue = null; this.dtDen.Location = new System.Drawing.Point(523, 2); this.dtDen.MenuManager = this.bm; this.dtDen.Name = "dtDen"; this.dtDen.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.dtDen.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.dtDen.Size = new System.Drawing.Size(86, 20); this.dtDen.StyleController = this.layoutControl1; this.dtDen.TabIndex = 7; // // dtTu // this.dtTu.EditValue = null; this.dtTu.Location = new System.Drawing.Point(383, 2); this.dtTu.MenuManager = this.bm; this.dtTu.Name = "dtTu"; this.dtTu.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.dtTu.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.dtTu.Size = new System.Drawing.Size(83, 20); this.dtTu.StyleController = this.layoutControl1; this.dtTu.TabIndex = 6; // // cbChonNgay // this.cbChonNgay.Location = new System.Drawing.Point(235, 2); this.cbChonNgay.MenuManager = this.bm; this.cbChonNgay.Name = "cbChonNgay"; this.cbChonNgay.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.cbChonNgay.Properties.Items.AddRange(new object[] { "Tháng 1", "Tháng 2", "Tháng 3", "Tháng 4", "Tháng 5", "Tháng 6", "Tháng 7", "Tháng 8", "Tháng 9", "Tháng 10", "Tháng 11", "Tháng 12"}); this.cbChonNgay.Size = new System.Drawing.Size(91, 20); this.cbChonNgay.StyleController = this.layoutControl1; this.cbChonNgay.TabIndex = 5; this.cbChonNgay.SelectedIndexChanged += new System.EventHandler(this.cbChonNgay_SelectedIndexChanged); // // gcList // this.gcList.Cursor = System.Windows.Forms.Cursors.Default; this.gcList.DataSource = this.xuatNhapTonTheoNgayBindingSource; this.gcList.Location = new System.Drawing.Point(2, 26); this.gcList.MainView = this.gbList; this.gcList.MenuManager = this.bm; this.gcList.Name = "gcList"; this.gcList.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.rptMayTinh}); this.gcList.Size = new System.Drawing.Size(1098, 364); this.gcList.TabIndex = 4; this.gcList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gbList}); // // xuatNhapTonTheoNgayBindingSource // this.xuatNhapTonTheoNgayBindingSource.DataMember = "Xuat_Nhap_Ton_Theo_Ngay"; this.xuatNhapTonTheoNgayBindingSource.DataSource = this.dsXuatNhapTon; // // dsXuatNhapTon // this.dsXuatNhapTon.DataSetName = "dsXuatNhapTon"; this.dsXuatNhapTon.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // gbList // this.gbList.Appearance.GroupRow.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold); this.gbList.Appearance.GroupRow.ForeColor = System.Drawing.Color.Red; this.gbList.Appearance.GroupRow.Options.UseFont = true; this.gbList.Appearance.GroupRow.Options.UseForeColor = true; this.gbList.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colMa_Hang_Hoa, this.colTen_Hang, this.colDon_Vi, this.colMa_Kho_Hang, this.colTen_Kho, this.colSo_Luong_Dau_Ky, this.colSo_Luong_Nhap_Trong_Ky, this.colSo_Luong_Xuat_Trong_Ky, this.colSo_Luong_Cuoi_Ky, this.colThanh_Tien_Dau_Ky, this.colThanh_Tien_Nhap_Trong_Ky, this.colThanh_Tien_Xuat_Trong_Ky, this.colThanh_Tien_Cuoi_Ky, this.colNhom_Hang, this.colTen_Nhom_Hang}); this.gbList.GridControl = this.gcList; this.gbList.GroupCount = 1; this.gbList.GroupPanelText = "Kéo cột và thả vào đây để nhóm dữ liệu"; this.gbList.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "So_Luong_Dau_Ky", this.colSo_Luong_Dau_Ky, "{0:##,##0.###}"), new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "So_Luong_Nhap_Trong_Ky", this.colSo_Luong_Nhap_Trong_Ky, "{0:##,##0.###}"), new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "So_Luong_Xuat_Trong_Ky", this.colSo_Luong_Xuat_Trong_Ky, "{0:##,##0.###}"), new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "So_Luong_Cuoi_Ky", this.colSo_Luong_Cuoi_Ky, "{0:##,##0.###}")}); this.gbList.IndicatorWidth = 40; this.gbList.Name = "gbList"; this.gbList.OptionsBehavior.AutoExpandAllGroups = true; this.gbList.OptionsView.ColumnAutoWidth = false; this.gbList.OptionsView.ColumnHeaderAutoHeight = DevExpress.Utils.DefaultBoolean.True; this.gbList.OptionsView.ShowAutoFilterRow = true; this.gbList.OptionsView.ShowFooter = true; this.gbList.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colTen_Nhom_Hang, DevExpress.Data.ColumnSortOrder.Ascending)}); this.gbList.CustomDrawRowIndicator += new DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventHandler(this.gbList_CustomDrawRowIndicator); // // colMa_Hang_Hoa // this.colMa_Hang_Hoa.AppearanceHeader.Options.UseTextOptions = true; this.colMa_Hang_Hoa.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMa_Hang_Hoa.Caption = "Mã Hàng Hóa"; this.colMa_Hang_Hoa.FieldName = "Ma_Hang_Hoa"; this.colMa_Hang_Hoa.Name = "colMa_Hang_Hoa"; this.colMa_Hang_Hoa.OptionsColumn.ReadOnly = true; this.colMa_Hang_Hoa.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colMa_Hang_Hoa.Visible = true; this.colMa_Hang_Hoa.VisibleIndex = 0; this.colMa_Hang_Hoa.Width = 89; // // colTen_Hang // this.colTen_Hang.AppearanceHeader.Options.UseTextOptions = true; this.colTen_Hang.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colTen_Hang.Caption = "Tên Hàng"; this.colTen_Hang.FieldName = "Ten_Hang"; this.colTen_Hang.Name = "colTen_Hang"; this.colTen_Hang.OptionsColumn.ReadOnly = true; this.colTen_Hang.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colTen_Hang.Visible = true; this.colTen_Hang.VisibleIndex = 1; // // colDon_Vi // this.colDon_Vi.AppearanceHeader.Options.UseTextOptions = true; this.colDon_Vi.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colDon_Vi.Caption = "Đơn Vị"; this.colDon_Vi.FieldName = "Don_Vi"; this.colDon_Vi.Name = "colDon_Vi"; this.colDon_Vi.OptionsColumn.ReadOnly = true; this.colDon_Vi.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colDon_Vi.Visible = true; this.colDon_Vi.VisibleIndex = 2; // // colMa_Kho_Hang // this.colMa_Kho_Hang.AppearanceHeader.Options.UseTextOptions = true; this.colMa_Kho_Hang.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMa_Kho_Hang.FieldName = "Ma_Kho_Hang"; this.colMa_Kho_Hang.Name = "colMa_Kho_Hang"; this.colMa_Kho_Hang.OptionsColumn.ReadOnly = true; this.colMa_Kho_Hang.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; // // colTen_Kho // this.colTen_Kho.AppearanceHeader.Options.UseTextOptions = true; this.colTen_Kho.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colTen_Kho.Caption = "Kho Hàng"; this.colTen_Kho.FieldName = "Ten_Kho"; this.colTen_Kho.Name = "colTen_Kho"; this.colTen_Kho.OptionsColumn.ReadOnly = true; this.colTen_Kho.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colTen_Kho.Visible = true; this.colTen_Kho.VisibleIndex = 3; // // colSo_Luong_Dau_Ky // this.colSo_Luong_Dau_Ky.AppearanceHeader.Options.UseTextOptions = true; this.colSo_Luong_Dau_Ky.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSo_Luong_Dau_Ky.Caption = "Đầu Kỳ / Số Lượng"; this.colSo_Luong_Dau_Ky.ColumnEdit = this.rptMayTinh; this.colSo_Luong_Dau_Ky.FieldName = "So_Luong_Dau_Ky"; this.colSo_Luong_Dau_Ky.Name = "colSo_Luong_Dau_Ky"; this.colSo_Luong_Dau_Ky.OptionsColumn.ReadOnly = true; this.colSo_Luong_Dau_Ky.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colSo_Luong_Dau_Ky.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "So_Luong_Dau_Ky", "{0:##,##0.###}")}); this.colSo_Luong_Dau_Ky.Visible = true; this.colSo_Luong_Dau_Ky.VisibleIndex = 4; this.colSo_Luong_Dau_Ky.Width = 109; // // rptMayTinh // this.rptMayTinh.AutoHeight = false; this.rptMayTinh.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.rptMayTinh.DisplayFormat.FormatString = "{0:##,##0.###}"; this.rptMayTinh.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; this.rptMayTinh.EditFormat.FormatString = "{0:##,##0.###}"; this.rptMayTinh.EditFormat.FormatType = DevExpress.Utils.FormatType.Custom; this.rptMayTinh.Name = "rptMayTinh"; // // colSo_Luong_Nhap_Trong_Ky // this.colSo_Luong_Nhap_Trong_Ky.AppearanceHeader.Options.UseTextOptions = true; this.colSo_Luong_Nhap_Trong_Ky.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSo_Luong_Nhap_Trong_Ky.Caption = "Trong Kỳ / Số Lượng Nhập"; this.colSo_Luong_Nhap_Trong_Ky.ColumnEdit = this.rptMayTinh; this.colSo_Luong_Nhap_Trong_Ky.FieldName = "So_Luong_Nhap_Trong_Ky"; this.colSo_Luong_Nhap_Trong_Ky.Name = "colSo_Luong_Nhap_Trong_Ky"; this.colSo_Luong_Nhap_Trong_Ky.OptionsColumn.ReadOnly = true; this.colSo_Luong_Nhap_Trong_Ky.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colSo_Luong_Nhap_Trong_Ky.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "So_Luong_Nhap_Trong_Ky", "{0:##,##0.###}")}); this.colSo_Luong_Nhap_Trong_Ky.Visible = true; this.colSo_Luong_Nhap_Trong_Ky.VisibleIndex = 5; this.colSo_Luong_Nhap_Trong_Ky.Width = 149; // // colSo_Luong_Xuat_Trong_Ky // this.colSo_Luong_Xuat_Trong_Ky.AppearanceHeader.Options.UseTextOptions = true; this.colSo_Luong_Xuat_Trong_Ky.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSo_Luong_Xuat_Trong_Ky.Caption = "Trong Kỳ / Số Lượng Xuât"; this.colSo_Luong_Xuat_Trong_Ky.ColumnEdit = this.rptMayTinh; this.colSo_Luong_Xuat_Trong_Ky.FieldName = "So_Luong_Xuat_Trong_Ky"; this.colSo_Luong_Xuat_Trong_Ky.Name = "colSo_Luong_Xuat_Trong_Ky"; this.colSo_Luong_Xuat_Trong_Ky.OptionsColumn.ReadOnly = true; this.colSo_Luong_Xuat_Trong_Ky.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colSo_Luong_Xuat_Trong_Ky.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "So_Luong_Xuat_Trong_Ky", "{0:##,##0.###}")}); this.colSo_Luong_Xuat_Trong_Ky.Visible = true; this.colSo_Luong_Xuat_Trong_Ky.VisibleIndex = 6; this.colSo_Luong_Xuat_Trong_Ky.Width = 146; // // colSo_Luong_Cuoi_Ky // this.colSo_Luong_Cuoi_Ky.AppearanceHeader.Options.UseTextOptions = true; this.colSo_Luong_Cuoi_Ky.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSo_Luong_Cuoi_Ky.Caption = "Cuối Kỳ / Số Lượng"; this.colSo_Luong_Cuoi_Ky.ColumnEdit = this.rptMayTinh; this.colSo_Luong_Cuoi_Ky.FieldName = "So_Luong_Cuoi_Ky"; this.colSo_Luong_Cuoi_Ky.Name = "colSo_Luong_Cuoi_Ky"; this.colSo_Luong_Cuoi_Ky.OptionsColumn.ReadOnly = true; this.colSo_Luong_Cuoi_Ky.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colSo_Luong_Cuoi_Ky.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "So_Luong_Cuoi_Ky", "{0:##,##0.###}")}); this.colSo_Luong_Cuoi_Ky.Visible = true; this.colSo_Luong_Cuoi_Ky.VisibleIndex = 7; this.colSo_Luong_Cuoi_Ky.Width = 111; // // colThanh_Tien_Dau_Ky // this.colThanh_Tien_Dau_Ky.AppearanceHeader.Options.UseTextOptions = true; this.colThanh_Tien_Dau_Ky.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colThanh_Tien_Dau_Ky.ColumnEdit = this.rptMayTinh; this.colThanh_Tien_Dau_Ky.FieldName = "Thanh_Tien_Dau_Ky"; this.colThanh_Tien_Dau_Ky.Name = "colThanh_Tien_Dau_Ky"; this.colThanh_Tien_Dau_Ky.OptionsColumn.ReadOnly = true; this.colThanh_Tien_Dau_Ky.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colThanh_Tien_Dau_Ky.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Thanh_Tien_Dau_Ky", "{0:##,##0.###}")}); // // colThanh_Tien_Nhap_Trong_Ky // this.colThanh_Tien_Nhap_Trong_Ky.AppearanceHeader.Options.UseTextOptions = true; this.colThanh_Tien_Nhap_Trong_Ky.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colThanh_Tien_Nhap_Trong_Ky.ColumnEdit = this.rptMayTinh; this.colThanh_Tien_Nhap_Trong_Ky.FieldName = "Thanh_Tien_Nhap_Trong_Ky"; this.colThanh_Tien_Nhap_Trong_Ky.Name = "colThanh_Tien_Nhap_Trong_Ky"; this.colThanh_Tien_Nhap_Trong_Ky.OptionsColumn.ReadOnly = true; this.colThanh_Tien_Nhap_Trong_Ky.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colThanh_Tien_Nhap_Trong_Ky.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Thanh_Tien_Nhap_Trong_Ky", "{0:##,##0.###}")}); // // colThanh_Tien_Xuat_Trong_Ky // this.colThanh_Tien_Xuat_Trong_Ky.AppearanceHeader.Options.UseTextOptions = true; this.colThanh_Tien_Xuat_Trong_Ky.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colThanh_Tien_Xuat_Trong_Ky.ColumnEdit = this.rptMayTinh; this.colThanh_Tien_Xuat_Trong_Ky.FieldName = "Thanh_Tien_Xuat_Trong_Ky"; this.colThanh_Tien_Xuat_Trong_Ky.Name = "colThanh_Tien_Xuat_Trong_Ky"; this.colThanh_Tien_Xuat_Trong_Ky.OptionsColumn.ReadOnly = true; this.colThanh_Tien_Xuat_Trong_Ky.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colThanh_Tien_Xuat_Trong_Ky.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Thanh_Tien_Xuat_Trong_Ky", "{0:##,##0.###}")}); // // colThanh_Tien_Cuoi_Ky // this.colThanh_Tien_Cuoi_Ky.AppearanceHeader.Options.UseTextOptions = true; this.colThanh_Tien_Cuoi_Ky.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colThanh_Tien_Cuoi_Ky.ColumnEdit = this.rptMayTinh; this.colThanh_Tien_Cuoi_Ky.FieldName = "Thanh_Tien_Cuoi_Ky"; this.colThanh_Tien_Cuoi_Ky.Name = "colThanh_Tien_Cuoi_Ky"; this.colThanh_Tien_Cuoi_Ky.OptionsColumn.ReadOnly = true; this.colThanh_Tien_Cuoi_Ky.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colThanh_Tien_Cuoi_Ky.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Thanh_Tien_Cuoi_Ky", "{0:##,##0.###}")}); // // colNhom_Hang // this.colNhom_Hang.AppearanceHeader.Options.UseTextOptions = true; this.colNhom_Hang.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colNhom_Hang.FieldName = "Nhom_Hang"; this.colNhom_Hang.Name = "colNhom_Hang"; this.colNhom_Hang.OptionsColumn.ReadOnly = true; this.colNhom_Hang.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; // // colTen_Nhom_Hang // this.colTen_Nhom_Hang.AppearanceHeader.Options.UseTextOptions = true; this.colTen_Nhom_Hang.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colTen_Nhom_Hang.Caption = "Nhóm Hàng"; this.colTen_Nhom_Hang.FieldName = "Ten_Nhom_Hang"; this.colTen_Nhom_Hang.Name = "colTen_Nhom_Hang"; this.colTen_Nhom_Hang.OptionsColumn.ReadOnly = true; this.colTen_Nhom_Hang.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colTen_Nhom_Hang.Visible = true; this.colTen_Nhom_Hang.VisibleIndex = 4; this.colTen_Nhom_Hang.Width = 101; // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1, this.layoutControlItem2, this.layoutControlItem3, this.layoutControlItem4, this.layoutControlItem5, this.layoutControlItem6}); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.layoutControlGroup1.Size = new System.Drawing.Size(1102, 392); this.layoutControlGroup1.Text = "layoutControlGroup1"; this.layoutControlGroup1.TextVisible = false; // // layoutControlItem1 // this.layoutControlItem1.Control = this.gcList; this.layoutControlItem1.CustomizationFormText = "layoutControlItem1"; this.layoutControlItem1.Location = new System.Drawing.Point(0, 24); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(1102, 368); this.layoutControlItem1.Text = "layoutControlItem1"; this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem1.TextToControlDistance = 0; this.layoutControlItem1.TextVisible = false; // // layoutControlItem2 // this.layoutControlItem2.Control = this.cbChonNgay; this.layoutControlItem2.CustomizationFormText = "Tùy Chọn:"; this.layoutControlItem2.Location = new System.Drawing.Point(178, 0); this.layoutControlItem2.MaxSize = new System.Drawing.Size(150, 24); this.layoutControlItem2.MinSize = new System.Drawing.Size(109, 24); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(150, 24); this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem2.Text = "Tùy Chọn:"; this.layoutControlItem2.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize; this.layoutControlItem2.TextSize = new System.Drawing.Size(50, 13); this.layoutControlItem2.TextToControlDistance = 5; // // layoutControlItem3 // this.layoutControlItem3.Control = this.dtTu; this.layoutControlItem3.CustomizationFormText = "Từ"; this.layoutControlItem3.Location = new System.Drawing.Point(328, 0); this.layoutControlItem3.MaxSize = new System.Drawing.Size(150, 24); this.layoutControlItem3.MinSize = new System.Drawing.Size(78, 24); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(140, 24); this.layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem3.Text = "Từ"; this.layoutControlItem3.TextSize = new System.Drawing.Size(50, 13); // // layoutControlItem4 // this.layoutControlItem4.Control = this.dtDen; this.layoutControlItem4.CustomizationFormText = "Đến"; this.layoutControlItem4.Location = new System.Drawing.Point(468, 0); this.layoutControlItem4.MaxSize = new System.Drawing.Size(150, 24); this.layoutControlItem4.MinSize = new System.Drawing.Size(78, 24); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(143, 24); this.layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem4.Text = "Đến"; this.layoutControlItem4.TextSize = new System.Drawing.Size(50, 13); // // layoutControlItem5 // this.layoutControlItem5.Control = this.layoutControl2; this.layoutControlItem5.CustomizationFormText = "layoutControlItem5"; this.layoutControlItem5.Location = new System.Drawing.Point(611, 0); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(491, 24); this.layoutControlItem5.Text = "layoutControlItem5"; this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem5.TextToControlDistance = 0; this.layoutControlItem5.TextVisible = false; // // layoutControlItem6 // this.layoutControlItem6.Control = this.txtKhoHang; this.layoutControlItem6.CustomizationFormText = "Kho Hàng:"; this.layoutControlItem6.Location = new System.Drawing.Point(0, 0); this.layoutControlItem6.Name = "layoutControlItem6"; this.layoutControlItem6.Size = new System.Drawing.Size(178, 24); this.layoutControlItem6.Text = "Kho Hàng:"; this.layoutControlItem6.TextSize = new System.Drawing.Size(50, 13); // // kHO_HANGTableAdapter // this.kHO_HANGTableAdapter.ClearBeforeFill = true; // // frmXuatNhapTon // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1102, 416); this.Controls.Add(this.layoutControl1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "frmXuatNhapTon"; this.Text = "Xuất Nhập Tồn"; ((System.ComponentModel.ISupportInitialize)(this.img)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bm)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.txtKhoHang.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.kHOHANGBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsKho)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtKhoHang_View)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dtDen.Properties.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dtDen.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dtTu.Properties.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dtTu.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbChonNgay.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gcList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xuatNhapTonTheoNgayBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsXuatNhapTon)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gbList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rptMayTinh)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(CustomInfoDefine)); this.groupControl_CustomInfo = new DevExpress.XtraEditors.GroupControl(); this.splitContainerControl_CustomInfo = new DevExpress.XtraEditors.SplitContainerControl(); this.gridControl_TeaCustomInfo = new DevExpress.XtraGrid.GridControl(); this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn_TeaPressKey = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn_TeaPressKeyInfo = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.notePanel_TeaCustomInfo = new DevExpress.Utils.Frames.NotePanel(); this.simpleButton_SaveTea = new DevExpress.XtraEditors.SimpleButton(); this.gridControl_StuCustomInfo = new DevExpress.XtraGrid.GridControl(); this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn_StuPressKey = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn_StuPressKeyInfo = new DevExpress.XtraGrid.Columns.GridColumn(); this.notePanel_StuCustomInfo = new DevExpress.Utils.Frames.NotePanel(); this.simpleButton_SaveStu = new DevExpress.XtraEditors.SimpleButton(); this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.groupControl_CustomInfo)).BeginInit(); this.groupControl_CustomInfo.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl_CustomInfo)).BeginInit(); this.splitContainerControl_CustomInfo.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControl_TeaCustomInfo)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl_StuCustomInfo)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit(); this.SuspendLayout(); // // groupControl_CustomInfo // this.groupControl_CustomInfo.Appearance.BackColor = System.Drawing.Color.WhiteSmoke; this.groupControl_CustomInfo.Appearance.Options.UseBackColor = true; this.groupControl_CustomInfo.Controls.Add(this.splitContainerControl_CustomInfo); this.groupControl_CustomInfo.Dock = System.Windows.Forms.DockStyle.Fill; this.groupControl_CustomInfo.Location = new System.Drawing.Point(0, 0); this.groupControl_CustomInfo.Name = "groupControl_CustomInfo"; this.groupControl_CustomInfo.Size = new System.Drawing.Size(688, 325); this.groupControl_CustomInfo.TabIndex = 0; this.groupControl_CustomInfo.Text = "自定义信息设置"; // // splitContainerControl_CustomInfo // this.splitContainerControl_CustomInfo.Dock = System.Windows.Forms.DockStyle.Top; this.splitContainerControl_CustomInfo.Location = new System.Drawing.Point(3, 18); this.splitContainerControl_CustomInfo.Name = "splitContainerControl_CustomInfo"; this.splitContainerControl_CustomInfo.Panel1.Controls.Add(this.simpleButton1); this.splitContainerControl_CustomInfo.Panel1.Controls.Add(this.gridControl_TeaCustomInfo); this.splitContainerControl_CustomInfo.Panel1.Controls.Add(this.notePanel_TeaCustomInfo); this.splitContainerControl_CustomInfo.Panel1.Controls.Add(this.simpleButton_SaveTea); this.splitContainerControl_CustomInfo.Panel1.Text = "splitContainerControl1_Panel1"; this.splitContainerControl_CustomInfo.Panel2.Controls.Add(this.simpleButton2); this.splitContainerControl_CustomInfo.Panel2.Controls.Add(this.gridControl_StuCustomInfo); this.splitContainerControl_CustomInfo.Panel2.Controls.Add(this.notePanel_StuCustomInfo); this.splitContainerControl_CustomInfo.Panel2.Controls.Add(this.simpleButton_SaveStu); this.splitContainerControl_CustomInfo.Panel2.Text = "splitContainerControl1_Panel2"; this.splitContainerControl_CustomInfo.Size = new System.Drawing.Size(682, 286); this.splitContainerControl_CustomInfo.SplitterPosition = 340; this.splitContainerControl_CustomInfo.TabIndex = 0; this.splitContainerControl_CustomInfo.Text = "splitContainerControl1"; // // gridControl_TeaCustomInfo // // // gridControl_TeaCustomInfo.EmbeddedNavigator // this.gridControl_TeaCustomInfo.EmbeddedNavigator.Name = ""; this.gridControl_TeaCustomInfo.Location = new System.Drawing.Point(0, 80); this.gridControl_TeaCustomInfo.MainView = this.gridView2; this.gridControl_TeaCustomInfo.Name = "gridControl_TeaCustomInfo"; this.gridControl_TeaCustomInfo.Size = new System.Drawing.Size(332, 200); this.gridControl_TeaCustomInfo.TabIndex = 6; this.gridControl_TeaCustomInfo.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView2, this.gridView1 }); // // gridView2 // this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn_TeaPressKey, this.gridColumn_TeaPressKeyInfo }); this.gridView2.GridControl = this.gridControl_TeaCustomInfo; this.gridView2.Name = "gridView2"; this.gridView2.OptionsCustomization.AllowFilter = false; this.gridView2.OptionsCustomization.AllowGroup = false; this.gridView2.OptionsView.ShowFilterPanel = false; this.gridView2.OptionsView.ShowFooter = true; this.gridView2.OptionsView.ShowGroupPanel = false; // // gridColumn_TeaPressKey // this.gridColumn_TeaPressKey.Caption = "按键值"; this.gridColumn_TeaPressKey.FieldName = "teafs_state"; this.gridColumn_TeaPressKey.Name = "gridColumn_TeaPressKey"; this.gridColumn_TeaPressKey.OptionsColumn.AllowEdit = false; this.gridColumn_TeaPressKey.Visible = true; this.gridColumn_TeaPressKey.VisibleIndex = 0; // // gridColumn_TeaPressKeyInfo // this.gridColumn_TeaPressKeyInfo.Caption = "按键定义"; this.gridColumn_TeaPressKeyInfo.FieldName = "teafs_name"; this.gridColumn_TeaPressKeyInfo.Name = "gridColumn_TeaPressKeyInfo"; this.gridColumn_TeaPressKeyInfo.Visible = true; this.gridColumn_TeaPressKeyInfo.VisibleIndex = 1; // // gridView1 // this.gridView1.GridControl = this.gridControl_TeaCustomInfo; this.gridView1.Name = "gridView1"; // // notePanel_TeaCustomInfo // this.notePanel_TeaCustomInfo.BackColor = System.Drawing.Color.LightGoldenrodYellow; this.notePanel_TeaCustomInfo.Dock = System.Windows.Forms.DockStyle.Top; this.notePanel_TeaCustomInfo.ForeColor = System.Drawing.Color.OrangeRed; this.notePanel_TeaCustomInfo.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; this.notePanel_TeaCustomInfo.Location = new System.Drawing.Point(0, 0); this.notePanel_TeaCustomInfo.MaxRows = 5; this.notePanel_TeaCustomInfo.Name = "notePanel_TeaCustomInfo"; this.notePanel_TeaCustomInfo.ParentAutoHeight = true; this.notePanel_TeaCustomInfo.Size = new System.Drawing.Size(334, 38); this.notePanel_TeaCustomInfo.TabIndex = 5; this.notePanel_TeaCustomInfo.TabStop = false; this.notePanel_TeaCustomInfo.Text = "教师自定义: (最多定义18条,晨检下使用" + ",键0默认为:\"外出归来\")"; // // simpleButton_SaveTea // this.simpleButton_SaveTea.Location = new System.Drawing.Point(192, 48); this.simpleButton_SaveTea.Name = "simpleButton_SaveTea"; this.simpleButton_SaveTea.Size = new System.Drawing.Size(56, 23); this.simpleButton_SaveTea.TabIndex = 1; this.simpleButton_SaveTea.Text = "保存"; this.simpleButton_SaveTea.Click += new System.EventHandler(this.simpleButton_SaveTea_Click); // // gridControl_StuCustomInfo // // // gridControl_StuCustomInfo.EmbeddedNavigator // this.gridControl_StuCustomInfo.EmbeddedNavigator.Name = ""; this.gridControl_StuCustomInfo.Location = new System.Drawing.Point(0, 80); this.gridControl_StuCustomInfo.MainView = this.gridView3; this.gridControl_StuCustomInfo.Name = "gridControl_StuCustomInfo"; this.gridControl_StuCustomInfo.Size = new System.Drawing.Size(334, 200); this.gridControl_StuCustomInfo.TabIndex = 6; this.gridControl_StuCustomInfo.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView3 }); // // gridView3 // this.gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn_StuPressKey, this.gridColumn_StuPressKeyInfo }); this.gridView3.GridControl = this.gridControl_StuCustomInfo; this.gridView3.Name = "gridView3"; this.gridView3.OptionsCustomization.AllowFilter = false; this.gridView3.OptionsCustomization.AllowGroup = false; this.gridView3.OptionsView.ShowFilterPanel = false; this.gridView3.OptionsView.ShowFooter = true; this.gridView3.OptionsView.ShowGroupPanel = false; // // gridColumn_StuPressKey // this.gridColumn_StuPressKey.Caption = "按键值"; this.gridColumn_StuPressKey.FieldName = "state_flowState"; this.gridColumn_StuPressKey.Name = "gridColumn_StuPressKey"; this.gridColumn_StuPressKey.OptionsColumn.AllowEdit = false; this.gridColumn_StuPressKey.Visible = true; this.gridColumn_StuPressKey.VisibleIndex = 0; // // gridColumn_StuPressKeyInfo // this.gridColumn_StuPressKeyInfo.Caption = "按键定义"; this.gridColumn_StuPressKeyInfo.FieldName = "state_flowStateName"; this.gridColumn_StuPressKeyInfo.Name = "gridColumn_StuPressKeyInfo"; this.gridColumn_StuPressKeyInfo.Visible = true; this.gridColumn_StuPressKeyInfo.VisibleIndex = 1; // // notePanel_StuCustomInfo // this.notePanel_StuCustomInfo.BackColor = System.Drawing.Color.LightGoldenrodYellow; this.notePanel_StuCustomInfo.Dock = System.Windows.Forms.DockStyle.Top; this.notePanel_StuCustomInfo.ForeColor = System.Drawing.Color.OrangeRed; this.notePanel_StuCustomInfo.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; this.notePanel_StuCustomInfo.Location = new System.Drawing.Point(0, 0); this.notePanel_StuCustomInfo.MaxRows = 5; this.notePanel_StuCustomInfo.Name = "notePanel_StuCustomInfo"; this.notePanel_StuCustomInfo.ParentAutoHeight = true; this.notePanel_StuCustomInfo.Size = new System.Drawing.Size(332, 38); this.notePanel_StuCustomInfo.TabIndex = 5; this.notePanel_StuCustomInfo.TabStop = false; this.notePanel_StuCustomInfo.Text = "学生自定义 (最多定义18条," + "加餐为固定自定义键)"; // // simpleButton_SaveStu // this.simpleButton_SaveStu.Location = new System.Drawing.Point(192, 48); this.simpleButton_SaveStu.Name = "simpleButton_SaveStu"; this.simpleButton_SaveStu.Size = new System.Drawing.Size(56, 23); this.simpleButton_SaveStu.TabIndex = 1; this.simpleButton_SaveStu.Text = "保存"; this.simpleButton_SaveStu.Click += new System.EventHandler(this.simpleButton_SaveStu_Click); // // simpleButton1 // this.simpleButton1.Location = new System.Drawing.Point(256, 48); this.simpleButton1.Name = "simpleButton1"; this.simpleButton1.Size = new System.Drawing.Size(64, 23); this.simpleButton1.TabIndex = 7; this.simpleButton1.Text = "全部清空"; this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click); // // simpleButton2 // this.simpleButton2.Location = new System.Drawing.Point(256, 48); this.simpleButton2.Name = "simpleButton2"; this.simpleButton2.Size = new System.Drawing.Size(64, 23); this.simpleButton2.TabIndex = 8; this.simpleButton2.Text = "全部清空"; this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click); // // CustomInfoDefine // this.AutoScaleBaseSize = new System.Drawing.Size(6, 15); this.ClientSize = new System.Drawing.Size(688, 325); this.Controls.Add(this.groupControl_CustomInfo); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Name = "CustomInfoDefine"; this.ShowInTaskbar = false; this.Text = "自定义信息维护"; this.Load += new System.EventHandler(this.CustomInfoDefine_Load); ((System.ComponentModel.ISupportInitialize)(this.groupControl_CustomInfo)).EndInit(); this.groupControl_CustomInfo.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl_CustomInfo)).EndInit(); this.splitContainerControl_CustomInfo.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControl_TeaCustomInfo)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl_StuCustomInfo)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(RealtimeInfo)); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl(); this.groupControl1_Realtime_Graphic = new DevExpress.XtraEditors.GroupControl(); this.groupControl_RealtimeStat_Graphic = new DevExpress.XtraEditors.GroupControl(); this.comboBoxEdit_Realtime_GraphicState = new DevExpress.XtraEditors.ComboBoxEdit(); this.notePanel_Realtime_GraphicState = new DevExpress.Utils.Frames.NotePanel(); this.comboBoxEdit_Realtime_GraphicClass = new DevExpress.XtraEditors.ComboBoxEdit(); this.comboBoxEdit_Realtime_GraphicGrade = new DevExpress.XtraEditors.ComboBoxEdit(); this.notePanel_Realtime_GraphicGrade = new DevExpress.Utils.Frames.NotePanel(); this.notePanel_Realtime_GraphicClass = new DevExpress.Utils.Frames.NotePanel(); this.notePanel_Realtime_Graphic = new DevExpress.Utils.Frames.NotePanel(); this.groupControl_Realtime_GraphicShow = new DevExpress.XtraEditors.GroupControl(); this.panelControl_Realtime_GraphicShow = new DevExpress.XtraEditors.PanelControl(); this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); this.simpleButton_RealTimeQuery_Graphic = new DevExpress.XtraEditors.SimpleButton(); this.simpleButton_Realtime_GraphicPrint = new DevExpress.XtraEditors.SimpleButton(); this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); this.groupControl_RealTime = new DevExpress.XtraEditors.GroupControl(); this.groupControl_RealTimeStat = new DevExpress.XtraEditors.GroupControl(); this.comboBoxEdit_RealTimeOption = new DevExpress.XtraEditors.ComboBoxEdit(); this.notePanel_RealTimeOption = new DevExpress.Utils.Frames.NotePanel(); this.comboBoxEdit_RealTimeClass = new DevExpress.XtraEditors.ComboBoxEdit(); this.comboBoxEdit_RealTimeGrade = new DevExpress.XtraEditors.ComboBoxEdit(); this.notePanel1_RealTimeGrade = new DevExpress.Utils.Frames.NotePanel(); this.notePanel1_RealTimeClass = new DevExpress.Utils.Frames.NotePanel(); this.notePanel_RealTime = new DevExpress.Utils.Frames.NotePanel(); this.gridControl_RealTimeMorning = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridControl_RealTimeBack = new DevExpress.XtraGrid.GridControl(); this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn(); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.simpleButton_RealTimeQuery = new DevExpress.XtraEditors.SimpleButton(); this.simpleButton_RealTimePrint = new DevExpress.XtraEditors.SimpleButton(); this.saveFileDialog_Report = new System.Windows.Forms.SaveFileDialog(); this.helpProvider_RealtimeInfo_Student = new System.Windows.Forms.HelpProvider(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); this.xtraTabControl1.SuspendLayout(); this.xtraTabPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit(); this.splitContainerControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1_Realtime_Graphic)).BeginInit(); this.groupControl1_Realtime_Graphic.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControl_RealtimeStat_Graphic)).BeginInit(); this.groupControl_RealtimeStat_Graphic.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_Realtime_GraphicState.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_Realtime_GraphicClass.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_Realtime_GraphicGrade.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl_Realtime_GraphicShow)).BeginInit(); this.groupControl_Realtime_GraphicShow.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl_Realtime_GraphicShow)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); this.panelControl2.SuspendLayout(); this.xtraTabPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControl_RealTime)).BeginInit(); this.groupControl_RealTime.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControl_RealTimeStat)).BeginInit(); this.groupControl_RealTimeStat.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_RealTimeOption.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_RealTimeClass.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_RealTimeGrade.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl_RealTimeMorning)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl_RealTimeBack)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); this.SuspendLayout(); // // xtraTabControl1 // this.xtraTabControl1.Appearance.BackColor = System.Drawing.Color.WhiteSmoke; this.xtraTabControl1.Appearance.Options.UseBackColor = true; this.xtraTabControl1.AppearancePage.HeaderActive.ForeColor = System.Drawing.Color.DarkOrange; this.xtraTabControl1.AppearancePage.HeaderActive.Options.UseForeColor = true; this.xtraTabControl1.Controls.Add(this.xtraTabPage1); this.xtraTabControl1.Controls.Add(this.xtraTabPage2); this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.xtraTabControl1.Location = new System.Drawing.Point(0, 0); this.xtraTabControl1.Name = "xtraTabControl1"; this.xtraTabControl1.SelectedTabPage = this.xtraTabPage2; this.xtraTabControl1.Size = new System.Drawing.Size(772, 540); this.xtraTabControl1.TabIndex = 0; this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPage1, this.xtraTabPage2}); // // xtraTabPage1 // this.xtraTabPage1.Appearance.PageClient.BackColor = System.Drawing.Color.WhiteSmoke; this.xtraTabPage1.Appearance.PageClient.Options.UseBackColor = true; this.xtraTabPage1.Controls.Add(this.splitContainerControl2); this.xtraTabPage1.Name = "xtraTabPage1"; this.xtraTabPage1.Size = new System.Drawing.Size(768, 515); this.xtraTabPage1.Text = "图形统计"; // // splitContainerControl2 // this.splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerControl2.Location = new System.Drawing.Point(0, 0); this.splitContainerControl2.Name = "splitContainerControl2"; this.splitContainerControl2.Panel1.Controls.Add(this.groupControl1_Realtime_Graphic); this.splitContainerControl2.Panel1.Text = "splitContainerControl2_Panel1"; this.splitContainerControl2.Panel2.Controls.Add(this.groupControl_Realtime_GraphicShow); this.splitContainerControl2.Panel2.Controls.Add(this.panelControl2); this.splitContainerControl2.Panel2.Text = "splitContainerControl2_Panel2"; this.splitContainerControl2.Size = new System.Drawing.Size(768, 515); this.splitContainerControl2.SplitterPosition = 207; this.splitContainerControl2.TabIndex = 0; this.splitContainerControl2.Text = "splitContainerControl2"; this.splitContainerControl2.SizeChanged += new System.EventHandler(this.splitContainerControl2_SizeChanged); // // groupControl1_Realtime_Graphic // this.groupControl1_Realtime_Graphic.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.groupControl1_Realtime_Graphic.Appearance.Options.UseFont = true; this.groupControl1_Realtime_Graphic.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.groupControl1_Realtime_Graphic.AppearanceCaption.Options.UseFont = true; this.groupControl1_Realtime_Graphic.Controls.Add(this.groupControl_RealtimeStat_Graphic); this.groupControl1_Realtime_Graphic.Controls.Add(this.notePanel_Realtime_Graphic); this.groupControl1_Realtime_Graphic.Dock = System.Windows.Forms.DockStyle.Fill; this.groupControl1_Realtime_Graphic.Location = new System.Drawing.Point(0, 0); this.groupControl1_Realtime_Graphic.Name = "groupControl1_Realtime_Graphic"; this.groupControl1_Realtime_Graphic.Size = new System.Drawing.Size(201, 509); this.groupControl1_Realtime_Graphic.TabIndex = 1; this.groupControl1_Realtime_Graphic.Text = "实时窗口统计"; // // groupControl_RealtimeStat_Graphic // this.groupControl_RealtimeStat_Graphic.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.groupControl_RealtimeStat_Graphic.AppearanceCaption.Options.UseFont = true; this.groupControl_RealtimeStat_Graphic.Controls.Add(this.comboBoxEdit_Realtime_GraphicState); this.groupControl_RealtimeStat_Graphic.Controls.Add(this.notePanel_Realtime_GraphicState); this.groupControl_RealtimeStat_Graphic.Controls.Add(this.comboBoxEdit_Realtime_GraphicClass); this.groupControl_RealtimeStat_Graphic.Controls.Add(this.comboBoxEdit_Realtime_GraphicGrade); this.groupControl_RealtimeStat_Graphic.Controls.Add(this.notePanel_Realtime_GraphicGrade); this.groupControl_RealtimeStat_Graphic.Controls.Add(this.notePanel_Realtime_GraphicClass); this.groupControl_RealtimeStat_Graphic.Dock = System.Windows.Forms.DockStyle.Top; this.groupControl_RealtimeStat_Graphic.Location = new System.Drawing.Point(3, 41); this.groupControl_RealtimeStat_Graphic.Name = "groupControl_RealtimeStat_Graphic"; this.groupControl_RealtimeStat_Graphic.Size = new System.Drawing.Size(195, 143); this.groupControl_RealtimeStat_Graphic.TabIndex = 7; this.groupControl_RealtimeStat_Graphic.Text = "统计状态和班级信息"; // // comboBoxEdit_Realtime_GraphicState // this.comboBoxEdit_Realtime_GraphicState.EditValue = "晨检"; this.comboBoxEdit_Realtime_GraphicState.Location = new System.Drawing.Point(88, 96); this.comboBoxEdit_Realtime_GraphicState.Name = "comboBoxEdit_Realtime_GraphicState"; // // comboBoxEdit_Realtime_GraphicState.Properties // this.comboBoxEdit_Realtime_GraphicState.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.comboBoxEdit_Realtime_GraphicState.Properties.Items.AddRange(new object[] { "晨检", "晚接"}); this.comboBoxEdit_Realtime_GraphicState.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; this.comboBoxEdit_Realtime_GraphicState.Size = new System.Drawing.Size(88, 23); this.comboBoxEdit_Realtime_GraphicState.TabIndex = 24; this.comboBoxEdit_Realtime_GraphicState.SelectedIndexChanged += new System.EventHandler(this.comboBoxEdit_Realtime_GraphicState_SelectedIndexChanged); // // notePanel_Realtime_GraphicState // this.notePanel_Realtime_GraphicState.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); this.notePanel_Realtime_GraphicState.BackColor2 = System.Drawing.Color.DarkGray; this.notePanel_Realtime_GraphicState.Font = new System.Drawing.Font("Tahoma", 8F); this.notePanel_Realtime_GraphicState.ForeColor = System.Drawing.Color.Black; this.notePanel_Realtime_GraphicState.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; this.notePanel_Realtime_GraphicState.Location = new System.Drawing.Point(16, 96); this.notePanel_Realtime_GraphicState.MaxRows = 5; this.notePanel_Realtime_GraphicState.Name = "notePanel_Realtime_GraphicState"; this.notePanel_Realtime_GraphicState.ParentAutoHeight = true; this.notePanel_Realtime_GraphicState.Size = new System.Drawing.Size(64, 22); this.notePanel_Realtime_GraphicState.TabIndex = 23; this.notePanel_Realtime_GraphicState.TabStop = false; this.notePanel_Realtime_GraphicState.Text = "类 型:"; // // comboBoxEdit_Realtime_GraphicClass // this.comboBoxEdit_Realtime_GraphicClass.EditValue = "全部"; this.comboBoxEdit_Realtime_GraphicClass.Location = new System.Drawing.Point(88, 64); this.comboBoxEdit_Realtime_GraphicClass.Name = "comboBoxEdit_Realtime_GraphicClass"; // // comboBoxEdit_Realtime_GraphicClass.Properties // this.comboBoxEdit_Realtime_GraphicClass.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.comboBoxEdit_Realtime_GraphicClass.Properties.Items.AddRange(new object[] { "全部"}); this.comboBoxEdit_Realtime_GraphicClass.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; this.comboBoxEdit_Realtime_GraphicClass.Size = new System.Drawing.Size(88, 23); this.comboBoxEdit_Realtime_GraphicClass.TabIndex = 22; this.comboBoxEdit_Realtime_GraphicClass.SelectedIndexChanged += new System.EventHandler(this.comboBoxEdit_Realtime_GraphicClass_SelectedIndexChanged); // // comboBoxEdit_Realtime_GraphicGrade // this.comboBoxEdit_Realtime_GraphicGrade.EditValue = "全部"; this.comboBoxEdit_Realtime_GraphicGrade.Location = new System.Drawing.Point(88, 32); this.comboBoxEdit_Realtime_GraphicGrade.Name = "comboBoxEdit_Realtime_GraphicGrade"; // // comboBoxEdit_Realtime_GraphicGrade.Properties // this.comboBoxEdit_Realtime_GraphicGrade.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.comboBoxEdit_Realtime_GraphicGrade.Properties.Items.AddRange(new object[] { "全部"}); this.comboBoxEdit_Realtime_GraphicGrade.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; this.comboBoxEdit_Realtime_GraphicGrade.Size = new System.Drawing.Size(88, 23); this.comboBoxEdit_Realtime_GraphicGrade.TabIndex = 21; this.comboBoxEdit_Realtime_GraphicGrade.SelectedIndexChanged += new System.EventHandler(this.comboBoxEdit_Realtime_GraphicGrade_SelectedIndexChanged); // // notePanel_Realtime_GraphicGrade // this.notePanel_Realtime_GraphicGrade.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); this.notePanel_Realtime_GraphicGrade.BackColor2 = System.Drawing.Color.DarkGray; this.notePanel_Realtime_GraphicGrade.Font = new System.Drawing.Font("Tahoma", 8F); this.notePanel_Realtime_GraphicGrade.ForeColor = System.Drawing.Color.Black; this.notePanel_Realtime_GraphicGrade.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; this.notePanel_Realtime_GraphicGrade.Location = new System.Drawing.Point(16, 32); this.notePanel_Realtime_GraphicGrade.MaxRows = 5; this.notePanel_Realtime_GraphicGrade.Name = "notePanel_Realtime_GraphicGrade"; this.notePanel_Realtime_GraphicGrade.ParentAutoHeight = true; this.notePanel_Realtime_GraphicGrade.Size = new System.Drawing.Size(64, 22); this.notePanel_Realtime_GraphicGrade.TabIndex = 19; this.notePanel_Realtime_GraphicGrade.TabStop = false; this.notePanel_Realtime_GraphicGrade.Text = "年 级:"; // // notePanel_Realtime_GraphicClass // this.notePanel_Realtime_GraphicClass.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); this.notePanel_Realtime_GraphicClass.BackColor2 = System.Drawing.Color.DarkGray; this.notePanel_Realtime_GraphicClass.Font = new System.Drawing.Font("Tahoma", 8F); this.notePanel_Realtime_GraphicClass.ForeColor = System.Drawing.Color.Black; this.notePanel_Realtime_GraphicClass.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; this.notePanel_Realtime_GraphicClass.Location = new System.Drawing.Point(16, 64); this.notePanel_Realtime_GraphicClass.MaxRows = 5; this.notePanel_Realtime_GraphicClass.Name = "notePanel_Realtime_GraphicClass"; this.notePanel_Realtime_GraphicClass.ParentAutoHeight = true; this.notePanel_Realtime_GraphicClass.Size = new System.Drawing.Size(64, 22); this.notePanel_Realtime_GraphicClass.TabIndex = 20; this.notePanel_Realtime_GraphicClass.TabStop = false; this.notePanel_Realtime_GraphicClass.Text = "班 级:"; // // notePanel_Realtime_Graphic // this.notePanel_Realtime_Graphic.BackColor = System.Drawing.Color.LightGoldenrodYellow; this.notePanel_Realtime_Graphic.Dock = System.Windows.Forms.DockStyle.Top; this.notePanel_Realtime_Graphic.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.notePanel_Realtime_Graphic.ForeColor = System.Drawing.Color.OrangeRed; this.notePanel_Realtime_Graphic.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; this.notePanel_Realtime_Graphic.Location = new System.Drawing.Point(3, 18); this.notePanel_Realtime_Graphic.MaxRows = 5; this.notePanel_Realtime_Graphic.Name = "notePanel_Realtime_Graphic"; this.notePanel_Realtime_Graphic.ParentAutoHeight = true; this.notePanel_Realtime_Graphic.Size = new System.Drawing.Size(195, 23); this.notePanel_Realtime_Graphic.TabIndex = 6; this.notePanel_Realtime_Graphic.TabStop = false; this.notePanel_Realtime_Graphic.Text = "搜索条件"; // // groupControl_Realtime_GraphicShow // this.groupControl_Realtime_GraphicShow.Appearance.BackColor = System.Drawing.Color.WhiteSmoke; this.groupControl_Realtime_GraphicShow.Appearance.Options.UseBackColor = true; this.groupControl_Realtime_GraphicShow.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.groupControl_Realtime_GraphicShow.AppearanceCaption.Options.UseFont = true; this.groupControl_Realtime_GraphicShow.Controls.Add(this.panelControl_Realtime_GraphicShow); this.groupControl_Realtime_GraphicShow.Dock = System.Windows.Forms.DockStyle.Fill; this.groupControl_Realtime_GraphicShow.Location = new System.Drawing.Point(0, 48); this.groupControl_Realtime_GraphicShow.Name = "groupControl_Realtime_GraphicShow"; this.groupControl_Realtime_GraphicShow.Size = new System.Drawing.Size(551, 461); this.groupControl_Realtime_GraphicShow.TabIndex = 1; this.groupControl_Realtime_GraphicShow.Text = "图形预览"; // // panelControl_Realtime_GraphicShow // this.panelControl_Realtime_GraphicShow.Appearance.BackColor = System.Drawing.Color.Transparent; this.panelControl_Realtime_GraphicShow.Appearance.Options.UseBackColor = true; this.panelControl_Realtime_GraphicShow.Dock = System.Windows.Forms.DockStyle.Fill; this.panelControl_Realtime_GraphicShow.Location = new System.Drawing.Point(3, 18); this.panelControl_Realtime_GraphicShow.Name = "panelControl_Realtime_GraphicShow"; this.panelControl_Realtime_GraphicShow.Size = new System.Drawing.Size(545, 440); this.panelControl_Realtime_GraphicShow.TabIndex = 0; this.panelControl_Realtime_GraphicShow.Text = "panelControl3"; this.panelControl_Realtime_GraphicShow.Resize += new System.EventHandler(this.panelControl_Realtime_GraphicShow_Resize); // // panelControl2 // this.panelControl2.Controls.Add(this.simpleButton_RealTimeQuery_Graphic); this.panelControl2.Controls.Add(this.simpleButton_Realtime_GraphicPrint); this.panelControl2.Dock = System.Windows.Forms.DockStyle.Top; this.panelControl2.Location = new System.Drawing.Point(0, 0); this.panelControl2.Name = "panelControl2"; this.panelControl2.Size = new System.Drawing.Size(551, 48); this.panelControl2.TabIndex = 0; this.panelControl2.Text = "panelControl2"; // // simpleButton_RealTimeQuery_Graphic // this.simpleButton_RealTimeQuery_Graphic.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.simpleButton_RealTimeQuery_Graphic.Appearance.ForeColor = System.Drawing.Color.DarkMagenta; this.simpleButton_RealTimeQuery_Graphic.Appearance.Options.UseFont = true; this.simpleButton_RealTimeQuery_Graphic.Appearance.Options.UseForeColor = true; this.simpleButton_RealTimeQuery_Graphic.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton_RealTimeQuery_Graphic.Image"))); this.simpleButton_RealTimeQuery_Graphic.Location = new System.Drawing.Point(16, 11); this.simpleButton_RealTimeQuery_Graphic.Name = "simpleButton_RealTimeQuery_Graphic"; this.simpleButton_RealTimeQuery_Graphic.Size = new System.Drawing.Size(88, 26); this.simpleButton_RealTimeQuery_Graphic.TabIndex = 13; this.simpleButton_RealTimeQuery_Graphic.Tag = 4; this.simpleButton_RealTimeQuery_Graphic.Text = "搜 索"; this.simpleButton_RealTimeQuery_Graphic.Click += new System.EventHandler(this.simpleButton_RealTimeQuery_Graphic_Click); // // simpleButton_Realtime_GraphicPrint // this.simpleButton_Realtime_GraphicPrint.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.simpleButton_Realtime_GraphicPrint.Appearance.ForeColor = System.Drawing.Color.DarkMagenta; this.simpleButton_Realtime_GraphicPrint.Appearance.Options.UseFont = true; this.simpleButton_Realtime_GraphicPrint.Appearance.Options.UseForeColor = true; this.simpleButton_Realtime_GraphicPrint.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton_Realtime_GraphicPrint.Image"))); this.simpleButton_Realtime_GraphicPrint.Location = new System.Drawing.Point(112, 12); this.simpleButton_Realtime_GraphicPrint.Name = "simpleButton_Realtime_GraphicPrint"; this.simpleButton_Realtime_GraphicPrint.Size = new System.Drawing.Size(104, 26); this.simpleButton_Realtime_GraphicPrint.TabIndex = 11; this.simpleButton_Realtime_GraphicPrint.Tag = 4; this.simpleButton_Realtime_GraphicPrint.Text = "图形打印"; this.simpleButton_Realtime_GraphicPrint.Click += new System.EventHandler(this.simpleButton_Realtime_GraphicPrint_Click); // // xtraTabPage2 // this.xtraTabPage2.Appearance.PageClient.BackColor = System.Drawing.Color.WhiteSmoke; this.xtraTabPage2.Appearance.PageClient.Options.UseBackColor = true; this.xtraTabPage2.Controls.Add(this.splitContainerControl1); this.xtraTabPage2.Name = "xtraTabPage2"; this.xtraTabPage2.Size = new System.Drawing.Size(768, 515); this.xtraTabPage2.Text = "数据统计"; // // splitContainerControl1 // this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerControl1.Location = new System.Drawing.Point(0, 0); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.groupControl_RealTime); this.splitContainerControl1.Panel1.Text = "splitContainerControl1_Panel1"; this.splitContainerControl1.Panel2.Controls.Add(this.gridControl_RealTimeMorning); this.splitContainerControl1.Panel2.Controls.Add(this.gridControl_RealTimeBack); this.splitContainerControl1.Panel2.Controls.Add(this.panelControl1); this.splitContainerControl1.Panel2.Text = "splitContainerControl1_Panel2"; this.splitContainerControl1.Size = new System.Drawing.Size(768, 515); this.splitContainerControl1.SplitterPosition = 201; this.splitContainerControl1.TabIndex = 2; this.splitContainerControl1.Text = "splitContainerControl1"; // // groupControl_RealTime // this.groupControl_RealTime.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.groupControl_RealTime.Appearance.Options.UseFont = true; this.groupControl_RealTime.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.groupControl_RealTime.AppearanceCaption.Options.UseFont = true; this.groupControl_RealTime.Controls.Add(this.groupControl_RealTimeStat); this.groupControl_RealTime.Controls.Add(this.notePanel_RealTime); this.groupControl_RealTime.Dock = System.Windows.Forms.DockStyle.Fill; this.groupControl_RealTime.Location = new System.Drawing.Point(0, 0); this.groupControl_RealTime.Name = "groupControl_RealTime"; this.groupControl_RealTime.Size = new System.Drawing.Size(195, 509); this.groupControl_RealTime.TabIndex = 0; this.groupControl_RealTime.Text = "实时窗口统计"; // // groupControl_RealTimeStat // this.groupControl_RealTimeStat.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.groupControl_RealTimeStat.AppearanceCaption.Options.UseFont = true; this.groupControl_RealTimeStat.Controls.Add(this.comboBoxEdit_RealTimeOption); this.groupControl_RealTimeStat.Controls.Add(this.notePanel_RealTimeOption); this.groupControl_RealTimeStat.Controls.Add(this.comboBoxEdit_RealTimeClass); this.groupControl_RealTimeStat.Controls.Add(this.comboBoxEdit_RealTimeGrade); this.groupControl_RealTimeStat.Controls.Add(this.notePanel1_RealTimeGrade); this.groupControl_RealTimeStat.Controls.Add(this.notePanel1_RealTimeClass); this.groupControl_RealTimeStat.Dock = System.Windows.Forms.DockStyle.Top; this.groupControl_RealTimeStat.Location = new System.Drawing.Point(3, 41); this.groupControl_RealTimeStat.Name = "groupControl_RealTimeStat"; this.groupControl_RealTimeStat.Size = new System.Drawing.Size(189, 150); this.groupControl_RealTimeStat.TabIndex = 7; this.groupControl_RealTimeStat.Text = "统计状态和班级信息"; // // comboBoxEdit_RealTimeOption // this.comboBoxEdit_RealTimeOption.EditValue = "晨检"; this.comboBoxEdit_RealTimeOption.Location = new System.Drawing.Point(88, 96); this.comboBoxEdit_RealTimeOption.Name = "comboBoxEdit_RealTimeOption"; // // comboBoxEdit_RealTimeOption.Properties // this.comboBoxEdit_RealTimeOption.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.comboBoxEdit_RealTimeOption.Properties.Items.AddRange(new object[] { "晨检", "晚接"}); this.comboBoxEdit_RealTimeOption.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; this.comboBoxEdit_RealTimeOption.Size = new System.Drawing.Size(88, 23); this.comboBoxEdit_RealTimeOption.TabIndex = 24; this.comboBoxEdit_RealTimeOption.SelectedIndexChanged += new System.EventHandler(this.comboBoxEdit_RealTimeOption_SelectedIndexChanged); // // notePanel_RealTimeOption // this.notePanel_RealTimeOption.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); this.notePanel_RealTimeOption.BackColor2 = System.Drawing.Color.DarkGray; this.notePanel_RealTimeOption.Font = new System.Drawing.Font("Tahoma", 8F); this.notePanel_RealTimeOption.ForeColor = System.Drawing.Color.Black; this.notePanel_RealTimeOption.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; this.notePanel_RealTimeOption.Location = new System.Drawing.Point(16, 96); this.notePanel_RealTimeOption.MaxRows = 5; this.notePanel_RealTimeOption.Name = "notePanel_RealTimeOption"; this.notePanel_RealTimeOption.ParentAutoHeight = true; this.notePanel_RealTimeOption.Size = new System.Drawing.Size(64, 22); this.notePanel_RealTimeOption.TabIndex = 23; this.notePanel_RealTimeOption.TabStop = false; this.notePanel_RealTimeOption.Text = "类 型:"; // // comboBoxEdit_RealTimeClass // this.comboBoxEdit_RealTimeClass.EditValue = "全部"; this.comboBoxEdit_RealTimeClass.Location = new System.Drawing.Point(88, 64); this.comboBoxEdit_RealTimeClass.Name = "comboBoxEdit_RealTimeClass"; // // comboBoxEdit_RealTimeClass.Properties // this.comboBoxEdit_RealTimeClass.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.comboBoxEdit_RealTimeClass.Properties.Items.AddRange(new object[] { "全部"}); this.comboBoxEdit_RealTimeClass.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; this.comboBoxEdit_RealTimeClass.Size = new System.Drawing.Size(88, 23); this.comboBoxEdit_RealTimeClass.TabIndex = 22; this.comboBoxEdit_RealTimeClass.SelectedIndexChanged += new System.EventHandler(this.comboBoxEdit_RealTimeClass_SelectedIndexChanged); // // comboBoxEdit_RealTimeGrade // this.comboBoxEdit_RealTimeGrade.EditValue = "全部"; this.comboBoxEdit_RealTimeGrade.Location = new System.Drawing.Point(88, 32); this.comboBoxEdit_RealTimeGrade.Name = "comboBoxEdit_RealTimeGrade"; // // comboBoxEdit_RealTimeGrade.Properties // this.comboBoxEdit_RealTimeGrade.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.comboBoxEdit_RealTimeGrade.Properties.Items.AddRange(new object[] { "全部"}); this.comboBoxEdit_RealTimeGrade.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; this.comboBoxEdit_RealTimeGrade.Size = new System.Drawing.Size(88, 23); this.comboBoxEdit_RealTimeGrade.TabIndex = 21; this.comboBoxEdit_RealTimeGrade.SelectedIndexChanged += new System.EventHandler(this.comboBoxEdit_RealTimeGrade_SelectedIndexChanged); // // notePanel1_RealTimeGrade // this.notePanel1_RealTimeGrade.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); this.notePanel1_RealTimeGrade.BackColor2 = System.Drawing.Color.DarkGray; this.notePanel1_RealTimeGrade.Font = new System.Drawing.Font("Tahoma", 8F); this.notePanel1_RealTimeGrade.ForeColor = System.Drawing.Color.Black; this.notePanel1_RealTimeGrade.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; this.notePanel1_RealTimeGrade.Location = new System.Drawing.Point(16, 32); this.notePanel1_RealTimeGrade.MaxRows = 5; this.notePanel1_RealTimeGrade.Name = "notePanel1_RealTimeGrade"; this.notePanel1_RealTimeGrade.ParentAutoHeight = true; this.notePanel1_RealTimeGrade.Size = new System.Drawing.Size(64, 22); this.notePanel1_RealTimeGrade.TabIndex = 19; this.notePanel1_RealTimeGrade.TabStop = false; this.notePanel1_RealTimeGrade.Text = "年 级:"; // // notePanel1_RealTimeClass // this.notePanel1_RealTimeClass.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); this.notePanel1_RealTimeClass.BackColor2 = System.Drawing.Color.DarkGray; this.notePanel1_RealTimeClass.Font = new System.Drawing.Font("Tahoma", 8F); this.notePanel1_RealTimeClass.ForeColor = System.Drawing.Color.Black; this.notePanel1_RealTimeClass.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; this.notePanel1_RealTimeClass.Location = new System.Drawing.Point(16, 64); this.notePanel1_RealTimeClass.MaxRows = 5; this.notePanel1_RealTimeClass.Name = "notePanel1_RealTimeClass"; this.notePanel1_RealTimeClass.ParentAutoHeight = true; this.notePanel1_RealTimeClass.Size = new System.Drawing.Size(64, 22); this.notePanel1_RealTimeClass.TabIndex = 20; this.notePanel1_RealTimeClass.TabStop = false; this.notePanel1_RealTimeClass.Text = "班 级:"; // // notePanel_RealTime // this.notePanel_RealTime.BackColor = System.Drawing.Color.LightGoldenrodYellow; this.notePanel_RealTime.Dock = System.Windows.Forms.DockStyle.Top; this.notePanel_RealTime.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.notePanel_RealTime.ForeColor = System.Drawing.Color.OrangeRed; this.notePanel_RealTime.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; this.notePanel_RealTime.Location = new System.Drawing.Point(3, 18); this.notePanel_RealTime.MaxRows = 5; this.notePanel_RealTime.Name = "notePanel_RealTime"; this.notePanel_RealTime.ParentAutoHeight = true; this.notePanel_RealTime.Size = new System.Drawing.Size(189, 23); this.notePanel_RealTime.TabIndex = 6; this.notePanel_RealTime.TabStop = false; this.notePanel_RealTime.Text = "搜索条件"; // // gridControl_RealTimeMorning // this.gridControl_RealTimeMorning.Dock = System.Windows.Forms.DockStyle.Fill; // // gridControl_RealTimeMorning.EmbeddedNavigator // this.gridControl_RealTimeMorning.EmbeddedNavigator.Name = ""; this.gridControl_RealTimeMorning.Location = new System.Drawing.Point(0, 40); this.gridControl_RealTimeMorning.MainView = this.gridView1; this.gridControl_RealTimeMorning.Name = "gridControl_RealTimeMorning"; this.gridControl_RealTimeMorning.Size = new System.Drawing.Size(557, 469); this.gridControl_RealTimeMorning.TabIndex = 1; this.gridControl_RealTimeMorning.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1}); // // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.gridColumn2, this.gridColumn3, this.gridColumn4, this.gridColumn5, this.gridColumn13, this.gridColumn6, this.gridColumn7}); this.gridView1.GridControl = this.gridControl_RealTimeMorning; this.gridView1.Name = "gridView1"; this.gridView1.OptionsCustomization.AllowFilter = false; this.gridView1.OptionsView.ShowFilterPanel = false; this.gridView1.OptionsView.ShowGroupPanel = false; // // gridColumn1 // this.gridColumn1.AppearanceCell.Options.UseTextOptions = true; this.gridColumn1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn1.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn1.Caption = "班级"; this.gridColumn1.FieldName = "info_className"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.OptionsColumn.AllowEdit = false; this.gridColumn1.OptionsColumn.AllowFocus = false; this.gridColumn1.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn1.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn1.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn1.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn1.OptionsColumn.ReadOnly = true; this.gridColumn1.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; this.gridColumn1.Width = 50; // // gridColumn2 // this.gridColumn2.AppearanceCell.Options.UseTextOptions = true; this.gridColumn2.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn2.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn2.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn2.Caption = "健康"; this.gridColumn2.FieldName = "info_health"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.OptionsColumn.AllowEdit = false; this.gridColumn2.OptionsColumn.AllowFocus = false; this.gridColumn2.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn2.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn2.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn2.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn2.OptionsColumn.ReadOnly = true; this.gridColumn2.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 1; this.gridColumn2.Width = 97; // // gridColumn3 // this.gridColumn3.AppearanceCell.Options.UseTextOptions = true; this.gridColumn3.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn3.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn3.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn3.Caption = "观察"; this.gridColumn3.FieldName = "info_watch"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.OptionsColumn.AllowEdit = false; this.gridColumn3.OptionsColumn.AllowFocus = false; this.gridColumn3.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn3.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn3.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn3.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn3.OptionsColumn.ReadOnly = true; this.gridColumn3.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 2; this.gridColumn3.Width = 67; // // gridColumn4 // this.gridColumn4.AppearanceCell.Options.UseTextOptions = true; this.gridColumn4.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn4.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn4.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn4.Caption = "服药"; this.gridColumn4.FieldName = "info_ill"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.OptionsColumn.AllowEdit = false; this.gridColumn4.OptionsColumn.AllowFocus = false; this.gridColumn4.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn4.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn4.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn4.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn4.OptionsColumn.ReadOnly = true; this.gridColumn4.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 3; this.gridColumn4.Width = 72; // // gridColumn5 // this.gridColumn5.AppearanceCell.Options.UseTextOptions = true; this.gridColumn5.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn5.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn5.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn5.Caption = "应出勤"; this.gridColumn5.FieldName = "info_shouldAtt"; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.OptionsColumn.AllowEdit = false; this.gridColumn5.OptionsColumn.AllowFocus = false; this.gridColumn5.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn5.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn5.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn5.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn5.OptionsColumn.ReadOnly = true; this.gridColumn5.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn5.Visible = true; this.gridColumn5.VisibleIndex = 4; this.gridColumn5.Width = 55; // // gridColumn13 // this.gridColumn13.AppearanceCell.Options.UseTextOptions = true; this.gridColumn13.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn13.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn13.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn13.Caption = "已出勤"; this.gridColumn13.FieldName = "info_haveAtt"; this.gridColumn13.Name = "gridColumn13"; this.gridColumn13.OptionsColumn.AllowEdit = false; this.gridColumn13.OptionsColumn.AllowFocus = false; this.gridColumn13.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn13.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn13.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn13.OptionsColumn.AllowMove = false; this.gridColumn13.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.True; this.gridColumn13.OptionsColumn.ReadOnly = true; this.gridColumn13.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn13.Visible = true; this.gridColumn13.VisibleIndex = 5; this.gridColumn13.Width = 50; // // gridColumn6 // this.gridColumn6.AppearanceCell.Options.UseTextOptions = true; this.gridColumn6.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn6.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn6.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn6.Caption = "缺席"; this.gridColumn6.FieldName = "info_absence"; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.OptionsColumn.AllowEdit = false; this.gridColumn6.OptionsColumn.AllowFocus = false; this.gridColumn6.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn6.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn6.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn6.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn6.OptionsColumn.ReadOnly = true; this.gridColumn6.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 6; this.gridColumn6.Width = 87; // // gridColumn7 // this.gridColumn7.AppearanceCell.Options.UseTextOptions = true; this.gridColumn7.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn7.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn7.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn7.Caption = "出勤率"; this.gridColumn7.FieldName = "info_attPer"; this.gridColumn7.Name = "gridColumn7"; this.gridColumn7.OptionsColumn.AllowEdit = false; this.gridColumn7.OptionsColumn.AllowFocus = false; this.gridColumn7.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn7.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn7.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn7.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn7.OptionsColumn.ReadOnly = true; this.gridColumn7.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn7.Visible = true; this.gridColumn7.VisibleIndex = 7; this.gridColumn7.Width = 66; // // gridControl_RealTimeBack // this.gridControl_RealTimeBack.Dock = System.Windows.Forms.DockStyle.Fill; // // gridControl_RealTimeBack.EmbeddedNavigator // this.gridControl_RealTimeBack.EmbeddedNavigator.Name = ""; this.gridControl_RealTimeBack.Location = new System.Drawing.Point(0, 40); this.gridControl_RealTimeBack.MainView = this.gridView2; this.gridControl_RealTimeBack.Name = "gridControl_RealTimeBack"; this.gridControl_RealTimeBack.Size = new System.Drawing.Size(557, 469); this.gridControl_RealTimeBack.TabIndex = 2; this.gridControl_RealTimeBack.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView2}); this.gridControl_RealTimeBack.Visible = false; // // gridView2 // this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn8, this.gridColumn9, this.gridColumn10, this.gridColumn11, this.gridColumn12}); this.gridView2.GridControl = this.gridControl_RealTimeBack; this.gridView2.Name = "gridView2"; this.gridView2.OptionsCustomization.AllowFilter = false; this.gridView2.OptionsView.ShowFilterPanel = false; this.gridView2.OptionsView.ShowGroupPanel = false; // // gridColumn8 // this.gridColumn8.AppearanceCell.Options.UseTextOptions = true; this.gridColumn8.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn8.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn8.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn8.Caption = "班级"; this.gridColumn8.FieldName = "info_className"; this.gridColumn8.Name = "gridColumn8"; this.gridColumn8.OptionsColumn.AllowEdit = false; this.gridColumn8.OptionsColumn.AllowFocus = false; this.gridColumn8.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn8.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn8.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn8.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn8.OptionsColumn.FixedWidth = true; this.gridColumn8.OptionsColumn.ReadOnly = true; this.gridColumn8.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn8.Visible = true; this.gridColumn8.VisibleIndex = 0; this.gridColumn8.Width = 71; // // gridColumn9 // this.gridColumn9.AppearanceCell.Options.UseTextOptions = true; this.gridColumn9.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn9.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn9.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn9.Caption = "已接走"; this.gridColumn9.FieldName = "info_hasGone"; this.gridColumn9.Name = "gridColumn9"; this.gridColumn9.OptionsColumn.AllowEdit = false; this.gridColumn9.OptionsColumn.AllowFocus = false; this.gridColumn9.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn9.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn9.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn9.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn9.OptionsColumn.FixedWidth = true; this.gridColumn9.OptionsColumn.ReadOnly = true; this.gridColumn9.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn9.Visible = true; this.gridColumn9.VisibleIndex = 1; // // gridColumn10 // this.gridColumn10.AppearanceCell.Options.UseTextOptions = true; this.gridColumn10.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn10.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn10.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn10.Caption = "应接走"; this.gridColumn10.FieldName = "info_shouldGo"; this.gridColumn10.Name = "gridColumn10"; this.gridColumn10.OptionsColumn.AllowEdit = false; this.gridColumn10.OptionsColumn.AllowFocus = false; this.gridColumn10.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn10.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn10.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn10.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn10.OptionsColumn.FixedWidth = true; this.gridColumn10.OptionsColumn.ReadOnly = true; this.gridColumn10.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn10.Visible = true; this.gridColumn10.VisibleIndex = 2; // // gridColumn11 // this.gridColumn11.AppearanceCell.Options.UseTextOptions = true; this.gridColumn11.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn11.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn11.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn11.Caption = "未接走"; this.gridColumn11.FieldName = "info_notGone"; this.gridColumn11.Name = "gridColumn11"; this.gridColumn11.OptionsColumn.AllowEdit = false; this.gridColumn11.OptionsColumn.AllowFocus = false; this.gridColumn11.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn11.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn11.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn11.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn11.OptionsColumn.FixedWidth = true; this.gridColumn11.OptionsColumn.ReadOnly = true; this.gridColumn11.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn11.Visible = true; this.gridColumn11.VisibleIndex = 3; // // gridColumn12 // this.gridColumn12.AppearanceCell.Options.UseTextOptions = true; this.gridColumn12.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn12.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn12.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn12.Caption = "接走率"; this.gridColumn12.FieldName = "info_goPer"; this.gridColumn12.Name = "gridColumn12"; this.gridColumn12.OptionsColumn.AllowEdit = false; this.gridColumn12.OptionsColumn.AllowFocus = false; this.gridColumn12.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn12.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn12.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn12.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn12.OptionsColumn.FixedWidth = true; this.gridColumn12.OptionsColumn.ReadOnly = true; this.gridColumn12.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn12.Visible = true; this.gridColumn12.VisibleIndex = 4; // // panelControl1 // this.panelControl1.Controls.Add(this.simpleButton_RealTimeQuery); this.panelControl1.Controls.Add(this.simpleButton_RealTimePrint); this.panelControl1.Dock = System.Windows.Forms.DockStyle.Top; this.panelControl1.Location = new System.Drawing.Point(0, 0); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(557, 40); this.panelControl1.TabIndex = 0; this.panelControl1.Text = "panelControl1"; // // simpleButton_RealTimeQuery // this.simpleButton_RealTimeQuery.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.simpleButton_RealTimeQuery.Appearance.ForeColor = System.Drawing.Color.DarkMagenta; this.simpleButton_RealTimeQuery.Appearance.Options.UseFont = true; this.simpleButton_RealTimeQuery.Appearance.Options.UseForeColor = true; this.simpleButton_RealTimeQuery.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton_RealTimeQuery.Image"))); this.simpleButton_RealTimeQuery.Location = new System.Drawing.Point(16, 8); this.simpleButton_RealTimeQuery.Name = "simpleButton_RealTimeQuery"; this.simpleButton_RealTimeQuery.Size = new System.Drawing.Size(88, 26); this.simpleButton_RealTimeQuery.TabIndex = 7; this.simpleButton_RealTimeQuery.Tag = 4; this.simpleButton_RealTimeQuery.Text = "搜 索"; this.simpleButton_RealTimeQuery.Click += new System.EventHandler(this.simpleButton_RealTimeQuery_Click); // // simpleButton_RealTimePrint // this.simpleButton_RealTimePrint.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.simpleButton_RealTimePrint.Appearance.ForeColor = System.Drawing.Color.DarkMagenta; this.simpleButton_RealTimePrint.Appearance.Options.UseFont = true; this.simpleButton_RealTimePrint.Appearance.Options.UseForeColor = true; this.simpleButton_RealTimePrint.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton_RealTimePrint.Image"))); this.simpleButton_RealTimePrint.Location = new System.Drawing.Point(120, 8); this.simpleButton_RealTimePrint.Name = "simpleButton_RealTimePrint"; this.simpleButton_RealTimePrint.Size = new System.Drawing.Size(88, 26); this.simpleButton_RealTimePrint.TabIndex = 8; this.simpleButton_RealTimePrint.Tag = 4; this.simpleButton_RealTimePrint.Text = "报 表"; this.simpleButton_RealTimePrint.Click += new System.EventHandler(this.simpleButton_RealTimePrint_Click); // // RealtimeInfo // this.Appearance.BackColor = System.Drawing.Color.WhiteSmoke; this.Appearance.Options.UseBackColor = true; this.Controls.Add(this.xtraTabControl1); this.Name = "RealtimeInfo"; this.Size = new System.Drawing.Size(772, 540); this.Load += new System.EventHandler(this.RealtimeInfo_Load); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); this.xtraTabControl1.ResumeLayout(false); this.xtraTabPage1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).EndInit(); this.splitContainerControl2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.groupControl1_Realtime_Graphic)).EndInit(); this.groupControl1_Realtime_Graphic.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.groupControl_RealtimeStat_Graphic)).EndInit(); this.groupControl_RealtimeStat_Graphic.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_Realtime_GraphicState.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_Realtime_GraphicClass.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_Realtime_GraphicGrade.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl_Realtime_GraphicShow)).EndInit(); this.groupControl_Realtime_GraphicShow.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelControl_Realtime_GraphicShow)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); this.panelControl2.ResumeLayout(false); this.xtraTabPage2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.groupControl_RealTime)).EndInit(); this.groupControl_RealTime.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.groupControl_RealTimeStat)).EndInit(); this.groupControl_RealTimeStat.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_RealTimeOption.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_RealTimeClass.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_RealTimeGrade.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl_RealTimeMorning)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl_RealTimeBack)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); this.ToolStripMenuItemDelete = new System.Windows.Forms.ToolStripMenuItem(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(); this.ToolStripMenuItemEdit = new System.Windows.Forms.ToolStripMenuItem(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.symbleCol = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemColorEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemColorEdit(); this.minValueCol = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemSpinEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit(); this.maxValueCol = new DevExpress.XtraGrid.Columns.GridColumn(); this.typeValueCol = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.checkEditDefault = new DevExpress.XtraEditors.CheckEdit(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.colorEditDefault = new DevExpress.XtraEditors.ColorEdit(); this.spinEditRang = new DevExpress.XtraEditors.SpinEdit(); this.cmbField = new DevExpress.XtraEditors.ComboBoxEdit(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.contextMenuStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemColorEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEditDefault.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.colorEditDefault.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEditRang.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cmbField.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); this.SuspendLayout(); // // ToolStripMenuItemDelete // this.ToolStripMenuItemDelete.Name = "ToolStripMenuItemDelete"; this.ToolStripMenuItemDelete.Size = new System.Drawing.Size(181, 22); this.ToolStripMenuItemDelete.Text = "${res:View_Delete}"; // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ToolStripMenuItemEdit, this.ToolStripMenuItemDelete }); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(182, 48); // // ToolStripMenuItemEdit // this.ToolStripMenuItemEdit.Name = "ToolStripMenuItemEdit"; this.ToolStripMenuItemEdit.Size = new System.Drawing.Size(181, 22); this.ToolStripMenuItemEdit.Text = "${res:View_Delete}"; // // layoutControlItem5 // this.layoutControlItem5.Control = this.gridControl1; this.layoutControlItem5.CustomizationFormText = "layoutControlItem5"; this.layoutControlItem5.Location = new System.Drawing.Point(0, 78); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(266, 320); this.layoutControlItem5.Text = "layoutControlItem5"; this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem5.TextToControlDistance = 0; this.layoutControlItem5.TextVisible = false; // // gridControl1 // this.gridControl1.Location = new System.Drawing.Point(12, 90); this.gridControl1.MainView = this.gridView1; this.gridControl1.Name = "gridControl1"; this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemColorEdit1, this.repositoryItemSpinEdit1, this.repositoryItemComboBox1 }); this.gridControl1.Size = new System.Drawing.Size(262, 316); this.gridControl1.TabIndex = 4; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1 }); // // gridView1 // this.gridView1.Appearance.FocusedCell.BackColor = System.Drawing.Color.CornflowerBlue; this.gridView1.Appearance.FocusedCell.Options.UseBackColor = true; this.gridView1.Appearance.FocusedRow.BackColor = System.Drawing.Color.CornflowerBlue; this.gridView1.Appearance.FocusedRow.Options.UseBackColor = true; this.gridView1.Appearance.SelectedRow.BackColor = System.Drawing.Color.CornflowerBlue; this.gridView1.Appearance.SelectedRow.Options.UseBackColor = true; this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.symbleCol, this.minValueCol, this.maxValueCol, this.typeValueCol }); this.gridView1.GridControl = this.gridControl1; this.gridView1.Name = "gridView1"; this.gridView1.OptionsCustomization.AllowColumnMoving = false; this.gridView1.OptionsCustomization.AllowFilter = false; this.gridView1.OptionsCustomization.AllowGroup = false; this.gridView1.OptionsCustomization.AllowQuickHideColumns = false; this.gridView1.OptionsFilter.AllowColumnMRUFilterList = false; this.gridView1.OptionsFilter.AllowFilterEditor = false; this.gridView1.OptionsFilter.AllowMRUFilterList = false; this.gridView1.OptionsMenu.EnableColumnMenu = false; this.gridView1.OptionsMenu.EnableFooterMenu = false; this.gridView1.OptionsMenu.EnableGroupPanelMenu = false; this.gridView1.OptionsMenu.ShowAutoFilterRowItem = false; this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridView1.OptionsSelection.EnableAppearanceHideSelection = false; this.gridView1.OptionsSelection.MultiSelect = true; this.gridView1.OptionsView.ShowFilterPanelMode = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.Never; this.gridView1.OptionsView.ShowGroupPanel = false; // // symbleCol // this.symbleCol.Caption = "符号"; this.symbleCol.ColumnEdit = this.repositoryItemColorEdit1; this.symbleCol.FieldName = "ColorCol"; this.symbleCol.Name = "symbleCol"; this.symbleCol.OptionsColumn.AllowEdit = false; this.symbleCol.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.symbleCol.OptionsColumn.AllowIncrementalSearch = false; this.symbleCol.OptionsColumn.AllowMove = false; this.symbleCol.OptionsColumn.AllowShowHide = false; this.symbleCol.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.symbleCol.OptionsColumn.ReadOnly = true; this.symbleCol.OptionsColumn.ShowInCustomizationForm = false; this.symbleCol.OptionsColumn.ShowInExpressionEditor = false; this.symbleCol.OptionsFilter.AllowAutoFilter = false; this.symbleCol.OptionsFilter.AllowFilter = false; this.symbleCol.Visible = true; this.symbleCol.VisibleIndex = 0; // // repositoryItemColorEdit1 // this.repositoryItemColorEdit1.AutoHeight = false; this.repositoryItemColorEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph) }); this.repositoryItemColorEdit1.ColorAlignment = DevExpress.Utils.HorzAlignment.Center; this.repositoryItemColorEdit1.Name = "repositoryItemColorEdit1"; this.repositoryItemColorEdit1.ReadOnly = true; // // minValueCol // this.minValueCol.Caption = "下限"; this.minValueCol.ColumnEdit = this.repositoryItemSpinEdit1; this.minValueCol.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.minValueCol.FieldName = "minValueCol"; this.minValueCol.Name = "minValueCol"; this.minValueCol.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.minValueCol.OptionsColumn.AllowIncrementalSearch = false; this.minValueCol.OptionsColumn.AllowMove = false; this.minValueCol.OptionsColumn.AllowShowHide = false; this.minValueCol.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.minValueCol.OptionsColumn.ShowInCustomizationForm = false; this.minValueCol.OptionsFilter.AllowAutoFilter = false; this.minValueCol.OptionsFilter.AllowFilter = false; this.minValueCol.Visible = true; this.minValueCol.VisibleIndex = 1; // // repositoryItemSpinEdit1 // this.repositoryItemSpinEdit1.AutoHeight = false; this.repositoryItemSpinEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton() }); this.repositoryItemSpinEdit1.Name = "repositoryItemSpinEdit1"; // // maxValueCol // this.maxValueCol.Caption = "上限"; this.maxValueCol.ColumnEdit = this.repositoryItemSpinEdit1; this.maxValueCol.FieldName = "maxValueCol"; this.maxValueCol.Name = "maxValueCol"; this.maxValueCol.Visible = true; this.maxValueCol.VisibleIndex = 2; // // typeValueCol // this.typeValueCol.Caption = "区间类型"; this.typeValueCol.ColumnEdit = this.repositoryItemComboBox1; this.typeValueCol.FieldName = "typeValueCol"; this.typeValueCol.Name = "typeValueCol"; this.typeValueCol.Visible = true; this.typeValueCol.VisibleIndex = 3; // // repositoryItemComboBox1 // this.repositoryItemComboBox1.AutoHeight = false; this.repositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.repositoryItemComboBox1.Name = "repositoryItemComboBox1"; this.repositoryItemComboBox1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; // // layoutControlItem4 // this.layoutControlItem4.Control = this.checkEditDefault; this.layoutControlItem4.CustomizationFormText = "layoutControlItem4"; this.layoutControlItem4.Location = new System.Drawing.Point(0, 52); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(73, 26); this.layoutControlItem4.Text = "layoutControlItem4"; this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem4.TextToControlDistance = 0; this.layoutControlItem4.TextVisible = false; // // checkEditDefault // this.checkEditDefault.EditValue = true; this.checkEditDefault.Location = new System.Drawing.Point(12, 64); this.checkEditDefault.Name = "checkEditDefault"; this.checkEditDefault.Properties.Caption = "默认"; this.checkEditDefault.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Default; this.checkEditDefault.Size = new System.Drawing.Size(69, 19); this.checkEditDefault.StyleController = this.layoutControl1; this.checkEditDefault.TabIndex = 2; // // layoutControl1 // this.layoutControl1.Controls.Add(this.gridControl1); this.layoutControl1.Controls.Add(this.colorEditDefault); this.layoutControl1.Controls.Add(this.checkEditDefault); this.layoutControl1.Controls.Add(this.spinEditRang); this.layoutControl1.Controls.Add(this.cmbField); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(0, 0); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(286, 418); this.layoutControl1.TabIndex = 2; this.layoutControl1.Text = "layoutControl1"; // // colorEditDefault // this.colorEditDefault.EditValue = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(0))))); this.colorEditDefault.Location = new System.Drawing.Point(85, 64); this.colorEditDefault.Name = "colorEditDefault"; this.colorEditDefault.Properties.AllowDropDownWhenReadOnly = DevExpress.Utils.DefaultBoolean.False; this.colorEditDefault.Properties.AllowMouseWheel = false; this.colorEditDefault.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, false, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, true) }); this.colorEditDefault.Properties.ColorAlignment = DevExpress.Utils.HorzAlignment.Center; this.colorEditDefault.Properties.ShowDropDown = DevExpress.XtraEditors.Controls.ShowDropDown.Never; this.colorEditDefault.Size = new System.Drawing.Size(189, 22); this.colorEditDefault.StyleController = this.layoutControl1; this.colorEditDefault.TabIndex = 3; this.colorEditDefault.Click += new System.EventHandler(this.colorEditDefault_Click); // // spinEditRang // this.spinEditRang.EditValue = new decimal(new int[] { 0, 0, 0, 0 }); this.spinEditRang.Location = new System.Drawing.Point(39, 38); this.spinEditRang.Name = "spinEditRang"; this.spinEditRang.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton() }); this.spinEditRang.Properties.IsFloatValue = false; this.spinEditRang.Properties.Mask.EditMask = "N00"; this.spinEditRang.Properties.MaxValue = new decimal(new int[] { 50, 0, 0, 0 }); this.spinEditRang.Size = new System.Drawing.Size(235, 22); this.spinEditRang.StyleController = this.layoutControl1; this.spinEditRang.TabIndex = 1; // // cmbField // this.cmbField.Location = new System.Drawing.Point(39, 12); this.cmbField.Name = "cmbField"; this.cmbField.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.cmbField.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; this.cmbField.Size = new System.Drawing.Size(235, 22); this.cmbField.StyleController = this.layoutControl1; this.cmbField.TabIndex = 0; // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1, this.layoutControlItem2, this.layoutControlItem3, this.layoutControlItem4, this.layoutControlItem5 }); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.Size = new System.Drawing.Size(286, 418); this.layoutControlGroup1.Text = "layoutControlGroup1"; this.layoutControlGroup1.TextVisible = false; // // layoutControlItem1 // this.layoutControlItem1.Control = this.cmbField; this.layoutControlItem1.CustomizationFormText = "字段"; this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(266, 26); this.layoutControlItem1.Text = "字段"; this.layoutControlItem1.TextSize = new System.Drawing.Size(24, 14); // // layoutControlItem2 // this.layoutControlItem2.Control = this.spinEditRang; this.layoutControlItem2.CustomizationFormText = "段数"; this.layoutControlItem2.Location = new System.Drawing.Point(0, 26); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(266, 26); this.layoutControlItem2.Text = "段数"; this.layoutControlItem2.TextSize = new System.Drawing.Size(24, 14); // // layoutControlItem3 // this.layoutControlItem3.Control = this.colorEditDefault; this.layoutControlItem3.CustomizationFormText = "layoutControlItem3"; this.layoutControlItem3.Location = new System.Drawing.Point(73, 52); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(193, 26); this.layoutControlItem3.Text = "layoutControlItem3"; this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem3.TextToControlDistance = 0; this.layoutControlItem3.TextVisible = false; // // UCRangeSymbol // this.Controls.Add(this.layoutControl1); this.Name = "UCRangeSymbol"; this.Size = new System.Drawing.Size(286, 418); this.contextMenuStrip1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemColorEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEditDefault.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.colorEditDefault.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEditRang.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cmbField.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); this.ResumeLayout(false); }
/// <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(frmLst_Companies)); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject(); this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn(); this.viewAvailableCompanies = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn(); this.btnDelete = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn(); this.btnEdit = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn(); this.btnSelectIDCompanies = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.dgvAvailableCompanies = new DevExpress.XtraGrid.GridControl(); this.repositoryItemCalcEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit(); this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel5 = new System.Windows.Forms.TableLayoutPanel(); this.btnAdd = new DevExpress.XtraEditors.SimpleButton(); this.btnPrinting = new DevExpress.XtraEditors.SimpleButton(); this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.bt_Edit_BookingRooms_Services = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.bt_Delete = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); ((System.ComponentModel.ISupportInitialize)(this.viewAvailableCompanies)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnDelete)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnEdit)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnSelectIDCompanies)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvAvailableCompanies)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit1)).BeginInit(); this.tableLayoutPanel3.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); this.tableLayoutPanel5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bt_Edit_BookingRooms_Services)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bt_Delete)).BeginInit(); this.SuspendLayout(); // // gridColumn8 // this.gridColumn8.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.gridColumn8.AppearanceHeader.Options.UseFont = true; this.gridColumn8.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn8.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn8.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn8.Caption = "Địa chỉ"; this.gridColumn8.FieldName = "Address"; this.gridColumn8.Name = "gridColumn8"; this.gridColumn8.OptionsColumn.AllowEdit = false; this.gridColumn8.OptionsColumn.AllowFocus = false; this.gridColumn8.Visible = true; this.gridColumn8.VisibleIndex = 8; // // gridColumn10 // this.gridColumn10.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.gridColumn10.AppearanceHeader.Options.UseFont = true; this.gridColumn10.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn10.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn10.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn10.Caption = "Email"; this.gridColumn10.FieldName = "Email"; this.gridColumn10.Name = "gridColumn10"; this.gridColumn10.OptionsColumn.AllowEdit = false; this.gridColumn10.OptionsColumn.AllowFocus = false; this.gridColumn10.Visible = true; this.gridColumn10.VisibleIndex = 9; // // viewAvailableCompanies // this.viewAvailableCompanies.ColumnPanelRowHeight = 30; this.viewAvailableCompanies.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn15, this.gridColumn13, this.gridColumn9, this.gridColumn17, this.gridColumn16, this.gridColumn11, this.gridColumn12, this.gridColumn14}); this.viewAvailableCompanies.GridControl = this.dgvAvailableCompanies; this.viewAvailableCompanies.Name = "viewAvailableCompanies"; this.viewAvailableCompanies.OptionsFind.AlwaysVisible = true; this.viewAvailableCompanies.OptionsView.EnableAppearanceEvenRow = true; this.viewAvailableCompanies.OptionsView.ShowGroupPanel = false; this.viewAvailableCompanies.OptionsView.ShowIndicator = false; this.viewAvailableCompanies.RowHeight = 25; // // gridColumn15 // this.gridColumn15.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridColumn15.AppearanceHeader.Options.UseFont = true; this.gridColumn15.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn15.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn15.Caption = "Xóa"; this.gridColumn15.ColumnEdit = this.btnDelete; this.gridColumn15.Name = "gridColumn15"; this.gridColumn15.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways; this.gridColumn15.Visible = true; this.gridColumn15.VisibleIndex = 0; this.gridColumn15.Width = 47; // // btnDelete // this.btnDelete.AutoHeight = false; this.btnDelete.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, ((System.Drawing.Image)(resources.GetObject("btnDelete.Buttons"))), new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, true)}); this.btnDelete.Name = "btnDelete"; this.btnDelete.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; this.btnDelete.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btnDelete_ButtonClick); // // gridColumn13 // this.gridColumn13.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridColumn13.AppearanceHeader.Options.UseFont = true; this.gridColumn13.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn13.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn13.Caption = "Sửa"; this.gridColumn13.ColumnEdit = this.btnEdit; this.gridColumn13.Name = "gridColumn13"; this.gridColumn13.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways; this.gridColumn13.Visible = true; this.gridColumn13.VisibleIndex = 1; this.gridColumn13.Width = 47; // // btnEdit // this.btnEdit.AutoHeight = false; this.btnEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, ((System.Drawing.Image)(resources.GetObject("btnEdit.Buttons"))), new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject2, "", null, null, true)}); this.btnEdit.Name = "btnEdit"; this.btnEdit.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; this.btnEdit.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btnEdit_ButtonClick); // // gridColumn9 // this.gridColumn9.AppearanceCell.Options.UseTextOptions = true; this.gridColumn9.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn9.AppearanceCell.TextOptions.Trimming = DevExpress.Utils.Trimming.Character; this.gridColumn9.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.gridColumn9.AppearanceCell.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn9.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.gridColumn9.AppearanceHeader.Options.UseFont = true; this.gridColumn9.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn9.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn9.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn9.Caption = "Tên công ty"; this.gridColumn9.FieldName = "Name"; this.gridColumn9.Name = "gridColumn9"; this.gridColumn9.OptionsColumn.AllowEdit = false; this.gridColumn9.OptionsColumn.AllowFocus = false; this.gridColumn9.OptionsColumn.ReadOnly = true; this.gridColumn9.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Like; this.gridColumn9.Visible = true; this.gridColumn9.VisibleIndex = 2; this.gridColumn9.Width = 141; // // gridColumn17 // this.gridColumn17.AppearanceCell.Options.UseTextOptions = true; this.gridColumn17.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn17.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.gridColumn17.AppearanceHeader.Options.UseFont = true; this.gridColumn17.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn17.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn17.Caption = "Mã số thuế"; this.gridColumn17.FieldName = "TaxNumberCode"; this.gridColumn17.Name = "gridColumn17"; this.gridColumn17.OptionsColumn.AllowEdit = false; this.gridColumn17.OptionsColumn.AllowFocus = false; this.gridColumn17.Visible = true; this.gridColumn17.VisibleIndex = 3; this.gridColumn17.Width = 84; // // gridColumn16 // this.gridColumn16.AppearanceCell.Options.UseTextOptions = true; this.gridColumn16.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn16.AppearanceCell.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn16.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.gridColumn16.AppearanceHeader.Options.UseFont = true; this.gridColumn16.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn16.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn16.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn16.Caption = "Địa chỉ"; this.gridColumn16.FieldName = "Address"; this.gridColumn16.Name = "gridColumn16"; this.gridColumn16.OptionsColumn.AllowEdit = false; this.gridColumn16.OptionsColumn.AllowFocus = false; this.gridColumn16.Visible = true; this.gridColumn16.VisibleIndex = 4; this.gridColumn16.Width = 112; // // gridColumn11 // this.gridColumn11.AppearanceCell.Options.UseTextOptions = true; this.gridColumn11.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn11.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.gridColumn11.AppearanceHeader.Options.UseFont = true; this.gridColumn11.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn11.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn11.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn11.Caption = "Loại"; this.gridColumn11.FieldName = "Type"; this.gridColumn11.Name = "gridColumn11"; this.gridColumn11.OptionsColumn.AllowEdit = false; this.gridColumn11.OptionsColumn.AllowFocus = false; this.gridColumn11.OptionsColumn.ReadOnly = true; this.gridColumn11.Visible = true; this.gridColumn11.VisibleIndex = 5; // // gridColumn12 // this.gridColumn12.AppearanceCell.Options.UseTextOptions = true; this.gridColumn12.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn12.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.gridColumn12.AppearanceHeader.Options.UseFont = true; this.gridColumn12.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn12.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn12.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn12.Caption = "Trạng thái"; this.gridColumn12.FieldName = "Status"; this.gridColumn12.Name = "gridColumn12"; this.gridColumn12.OptionsColumn.AllowEdit = false; this.gridColumn12.OptionsColumn.AllowFocus = false; this.gridColumn12.OptionsColumn.ReadOnly = true; this.gridColumn12.OptionsFilter.AllowAutoFilter = false; this.gridColumn12.Visible = true; this.gridColumn12.VisibleIndex = 6; this.gridColumn12.Width = 80; // // gridColumn14 // this.gridColumn14.AppearanceCell.Options.UseTextOptions = true; this.gridColumn14.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn14.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.gridColumn14.AppearanceHeader.Options.UseFont = true; this.gridColumn14.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn14.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn14.Caption = "Chọn"; this.gridColumn14.ColumnEdit = this.btnSelectIDCompanies; this.gridColumn14.Name = "gridColumn14"; this.gridColumn14.Visible = true; this.gridColumn14.VisibleIndex = 7; this.gridColumn14.Width = 52; // // btnSelectIDCompanies // this.btnSelectIDCompanies.AutoHeight = false; this.btnSelectIDCompanies.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, ((System.Drawing.Image)(resources.GetObject("btnSelectIDCompanies.Buttons"))), new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject3, "", null, null, true)}); this.btnSelectIDCompanies.Name = "btnSelectIDCompanies"; this.btnSelectIDCompanies.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; this.btnSelectIDCompanies.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btnSelectIDCompanies_ButtonClick); // // dgvAvailableCompanies // this.dgvAvailableCompanies.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvAvailableCompanies.Location = new System.Drawing.Point(3, 3); this.dgvAvailableCompanies.MainView = this.viewAvailableCompanies; this.dgvAvailableCompanies.Name = "dgvAvailableCompanies"; this.dgvAvailableCompanies.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.btnSelectIDCompanies, this.btnDelete, this.btnEdit, this.repositoryItemCalcEdit1}); this.dgvAvailableCompanies.Size = new System.Drawing.Size(618, 281); this.dgvAvailableCompanies.TabIndex = 11; this.dgvAvailableCompanies.UseEmbeddedNavigator = true; this.dgvAvailableCompanies.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.viewAvailableCompanies}); // // repositoryItemCalcEdit1 // this.repositoryItemCalcEdit1.AutoHeight = false; this.repositoryItemCalcEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemCalcEdit1.Name = "repositoryItemCalcEdit1"; // // tableLayoutPanel3 // this.tableLayoutPanel3.ColumnCount = 1; this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel3.Controls.Add(this.dgvAvailableCompanies, 0, 0); this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel3.Location = new System.Drawing.Point(3, 42); this.tableLayoutPanel3.Name = "tableLayoutPanel3"; this.tableLayoutPanel3.RowCount = 1; this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel3.Size = new System.Drawing.Size(624, 287); this.tableLayoutPanel3.TabIndex = 14; // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 1; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel3, 0, 1); this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel5, 0, 0); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 3; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 11.04972F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 81.76796F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 7F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(630, 358); this.tableLayoutPanel1.TabIndex = 16; // // tableLayoutPanel5 // this.tableLayoutPanel5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(236)))), ((int)(((byte)(239))))); this.tableLayoutPanel5.ColumnCount = 4; this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); this.tableLayoutPanel5.Controls.Add(this.btnAdd, 3, 0); this.tableLayoutPanel5.Controls.Add(this.btnPrinting, 2, 0); this.tableLayoutPanel5.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel5.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel5.Margin = new System.Windows.Forms.Padding(0); this.tableLayoutPanel5.Name = "tableLayoutPanel5"; this.tableLayoutPanel5.RowCount = 1; this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel5.Size = new System.Drawing.Size(630, 39); this.tableLayoutPanel5.TabIndex = 0; // // btnAdd // this.btnAdd.Anchor = System.Windows.Forms.AnchorStyles.Left; this.btnAdd.Appearance.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.btnAdd.Appearance.Options.UseFont = true; this.btnAdd.Image = ((System.Drawing.Image)(resources.GetObject("btnAdd.Image"))); this.btnAdd.Location = new System.Drawing.Point(474, 8); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(116, 23); this.btnAdd.TabIndex = 3; this.btnAdd.Text = "Thêm mới"; this.btnAdd.Click += new System.EventHandler(this.simpleButton1_Click); // // btnPrinting // this.btnPrinting.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnPrinting.Appearance.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.btnPrinting.Appearance.Options.UseFont = true; this.btnPrinting.Location = new System.Drawing.Point(327, 7); this.btnPrinting.Name = "btnPrinting"; this.btnPrinting.Size = new System.Drawing.Size(131, 24); this.btnPrinting.TabIndex = 4; this.btnPrinting.Text = "In danh sách công ty"; this.btnPrinting.Click += new System.EventHandler(this.btnPrinting_Click); // // gridColumn7 // this.gridColumn7.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.gridColumn7.AppearanceHeader.Options.UseFont = true; this.gridColumn7.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn7.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn7.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn7.Caption = "Số điện thoại"; this.gridColumn7.FieldName = "Tel"; this.gridColumn7.Name = "gridColumn7"; this.gridColumn7.OptionsColumn.AllowEdit = false; this.gridColumn7.OptionsColumn.AllowFocus = false; this.gridColumn7.Visible = true; this.gridColumn7.VisibleIndex = 7; // // gridColumn6 // this.gridColumn6.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.gridColumn6.AppearanceHeader.Options.UseFont = true; this.gridColumn6.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn6.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn6.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn6.Caption = "Ngày sinh"; this.gridColumn6.FieldName = "Birthday"; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.OptionsColumn.AllowEdit = false; this.gridColumn6.OptionsColumn.AllowFocus = false; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 6; // // gridColumn5 // this.gridColumn5.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.gridColumn5.AppearanceHeader.Options.UseFont = true; this.gridColumn5.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn5.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn5.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn5.Caption = "Quốc tịch"; this.gridColumn5.FieldName = "Nationality"; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.OptionsColumn.AllowEdit = false; this.gridColumn5.OptionsColumn.AllowFocus = false; this.gridColumn5.Visible = true; this.gridColumn5.VisibleIndex = 5; // // gridColumn4 // this.gridColumn4.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.gridColumn4.AppearanceHeader.Options.UseFont = true; this.gridColumn4.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn4.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn4.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn4.Caption = "aa"; this.gridColumn4.FieldName = "Identifier3"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.OptionsColumn.AllowEdit = false; this.gridColumn4.OptionsColumn.AllowFocus = false; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 4; // // gridColumn3 // this.gridColumn3.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.gridColumn3.AppearanceHeader.Options.UseFont = true; this.gridColumn3.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn3.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn3.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn3.Caption = "Hộ chiếu"; this.gridColumn3.FieldName = "Identifier2"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.OptionsColumn.AllowEdit = false; this.gridColumn3.OptionsColumn.AllowFocus = false; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 3; // // gridColumn2 // this.gridColumn2.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.gridColumn2.AppearanceHeader.Options.UseFont = true; this.gridColumn2.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn2.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn2.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn2.Caption = "Số CMND"; this.gridColumn2.FieldName = "Identifier1"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.OptionsColumn.AllowEdit = false; this.gridColumn2.OptionsColumn.AllowFocus = false; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 2; // // gridColumn1 // this.gridColumn1.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.gridColumn1.AppearanceHeader.Options.UseFont = true; this.gridColumn1.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn1.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn1.Caption = "Tên khách hàng"; this.gridColumn1.FieldName = "Names"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.OptionsColumn.AllowEdit = false; this.gridColumn1.OptionsColumn.AllowFocus = false; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 1; // // bt_Edit_BookingRooms_Services // this.bt_Edit_BookingRooms_Services.AutoHeight = false; this.bt_Edit_BookingRooms_Services.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, ((System.Drawing.Image)(resources.GetObject("bt_Edit_BookingRooms_Services.Buttons"))), new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject4, "", null, null, true)}); this.bt_Edit_BookingRooms_Services.Name = "bt_Edit_BookingRooms_Services"; this.bt_Edit_BookingRooms_Services.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; // // bt_Delete // this.bt_Delete.AutoHeight = false; this.bt_Delete.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, ((System.Drawing.Image)(resources.GetObject("bt_Delete.Buttons"))), new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, "", null, null, true)}); this.bt_Delete.Name = "bt_Delete"; this.bt_Delete.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; // // frmLst_Companies // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(630, 358); this.Controls.Add(this.tableLayoutPanel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Location = new System.Drawing.Point(600, 150); this.Name = "frmLst_Companies"; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; this.Text = "Danh sách công ty"; this.Load += new System.EventHandler(this.frmLst_Companies_Load); ((System.ComponentModel.ISupportInitialize)(this.viewAvailableCompanies)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnDelete)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnEdit)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnSelectIDCompanies)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvAvailableCompanies)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit1)).EndInit(); this.tableLayoutPanel3.ResumeLayout(false); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.bt_Edit_BookingRooms_Services)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bt_Delete)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmClipboardMan)); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.addButton = new System.Windows.Forms.ToolStripButton(); this.removeButton = new System.Windows.Forms.ToolStripButton(); this.LuuSep = new System.Windows.Forms.ToolStripSeparator(); this.closeButton = new System.Windows.Forms.ToolStripButton(); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.lbl_doituongClipboard = new DevExpress.XtraEditors.LabelControl(); this.lblCat = new System.Windows.Forms.Label(); this.dockManager1 = new DevExpress.XtraBars.Docking.DockManager(this.components); this.dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel(); this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); this.panelControl3 = new DevExpress.XtraEditors.PanelControl(); this.navBarControl3 = new DevExpress.XtraNavBar.NavBarControl(); this.groupClipboard = new DevExpress.XtraNavBar.NavBarGroup(); this.navBarItem10 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarControl2 = new DevExpress.XtraNavBar.NavBarControl(); this.navBarItem1 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem2 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem3 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem4 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem5 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem6 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem7 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem8 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem9 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarControl1 = new DevExpress.XtraNavBar.NavBarControl(); this.panel1 = new System.Windows.Forms.Panel(); this.dgc_details = new DevExpress.XtraGrid.GridControl(); this.dgv_details = new DevExpress.XtraGrid.Views.Grid.GridView(); this.label1 = new System.Windows.Forms.Label(); this.toolStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).BeginInit(); this.dockPanel1.SuspendLayout(); this.dockPanel1_Container.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); this.panelControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit(); this.panelControl3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.navBarControl3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.navBarControl2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.navBarControl1)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgc_details)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgv_details)).BeginInit(); this.SuspendLayout(); // // toolStrip1 // this.toolStrip1.BackColor = System.Drawing.Color.Transparent; this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStrip1.ImageScalingSize = new System.Drawing.Size(23, 23); this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.addButton, this.removeButton, this.LuuSep, this.closeButton}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(580, 25); this.toolStrip1.TabIndex = 1; this.toolStrip1.Text = "toolStrip1"; // // addButton // this.addButton.Name = "addButton"; this.addButton.Size = new System.Drawing.Size(98, 22); this.addButton.Tag = ""; this.addButton.Text = " &Xóa tất cả dữ liệu"; this.addButton.Click += new System.EventHandler(this.addButton_Click); // // removeButton // this.removeButton.Name = "removeButton"; this.removeButton.Size = new System.Drawing.Size(101, 22); this.removeButton.Tag = ""; this.removeButton.Text = "Xóa các &dòng chọn"; this.removeButton.Click += new System.EventHandler(this.removeButton_Click); // // LuuSep // this.LuuSep.Name = "LuuSep"; this.LuuSep.Size = new System.Drawing.Size(6, 25); this.LuuSep.Visible = false; // // closeButton // this.closeButton.Name = "closeButton"; this.closeButton.Size = new System.Drawing.Size(43, 22); this.closeButton.Text = " Đón&g "; this.closeButton.Click += new System.EventHandler(this.closeButton_Click); // // panelControl1 // this.panelControl1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly; this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControl1.Controls.Add(this.lbl_doituongClipboard); this.panelControl1.Controls.Add(this.lblCat); this.panelControl1.Dock = System.Windows.Forms.DockStyle.Top; this.panelControl1.Location = new System.Drawing.Point(176, 3); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(580, 37); this.panelControl1.TabIndex = 3; // // lbl_doituongClipboard // this.lbl_doituongClipboard.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbl_doituongClipboard.Appearance.ForeColor = System.Drawing.Color.Black; this.lbl_doituongClipboard.Appearance.Options.UseFont = true; this.lbl_doituongClipboard.Appearance.Options.UseForeColor = true; this.lbl_doituongClipboard.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.Horizontal; this.lbl_doituongClipboard.Location = new System.Drawing.Point(6, 8); this.lbl_doituongClipboard.Name = "lbl_doituongClipboard"; this.lbl_doituongClipboard.Size = new System.Drawing.Size(168, 23); this.lbl_doituongClipboard.TabIndex = 1; this.lbl_doituongClipboard.Text = "Đối tượng Clipboard"; // // lblCat // this.lblCat.AutoSize = true; this.lblCat.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblCat.Location = new System.Drawing.Point(7, 5); this.lblCat.Name = "lblCat"; this.lblCat.Size = new System.Drawing.Size(0, 25); this.lblCat.TabIndex = 0; // // dockManager1 // this.dockManager1.Form = this; this.dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { this.dockPanel1}); this.dockManager1.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "System.Windows.Forms.StatusBar"}); // // dockPanel1 // this.dockPanel1.Controls.Add(this.dockPanel1_Container); this.dockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left; this.dockPanel1.ID = new System.Guid("47482ff7-7f88-4274-9ba9-35bc499857c9"); this.dockPanel1.Location = new System.Drawing.Point(0, 0); this.dockPanel1.Name = "dockPanel1"; this.dockPanel1.Options.AllowDockBottom = false; this.dockPanel1.Options.AllowDockFill = false; this.dockPanel1.Options.AllowDockRight = false; this.dockPanel1.Options.AllowDockTop = false; this.dockPanel1.Options.AllowFloating = false; this.dockPanel1.Options.FloatOnDblClick = false; this.dockPanel1.Options.ShowCloseButton = false; this.dockPanel1.Size = new System.Drawing.Size(173, 485); this.dockPanel1.Text = "Clipboard"; // // dockPanel1_Container // this.dockPanel1_Container.Controls.Add(this.panelControl2); this.dockPanel1_Container.Controls.Add(this.navBarControl1); this.dockPanel1_Container.Location = new System.Drawing.Point(3, 25); this.dockPanel1_Container.Name = "dockPanel1_Container"; this.dockPanel1_Container.Size = new System.Drawing.Size(167, 457); this.dockPanel1_Container.TabIndex = 0; // // panelControl2 // this.panelControl2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly; this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControl2.Controls.Add(this.panelControl3); this.panelControl2.Controls.Add(this.navBarControl2); this.panelControl2.Dock = System.Windows.Forms.DockStyle.Top; this.panelControl2.Location = new System.Drawing.Point(0, 0); this.panelControl2.Name = "panelControl2"; this.panelControl2.Size = new System.Drawing.Size(167, 285); this.panelControl2.TabIndex = 2; // // panelControl3 // this.panelControl3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly; this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControl3.Controls.Add(this.navBarControl3); this.panelControl3.Dock = System.Windows.Forms.DockStyle.Top; this.panelControl3.Location = new System.Drawing.Point(0, 0); this.panelControl3.Name = "panelControl3"; this.panelControl3.Size = new System.Drawing.Size(167, 387); this.panelControl3.TabIndex = 1; // // navBarControl3 // this.navBarControl3.ActiveGroup = this.groupClipboard; this.navBarControl3.ContentButtonHint = null; this.navBarControl3.Dock = System.Windows.Forms.DockStyle.Fill; this.navBarControl3.Groups.AddRange(new DevExpress.XtraNavBar.NavBarGroup[] { this.groupClipboard}); this.navBarControl3.Items.AddRange(new DevExpress.XtraNavBar.NavBarItem[] { this.navBarItem10}); this.navBarControl3.Location = new System.Drawing.Point(0, 0); this.navBarControl3.Name = "navBarControl3"; this.navBarControl3.OptionsNavPane.ExpandedWidth = 194; this.navBarControl3.Size = new System.Drawing.Size(167, 387); this.navBarControl3.TabIndex = 0; this.navBarControl3.Text = "navBarControl3"; // // groupClipboard // this.groupClipboard.Caption = "Đối tượng"; this.groupClipboard.Expanded = true; this.groupClipboard.LargeImage = ((System.Drawing.Image)(resources.GetObject("groupClipboard.LargeImage"))); this.groupClipboard.Name = "groupClipboard"; // // navBarItem10 // this.navBarItem10.Caption = "navBarItem10"; this.navBarItem10.LargeImage = ((System.Drawing.Image)(resources.GetObject("navBarItem10.LargeImage"))); this.navBarItem10.Name = "navBarItem10"; // // navBarControl2 // this.navBarControl2.ActiveGroup = null; this.navBarControl2.ContentButtonHint = null; this.navBarControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.navBarControl2.Items.AddRange(new DevExpress.XtraNavBar.NavBarItem[] { this.navBarItem1, this.navBarItem2, this.navBarItem3, this.navBarItem4, this.navBarItem5, this.navBarItem6, this.navBarItem7, this.navBarItem8, this.navBarItem9}); this.navBarControl2.Location = new System.Drawing.Point(0, 0); this.navBarControl2.Name = "navBarControl2"; this.navBarControl2.OptionsNavPane.ExpandedWidth = 194; this.navBarControl2.Size = new System.Drawing.Size(167, 285); this.navBarControl2.TabIndex = 0; this.navBarControl2.Text = "navBarControl2"; // // navBarItem1 // this.navBarItem1.Caption = "navBarItem1"; this.navBarItem1.Name = "navBarItem1"; // // navBarItem2 // this.navBarItem2.Caption = "navBarItem2"; this.navBarItem2.Name = "navBarItem2"; // // navBarItem3 // this.navBarItem3.Caption = "navBarItem3"; this.navBarItem3.Name = "navBarItem3"; // // navBarItem4 // this.navBarItem4.Caption = "navBarItem4"; this.navBarItem4.Name = "navBarItem4"; // // navBarItem5 // this.navBarItem5.Caption = "navBarItem5"; this.navBarItem5.Name = "navBarItem5"; // // navBarItem6 // this.navBarItem6.Caption = "navBarItem6"; this.navBarItem6.Name = "navBarItem6"; // // navBarItem7 // this.navBarItem7.Caption = "navBarItem7"; this.navBarItem7.Name = "navBarItem7"; // // navBarItem8 // this.navBarItem8.Caption = "navBarItem8"; this.navBarItem8.Name = "navBarItem8"; // // navBarItem9 // this.navBarItem9.Caption = "navBarItem9"; this.navBarItem9.Name = "navBarItem9"; // // navBarControl1 // this.navBarControl1.ActiveGroup = null; this.navBarControl1.Appearance.Background.Options.UseTextOptions = true; this.navBarControl1.Appearance.Background.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.navBarControl1.ContentButtonHint = null; this.navBarControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.navBarControl1.Location = new System.Drawing.Point(0, 0); this.navBarControl1.Name = "navBarControl1"; this.navBarControl1.OptionsNavPane.ExpandedWidth = 194; this.navBarControl1.Size = new System.Drawing.Size(167, 457); this.navBarControl1.TabIndex = 1; this.navBarControl1.Text = "navBarControl1"; // // panel1 // this.panel1.Controls.Add(this.dgc_details); this.panel1.Controls.Add(this.toolStrip1); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(176, 40); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(580, 442); this.panel1.TabIndex = 7; // // dgc_details // this.dgc_details.Dock = System.Windows.Forms.DockStyle.Fill; this.dgc_details.EmbeddedNavigator.Name = ""; this.dgc_details.FormsUseDefaultLookAndFeel = false; this.dgc_details.Location = new System.Drawing.Point(0, 25); this.dgc_details.MainView = this.dgv_details; this.dgc_details.Name = "dgc_details"; this.dgc_details.Size = new System.Drawing.Size(580, 417); this.dgc_details.TabIndex = 2; this.dgc_details.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.dgv_details}); // // dgv_details // this.dgv_details.GridControl = this.dgc_details; this.dgv_details.Name = "dgv_details"; this.dgv_details.OptionsBehavior.Editable = false; this.dgv_details.OptionsSelection.EnableAppearanceFocusedCell = false; this.dgv_details.OptionsSelection.MultiSelect = true; this.dgv_details.OptionsView.ShowGroupPanel = false; this.dgv_details.RowCountChanged += new System.EventHandler(this.dgv_details_RowCountChanged); // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(7, 5); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(0, 25); this.label1.TabIndex = 0; // // TrialfrmClipboardMan // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(759, 485); this.Controls.Add(this.panel1); this.Controls.Add(this.panelControl1); this.Controls.Add(this.dockPanel1); this.Name = "TrialfrmClipboardMan"; this.Padding = new System.Windows.Forms.Padding(3); this.ShowInTaskbar = false; this.Text = "Quản lý Clipboard"; this.Load += new System.EventHandler(this.frmClipboardMan_Load); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); this.panelControl1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).EndInit(); this.dockPanel1.ResumeLayout(false); this.dockPanel1_Container.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); this.panelControl2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit(); this.panelControl3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.navBarControl3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.navBarControl2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.navBarControl1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgc_details)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgv_details)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.notePanel_DutyDetailsTitle = new DevExpress.Utils.Frames.NotePanel(); this.gridControl_ReceiveSms = new DevExpress.XtraGrid.GridControl(); this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn_Sender = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn_SendPhoneNum = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn_Content = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn_Date = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.simpleButton_DeleteSms = new DevExpress.XtraEditors.SimpleButton(); this.timer_ReceiveReply = new System.Timers.Timer(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); ((System.ComponentModel.ISupportInitialize)(this.gridControl_ReceiveSms)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.timer_ReceiveReply)).BeginInit(); this.SuspendLayout(); // // notePanel_DutyDetailsTitle // this.notePanel_DutyDetailsTitle.BackColor = System.Drawing.Color.LightGoldenrodYellow; this.notePanel_DutyDetailsTitle.Dock = System.Windows.Forms.DockStyle.Top; this.notePanel_DutyDetailsTitle.ForeColor = System.Drawing.Color.Gray; this.notePanel_DutyDetailsTitle.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; this.notePanel_DutyDetailsTitle.Location = new System.Drawing.Point(0, 0); this.notePanel_DutyDetailsTitle.MaxRows = 5; this.notePanel_DutyDetailsTitle.Name = "notePanel_DutyDetailsTitle"; this.notePanel_DutyDetailsTitle.ParentAutoHeight = true; this.notePanel_DutyDetailsTitle.Size = new System.Drawing.Size(584, 23); this.notePanel_DutyDetailsTitle.TabIndex = 12; this.notePanel_DutyDetailsTitle.TabStop = false; this.notePanel_DutyDetailsTitle.Text = "共70条短信"; // // gridControl_ReceiveSms // this.gridControl_ReceiveSms.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))); // // gridControl_ReceiveSms.EmbeddedNavigator // this.gridControl_ReceiveSms.EmbeddedNavigator.Name = ""; this.gridControl_ReceiveSms.Location = new System.Drawing.Point(0, 64); this.gridControl_ReceiveSms.MainView = this.gridView2; this.gridControl_ReceiveSms.Name = "gridControl_ReceiveSms"; this.gridControl_ReceiveSms.Size = new System.Drawing.Size(584, 424); this.gridControl_ReceiveSms.TabIndex = 13; this.gridControl_ReceiveSms.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView2, this.gridView1 }); // // gridView2 // this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.gridColumn_Sender, this.gridColumn_SendPhoneNum, this.gridColumn_Content, this.gridColumn_Date, this.gridColumn2 }); this.gridView2.GridControl = this.gridControl_ReceiveSms; this.gridView2.Name = "gridView2"; this.gridView2.OptionsCustomization.AllowFilter = false; this.gridView2.OptionsCustomization.AllowGroup = false; this.gridView2.OptionsView.ShowFilterPanel = false; this.gridView2.OptionsView.ShowFooter = true; this.gridView2.OptionsView.ShowGroupPanel = false; // // gridColumn_Sender // this.gridColumn_Sender.Caption = "发送人"; this.gridColumn_Sender.Name = "gridColumn_Sender"; this.gridColumn_Sender.Visible = true; this.gridColumn_Sender.VisibleIndex = 0; // // gridColumn_SendPhoneNum // this.gridColumn_SendPhoneNum.Caption = "发送人手机号码"; this.gridColumn_SendPhoneNum.Name = "gridColumn_SendPhoneNum"; this.gridColumn_SendPhoneNum.Visible = true; this.gridColumn_SendPhoneNum.VisibleIndex = 1; // // gridColumn_Content // this.gridColumn_Content.Caption = "内容"; this.gridColumn_Content.Name = "gridColumn_Content"; this.gridColumn_Content.Visible = true; this.gridColumn_Content.VisibleIndex = 2; // // gridColumn_Date // this.gridColumn_Date.Caption = "发送日期"; this.gridColumn_Date.Name = "gridColumn_Date"; this.gridColumn_Date.Visible = true; this.gridColumn_Date.VisibleIndex = 3; // // gridView1 // this.gridView1.GridControl = this.gridControl_ReceiveSms; this.gridView1.Name = "gridView1"; // // simpleButton_DeleteSms // this.simpleButton_DeleteSms.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.simpleButton_DeleteSms.Location = new System.Drawing.Point(504, 32); this.simpleButton_DeleteSms.Name = "simpleButton_DeleteSms"; this.simpleButton_DeleteSms.Size = new System.Drawing.Size(72, 24); this.simpleButton_DeleteSms.TabIndex = 14; this.simpleButton_DeleteSms.Text = "删除"; this.simpleButton_DeleteSms.Click += new System.EventHandler(this.simpleButton_DeleteSms_Click); // // timer_ReceiveReply // this.timer_ReceiveReply.Enabled = true; this.timer_ReceiveReply.Interval = 10000; this.timer_ReceiveReply.SynchronizingObject = this; this.timer_ReceiveReply.Elapsed += new System.Timers.ElapsedEventHandler(this.timer_ReceiveReply_Elapsed); // // gridColumn1 // this.gridColumn1.Caption = "回复来自"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 4; // // gridColumn2 // this.gridColumn2.Caption = "gridColumn2"; this.gridColumn2.FieldName = "replyContent_id"; this.gridColumn2.Name = "gridColumn2"; // // SmsReceiveBox // this.Appearance.BackColor = System.Drawing.Color.WhiteSmoke; this.Appearance.Options.UseBackColor = true; this.Controls.Add(this.simpleButton_DeleteSms); this.Controls.Add(this.gridControl_ReceiveSms); this.Controls.Add(this.notePanel_DutyDetailsTitle); this.Name = "SmsReceiveBox"; this.Size = new System.Drawing.Size(584, 488); ((System.ComponentModel.ISupportInitialize)(this.gridControl_ReceiveSms)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.timer_ReceiveReply)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl(); this.groupControlBuildingList = new DevExpress.XtraEditors.GroupControl(); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.building_company_id_text = new DevExpress.XtraGrid.Columns.GridColumn(); this.building_building_code = new DevExpress.XtraGrid.Columns.GridColumn(); this.building_building_label = new DevExpress.XtraGrid.Columns.GridColumn(); this.building_floor_no = new DevExpress.XtraGrid.Columns.GridColumn(); this.building_building_id = new DevExpress.XtraGrid.Columns.GridColumn(); this.building_company_id = new DevExpress.XtraGrid.Columns.GridColumn(); this.panelControl3 = new DevExpress.XtraEditors.PanelControl(); this.groupControlBuildingInfo = new DevExpress.XtraEditors.GroupControl(); this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl(); this.lookUpEditxxx = new DevExpress.XtraEditors.LookUpEdit(); this.labelControlRequired = new DevExpress.XtraEditors.LabelControl(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); this.labelControlCompanyName = new DevExpress.XtraEditors.LabelControl(); this.labelControlBuilding = new DevExpress.XtraEditors.LabelControl(); this.labelControl12 = new DevExpress.XtraEditors.LabelControl(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.labelControlBuildingLabel = new DevExpress.XtraEditors.LabelControl(); this.labelControlFloorNo = new DevExpress.XtraEditors.LabelControl(); this.labelControl5 = new DevExpress.XtraEditors.LabelControl(); this.labelControl6 = new DevExpress.XtraEditors.LabelControl(); this.labelControl7 = new DevExpress.XtraEditors.LabelControl(); this.labelControl8 = new DevExpress.XtraEditors.LabelControl(); this.bttDelete = new DevExpress.XtraEditors.SimpleButton(); this.bttEdit = new DevExpress.XtraEditors.SimpleButton(); this.bttAdd = new DevExpress.XtraEditors.SimpleButton(); this.luEditFloorNo = new DevExpress.XtraEditors.LookUpEdit(); this.luEditBuilding = new DevExpress.XtraEditors.LookUpEdit(); this.bttSave = new DevExpress.XtraEditors.SimpleButton(); this.bttCancel = new DevExpress.XtraEditors.SimpleButton(); this.txtBuildingLabel = new DevExpress.XtraEditors.TextEdit(); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit(); this.splitContainerControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControlBuildingList)).BeginInit(); this.groupControlBuildingList.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit(); this.panelControl3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControlBuildingInfo)).BeginInit(); this.groupControlBuildingInfo.SuspendLayout(); this.xtraScrollableControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.lookUpEditxxx.Properties)).BeginInit(); this.tableLayoutPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.luEditFloorNo.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.luEditBuilding.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtBuildingLabel.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); this.panelControl2.SuspendLayout(); this.SuspendLayout(); // // splitContainerControl2 // this.splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerControl2.Location = new System.Drawing.Point(7, 7); this.splitContainerControl2.Name = "splitContainerControl2"; this.splitContainerControl2.Panel1.Controls.Add(this.groupControlBuildingList); this.splitContainerControl2.Panel1.Text = "Panel1"; this.splitContainerControl2.Panel2.Controls.Add(this.panelControl3); this.splitContainerControl2.Panel2.Text = "Panel2"; this.splitContainerControl2.Size = new System.Drawing.Size(1040, 474); this.splitContainerControl2.SplitterPosition = 500; this.splitContainerControl2.TabIndex = 11; this.splitContainerControl2.Text = "splitContainerControl2"; // // groupControlBuildingList // this.groupControlBuildingList.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.groupControlBuildingList.AppearanceCaption.Options.UseFont = true; this.groupControlBuildingList.Controls.Add(this.gridControl1); this.groupControlBuildingList.Dock = System.Windows.Forms.DockStyle.Fill; this.groupControlBuildingList.Location = new System.Drawing.Point(0, 0); this.groupControlBuildingList.Name = "groupControlBuildingList"; this.groupControlBuildingList.Size = new System.Drawing.Size(500, 474); this.groupControlBuildingList.TabIndex = 0; this.groupControlBuildingList.Text = "รายการอาคาร"; // // gridControl1 // this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControl1.EmbeddedNavigator.Buttons.EnabledAutoRepeat = false; this.gridControl1.EmbeddedNavigator.Buttons.EndEdit.Enabled = false; this.gridControl1.Location = new System.Drawing.Point(2, 22); this.gridControl1.MainView = this.gridView1; this.gridControl1.Name = "gridControl1"; this.gridControl1.Size = new System.Drawing.Size(496, 450); this.gridControl1.TabIndex = 0; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1}); // // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.building_company_id_text, this.building_building_code, this.building_building_label, this.building_floor_no, this.building_building_id, this.building_company_id}); this.gridView1.GridControl = this.gridControl1; this.gridView1.Name = "gridView1"; this.gridView1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False; this.gridView1.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False; this.gridView1.OptionsFind.AlwaysVisible = true; this.gridView1.OptionsFind.ShowCloseButton = false; this.gridView1.OptionsView.EnableAppearanceEvenRow = true; this.gridView1.OptionsView.ShowGroupPanel = false; this.gridView1.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridView1_FocusedRowChanged); // // building_company_id_text // this.building_company_id_text.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.building_company_id_text.AppearanceHeader.Options.UseFont = true; this.building_company_id_text.Caption = "ชื่อกิจการ"; this.building_company_id_text.FieldName = "company_name"; this.building_company_id_text.Name = "building_company_id_text"; this.building_company_id_text.OptionsColumn.AllowEdit = false; this.building_company_id_text.OptionsColumn.AllowFocus = false; this.building_company_id_text.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.building_company_id_text.OptionsColumn.AllowMove = false; this.building_company_id_text.Visible = true; this.building_company_id_text.VisibleIndex = 0; // // building_building_code // this.building_building_code.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.building_building_code.AppearanceHeader.Options.UseFont = true; this.building_building_code.Caption = "รหัสอาคาร"; this.building_building_code.FieldName = "building_code"; this.building_building_code.Name = "building_building_code"; this.building_building_code.OptionsColumn.AllowEdit = false; this.building_building_code.OptionsColumn.AllowFocus = false; this.building_building_code.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.building_building_code.OptionsColumn.AllowMove = false; this.building_building_code.Visible = true; this.building_building_code.VisibleIndex = 1; // // building_building_label // this.building_building_label.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.building_building_label.AppearanceHeader.Options.UseFont = true; this.building_building_label.Caption = "ชื่ออาคาร"; this.building_building_label.FieldName = "building_label"; this.building_building_label.Name = "building_building_label"; this.building_building_label.OptionsColumn.AllowEdit = false; this.building_building_label.OptionsColumn.AllowFocus = false; this.building_building_label.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.building_building_label.OptionsColumn.AllowMove = false; this.building_building_label.Visible = true; this.building_building_label.VisibleIndex = 2; // // building_floor_no // this.building_floor_no.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.building_floor_no.AppearanceHeader.Options.UseFont = true; this.building_floor_no.Caption = "จำนวนชั้น"; this.building_floor_no.FieldName = "floor_count"; this.building_floor_no.Name = "building_floor_no"; this.building_floor_no.OptionsColumn.AllowEdit = false; this.building_floor_no.OptionsColumn.AllowFocus = false; this.building_floor_no.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.building_floor_no.OptionsColumn.AllowMove = false; this.building_floor_no.Visible = true; this.building_floor_no.VisibleIndex = 3; // // building_building_id // this.building_building_id.Caption = "building_id"; this.building_building_id.FieldName = "building_id"; this.building_building_id.Name = "building_building_id"; // // building_company_id // this.building_company_id.Caption = "gridColumn1"; this.building_company_id.FieldName = "company_id"; this.building_company_id.Name = "building_company_id"; // // panelControl3 // this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControl3.Controls.Add(this.groupControlBuildingInfo); this.panelControl3.Dock = System.Windows.Forms.DockStyle.Fill; this.panelControl3.Location = new System.Drawing.Point(0, 0); this.panelControl3.Name = "panelControl3"; this.panelControl3.Size = new System.Drawing.Size(535, 474); this.panelControl3.TabIndex = 12; // // groupControlBuildingInfo // this.groupControlBuildingInfo.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.groupControlBuildingInfo.AppearanceCaption.Options.UseFont = true; this.groupControlBuildingInfo.Controls.Add(this.xtraScrollableControl1); this.groupControlBuildingInfo.Dock = System.Windows.Forms.DockStyle.Fill; this.groupControlBuildingInfo.Location = new System.Drawing.Point(0, 0); this.groupControlBuildingInfo.Name = "groupControlBuildingInfo"; this.groupControlBuildingInfo.Size = new System.Drawing.Size(535, 474); this.groupControlBuildingInfo.TabIndex = 0; this.groupControlBuildingInfo.Text = "ข้อมูลอาคาร"; // // xtraScrollableControl1 // this.xtraScrollableControl1.Controls.Add(this.lookUpEditxxx); this.xtraScrollableControl1.Controls.Add(this.labelControlRequired); this.xtraScrollableControl1.Controls.Add(this.tableLayoutPanel1); this.xtraScrollableControl1.Controls.Add(this.bttDelete); this.xtraScrollableControl1.Controls.Add(this.bttEdit); this.xtraScrollableControl1.Controls.Add(this.bttAdd); this.xtraScrollableControl1.Controls.Add(this.luEditFloorNo); this.xtraScrollableControl1.Controls.Add(this.luEditBuilding); this.xtraScrollableControl1.Controls.Add(this.bttSave); this.xtraScrollableControl1.Controls.Add(this.bttCancel); this.xtraScrollableControl1.Controls.Add(this.txtBuildingLabel); this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.xtraScrollableControl1.Location = new System.Drawing.Point(2, 22); this.xtraScrollableControl1.Name = "xtraScrollableControl1"; this.xtraScrollableControl1.Size = new System.Drawing.Size(531, 450); this.xtraScrollableControl1.TabIndex = 0; // // lookUpEditxxx // this.lookUpEditxxx.Enabled = false; this.lookUpEditxxx.Location = new System.Drawing.Point(126, 11); this.lookUpEditxxx.Name = "lookUpEditxxx"; this.lookUpEditxxx.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lookUpEditxxx.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("company_id", " ", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("company_name", " ")}); this.lookUpEditxxx.Size = new System.Drawing.Size(399, 20); this.lookUpEditxxx.TabIndex = 360; // // labelControlRequired // this.labelControlRequired.Appearance.ForeColor = System.Drawing.Color.Red; this.labelControlRequired.Location = new System.Drawing.Point(9, 159); this.labelControlRequired.Name = "labelControlRequired"; this.labelControlRequired.Size = new System.Drawing.Size(50, 13); this.labelControlRequired.TabIndex = 358; this.labelControlRequired.Text = "* โปรดระบุ"; // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 3; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 10F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 92F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 12F)); this.tableLayoutPanel1.Controls.Add(this.labelControl3, 0, 0); this.tableLayoutPanel1.Controls.Add(this.labelControlCompanyName, 1, 0); this.tableLayoutPanel1.Controls.Add(this.labelControlBuilding, 1, 1); this.tableLayoutPanel1.Controls.Add(this.labelControl12, 0, 3); this.tableLayoutPanel1.Controls.Add(this.labelControl2, 0, 2); this.tableLayoutPanel1.Controls.Add(this.labelControlBuildingLabel, 1, 2); this.tableLayoutPanel1.Controls.Add(this.labelControlFloorNo, 1, 3); this.tableLayoutPanel1.Controls.Add(this.labelControl5, 2, 0); this.tableLayoutPanel1.Controls.Add(this.labelControl6, 2, 2); this.tableLayoutPanel1.Controls.Add(this.labelControl7, 2, 1); this.tableLayoutPanel1.Controls.Add(this.labelControl8, 2, 3); this.tableLayoutPanel1.Location = new System.Drawing.Point(6, 15); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 5; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 21F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(114, 120); this.tableLayoutPanel1.TabIndex = 359; // // labelControl3 // this.labelControl3.Appearance.ForeColor = System.Drawing.Color.Red; this.labelControl3.Location = new System.Drawing.Point(3, 3); this.labelControl3.Name = "labelControl3"; this.labelControl3.Size = new System.Drawing.Size(6, 13); this.labelControl3.TabIndex = 350; this.labelControl3.Text = "*"; // // labelControlCompanyName // this.labelControlCompanyName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labelControlCompanyName.Location = new System.Drawing.Point(48, 3); this.labelControlCompanyName.Name = "labelControlCompanyName"; this.labelControlCompanyName.Size = new System.Drawing.Size(51, 13); this.labelControlCompanyName.TabIndex = 349; this.labelControlCompanyName.Text = "ชื่อกิจการ :"; // // labelControlBuilding // this.labelControlBuilding.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labelControlBuilding.Location = new System.Drawing.Point(44, 30); this.labelControlBuilding.Name = "labelControlBuilding"; this.labelControlBuilding.Size = new System.Drawing.Size(55, 13); this.labelControlBuilding.TabIndex = 20; this.labelControlBuilding.Text = "รหัสอาคาร :"; // // labelControl12 // this.labelControl12.Appearance.ForeColor = System.Drawing.Color.Red; this.labelControl12.Location = new System.Drawing.Point(3, 82); this.labelControl12.Name = "labelControl12"; this.labelControl12.Size = new System.Drawing.Size(6, 13); this.labelControl12.TabIndex = 346; this.labelControl12.Text = "*"; // // labelControl2 // this.labelControl2.Appearance.ForeColor = System.Drawing.Color.Red; this.labelControl2.Location = new System.Drawing.Point(3, 57); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(6, 13); this.labelControl2.TabIndex = 347; this.labelControl2.Text = "*"; // // labelControlBuildingLabel // this.labelControlBuildingLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labelControlBuildingLabel.Location = new System.Drawing.Point(49, 57); this.labelControlBuildingLabel.Name = "labelControlBuildingLabel"; this.labelControlBuildingLabel.Size = new System.Drawing.Size(50, 13); this.labelControlBuildingLabel.TabIndex = 15; this.labelControlBuildingLabel.Text = "ชื่ออาคาร :"; // // labelControlFloorNo // this.labelControlFloorNo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labelControlFloorNo.Location = new System.Drawing.Point(48, 82); this.labelControlFloorNo.Name = "labelControlFloorNo"; this.labelControlFloorNo.Size = new System.Drawing.Size(51, 13); this.labelControlFloorNo.TabIndex = 21; this.labelControlFloorNo.Text = "จำนวนชั้น :"; // // labelControl5 // this.labelControl5.Location = new System.Drawing.Point(105, 3); this.labelControl5.Name = "labelControl5"; this.labelControl5.Size = new System.Drawing.Size(4, 13); this.labelControl5.TabIndex = 349; this.labelControl5.Text = ":"; // // labelControl6 // this.labelControl6.Location = new System.Drawing.Point(105, 57); this.labelControl6.Name = "labelControl6"; this.labelControl6.Size = new System.Drawing.Size(4, 13); this.labelControl6.TabIndex = 349; this.labelControl6.Text = ":"; // // labelControl7 // this.labelControl7.Location = new System.Drawing.Point(105, 30); this.labelControl7.Name = "labelControl7"; this.labelControl7.Size = new System.Drawing.Size(4, 13); this.labelControl7.TabIndex = 349; this.labelControl7.Text = ":"; // // labelControl8 // this.labelControl8.Location = new System.Drawing.Point(105, 82); this.labelControl8.Name = "labelControl8"; this.labelControl8.Size = new System.Drawing.Size(4, 13); this.labelControl8.TabIndex = 349; this.labelControl8.Text = ":"; // // bttDelete // this.bttDelete.Image = global::DXWindowsApplication2.Properties.Resources.delete; this.bttDelete.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter; this.bttDelete.Location = new System.Drawing.Point(293, 159); this.bttDelete.Name = "bttDelete"; this.bttDelete.Size = new System.Drawing.Size(70, 55); this.bttDelete.TabIndex = 6; this.bttDelete.Text = "ลบข้อมูล"; this.bttDelete.Click += new System.EventHandler(this.bttDelete_Click); // // bttEdit // this.bttEdit.Image = global::DXWindowsApplication2.Properties.Resources.edit; this.bttEdit.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter; this.bttEdit.Location = new System.Drawing.Point(212, 159); this.bttEdit.Name = "bttEdit"; this.bttEdit.Size = new System.Drawing.Size(70, 55); this.bttEdit.TabIndex = 5; this.bttEdit.Text = "แก้ไขข้อมูล"; this.bttEdit.Click += new System.EventHandler(this.bttEdit_Click); // // bttAdd // this.bttAdd.Image = global::DXWindowsApplication2.Properties.Resources.Add; this.bttAdd.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter; this.bttAdd.Location = new System.Drawing.Point(131, 159); this.bttAdd.Name = "bttAdd"; this.bttAdd.Size = new System.Drawing.Size(70, 55); this.bttAdd.TabIndex = 4; this.bttAdd.Text = "เพิ่มข้อมูล"; this.bttAdd.Click += new System.EventHandler(this.bttAdd_Click); // // luEditFloorNo // this.luEditFloorNo.Enabled = false; this.luEditFloorNo.Location = new System.Drawing.Point(126, 93); this.luEditFloorNo.Name = "luEditFloorNo"; this.luEditFloorNo.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.luEditFloorNo.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("floor_no", "floor_no")}); this.luEditFloorNo.Size = new System.Drawing.Size(399, 20); this.luEditFloorNo.TabIndex = 3; // // luEditBuilding // this.luEditBuilding.Enabled = false; this.luEditBuilding.Location = new System.Drawing.Point(126, 41); this.luEditBuilding.Name = "luEditBuilding"; this.luEditBuilding.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.luEditBuilding.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("building_id", "id", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("building_code", "building_code")}); this.luEditBuilding.Size = new System.Drawing.Size(399, 20); this.luEditBuilding.TabIndex = 1; // // bttSave // this.bttSave.Enabled = false; this.bttSave.Image = global::DXWindowsApplication2.Properties.Resources.savedisk; this.bttSave.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter; this.bttSave.Location = new System.Drawing.Point(374, 159); this.bttSave.Name = "bttSave"; this.bttSave.Size = new System.Drawing.Size(70, 55); this.bttSave.TabIndex = 7; this.bttSave.Text = "บันทึก"; this.bttSave.Click += new System.EventHandler(this.bttSave_Click); // // bttCancel // this.bttCancel.Enabled = false; this.bttCancel.Image = global::DXWindowsApplication2.Properties.Resources.Close; this.bttCancel.ImageLocation = DevExpress.XtraEditors.ImageLocation.TopCenter; this.bttCancel.Location = new System.Drawing.Point(455, 159); this.bttCancel.Name = "bttCancel"; this.bttCancel.Size = new System.Drawing.Size(70, 55); this.bttCancel.TabIndex = 8; this.bttCancel.Text = "ยกเลิก"; this.bttCancel.Click += new System.EventHandler(this.bttCancel_Click); // // txtBuildingLabel // this.txtBuildingLabel.Enabled = false; this.txtBuildingLabel.Location = new System.Drawing.Point(126, 67); this.txtBuildingLabel.Name = "txtBuildingLabel"; this.txtBuildingLabel.Properties.Mask.BeepOnError = true; this.txtBuildingLabel.Properties.Mask.EditMask = "([a-zA-Z0-9|ก-๙|\\\' \']){0,50}"; this.txtBuildingLabel.Properties.Mask.IgnoreMaskBlank = false; this.txtBuildingLabel.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx; this.txtBuildingLabel.Properties.MaxLength = 50; this.txtBuildingLabel.Properties.ValidateOnEnterKey = true; this.txtBuildingLabel.Size = new System.Drawing.Size(399, 20); this.txtBuildingLabel.TabIndex = 2; // // splitContainerControl1 // this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerControl1.Location = new System.Drawing.Point(0, 0); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Text = "Panel1"; this.splitContainerControl1.Panel2.Text = "Panel2"; this.splitContainerControl1.Size = new System.Drawing.Size(1040, 474); this.splitContainerControl1.SplitterPosition = 585; this.splitContainerControl1.TabIndex = 0; this.splitContainerControl1.Text = "splitContainerControl1"; // // panelControl2 // this.panelControl2.Appearance.BackColor = System.Drawing.Color.WhiteSmoke; this.panelControl2.Appearance.Options.UseBackColor = true; this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControl2.Controls.Add(this.splitContainerControl1); this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.panelControl2.Location = new System.Drawing.Point(7, 7); this.panelControl2.Name = "panelControl2"; this.panelControl2.Size = new System.Drawing.Size(1040, 474); this.panelControl2.TabIndex = 10; // // BasicInfoBuilding // this.Appearance.BackColor = System.Drawing.Color.White; this.Appearance.Options.UseBackColor = true; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.splitContainerControl2); this.Controls.Add(this.panelControl2); this.Name = "BasicInfoBuilding"; this.Padding = new System.Windows.Forms.Padding(7); this.Size = new System.Drawing.Size(1054, 488); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).EndInit(); this.splitContainerControl2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.groupControlBuildingList)).EndInit(); this.groupControlBuildingList.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit(); this.panelControl3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.groupControlBuildingInfo)).EndInit(); this.groupControlBuildingInfo.ResumeLayout(false); this.xtraScrollableControl1.ResumeLayout(false); this.xtraScrollableControl1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.lookUpEditxxx.Properties)).EndInit(); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.luEditFloorNo.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.luEditBuilding.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtBuildingLabel.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); this.panelControl2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设置控件属性 /// </summary> public void setXtraControls(Control.ControlCollection p_Controls) { //foreach (object ctl in this.p_Controls) //{ // DevExpress.XtraGrid.GridControl flpan = ctl as DevExpress.XtraGrid.GridControl; // if (flpan != null) // { // DevExpress.XtraGrid.Views.Grid.GridView gv = (DevExpress.XtraGrid.Views.Grid.GridView)flpan.Views[0]; // string flpann = flpan.Name; // gv.OptionsSelection.EnableAppearanceFocusedCell = false; // gv.OptionsView.EnableAppearanceEvenRow = true; // gv.OptionsView.EnableAppearanceOddRow = true; // gv.Appearance.EvenRow.BackColor = Color.Beige; // SetPoint(gv); // continue; // } // DevExpress.XtraEditors.LabelControl lab = ctl as DevExpress.XtraEditors.LabelControl; // if (lab != null) // { // if (lab.Text.Contains(":")) // lab.Text = lab.Text.Replace(":", ":"); // continue; // } //} foreach (object ctl in p_Controls) { DevExpress.XtraGrid.GridControl flpan = ctl as DevExpress.XtraGrid.GridControl; if (flpan != null) { DevExpress.XtraGrid.Views.Grid.GridView gv = (DevExpress.XtraGrid.Views.Grid.GridView)flpan.Views[0]; string flpann = flpan.Name; gv.OptionsSelection.EnableAppearanceFocusedCell = false; //gv.IndicatorWidth = 50; gv.OptionsView.EnableAppearanceEvenRow = true; gv.OptionsView.EnableAppearanceOddRow = true; gv.OptionsMenu.EnableColumnMenu = false; gv.Appearance.EvenRow.BackColor = Color.FromArgb(int.Parse(ClientConfiguration.EvenColor)); gv.Appearance.OddRow.BackColor = Color.FromArgb(int.Parse(ClientConfiguration.OddColor)); SetColumn(gv); gv.CustomDrawRowIndicator += new DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventHandler(gridView_CustomDrawRowIndicator); //gv.DataSourceChanged += new System.EventHandler(gridView_DataSourceChanged); gv.RowCountChanged += new System.EventHandler(gridView_RowCountChanged); if (gv.DataRowCount > 9999) { gv.IndicatorWidth = 50; } else if (gv.DataRowCount > 999) { gv.IndicatorWidth = 45; } else if (gv.DataRowCount > 99) { gv.IndicatorWidth = 40; } else { gv.IndicatorWidth = 30; } continue; } DevExpress.XtraEditors.LabelControl lab = ctl as DevExpress.XtraEditors.LabelControl; if (lab != null) { if (lab.Text.Contains(":")) { lab.Text = lab.Text.Replace(":", ":"); } continue; } TableLayoutPanel tlp = ctl as TableLayoutPanel; if (tlp != null) { setXtraControls(tlp.Controls); continue; } DevExpress.XtraEditors.PanelControl pc = ctl as DevExpress.XtraEditors.PanelControl; if (pc != null) { setXtraControls(pc.Controls); continue; } DevExpress.XtraTab.XtraTabControl tc = ctl as DevExpress.XtraTab.XtraTabControl; if (tc != null) { setXtraControls(tc.Controls); continue; } DevExpress.XtraTab.XtraTabPage tp = ctl as DevExpress.XtraTab.XtraTabPage; if (tp != null) { setXtraControls(tp.Controls); continue; } DevExpress.XtraEditors.GroupControl gc = ctl as DevExpress.XtraEditors.GroupControl; if (gc != null) { setXtraControls(gc.Controls); continue; } DevExpress.XtraEditors.LookUpEdit lue = ctl as DevExpress.XtraEditors.LookUpEdit; if (lue != null) { lue.Properties.DropDownRows = 5; continue; } DevExpress.XtraEditors.TextEdit te = ctl as DevExpress.XtraEditors.TextEdit; if (te != null) { te.KeyPress += new System.Windows.Forms.KeyPressEventHandler(textEdit_KeyPress); continue; } } }
//新增或編輯狀態下雙擊表格彈出編輯窗體 private void dgvDetails_ShownEditor(object sender, EventArgs e) { DevExpress.XtraGrid.Views.Grid.GridView view = sender as DevExpress.XtraGrid.Views.Grid.GridView; view.ActiveEditor.DoubleClick += new EventHandler(ActiveEditor_DoubleClick); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.xpCollection1 = new DevExpress.Xpo.XPCollection(); this.tmrReload = new System.Windows.Forms.Timer(this.components); this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components); this.ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl(); this.bbtnClose = new DevExpress.XtraBars.BarButtonItem(); this.bbtnNewCard = new DevExpress.XtraBars.BarButtonItem(); this.bbtnDeleteCard = new DevExpress.XtraBars.BarButtonItem(); this.rpGeneral = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colOid = new DevExpress.XtraGrid.Columns.GridColumn(); this.colCardModel = new DevExpress.XtraGrid.Columns.GridColumn(); this.colCardRevision = new DevExpress.XtraGrid.Columns.GridColumn(); this.colCardSerialNumber = new DevExpress.XtraGrid.Columns.GridColumn(); this.colCardName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colCardDescription = new DevExpress.XtraGrid.Columns.GridColumn(); this.clientPanel = new DevExpress.XtraEditors.PanelControl(); ((System.ComponentModel.ISupportInitialize)(this.xpCollection1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.clientPanel)).BeginInit(); this.clientPanel.SuspendLayout(); this.SuspendLayout(); // // xpCollection1 // this.xpCollection1.BindingBehavior = DevExpress.Xpo.CollectionBindingBehavior.AllowRemove; this.xpCollection1.ObjectType = typeof(SSTCP.Database.Cards); // // tmrReload // this.tmrReload.Enabled = true; this.tmrReload.Interval = 500; this.tmrReload.Tick += new System.EventHandler(this.tmrReload_Tick); // // popupMenu1 // this.popupMenu1.ItemLinks.Add(this.bbtnDeleteCard); this.popupMenu1.Name = "popupMenu1"; this.popupMenu1.Ribbon = this.ribbon; // // ribbon // this.ribbon.ApplicationButtonText = null; this.ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.bbtnClose, this.bbtnNewCard, this.bbtnDeleteCard}); this.ribbon.Location = new System.Drawing.Point(0, 0); this.ribbon.MaxItemId = 4; this.ribbon.Name = "ribbon"; this.ribbon.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { this.rpGeneral}); this.ribbon.SelectedPage = this.rpGeneral; this.ribbon.Size = new System.Drawing.Size(793, 143); // // bbtnClose // this.bbtnClose.Caption = "Close"; this.bbtnClose.Id = 1; this.bbtnClose.Name = "bbtnClose"; this.bbtnClose.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbtnClose_ItemClick); // // bbtnNewCard // this.bbtnNewCard.Caption = "New Card"; this.bbtnNewCard.Id = 2; this.bbtnNewCard.Name = "bbtnNewCard"; this.bbtnNewCard.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbtnNewCard_ItemClick); // // bbtnDeleteCard // this.bbtnDeleteCard.Caption = "Delete Card"; this.bbtnDeleteCard.Id = 3; this.bbtnDeleteCard.Name = "bbtnDeleteCard"; // // rpGeneral // this.rpGeneral.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroup1}); this.rpGeneral.Name = "rpGeneral"; this.rpGeneral.Text = "General"; // // ribbonPageGroup1 // this.ribbonPageGroup1.ItemLinks.Add(this.bbtnClose); this.ribbonPageGroup1.ItemLinks.Add(this.bbtnNewCard); this.ribbonPageGroup1.Name = "ribbonPageGroup1"; this.ribbonPageGroup1.ShowCaptionButton = false; this.ribbonPageGroup1.Text = "File"; // // gridControl1 // this.gridControl1.DataSource = this.xpCollection1; this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControl1.Location = new System.Drawing.Point(0, 0); this.gridControl1.MainView = this.gridView1; this.gridControl1.MenuManager = this.ribbon; this.gridControl1.Name = "gridControl1"; this.gridControl1.Size = new System.Drawing.Size(793, 380); this.gridControl1.TabIndex = 0; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1}); // // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colOid, this.colCardModel, this.colCardRevision, this.colCardSerialNumber, this.colCardName, this.colCardDescription}); this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.None; this.gridView1.GridControl = this.gridControl1; this.gridView1.Name = "gridView1"; this.gridView1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False; this.gridView1.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False; this.gridView1.OptionsBehavior.Editable = false; this.gridView1.OptionsBehavior.ReadOnly = true; this.gridView1.OptionsCustomization.AllowColumnMoving = false; this.gridView1.OptionsCustomization.AllowColumnResizing = false; this.gridView1.OptionsCustomization.AllowFilter = false; this.gridView1.OptionsCustomization.AllowGroup = false; this.gridView1.OptionsCustomization.AllowQuickHideColumns = false; this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridView1.OptionsView.EnableAppearanceEvenRow = true; this.gridView1.OptionsView.EnableAppearanceOddRow = true; this.gridView1.OptionsView.RowAutoHeight = true; this.gridView1.OptionsView.ShowGroupExpandCollapseButtons = false; this.gridView1.OptionsView.ShowGroupPanel = false; this.gridView1.OptionsView.ShowIndicator = false; this.gridView1.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colCardModel, DevExpress.Data.ColumnSortOrder.Ascending)}); this.gridView1.ShowGridMenu += new DevExpress.XtraGrid.Views.Grid.GridMenuEventHandler(this.gridView1_ShowGridMenu); // // colOid // this.colOid.FieldName = "Oid"; this.colOid.Name = "colOid"; // // colCardModel // this.colCardModel.FieldName = "CardModel"; this.colCardModel.Name = "colCardModel"; this.colCardModel.SortMode = DevExpress.XtraGrid.ColumnSortMode.DisplayText; this.colCardModel.Visible = true; this.colCardModel.VisibleIndex = 0; // // colCardRevision // this.colCardRevision.FieldName = "CardRevision"; this.colCardRevision.Name = "colCardRevision"; this.colCardRevision.Visible = true; this.colCardRevision.VisibleIndex = 1; // // colCardSerialNumber // this.colCardSerialNumber.FieldName = "CardSerialNumber"; this.colCardSerialNumber.Name = "colCardSerialNumber"; this.colCardSerialNumber.Visible = true; this.colCardSerialNumber.VisibleIndex = 2; // // colCardName // this.colCardName.FieldName = "CardName"; this.colCardName.Name = "colCardName"; this.colCardName.Visible = true; this.colCardName.VisibleIndex = 3; // // colCardDescription // this.colCardDescription.FieldName = "CardDescription"; this.colCardDescription.Name = "colCardDescription"; this.colCardDescription.Visible = true; this.colCardDescription.VisibleIndex = 4; // // clientPanel // this.clientPanel.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.clientPanel.Controls.Add(this.gridControl1); this.clientPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.clientPanel.Location = new System.Drawing.Point(0, 143); this.clientPanel.Name = "clientPanel"; this.clientPanel.Size = new System.Drawing.Size(793, 380); this.clientPanel.TabIndex = 2; // // frmCards // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(793, 523); this.Controls.Add(this.clientPanel); this.Controls.Add(this.ribbon); this.Name = "frmCards"; this.Ribbon = this.ribbon; this.Text = "Card Manager"; this.Load += new System.EventHandler(this.frmCards_Load); ((System.ComponentModel.ISupportInitialize)(this.xpCollection1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ribbon)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.clientPanel)).EndInit(); this.clientPanel.ResumeLayout(false); this.ResumeLayout(false); }
/// <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(frmCustomerSearch)); this.grCustomers = new DevExpress.XtraGrid.GridControl(); this.grdView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colAccountNum = new DevExpress.XtraGrid.Columns.GridColumn(); this.colName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colAddress = new DevExpress.XtraGrid.Columns.GridColumn(); this.colOrgID = new DevExpress.XtraGrid.Columns.GridColumn(); this.colEmail = new DevExpress.XtraGrid.Columns.GridColumn(); this.colPhoneNumber = new DevExpress.XtraGrid.Columns.GridColumn(); this.basePanel = new DevExpress.XtraEditors.PanelControl(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.lblHeading = new System.Windows.Forms.Label(); this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel(); this.btnCancel = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnPgUp = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnUp = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnPgDown = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnDown = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnNew = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnSelect = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); this.btnSearch = new DevExpress.XtraEditors.SimpleButton(); this.btnClear = new DevExpress.XtraEditors.SimpleButton(); this.txtKeyboardInput = new DevExpress.XtraEditors.TextEdit(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); ((System.ComponentModel.ISupportInitialize)(this.styleController)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grCustomers)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grdView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.basePanel)).BeginInit(); this.basePanel.SuspendLayout(); this.tableLayoutPanel2.SuspendLayout(); this.tableLayoutPanel4.SuspendLayout(); this.tableLayoutPanel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtKeyboardInput.Properties)).BeginInit(); this.tableLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // grCustomers // this.grCustomers.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.tableLayoutPanel1.SetColumnSpan(this.grCustomers, 9); this.grCustomers.Dock = System.Windows.Forms.DockStyle.Fill; this.grCustomers.Location = new System.Drawing.Point(0, 0); this.grCustomers.MainView = this.grdView; this.grCustomers.Margin = new System.Windows.Forms.Padding(0); this.grCustomers.Name = "grCustomers"; this.grCustomers.Size = new System.Drawing.Size(962, 492); this.grCustomers.TabIndex = 0; this.grCustomers.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.grdView }); this.grCustomers.KeyDown += new System.Windows.Forms.KeyEventHandler(this.grItems_KeyDown); // // grdView // this.grdView.Appearance.HeaderPanel.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold); this.grdView.Appearance.HeaderPanel.Options.UseFont = true; this.grdView.Appearance.Row.Font = new System.Drawing.Font("Segoe UI", 10F); this.grdView.Appearance.Row.Options.UseFont = true; this.grdView.ColumnPanelRowHeight = 40; this.grdView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colAccountNum, this.colName, this.colAddress, this.colOrgID, this.colEmail, this.colPhoneNumber }); this.grdView.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.None; this.grdView.GridControl = this.grCustomers; this.grdView.HorzScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Never; this.grdView.Name = "grdView"; this.grdView.OptionsBehavior.Editable = false; this.grdView.OptionsCustomization.AllowFilter = false; this.grdView.OptionsSelection.EnableAppearanceFocusedCell = false; this.grdView.OptionsView.ShowGroupPanel = false; this.grdView.OptionsView.ShowHorizontalLines = DevExpress.Utils.DefaultBoolean.True; this.grdView.OptionsView.ShowIndicator = false; this.grdView.OptionsView.ShowVerticalLines = DevExpress.Utils.DefaultBoolean.True; this.grdView.RowHeight = 40; this.grdView.ScrollStyle = DevExpress.XtraGrid.Views.Grid.ScrollStyleFlags.None; this.grdView.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.Default; this.grdView.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colName, DevExpress.Data.ColumnSortOrder.Ascending) }); this.grdView.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Never; this.grdView.FocusedColumnChanged += new DevExpress.XtraGrid.Views.Base.FocusedColumnChangedEventHandler(this.gridView1_FocusedColumnChanged); this.grdView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.grItems_KeyDown); this.grdView.Click += new System.EventHandler(this.grdView_Click); this.grdView.DoubleClick += new System.EventHandler(this.gridView1_DoubleClick); // // colAccountNum // this.colAccountNum.Caption = "Customer ID"; this.colAccountNum.FieldName = "AccountNumber"; this.colAccountNum.Name = "colAccountNum"; this.colAccountNum.OptionsColumn.AllowEdit = false; this.colAccountNum.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.True; this.colAccountNum.SortMode = DevExpress.XtraGrid.ColumnSortMode.Custom; this.colAccountNum.Visible = true; this.colAccountNum.VisibleIndex = 0; this.colAccountNum.Width = 142; // // colName // this.colName.Caption = "Name"; this.colName.FieldName = "Name"; this.colName.Name = "colName"; this.colName.OptionsColumn.AllowEdit = false; this.colName.OptionsColumn.AllowIncrementalSearch = false; this.colName.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colName.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.True; this.colName.SortMode = DevExpress.XtraGrid.ColumnSortMode.Custom; this.colName.Visible = true; this.colName.VisibleIndex = 1; this.colName.Width = 233; // // colAddress // this.colAddress.Caption = "Address"; this.colAddress.FieldName = "PrimaryStreetAddress"; this.colAddress.Name = "colAddress"; this.colAddress.OptionsColumn.AllowEdit = false; this.colAddress.OptionsColumn.AllowIncrementalSearch = false; this.colAddress.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colAddress.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.colAddress.ShowUnboundExpressionMenu = true; this.colAddress.Visible = true; this.colAddress.VisibleIndex = 2; this.colAddress.Width = 291; // // colOrgID // this.colOrgID.Caption = "Org Id"; this.colOrgID.FieldName = "ORGID"; this.colOrgID.Name = "colOrgID"; this.colOrgID.OptionsColumn.AllowEdit = false; this.colOrgID.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.True; this.colOrgID.SortMode = DevExpress.XtraGrid.ColumnSortMode.Custom; this.colOrgID.Width = 127; // // colEmail // this.colEmail.Caption = "E-mail"; this.colEmail.FieldName = "Email"; this.colEmail.Name = "colEmail"; this.colEmail.OptionsColumn.AllowEdit = false; this.colEmail.OptionsColumn.AllowIncrementalSearch = false; this.colEmail.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colEmail.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.colEmail.Visible = true; this.colEmail.VisibleIndex = 3; this.colEmail.Width = 167; // // colPhoneNumber // this.colPhoneNumber.Caption = "Phone number"; this.colPhoneNumber.FieldName = "Phone"; this.colPhoneNumber.Name = "colPhoneNumber"; this.colPhoneNumber.OptionsColumn.AllowEdit = false; this.colPhoneNumber.OptionsColumn.AllowIncrementalSearch = false; this.colPhoneNumber.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colPhoneNumber.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.colPhoneNumber.Visible = true; this.colPhoneNumber.VisibleIndex = 4; this.colPhoneNumber.Width = 166; // // basePanel // this.basePanel.Controls.Add(this.tableLayoutPanel2); this.basePanel.Dock = System.Windows.Forms.DockStyle.Fill; this.basePanel.Location = new System.Drawing.Point(0, 0); this.basePanel.Name = "basePanel"; this.basePanel.Size = new System.Drawing.Size(1024, 768); this.basePanel.TabIndex = 1; // // tableLayoutPanel2 // this.tableLayoutPanel2.ColumnCount = 1; this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.Controls.Add(this.lblHeading, 0, 0); this.tableLayoutPanel2.Controls.Add(this.tableLayoutPanel4, 0, 3); this.tableLayoutPanel2.Controls.Add(this.tableLayoutPanel3, 0, 1); this.tableLayoutPanel2.Controls.Add(this.tableLayoutPanel1, 0, 2); this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel2.Location = new System.Drawing.Point(2, 2); this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(0); this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.Padding = new System.Windows.Forms.Padding(26, 40, 26, 11); this.tableLayoutPanel2.RowCount = 4; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel2.Size = new System.Drawing.Size(1020, 764); this.tableLayoutPanel2.TabIndex = 10; // // lblHeading // this.lblHeading.Anchor = System.Windows.Forms.AnchorStyles.None; this.lblHeading.AutoSize = true; this.lblHeading.Font = new System.Drawing.Font("Segoe UI Light", 36F); this.lblHeading.Location = new System.Drawing.Point(327, 40); this.lblHeading.Margin = new System.Windows.Forms.Padding(0); this.lblHeading.Name = "lblHeading"; this.lblHeading.Padding = new System.Windows.Forms.Padding(0, 0, 0, 30); this.lblHeading.Size = new System.Drawing.Size(366, 95); this.lblHeading.TabIndex = 41; this.lblHeading.Text = "Customer search"; this.lblHeading.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // tableLayoutPanel4 // this.tableLayoutPanel4.ColumnCount = 9; this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel4.Controls.Add(this.btnCancel, 5, 0); this.tableLayoutPanel4.Controls.Add(this.btnPgUp, 0, 0); this.tableLayoutPanel4.Controls.Add(this.btnUp, 1, 0); this.tableLayoutPanel4.Controls.Add(this.btnPgDown, 8, 0); this.tableLayoutPanel4.Controls.Add(this.btnDown, 7, 0); this.tableLayoutPanel4.Controls.Add(this.btnNew, 3, 0); this.tableLayoutPanel4.Controls.Add(this.btnSelect, 4, 0); this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel4.Location = new System.Drawing.Point(26, 687); this.tableLayoutPanel4.Margin = new System.Windows.Forms.Padding(0, 11, 0, 0); this.tableLayoutPanel4.Name = "tableLayoutPanel4"; this.tableLayoutPanel4.RowCount = 1; this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel4.Size = new System.Drawing.Size(968, 66); this.tableLayoutPanel4.TabIndex = 17; // // btnCancel // this.btnCancel.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnCancel.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold); this.btnCancel.Appearance.Options.UseFont = true; this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnCancel.Location = new System.Drawing.Point(555, 4); this.btnCancel.Margin = new System.Windows.Forms.Padding(4); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(127, 57); this.btnCancel.TabIndex = 14; this.btnCancel.Tag = ""; this.btnCancel.Text = "Cancel"; // // btnPgUp // this.btnPgUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.btnPgUp.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.btnPgUp.Appearance.Options.UseFont = true; this.btnPgUp.Image = global::Microsoft.Dynamics.Retail.Pos.Customer.Properties.Resources.top; this.btnPgUp.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnPgUp.Location = new System.Drawing.Point(4, 4); this.btnPgUp.Margin = new System.Windows.Forms.Padding(4); this.btnPgUp.Name = "btnPgUp"; this.btnPgUp.Size = new System.Drawing.Size(57, 57); this.btnPgUp.TabIndex = 10; this.btnPgUp.Tag = ""; this.btnPgUp.Text = "Ç"; this.btnPgUp.Click += new System.EventHandler(this.btnPgUp_Click); // // btnUp // this.btnUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.btnUp.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.btnUp.Appearance.Options.UseFont = true; this.btnUp.Image = global::Microsoft.Dynamics.Retail.Pos.Customer.Properties.Resources.up; this.btnUp.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnUp.Location = new System.Drawing.Point(69, 4); this.btnUp.Margin = new System.Windows.Forms.Padding(4); this.btnUp.Name = "btnUp"; this.btnUp.Size = new System.Drawing.Size(57, 57); this.btnUp.TabIndex = 11; this.btnUp.Tag = ""; this.btnUp.Text = "ñ"; this.btnUp.Click += new System.EventHandler(this.btnUp_Click); // // btnPgDown // this.btnPgDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.btnPgDown.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.btnPgDown.Appearance.Options.UseFont = true; this.btnPgDown.Image = global::Microsoft.Dynamics.Retail.Pos.Customer.Properties.Resources.bottom; this.btnPgDown.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnPgDown.Location = new System.Drawing.Point(906, 4); this.btnPgDown.Margin = new System.Windows.Forms.Padding(4); this.btnPgDown.Name = "btnPgDown"; this.btnPgDown.Size = new System.Drawing.Size(58, 57); this.btnPgDown.TabIndex = 16; this.btnPgDown.Tag = ""; this.btnPgDown.Text = "Ê"; this.btnPgDown.Click += new System.EventHandler(this.btnPgDown_Click); // // btnDown // this.btnDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.btnDown.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.btnDown.Appearance.Options.UseFont = true; this.btnDown.Image = global::Microsoft.Dynamics.Retail.Pos.Customer.Properties.Resources.down; this.btnDown.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnDown.Location = new System.Drawing.Point(841, 4); this.btnDown.Margin = new System.Windows.Forms.Padding(4); this.btnDown.Name = "btnDown"; this.btnDown.Size = new System.Drawing.Size(57, 57); this.btnDown.TabIndex = 15; this.btnDown.Tag = ""; this.btnDown.Text = "ò"; this.btnDown.Click += new System.EventHandler(this.btnDown_Click); // // btnNew // this.btnNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.btnNew.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold); this.btnNew.Appearance.Options.UseFont = true; this.btnNew.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnNew.Location = new System.Drawing.Point(285, 4); this.btnNew.Margin = new System.Windows.Forms.Padding(4); this.btnNew.Name = "btnNew"; this.btnNew.Size = new System.Drawing.Size(127, 57); this.btnNew.TabIndex = 12; this.btnNew.Tag = ""; this.btnNew.Text = "New"; this.btnNew.Click += new System.EventHandler(this.btnNew_Click); // // btnSelect // this.btnSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.btnSelect.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold); this.btnSelect.Appearance.Options.UseFont = true; this.btnSelect.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnSelect.Location = new System.Drawing.Point(420, 4); this.btnSelect.Margin = new System.Windows.Forms.Padding(4); this.btnSelect.Name = "btnSelect"; this.btnSelect.Size = new System.Drawing.Size(127, 57); this.btnSelect.TabIndex = 13; this.btnSelect.Tag = ""; this.btnSelect.Text = "Select"; this.btnSelect.Click += new System.EventHandler(this.btnSelect_Click); // // tableLayoutPanel3 // this.tableLayoutPanel3.ColumnCount = 3; this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel3.Controls.Add(this.btnSearch, 1, 0); this.tableLayoutPanel3.Controls.Add(this.btnClear, 2, 0); this.tableLayoutPanel3.Controls.Add(this.txtKeyboardInput, 0, 0); this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel3.Location = new System.Drawing.Point(29, 138); this.tableLayoutPanel3.Name = "tableLayoutPanel3"; this.tableLayoutPanel3.RowCount = 1; this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel3.Size = new System.Drawing.Size(962, 37); this.tableLayoutPanel3.TabIndex = 9; // // btnSearch // this.btnSearch.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnSearch.Image = global::Microsoft.Dynamics.Retail.Pos.Customer.Properties.Resources.search; this.btnSearch.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnSearch.Location = new System.Drawing.Point(839, 3); this.btnSearch.Name = "btnSearch"; this.btnSearch.Padding = new System.Windows.Forms.Padding(3); this.btnSearch.Size = new System.Drawing.Size(57, 31); this.btnSearch.TabIndex = 2; this.btnSearch.Text = "Search"; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // btnClear // this.btnClear.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnClear.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F); this.btnClear.Appearance.Options.UseFont = true; this.btnClear.Image = global::Microsoft.Dynamics.Retail.Pos.Customer.Properties.Resources.remove; this.btnClear.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnClear.Location = new System.Drawing.Point(902, 3); this.btnClear.Name = "btnClear"; this.btnClear.Padding = new System.Windows.Forms.Padding(3); this.btnClear.Size = new System.Drawing.Size(57, 31); this.btnClear.TabIndex = 3; this.btnClear.Text = "û"; this.btnClear.Click += new System.EventHandler(this.btnClear_Click); // // txtKeyboardInput // this.txtKeyboardInput.Dock = System.Windows.Forms.DockStyle.Fill; this.txtKeyboardInput.Location = new System.Drawing.Point(3, 3); this.txtKeyboardInput.Name = "txtKeyboardInput"; this.txtKeyboardInput.Properties.Appearance.BackColor = System.Drawing.Color.White; this.txtKeyboardInput.Properties.Appearance.Font = new System.Drawing.Font("Segoe UI", 14F); this.txtKeyboardInput.Properties.Appearance.ForeColor = System.Drawing.Color.Black; this.txtKeyboardInput.Properties.Appearance.Options.UseBackColor = true; this.txtKeyboardInput.Properties.Appearance.Options.UseFont = true; this.txtKeyboardInput.Properties.Appearance.Options.UseForeColor = true; this.txtKeyboardInput.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple; this.txtKeyboardInput.Size = new System.Drawing.Size(830, 32); this.txtKeyboardInput.TabIndex = 1; this.txtKeyboardInput.KeyDown += new System.Windows.Forms.KeyEventHandler(this.CustomerSearch_KeyDown); // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 9; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.Controls.Add(this.grCustomers, 0, 0); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(29, 181); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(962, 492); this.tableLayoutPanel1.TabIndex = 0; // // frmCustomerSearch // this.Appearance.Options.UseBackColor = true; this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(1024, 768); this.Controls.Add(this.basePanel); this.LookAndFeel.SkinName = "Money Twins"; this.Name = "frmCustomerSearch"; this.Text = "Customer search"; this.Controls.SetChildIndex(this.basePanel, 0); ((System.ComponentModel.ISupportInitialize)(this.styleController)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grCustomers)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grdView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.basePanel)).EndInit(); this.basePanel.ResumeLayout(false); this.tableLayoutPanel2.ResumeLayout(false); this.tableLayoutPanel2.PerformLayout(); this.tableLayoutPanel4.ResumeLayout(false); this.tableLayoutPanel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.txtKeyboardInput.Properties)).EndInit(); this.tableLayoutPanel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule2 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.gridControlData = new DevExpress.XtraGrid.GridControl(); this.sp001BindingSource = new System.Windows.Forms.BindingSource(this.components); this.dsQueries = new RetirementCenter.DataSources.dsQueries(); this.gridViewData = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colTotal = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemTextEditn2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.colBankMoney = new DevExpress.XtraGrid.Columns.GridColumn(); this.colAmantaMoney = new DevExpress.XtraGrid.Columns.GridColumn(); this.colMMashatId = new DevExpress.XtraGrid.Columns.GridColumn(); this.colpersonName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSyndicate = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSubCommitte = new DevExpress.XtraGrid.Columns.GridColumn(); this.btnSearch = new DevExpress.XtraEditors.SimpleButton(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.ccbeSarfType = new DevExpress.XtraEditors.CheckedComboBoxEdit(); this.cDSarfTypeedadBindingSource = new System.Windows.Forms.BindingSource(this.components); this.ccbeDof = new DevExpress.XtraEditors.CheckedComboBoxEdit(); this.tBLDofatSarfBindingSource = new System.Windows.Forms.BindingSource(this.components); this.btnPrintExport = new DevExpress.XtraEditors.SimpleButton(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.tBLDofatSarfTableAdapter = new RetirementCenter.DataSources.dsQueriesTableAdapters.TBLDofatSarfTableAdapter(); this.dxvp = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.sp_001TableAdapter = new RetirementCenter.DataSources.dsQueriesTableAdapters.sp_001TableAdapter(); this.cDSarfTypeedadTableAdapter = new RetirementCenter.DataSources.dsQueriesTableAdapters.CDSarfTypeedadTableAdapter(); ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sp001BindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsQueries)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEditn2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ccbeSarfType.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cDSarfTypeedadBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ccbeDof.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tBLDofatSarfBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxvp)).BeginInit(); this.SuspendLayout(); // // gridControlData // this.gridControlData.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.gridControlData.DataSource = this.sp001BindingSource; this.gridControlData.EmbeddedNavigator.Buttons.CancelEdit.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.Edit.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.EndEdit.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.Remove.Visible = false; this.gridControlData.EmbeddedNavigator.TextStringFormat = "صف {0} من {1}"; this.gridControlData.Location = new System.Drawing.Point(12, 38); this.gridControlData.MainView = this.gridViewData; this.gridControlData.Name = "gridControlData"; this.gridControlData.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemTextEditn2}); this.gridControlData.Size = new System.Drawing.Size(914, 523); this.gridControlData.TabIndex = 1; this.gridControlData.UseEmbeddedNavigator = true; this.gridControlData.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewData}); // // sp001BindingSource // this.sp001BindingSource.DataMember = "sp_001"; this.sp001BindingSource.DataSource = this.dsQueries; // // dsQueries // this.dsQueries.DataSetName = "dsQueries"; this.dsQueries.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // gridViewData // this.gridViewData.Appearance.ColumnFilterButton.BackColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.ColumnFilterButton.BorderColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.ColumnFilterButton.ForeColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.ColumnFilterButton.Options.UseBackColor = true; this.gridViewData.Appearance.ColumnFilterButton.Options.UseBorderColor = true; this.gridViewData.Appearance.ColumnFilterButton.Options.UseForeColor = true; this.gridViewData.Appearance.ColumnFilterButtonActive.BackColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.ColumnFilterButtonActive.BorderColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.ColumnFilterButtonActive.ForeColor = System.Drawing.Color.Gainsboro; this.gridViewData.Appearance.ColumnFilterButtonActive.Options.UseBackColor = true; this.gridViewData.Appearance.ColumnFilterButtonActive.Options.UseBorderColor = true; this.gridViewData.Appearance.ColumnFilterButtonActive.Options.UseForeColor = true; this.gridViewData.Appearance.Empty.BackColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.Empty.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.BackwardDiagonal; this.gridViewData.Appearance.Empty.Options.UseBackColor = true; this.gridViewData.Appearance.EvenRow.BackColor = System.Drawing.Color.White; this.gridViewData.Appearance.EvenRow.Options.UseBackColor = true; this.gridViewData.Appearance.FilterCloseButton.BackColor = System.Drawing.Color.Gray; this.gridViewData.Appearance.FilterCloseButton.BorderColor = System.Drawing.Color.Gray; this.gridViewData.Appearance.FilterCloseButton.Options.UseBackColor = true; this.gridViewData.Appearance.FilterCloseButton.Options.UseBorderColor = true; this.gridViewData.Appearance.FilterPanel.BackColor = System.Drawing.Color.Gray; this.gridViewData.Appearance.FilterPanel.ForeColor = System.Drawing.Color.Black; this.gridViewData.Appearance.FilterPanel.Options.UseBackColor = true; this.gridViewData.Appearance.FilterPanel.Options.UseForeColor = true; this.gridViewData.Appearance.FocusedRow.BackColor = System.Drawing.Color.Black; this.gridViewData.Appearance.FocusedRow.ForeColor = System.Drawing.Color.White; this.gridViewData.Appearance.FocusedRow.Options.UseBackColor = true; this.gridViewData.Appearance.FocusedRow.Options.UseForeColor = true; this.gridViewData.Appearance.FooterPanel.BackColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.FooterPanel.BorderColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.FooterPanel.Options.UseBackColor = true; this.gridViewData.Appearance.FooterPanel.Options.UseBorderColor = true; this.gridViewData.Appearance.FooterPanel.Options.UseTextOptions = true; this.gridViewData.Appearance.FooterPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewData.Appearance.GroupButton.BackColor = System.Drawing.Color.Silver; this.gridViewData.Appearance.GroupButton.BorderColor = System.Drawing.Color.Silver; this.gridViewData.Appearance.GroupButton.Options.UseBackColor = true; this.gridViewData.Appearance.GroupButton.Options.UseBorderColor = true; this.gridViewData.Appearance.GroupFooter.BackColor = System.Drawing.Color.Silver; this.gridViewData.Appearance.GroupFooter.BorderColor = System.Drawing.Color.Silver; this.gridViewData.Appearance.GroupFooter.Options.UseBackColor = true; this.gridViewData.Appearance.GroupFooter.Options.UseBorderColor = true; this.gridViewData.Appearance.GroupPanel.BackColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.GroupPanel.ForeColor = System.Drawing.Color.Gray; this.gridViewData.Appearance.GroupPanel.Options.UseBackColor = true; this.gridViewData.Appearance.GroupPanel.Options.UseForeColor = true; this.gridViewData.Appearance.GroupRow.BackColor = System.Drawing.Color.Silver; this.gridViewData.Appearance.GroupRow.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.gridViewData.Appearance.GroupRow.Options.UseBackColor = true; this.gridViewData.Appearance.GroupRow.Options.UseFont = true; this.gridViewData.Appearance.HeaderPanel.BackColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.HeaderPanel.BorderColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.HeaderPanel.Options.UseBackColor = true; this.gridViewData.Appearance.HeaderPanel.Options.UseBorderColor = true; this.gridViewData.Appearance.HideSelectionRow.BackColor = System.Drawing.Color.LightSlateGray; this.gridViewData.Appearance.HideSelectionRow.Options.UseBackColor = true; this.gridViewData.Appearance.HorzLine.BackColor = System.Drawing.Color.LightGray; this.gridViewData.Appearance.HorzLine.Options.UseBackColor = true; this.gridViewData.Appearance.OddRow.BackColor = System.Drawing.Color.WhiteSmoke; this.gridViewData.Appearance.OddRow.Options.UseBackColor = true; this.gridViewData.Appearance.Preview.BackColor = System.Drawing.Color.Gainsboro; this.gridViewData.Appearance.Preview.ForeColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.Preview.Options.UseBackColor = true; this.gridViewData.Appearance.Preview.Options.UseForeColor = true; this.gridViewData.Appearance.Row.BackColor = System.Drawing.Color.White; this.gridViewData.Appearance.Row.Options.UseBackColor = true; this.gridViewData.Appearance.RowSeparator.BackColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.RowSeparator.Options.UseBackColor = true; this.gridViewData.Appearance.SelectedRow.BackColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.SelectedRow.Options.UseBackColor = true; this.gridViewData.Appearance.VertLine.BackColor = System.Drawing.Color.LightGray; this.gridViewData.Appearance.VertLine.Options.UseBackColor = true; this.gridViewData.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colTotal, this.colBankMoney, this.colAmantaMoney, this.colMMashatId, this.colpersonName, this.colSyndicate, this.colSubCommitte}); this.gridViewData.GridControl = this.gridControlData; this.gridViewData.Name = "gridViewData"; this.gridViewData.OptionsBehavior.ReadOnly = true; this.gridViewData.OptionsCustomization.AllowRowSizing = true; this.gridViewData.OptionsFind.AlwaysVisible = true; this.gridViewData.OptionsPrint.EnableAppearanceEvenRow = true; this.gridViewData.OptionsPrint.EnableAppearanceOddRow = true; this.gridViewData.OptionsView.ColumnAutoWidth = false; this.gridViewData.OptionsView.EnableAppearanceEvenRow = true; this.gridViewData.OptionsView.EnableAppearanceOddRow = true; this.gridViewData.OptionsView.ShowAutoFilterRow = true; this.gridViewData.OptionsView.ShowDetailButtons = false; this.gridViewData.OptionsView.ShowFooter = true; // // colTotal // this.colTotal.AppearanceCell.Options.UseTextOptions = true; this.colTotal.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colTotal.AppearanceHeader.Options.UseTextOptions = true; this.colTotal.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colTotal.Caption = "اجمالي الدفعات"; this.colTotal.ColumnEdit = this.repositoryItemTextEditn2; this.colTotal.FieldName = "Total"; this.colTotal.Name = "colTotal"; this.colTotal.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Total", "{0:0.##}")}); this.colTotal.Visible = true; this.colTotal.VisibleIndex = 4; this.colTotal.Width = 91; // // repositoryItemTextEditn2 // this.repositoryItemTextEditn2.AutoHeight = false; this.repositoryItemTextEditn2.DisplayFormat.FormatString = "n2"; this.repositoryItemTextEditn2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.repositoryItemTextEditn2.EditFormat.FormatString = "n2"; this.repositoryItemTextEditn2.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.repositoryItemTextEditn2.Mask.EditMask = "n2"; this.repositoryItemTextEditn2.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.repositoryItemTextEditn2.Name = "repositoryItemTextEditn2"; // // colBankMoney // this.colBankMoney.AppearanceCell.Options.UseTextOptions = true; this.colBankMoney.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colBankMoney.AppearanceHeader.Options.UseTextOptions = true; this.colBankMoney.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colBankMoney.Caption = "اجمالي البنك"; this.colBankMoney.ColumnEdit = this.repositoryItemTextEditn2; this.colBankMoney.FieldName = "BankMoney"; this.colBankMoney.Name = "colBankMoney"; this.colBankMoney.OptionsColumn.ReadOnly = true; this.colBankMoney.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "BankMoney", "{0:0.##}")}); this.colBankMoney.Visible = true; this.colBankMoney.VisibleIndex = 5; this.colBankMoney.Width = 79; // // colAmantaMoney // this.colAmantaMoney.AppearanceCell.Options.UseTextOptions = true; this.colAmantaMoney.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colAmantaMoney.AppearanceHeader.Options.UseTextOptions = true; this.colAmantaMoney.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colAmantaMoney.Caption = "اجمالي الامانات"; this.colAmantaMoney.ColumnEdit = this.repositoryItemTextEditn2; this.colAmantaMoney.FieldName = "AmantaMoney"; this.colAmantaMoney.Name = "colAmantaMoney"; this.colAmantaMoney.OptionsColumn.ReadOnly = true; this.colAmantaMoney.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "AmantaMoney", "{0:0.##}")}); this.colAmantaMoney.Visible = true; this.colAmantaMoney.VisibleIndex = 6; this.colAmantaMoney.Width = 90; // // colMMashatId // this.colMMashatId.AppearanceCell.Options.UseTextOptions = true; this.colMMashatId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashatId.AppearanceHeader.Options.UseTextOptions = true; this.colMMashatId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashatId.Caption = "كود"; this.colMMashatId.FieldName = "MMashatId"; this.colMMashatId.Name = "colMMashatId"; this.colMMashatId.Visible = true; this.colMMashatId.VisibleIndex = 0; // // colpersonName // this.colpersonName.AppearanceCell.Options.UseTextOptions = true; this.colpersonName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colpersonName.AppearanceHeader.Options.UseTextOptions = true; this.colpersonName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colpersonName.Caption = "الاسم"; this.colpersonName.FieldName = "MMashatName"; this.colpersonName.Name = "colpersonName"; this.colpersonName.Visible = true; this.colpersonName.VisibleIndex = 1; // // colSyndicate // this.colSyndicate.AppearanceCell.Options.UseTextOptions = true; this.colSyndicate.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSyndicate.AppearanceHeader.Options.UseTextOptions = true; this.colSyndicate.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSyndicate.Caption = "الفرعية"; this.colSyndicate.FieldName = "Syndicate"; this.colSyndicate.Name = "colSyndicate"; this.colSyndicate.Visible = true; this.colSyndicate.VisibleIndex = 2; // // colSubCommitte // this.colSubCommitte.AppearanceCell.Options.UseTextOptions = true; this.colSubCommitte.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSubCommitte.AppearanceHeader.Options.UseTextOptions = true; this.colSubCommitte.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSubCommitte.Caption = "اللجنة"; this.colSubCommitte.FieldName = "SubCommitte"; this.colSubCommitte.Name = "colSubCommitte"; this.colSubCommitte.Visible = true; this.colSubCommitte.VisibleIndex = 3; // // btnSearch // this.btnSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnSearch.Image = global::RetirementCenter.Properties.Resources.apply_16x16; this.btnSearch.Location = new System.Drawing.Point(252, 12); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(114, 22); this.btnSearch.StyleController = this.layoutControl1; this.btnSearch.TabIndex = 4; this.btnSearch.Text = "تنفيذ"; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // layoutControl1 // this.layoutControl1.Controls.Add(this.ccbeSarfType); this.layoutControl1.Controls.Add(this.ccbeDof); this.layoutControl1.Controls.Add(this.btnSearch); this.layoutControl1.Controls.Add(this.btnPrintExport); this.layoutControl1.Controls.Add(this.gridControlData); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(0, 0); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(982, 382, 250, 350); this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(938, 573); this.layoutControl1.TabIndex = 5; this.layoutControl1.Text = "layoutControl1"; // // ccbeSarfType // this.ccbeSarfType.Location = new System.Drawing.Point(370, 12); this.ccbeSarfType.Name = "ccbeSarfType"; this.ccbeSarfType.Properties.AllowMultiSelect = true; this.ccbeSarfType.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; this.ccbeSarfType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.ccbeSarfType.Properties.DataSource = this.cDSarfTypeedadBindingSource; this.ccbeSarfType.Properties.DisplayMember = "SarfTypeedad"; this.ccbeSarfType.Properties.ValueMember = "SarfTypeedadId"; this.ccbeSarfType.Size = new System.Drawing.Size(205, 20); this.ccbeSarfType.StyleController = this.layoutControl1; this.ccbeSarfType.TabIndex = 5; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "This value is not valid"; this.dxvp.SetValidationRule(this.ccbeSarfType, conditionValidationRule1); this.ccbeSarfType.EditValueChanged += new System.EventHandler(this.ccbeDof_EditValueChanged); // // cDSarfTypeedadBindingSource // this.cDSarfTypeedadBindingSource.DataMember = "CDSarfTypeedad"; this.cDSarfTypeedadBindingSource.DataSource = this.dsQueries; // // ccbeDof // this.ccbeDof.Location = new System.Drawing.Point(611, 12); this.ccbeDof.Name = "ccbeDof"; this.ccbeDof.Properties.AllowMultiSelect = true; this.ccbeDof.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; this.ccbeDof.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.ccbeDof.Properties.DataSource = this.tBLDofatSarfBindingSource; this.ccbeDof.Properties.DisplayMember = "DofatSarf"; this.ccbeDof.Properties.ValueMember = "DofatSarfId"; this.ccbeDof.Size = new System.Drawing.Size(283, 20); this.ccbeDof.StyleController = this.layoutControl1; this.ccbeDof.TabIndex = 5; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "This value is not valid"; this.dxvp.SetValidationRule(this.ccbeDof, conditionValidationRule2); this.ccbeDof.EditValueChanged += new System.EventHandler(this.ccbeDof_EditValueChanged); // // tBLDofatSarfBindingSource // this.tBLDofatSarfBindingSource.DataMember = "TBLDofatSarf"; this.tBLDofatSarfBindingSource.DataSource = this.dsQueries; // // btnPrintExport // this.btnPrintExport.Image = global::RetirementCenter.Properties.Resources.Print; this.btnPrintExport.Location = new System.Drawing.Point(12, 12); this.btnPrintExport.Name = "btnPrintExport"; this.btnPrintExport.Size = new System.Drawing.Size(94, 22); this.btnPrintExport.StyleController = this.layoutControl1; this.btnPrintExport.TabIndex = 0; this.btnPrintExport.Text = "طباعه و تصدير"; this.btnPrintExport.Click += new System.EventHandler(this.btnPrintExport_Click); // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "Root"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem2, this.layoutControlItem3, this.layoutControlItem4, this.emptySpaceItem1, this.layoutControlItem5, this.layoutControlItem1}); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "Root"; this.layoutControlGroup1.Size = new System.Drawing.Size(938, 573); this.layoutControlGroup1.Text = "Root"; this.layoutControlGroup1.TextVisible = false; // // layoutControlItem2 // this.layoutControlItem2.Control = this.btnSearch; this.layoutControlItem2.CustomizationFormText = "layoutControlItem2"; this.layoutControlItem2.Location = new System.Drawing.Point(240, 0); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(118, 26); this.layoutControlItem2.Text = "layoutControlItem2"; this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem2.TextToControlDistance = 0; this.layoutControlItem2.TextVisible = false; // // layoutControlItem3 // this.layoutControlItem3.Control = this.btnPrintExport; this.layoutControlItem3.CustomizationFormText = "layoutControlItem3"; this.layoutControlItem3.Location = new System.Drawing.Point(0, 0); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(98, 26); this.layoutControlItem3.Text = "layoutControlItem3"; this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem3.TextToControlDistance = 0; this.layoutControlItem3.TextVisible = false; // // layoutControlItem4 // this.layoutControlItem4.Control = this.gridControlData; this.layoutControlItem4.CustomizationFormText = "layoutControlItem4"; this.layoutControlItem4.Location = new System.Drawing.Point(0, 26); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(918, 527); this.layoutControlItem4.Text = "layoutControlItem4"; this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem4.TextToControlDistance = 0; this.layoutControlItem4.TextVisible = false; // // emptySpaceItem1 // this.emptySpaceItem1.AllowHotTrack = false; this.emptySpaceItem1.CustomizationFormText = "emptySpaceItem1"; this.emptySpaceItem1.Location = new System.Drawing.Point(98, 0); this.emptySpaceItem1.Name = "emptySpaceItem1"; this.emptySpaceItem1.Size = new System.Drawing.Size(142, 26); this.emptySpaceItem1.Text = "emptySpaceItem1"; this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem5 // this.layoutControlItem5.AppearanceItemCaption.Options.UseTextOptions = true; this.layoutControlItem5.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.layoutControlItem5.Control = this.ccbeDof; this.layoutControlItem5.CustomizationFormText = "الدفعة"; this.layoutControlItem5.Location = new System.Drawing.Point(599, 0); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(319, 26); this.layoutControlItem5.Text = "الدفعة"; this.layoutControlItem5.TextLocation = DevExpress.Utils.Locations.Right; this.layoutControlItem5.TextSize = new System.Drawing.Size(29, 13); // // layoutControlItem1 // this.layoutControlItem1.AppearanceItemCaption.Options.UseTextOptions = true; this.layoutControlItem1.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.layoutControlItem1.Control = this.ccbeSarfType; this.layoutControlItem1.CustomizationFormText = "layoutControlItem1"; this.layoutControlItem1.Location = new System.Drawing.Point(358, 0); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(241, 26); this.layoutControlItem1.Text = "النوع"; this.layoutControlItem1.TextLocation = DevExpress.Utils.Locations.Right; this.layoutControlItem1.TextSize = new System.Drawing.Size(29, 13); // // tBLDofatSarfTableAdapter // this.tBLDofatSarfTableAdapter.ClearBeforeFill = true; // // sp_001TableAdapter // this.sp_001TableAdapter.ClearBeforeFill = true; // // cDSarfTypeedadTableAdapter // this.cDSarfTypeedadTableAdapter.ClearBeforeFill = true; // // Qry101Frm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(938, 573); this.Controls.Add(this.layoutControl1); this.Name = "Qry101Frm"; this.Text = "اجمالي الدفعات و الامانات و البنك - ورثة"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Qry06Frm_Load); ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sp001BindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsQueries)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEditn2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.ccbeSarfType.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cDSarfTypeedadBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ccbeDof.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tBLDofatSarfBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxvp)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.btnCancel = new DevExpress.XtraEditors.SimpleButton(); this.btnOK = new DevExpress.XtraEditors.SimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); this.SuspendLayout(); // // gridControl1 // this.gridControl1.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.gridControl1.Location = new System.Drawing.Point(3, 3); this.gridControl1.MainView = this.gridView1; this.gridControl1.Name = "gridControl1"; this.gridControl1.Size = new System.Drawing.Size(501, 290); this.gridControl1.TabIndex = 0; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1 }); // // gridView1 // this.gridView1.GridControl = this.gridControl1; this.gridView1.Name = "gridView1"; // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(429, 299); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 1; this.btnCancel.Text = "Cancel"; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // btnOK // this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnOK.Location = new System.Drawing.Point(348, 299); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.TabIndex = 2; this.btnOK.Text = "OK"; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // ucMultiSelectionGrid // this.Controls.Add(this.btnOK); this.Controls.Add(this.btnCancel); this.Controls.Add(this.gridControl1); this.Name = "ucMultiSelectionGrid"; this.Size = new System.Drawing.Size(507, 327); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject(); this.gridControlData = new DevExpress.XtraGrid.GridControl(); this.tBLSheekWaredBindingSource = new System.Windows.Forms.BindingSource(this.components); this.dSFellowship = new Fellowship.DataSources.DSFellowship(); this.gridViewData = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colSyndicateId = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemGridLookUpEditSyndicateId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit(); this.cDSyndicateBindingSource = new System.Windows.Forms.BindingSource(this.components); this.repositoryItemGridLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colSyndicate = new DevExpress.XtraGrid.Columns.GridColumn(); this.colEdaraId = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemGridLookUpEditEdaraId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit(); this.cDEDARETBindingSource = new System.Windows.Forms.BindingSource(this.components); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSheekMony = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemCalcEditf2 = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit(); this.colSheekNo = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSheekDate = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemDateEditDMY = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); this.colEdaraSarfDate = new DevExpress.XtraGrid.Columns.GridColumn(); this.colNkapaSarfDate = new DevExpress.XtraGrid.Columns.GridColumn(); this.colEdaraMandopId = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemGridLookUpEditEdaraMandopId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit(); this.tBLEdaraMandopBindingSource = new System.Windows.Forms.BindingSource(this.components); this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colnkapaMandopId = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemGridLookUpEditnkapaMandopId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit(); this.tBLNkapaMandopBindingSource = new System.Windows.Forms.BindingSource(this.components); this.gridView4 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumnSave = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemButtonEditSave = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.gridColumnDelete = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemButtonEditDel = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.colEDARET = new DevExpress.XtraGrid.Columns.GridColumn(); this.tableAdapterManager = new Fellowship.DataSources.DSFellowshipTableAdapters.TableAdapterManager(); this.cDEDARETTableAdapter = new Fellowship.DataSources.DSFellowshipTableAdapters.CDEDARETTableAdapter(); this.cDSyndicateTableAdapter = new Fellowship.DataSources.DSFellowshipTableAdapters.CDSyndicateTableAdapter(); this.tBLEdaraMandopTableAdapter = new Fellowship.DataSources.DSFellowshipTableAdapters.TBLEdaraMandopTableAdapter(); this.tBLNkapaMandopTableAdapter = new Fellowship.DataSources.DSFellowshipTableAdapters.TBLNkapaMandopTableAdapter(); this.tBLSheekWaredTableAdapter = new Fellowship.DataSources.DSFellowshipTableAdapters.TBLSheekWaredTableAdapter(); this.colEDARET1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colEdaraMandopName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colnkapaMandopName = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.groupControl1 = new DevExpress.XtraEditors.GroupControl(); this.groupControl2 = new DevExpress.XtraEditors.GroupControl(); this.btnNew = new DevExpress.XtraEditors.SimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tBLSheekWaredBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dSFellowship)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditSyndicateId)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cDSyndicateBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdit1View)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditEdaraId)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cDEDARETBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEditf2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditEdaraMandopId)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tBLEdaraMandopBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditnkapaMandopId)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tBLNkapaMandopBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditSave)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditDel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit(); this.groupControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit(); this.groupControl2.SuspendLayout(); this.SuspendLayout(); // // gridControlData // this.gridControlData.DataSource = this.tBLSheekWaredBindingSource; this.gridControlData.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControlData.EmbeddedNavigator.Buttons.Append.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.CancelEdit.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.Edit.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.EndEdit.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.Remove.Visible = false; this.gridControlData.Location = new System.Drawing.Point(2, 21); this.gridControlData.MainView = this.gridViewData; this.gridControlData.Name = "gridControlData"; this.gridControlData.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemButtonEditSave, this.repositoryItemButtonEditDel, this.repositoryItemCalcEditf2, this.repositoryItemDateEditDMY, this.repositoryItemGridLookUpEditSyndicateId, this.repositoryItemGridLookUpEditEdaraId, this.repositoryItemGridLookUpEditEdaraMandopId, this.repositoryItemGridLookUpEditnkapaMandopId}); this.gridControlData.Size = new System.Drawing.Size(756, 273); this.gridControlData.TabIndex = 0; this.gridControlData.UseEmbeddedNavigator = true; this.gridControlData.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewData}); this.gridControlData.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ActiveKeyDownEvent); // // tBLSheekWaredBindingSource // this.tBLSheekWaredBindingSource.DataMember = "TBLSheekWared"; this.tBLSheekWaredBindingSource.DataSource = this.dSFellowship; // // dSFellowship // this.dSFellowship.DataSetName = "DSFellowship"; this.dSFellowship.Locale = new System.Globalization.CultureInfo("en-US"); this.dSFellowship.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // gridViewData // this.gridViewData.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colSyndicateId, this.colEdaraId, this.colSheekMony, this.colSheekNo, this.colSheekDate, this.colEdaraSarfDate, this.colNkapaSarfDate, this.colEdaraMandopId, this.colnkapaMandopId, this.gridColumnSave, this.gridColumnDelete}); this.gridViewData.GridControl = this.gridControlData; this.gridViewData.Name = "gridViewData"; this.gridViewData.NewItemRowText = "اضغط لاضافة جديد"; this.gridViewData.OptionsBehavior.ReadOnly = true; this.gridViewData.OptionsNavigation.AutoFocusNewRow = true; this.gridViewData.OptionsView.ColumnAutoWidth = false; this.gridViewData.InvalidRowException += new DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventHandler(this.gridViewData_InvalidRowException); // // colSyndicateId // this.colSyndicateId.AppearanceCell.Options.UseTextOptions = true; this.colSyndicateId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSyndicateId.AppearanceHeader.Options.UseTextOptions = true; this.colSyndicateId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSyndicateId.Caption = "الفرعيه"; this.colSyndicateId.ColumnEdit = this.repositoryItemGridLookUpEditSyndicateId; this.colSyndicateId.FieldName = "SyndicateId"; this.colSyndicateId.Name = "colSyndicateId"; this.colSyndicateId.Visible = true; this.colSyndicateId.VisibleIndex = 0; // // repositoryItemGridLookUpEditSyndicateId // this.repositoryItemGridLookUpEditSyndicateId.AutoHeight = false; this.repositoryItemGridLookUpEditSyndicateId.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", -1, true, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, true), new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Plus, "", -1, false, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject2, "", null, null, true)}); this.repositoryItemGridLookUpEditSyndicateId.DataSource = this.cDSyndicateBindingSource; this.repositoryItemGridLookUpEditSyndicateId.DisplayMember = "Syndicate"; this.repositoryItemGridLookUpEditSyndicateId.Name = "repositoryItemGridLookUpEditSyndicateId"; this.repositoryItemGridLookUpEditSyndicateId.NullText = ""; this.repositoryItemGridLookUpEditSyndicateId.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; this.repositoryItemGridLookUpEditSyndicateId.ValueMember = "SyndicateId"; this.repositoryItemGridLookUpEditSyndicateId.View = this.repositoryItemGridLookUpEdit1View; this.repositoryItemGridLookUpEditSyndicateId.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemGridLookUpEditSyndicateId_ButtonClick); // // cDSyndicateBindingSource // this.cDSyndicateBindingSource.DataMember = "CDSyndicate"; this.cDSyndicateBindingSource.DataSource = this.dSFellowship; // // repositoryItemGridLookUpEdit1View // this.repositoryItemGridLookUpEdit1View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colSyndicate}); this.repositoryItemGridLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.repositoryItemGridLookUpEdit1View.Name = "repositoryItemGridLookUpEdit1View"; this.repositoryItemGridLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false; this.repositoryItemGridLookUpEdit1View.OptionsView.ShowGroupPanel = false; // // colSyndicate // this.colSyndicate.AppearanceCell.Options.UseTextOptions = true; this.colSyndicate.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSyndicate.AppearanceHeader.Options.UseTextOptions = true; this.colSyndicate.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSyndicate.Caption = "الفرعيه"; this.colSyndicate.FieldName = "Syndicate"; this.colSyndicate.Name = "colSyndicate"; this.colSyndicate.Visible = true; this.colSyndicate.VisibleIndex = 0; // // colEdaraId // this.colEdaraId.AppearanceCell.Options.UseTextOptions = true; this.colEdaraId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEdaraId.AppearanceHeader.Options.UseTextOptions = true; this.colEdaraId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEdaraId.Caption = "الادارة"; this.colEdaraId.ColumnEdit = this.repositoryItemGridLookUpEditEdaraId; this.colEdaraId.FieldName = "EdaraId"; this.colEdaraId.Name = "colEdaraId"; this.colEdaraId.Visible = true; this.colEdaraId.VisibleIndex = 1; // // repositoryItemGridLookUpEditEdaraId // this.repositoryItemGridLookUpEditEdaraId.AutoHeight = false; this.repositoryItemGridLookUpEditEdaraId.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", -1, true, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject3, "", null, null, true), new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Plus, "", -1, false, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject4, "", null, null, true)}); this.repositoryItemGridLookUpEditEdaraId.DataSource = this.cDEDARETBindingSource; this.repositoryItemGridLookUpEditEdaraId.DisplayMember = "EDARET"; this.repositoryItemGridLookUpEditEdaraId.Name = "repositoryItemGridLookUpEditEdaraId"; this.repositoryItemGridLookUpEditEdaraId.NullText = ""; this.repositoryItemGridLookUpEditEdaraId.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; this.repositoryItemGridLookUpEditEdaraId.ValueMember = "EdaraId"; this.repositoryItemGridLookUpEditEdaraId.View = this.gridView1; this.repositoryItemGridLookUpEditEdaraId.QueryPopUp += new System.ComponentModel.CancelEventHandler(this.repositoryItemGridLookUpEditEdaraId_QueryPopUp); this.repositoryItemGridLookUpEditEdaraId.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemGridLookUpEditEdaraId_ButtonClick); // // cDEDARETBindingSource // this.cDEDARETBindingSource.DataMember = "CDEDARET"; this.cDEDARETBindingSource.DataSource = this.dSFellowship; // // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1}); this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gridView1.Name = "gridView1"; this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridView1.OptionsView.ShowGroupPanel = false; // // gridColumn1 // this.gridColumn1.AppearanceCell.Options.UseTextOptions = true; this.gridColumn1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn1.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn1.Caption = "الادارة"; this.gridColumn1.FieldName = "EDARET"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; // // colSheekMony // this.colSheekMony.AppearanceCell.Options.UseTextOptions = true; this.colSheekMony.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSheekMony.AppearanceHeader.Options.UseTextOptions = true; this.colSheekMony.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSheekMony.Caption = "المبلغ"; this.colSheekMony.ColumnEdit = this.repositoryItemCalcEditf2; this.colSheekMony.FieldName = "SheekMony"; this.colSheekMony.Name = "colSheekMony"; this.colSheekMony.Visible = true; this.colSheekMony.VisibleIndex = 2; this.colSheekMony.Width = 56; // // repositoryItemCalcEditf2 // this.repositoryItemCalcEditf2.AutoHeight = false; this.repositoryItemCalcEditf2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemCalcEditf2.DisplayFormat.FormatString = "f2"; this.repositoryItemCalcEditf2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.repositoryItemCalcEditf2.EditFormat.FormatString = "f2"; this.repositoryItemCalcEditf2.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.repositoryItemCalcEditf2.Mask.EditMask = "f2"; this.repositoryItemCalcEditf2.Name = "repositoryItemCalcEditf2"; // // colSheekNo // this.colSheekNo.AppearanceCell.Options.UseTextOptions = true; this.colSheekNo.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSheekNo.AppearanceHeader.Options.UseTextOptions = true; this.colSheekNo.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSheekNo.Caption = "رقم الشيك"; this.colSheekNo.FieldName = "SheekNo"; this.colSheekNo.Name = "colSheekNo"; this.colSheekNo.Visible = true; this.colSheekNo.VisibleIndex = 3; // // colSheekDate // this.colSheekDate.AppearanceCell.Options.UseTextOptions = true; this.colSheekDate.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSheekDate.AppearanceHeader.Options.UseTextOptions = true; this.colSheekDate.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSheekDate.Caption = "تاريخ الشيك"; this.colSheekDate.ColumnEdit = this.repositoryItemDateEditDMY; this.colSheekDate.FieldName = "SheekDate"; this.colSheekDate.Name = "colSheekDate"; this.colSheekDate.Visible = true; this.colSheekDate.VisibleIndex = 4; // // repositoryItemDateEditDMY // this.repositoryItemDateEditDMY.AutoHeight = false; this.repositoryItemDateEditDMY.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemDateEditDMY.DisplayFormat.FormatString = "dd/MM/yyyy"; this.repositoryItemDateEditDMY.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.repositoryItemDateEditDMY.EditFormat.FormatString = "dd/MM/yyyy"; this.repositoryItemDateEditDMY.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.repositoryItemDateEditDMY.Mask.EditMask = "dd/MM/yyyy"; this.repositoryItemDateEditDMY.Name = "repositoryItemDateEditDMY"; this.repositoryItemDateEditDMY.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); // // colEdaraSarfDate // this.colEdaraSarfDate.AppearanceCell.Options.UseTextOptions = true; this.colEdaraSarfDate.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEdaraSarfDate.AppearanceHeader.Options.UseTextOptions = true; this.colEdaraSarfDate.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEdaraSarfDate.Caption = "تاريخ عمولة الادارة"; this.colEdaraSarfDate.ColumnEdit = this.repositoryItemDateEditDMY; this.colEdaraSarfDate.FieldName = "EdaraSarfDate"; this.colEdaraSarfDate.Name = "colEdaraSarfDate"; this.colEdaraSarfDate.Visible = true; this.colEdaraSarfDate.VisibleIndex = 5; this.colEdaraSarfDate.Width = 104; // // colNkapaSarfDate // this.colNkapaSarfDate.AppearanceCell.Options.UseTextOptions = true; this.colNkapaSarfDate.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colNkapaSarfDate.AppearanceHeader.Options.UseTextOptions = true; this.colNkapaSarfDate.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colNkapaSarfDate.Caption = "تاريخ عمولة النقابه"; this.colNkapaSarfDate.ColumnEdit = this.repositoryItemDateEditDMY; this.colNkapaSarfDate.FieldName = "NkapaSarfDate"; this.colNkapaSarfDate.Name = "colNkapaSarfDate"; this.colNkapaSarfDate.Visible = true; this.colNkapaSarfDate.VisibleIndex = 6; this.colNkapaSarfDate.Width = 102; // // colEdaraMandopId // this.colEdaraMandopId.AppearanceCell.Options.UseTextOptions = true; this.colEdaraMandopId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEdaraMandopId.AppearanceHeader.Options.UseTextOptions = true; this.colEdaraMandopId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEdaraMandopId.Caption = "مندوب الادارة"; this.colEdaraMandopId.ColumnEdit = this.repositoryItemGridLookUpEditEdaraMandopId; this.colEdaraMandopId.FieldName = "EdaraMandopId"; this.colEdaraMandopId.Name = "colEdaraMandopId"; this.colEdaraMandopId.Visible = true; this.colEdaraMandopId.VisibleIndex = 7; this.colEdaraMandopId.Width = 109; // // repositoryItemGridLookUpEditEdaraMandopId // this.repositoryItemGridLookUpEditEdaraMandopId.AutoHeight = false; this.repositoryItemGridLookUpEditEdaraMandopId.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", -1, false, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, "", null, null, true), new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Plus, "", -1, false, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject6, "", null, null, true)}); this.repositoryItemGridLookUpEditEdaraMandopId.DataSource = this.tBLEdaraMandopBindingSource; this.repositoryItemGridLookUpEditEdaraMandopId.DisplayMember = "EdaraMandopName"; this.repositoryItemGridLookUpEditEdaraMandopId.Name = "repositoryItemGridLookUpEditEdaraMandopId"; this.repositoryItemGridLookUpEditEdaraMandopId.NullText = ""; this.repositoryItemGridLookUpEditEdaraMandopId.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; this.repositoryItemGridLookUpEditEdaraMandopId.ValueMember = "EdaraMandopId"; this.repositoryItemGridLookUpEditEdaraMandopId.View = this.gridView3; this.repositoryItemGridLookUpEditEdaraMandopId.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemGridLookUpEditEdaraMandopId_ButtonClick); // // tBLEdaraMandopBindingSource // this.tBLEdaraMandopBindingSource.DataMember = "TBLEdaraMandop"; this.tBLEdaraMandopBindingSource.DataSource = this.dSFellowship; // // gridView3 // this.gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn4}); this.gridView3.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gridView3.Name = "gridView3"; this.gridView3.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridView3.OptionsView.ShowGroupPanel = false; // // gridColumn4 // this.gridColumn4.AppearanceCell.Options.UseTextOptions = true; this.gridColumn4.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn4.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn4.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn4.Caption = "الاسم"; this.gridColumn4.FieldName = "EdaraMandopName"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 0; // // colnkapaMandopId // this.colnkapaMandopId.AppearanceCell.Options.UseTextOptions = true; this.colnkapaMandopId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colnkapaMandopId.AppearanceHeader.Options.UseTextOptions = true; this.colnkapaMandopId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colnkapaMandopId.Caption = "مندوب النقابة"; this.colnkapaMandopId.ColumnEdit = this.repositoryItemGridLookUpEditnkapaMandopId; this.colnkapaMandopId.FieldName = "nkapaMandopId"; this.colnkapaMandopId.Name = "colnkapaMandopId"; this.colnkapaMandopId.Visible = true; this.colnkapaMandopId.VisibleIndex = 8; this.colnkapaMandopId.Width = 80; // // repositoryItemGridLookUpEditnkapaMandopId // this.repositoryItemGridLookUpEditnkapaMandopId.AutoHeight = false; this.repositoryItemGridLookUpEditnkapaMandopId.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", -1, false, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject7, "", null, null, true), new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Plus)}); this.repositoryItemGridLookUpEditnkapaMandopId.DataSource = this.tBLNkapaMandopBindingSource; this.repositoryItemGridLookUpEditnkapaMandopId.DisplayMember = "nkapaMandopName"; this.repositoryItemGridLookUpEditnkapaMandopId.Name = "repositoryItemGridLookUpEditnkapaMandopId"; this.repositoryItemGridLookUpEditnkapaMandopId.NullText = ""; this.repositoryItemGridLookUpEditnkapaMandopId.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; this.repositoryItemGridLookUpEditnkapaMandopId.ValueMember = "nkapaMandopId"; this.repositoryItemGridLookUpEditnkapaMandopId.View = this.gridView4; this.repositoryItemGridLookUpEditnkapaMandopId.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemGridLookUpEditnkapaMandopId_ButtonClick); // // tBLNkapaMandopBindingSource // this.tBLNkapaMandopBindingSource.DataMember = "TBLNkapaMandop"; this.tBLNkapaMandopBindingSource.DataSource = this.dSFellowship; // // gridView4 // this.gridView4.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn5}); this.gridView4.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gridView4.Name = "gridView4"; this.gridView4.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridView4.OptionsView.ShowGroupPanel = false; // // gridColumn5 // this.gridColumn5.AppearanceCell.Options.UseTextOptions = true; this.gridColumn5.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn5.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn5.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn5.Caption = "الاسم"; this.gridColumn5.FieldName = "nkapaMandopName"; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.Visible = true; this.gridColumn5.VisibleIndex = 0; // // gridColumnSave // this.gridColumnSave.AppearanceCell.Options.UseTextOptions = true; this.gridColumnSave.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumnSave.AppearanceHeader.Options.UseTextOptions = true; this.gridColumnSave.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumnSave.Caption = "تعديل"; this.gridColumnSave.ColumnEdit = this.repositoryItemButtonEditSave; this.gridColumnSave.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; this.gridColumnSave.Name = "gridColumnSave"; this.gridColumnSave.Visible = true; this.gridColumnSave.VisibleIndex = 9; this.gridColumnSave.Width = 55; // // repositoryItemButtonEditSave // this.repositoryItemButtonEditSave.AutoHeight = false; this.repositoryItemButtonEditSave.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.repositoryItemButtonEditSave.Name = "repositoryItemButtonEditSave"; this.repositoryItemButtonEditSave.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; this.repositoryItemButtonEditSave.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEditSave_ButtonClick); // // gridColumnDelete // this.gridColumnDelete.AppearanceCell.Options.UseTextOptions = true; this.gridColumnDelete.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumnDelete.AppearanceHeader.Options.UseTextOptions = true; this.gridColumnDelete.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumnDelete.Caption = "حذف"; this.gridColumnDelete.ColumnEdit = this.repositoryItemButtonEditDel; this.gridColumnDelete.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; this.gridColumnDelete.Name = "gridColumnDelete"; this.gridColumnDelete.Visible = true; this.gridColumnDelete.VisibleIndex = 10; this.gridColumnDelete.Width = 51; // // repositoryItemButtonEditDel // this.repositoryItemButtonEditDel.AutoHeight = false; this.repositoryItemButtonEditDel.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Delete)}); this.repositoryItemButtonEditDel.Name = "repositoryItemButtonEditDel"; this.repositoryItemButtonEditDel.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; this.repositoryItemButtonEditDel.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEditDel_ButtonClick); // // colEDARET // this.colEDARET.AppearanceCell.Options.UseTextOptions = true; this.colEDARET.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEDARET.AppearanceHeader.Options.UseTextOptions = true; this.colEDARET.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEDARET.Caption = "اسم الاداره"; this.colEDARET.FieldName = "EDARET"; this.colEDARET.Name = "colEDARET"; this.colEDARET.Visible = true; this.colEDARET.VisibleIndex = 0; // // tableAdapterManager // this.tableAdapterManager.BackupDataSetBeforeUpdate = false; this.tableAdapterManager.CDEDARETTableAdapter = this.cDEDARETTableAdapter; this.tableAdapterManager.CDModereaTableAdapter = null; this.tableAdapterManager.CDStateTableAdapter = null; this.tableAdapterManager.CDSyndicateTableAdapter = this.cDSyndicateTableAdapter; this.tableAdapterManager.TBLEdaraMandopTableAdapter = this.tBLEdaraMandopTableAdapter; this.tableAdapterManager.TblMemberTableAdapter = null; this.tableAdapterManager.TBLNkapaMandopTableAdapter = this.tBLNkapaMandopTableAdapter; this.tableAdapterManager.TblSarfTableAdapter = null; this.tableAdapterManager.TBLSheekMonthTableAdapter = null; this.tableAdapterManager.TBLSheekWaredTableAdapter = this.tBLSheekWaredTableAdapter; this.tableAdapterManager.UpdateOrder = Fellowship.DataSources.DSFellowshipTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; this.tableAdapterManager.UsersTableAdapter = null; // // cDEDARETTableAdapter // this.cDEDARETTableAdapter.ClearBeforeFill = true; // // cDSyndicateTableAdapter // this.cDSyndicateTableAdapter.ClearBeforeFill = true; // // tBLEdaraMandopTableAdapter // this.tBLEdaraMandopTableAdapter.ClearBeforeFill = true; // // tBLNkapaMandopTableAdapter // this.tBLNkapaMandopTableAdapter.ClearBeforeFill = true; // // tBLSheekWaredTableAdapter // this.tBLSheekWaredTableAdapter.ClearBeforeFill = true; // // colEDARET1 // this.colEDARET1.AppearanceCell.Options.UseTextOptions = true; this.colEDARET1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEDARET1.AppearanceHeader.Options.UseTextOptions = true; this.colEDARET1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEDARET1.Caption = "الادارة"; this.colEDARET1.FieldName = "EDARET"; this.colEDARET1.Name = "colEDARET1"; this.colEDARET1.Visible = true; this.colEDARET1.VisibleIndex = 0; // // colEdaraMandopName // this.colEdaraMandopName.AppearanceCell.Options.UseTextOptions = true; this.colEdaraMandopName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEdaraMandopName.AppearanceHeader.Options.UseTextOptions = true; this.colEdaraMandopName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEdaraMandopName.Caption = "الاسم"; this.colEdaraMandopName.FieldName = "EdaraMandopName"; this.colEdaraMandopName.Name = "colEdaraMandopName"; this.colEdaraMandopName.Visible = true; this.colEdaraMandopName.VisibleIndex = 0; // // colnkapaMandopName // this.colnkapaMandopName.AppearanceCell.Options.UseTextOptions = true; this.colnkapaMandopName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colnkapaMandopName.AppearanceHeader.Options.UseTextOptions = true; this.colnkapaMandopName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colnkapaMandopName.Caption = "الاسم"; this.colnkapaMandopName.FieldName = "nkapaMandopName"; this.colnkapaMandopName.Name = "colnkapaMandopName"; this.colnkapaMandopName.Visible = true; this.colnkapaMandopName.VisibleIndex = 0; // // gridColumn2 // this.gridColumn2.AppearanceCell.Options.UseTextOptions = true; this.gridColumn2.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn2.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn2.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn2.Caption = "اسم الشهر"; this.gridColumn2.FieldName = "MonthName"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 0; // // groupControl1 // this.groupControl1.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.groupControl1.Controls.Add(this.gridControlData); this.groupControl1.Location = new System.Drawing.Point(12, 12); this.groupControl1.Name = "groupControl1"; this.groupControl1.Size = new System.Drawing.Size(760, 296); this.groupControl1.TabIndex = 1; // // groupControl2 // this.groupControl2.AllowTouchScroll = true; this.groupControl2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupControl2.Controls.Add(this.btnNew); this.groupControl2.Location = new System.Drawing.Point(12, 314); this.groupControl2.Name = "groupControl2"; this.groupControl2.Size = new System.Drawing.Size(760, 62); this.groupControl2.TabIndex = 2; // // btnNew // this.btnNew.Anchor = System.Windows.Forms.AnchorStyles.Right; this.btnNew.Image = global::Fellowship.Properties.Resources.Add; this.btnNew.Location = new System.Drawing.Point(555, 23); this.btnNew.Name = "btnNew"; this.btnNew.Size = new System.Drawing.Size(200, 35); this.btnNew.TabIndex = 0; this.btnNew.Text = "جديد"; this.btnNew.Click += new System.EventHandler(this.btnNew_Click); // // TBLSheekWaredFrm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(784, 388); this.Controls.Add(this.groupControl2); this.Controls.Add(this.groupControl1); this.Name = "TBLSheekWaredFrm"; this.Text = "الشيكات الواردة"; this.Load += new System.EventHandler(this.stu_nashatFrm_Load); ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tBLSheekWaredBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dSFellowship)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditSyndicateId)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cDSyndicateBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdit1View)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditEdaraId)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cDEDARETBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEditf2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditEdaraMandopId)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tBLEdaraMandopBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditnkapaMandopId)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tBLNkapaMandopBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditSave)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditDel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit(); this.groupControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit(); this.groupControl2.ResumeLayout(false); this.ResumeLayout(false); }
public MyGridViewInfo(DevExpress.XtraGrid.Views.Grid.GridView gridView) : base(gridView) { }
/// <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(frmLst_CustomerGroups_2)); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel(); this.labelControl13 = new DevExpress.XtraEditors.LabelControl(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.txtCustomerGroupName = new DevExpress.XtraEditors.TextEdit(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.lblCheckIn = new DevExpress.XtraEditors.LabelControl(); this.labelControl4 = new DevExpress.XtraEditors.LabelControl(); this.lblCheckOut = new DevExpress.XtraEditors.LabelControl(); this.btnAddNew = new DevExpress.XtraEditors.SimpleButton(); this.dgvCustomerMember = new DevExpress.XtraGrid.GridControl(); this.viewSelectCustomers = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn(); this.btnRemoveSelectCustomers = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.dgvAvailableCustomerGroups = new DevExpress.XtraGrid.GridControl(); this.viewAvailableCustomerGroups = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colDelete = new DevExpress.XtraGrid.Columns.GridColumn(); this.btnDelete = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.colEdit = new DevExpress.XtraGrid.Columns.GridColumn(); this.btnEdit = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn(); this.btnSelectIDCustomerGroups = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.lueFilterCompany = new DevExpress.XtraEditors.LookUpEdit(); this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); this.tableLayoutPanel4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtCustomerGroupName.Properties)).BeginInit(); this.tableLayoutPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvCustomerMember)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.viewSelectCustomers)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnRemoveSelectCustomers)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvAvailableCustomerGroups)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.viewAvailableCustomerGroups)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnDelete)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnEdit)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnSelectIDCustomerGroups)).BeginInit(); this.tableLayoutPanel3.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.lueFilterCompany.Properties)).BeginInit(); this.SuspendLayout(); // // tableLayoutPanel4 // this.tableLayoutPanel4.ColumnCount = 2; this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 14.26612F)); this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 85.73388F)); this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel4.Controls.Add(this.labelControl13, 0, 0); this.tableLayoutPanel4.Controls.Add(this.labelControl1, 0, 1); this.tableLayoutPanel4.Controls.Add(this.txtCustomerGroupName, 1, 0); this.tableLayoutPanel4.Controls.Add(this.tableLayoutPanel2, 1, 1); this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel4.Location = new System.Drawing.Point(443, 3); this.tableLayoutPanel4.Name = "tableLayoutPanel4"; this.tableLayoutPanel4.RowCount = 2; this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel4.Size = new System.Drawing.Size(780, 62); this.tableLayoutPanel4.TabIndex = 1; // // labelControl13 // this.labelControl13.Anchor = System.Windows.Forms.AnchorStyles.Left; this.labelControl13.Appearance.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelControl13.Location = new System.Drawing.Point(3, 7); this.labelControl13.Name = "labelControl13"; this.labelControl13.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0); this.labelControl13.Size = new System.Drawing.Size(72, 16); this.labelControl13.TabIndex = 2; this.labelControl13.Text = "Tên nhóm"; // // labelControl1 // this.labelControl1.Anchor = System.Windows.Forms.AnchorStyles.Left; this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelControl1.Location = new System.Drawing.Point(30, 38); this.labelControl1.Margin = new System.Windows.Forms.Padding(30, 3, 3, 3); this.labelControl1.Name = "labelControl1"; this.labelControl1.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0); this.labelControl1.Size = new System.Drawing.Size(33, 17); this.labelControl1.TabIndex = 6; this.labelControl1.Text = "Từ "; // // txtCustomerGroupName // this.txtCustomerGroupName.Anchor = System.Windows.Forms.AnchorStyles.Left; this.txtCustomerGroupName.Location = new System.Drawing.Point(114, 5); this.txtCustomerGroupName.Name = "txtCustomerGroupName"; this.txtCustomerGroupName.Size = new System.Drawing.Size(596, 20); this.txtCustomerGroupName.TabIndex = 7; // // tableLayoutPanel2 // this.tableLayoutPanel2.ColumnCount = 3; this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 32.31018F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20.19386F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 47.33441F)); this.tableLayoutPanel2.Controls.Add(this.lblCheckIn, 0, 0); this.tableLayoutPanel2.Controls.Add(this.labelControl4, 0, 0); this.tableLayoutPanel2.Controls.Add(this.lblCheckOut, 0, 0); this.tableLayoutPanel2.Location = new System.Drawing.Point(114, 34); this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.RowCount = 1; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.Size = new System.Drawing.Size(622, 25); this.tableLayoutPanel2.TabIndex = 8; // // lblCheckIn // this.lblCheckIn.Anchor = System.Windows.Forms.AnchorStyles.Left; this.lblCheckIn.Appearance.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblCheckIn.Location = new System.Drawing.Point(30, 4); this.lblCheckIn.Margin = new System.Windows.Forms.Padding(30, 3, 3, 3); this.lblCheckIn.Name = "lblCheckIn"; this.lblCheckIn.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0); this.lblCheckIn.Size = new System.Drawing.Size(28, 16); this.lblCheckIn.TabIndex = 9; this.lblCheckIn.Text = "---"; // // labelControl4 // this.labelControl4.Anchor = System.Windows.Forms.AnchorStyles.Left; this.labelControl4.Appearance.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelControl4.Location = new System.Drawing.Point(231, 4); this.labelControl4.Margin = new System.Windows.Forms.Padding(30, 3, 3, 3); this.labelControl4.Name = "labelControl4"; this.labelControl4.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0); this.labelControl4.Size = new System.Drawing.Size(38, 17); this.labelControl4.TabIndex = 8; this.labelControl4.Text = "Đến"; // // lblCheckOut // this.lblCheckOut.Anchor = System.Windows.Forms.AnchorStyles.Left; this.lblCheckOut.Appearance.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblCheckOut.Location = new System.Drawing.Point(356, 4); this.lblCheckOut.Margin = new System.Windows.Forms.Padding(30, 3, 3, 3); this.lblCheckOut.Name = "lblCheckOut"; this.lblCheckOut.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0); this.lblCheckOut.Size = new System.Drawing.Size(28, 16); this.lblCheckOut.TabIndex = 7; this.lblCheckOut.Text = "---"; // // btnAddNew // this.btnAddNew.Anchor = System.Windows.Forms.AnchorStyles.Left; this.btnAddNew.Appearance.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.btnAddNew.Appearance.Options.UseFont = true; this.btnAddNew.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.btnAddNew.Image = ((System.Drawing.Image)(resources.GetObject("btnAddNew.Image"))); this.btnAddNew.Location = new System.Drawing.Point(446, 459); this.btnAddNew.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3); this.btnAddNew.Name = "btnAddNew"; this.btnAddNew.Size = new System.Drawing.Size(122, 32); this.btnAddNew.TabIndex = 13; this.btnAddNew.Text = "In danh sách"; this.btnAddNew.Click += new System.EventHandler(this.btnAddNew_Click); // // dgvCustomerMember // this.dgvCustomerMember.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvCustomerMember.Location = new System.Drawing.Point(443, 71); this.dgvCustomerMember.MainView = this.viewSelectCustomers; this.dgvCustomerMember.Name = "dgvCustomerMember"; this.dgvCustomerMember.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.btnRemoveSelectCustomers}); this.dgvCustomerMember.Size = new System.Drawing.Size(780, 378); this.dgvCustomerMember.TabIndex = 14; this.dgvCustomerMember.UseEmbeddedNavigator = true; this.dgvCustomerMember.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.viewSelectCustomers}); // // viewSelectCustomers // this.viewSelectCustomers.ColumnPanelRowHeight = 45; this.viewSelectCustomers.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.gridColumn2, this.gridColumn3, this.gridColumn5, this.gridColumn6, this.gridColumn7, this.gridColumn10}); this.viewSelectCustomers.GridControl = this.dgvCustomerMember; this.viewSelectCustomers.Name = "viewSelectCustomers"; this.viewSelectCustomers.OptionsView.EnableAppearanceEvenRow = true; this.viewSelectCustomers.OptionsView.ShowFooter = true; this.viewSelectCustomers.OptionsView.ShowGroupPanel = false; this.viewSelectCustomers.OptionsView.ShowIndicator = false; this.viewSelectCustomers.RowHeight = 25; // // gridColumn1 // this.gridColumn1.AppearanceCell.Options.UseTextOptions = true; this.gridColumn1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn1.AppearanceCell.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn1.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.gridColumn1.AppearanceHeader.Options.UseFont = true; this.gridColumn1.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn1.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn1.Caption = "Tên"; this.gridColumn1.FieldName = "Customers_Name"; this.gridColumn1.MinWidth = 15; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.OptionsColumn.AllowEdit = false; this.gridColumn1.OptionsColumn.AllowFocus = false; this.gridColumn1.OptionsColumn.ReadOnly = true; this.gridColumn1.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Like; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 1; this.gridColumn1.Width = 167; // // gridColumn2 // this.gridColumn2.AppearanceCell.Options.UseTextOptions = true; this.gridColumn2.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn2.AppearanceCell.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn2.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.gridColumn2.AppearanceHeader.Options.UseFont = true; this.gridColumn2.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn2.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn2.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn2.Caption = "Ngày sinh"; this.gridColumn2.DisplayFormat.FormatString = "dd/MM/yyyy"; this.gridColumn2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.gridColumn2.FieldName = "Customers_Birthday"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.OptionsColumn.AllowEdit = false; this.gridColumn2.OptionsColumn.AllowFocus = false; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 3; this.gridColumn2.Width = 113; // // gridColumn3 // this.gridColumn3.AppearanceCell.Options.UseTextOptions = true; this.gridColumn3.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn3.AppearanceCell.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn3.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.gridColumn3.AppearanceHeader.Options.UseFont = true; this.gridColumn3.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn3.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn3.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn3.Caption = "CMT/PAS"; this.gridColumn3.FieldName = "Customers_Identifier1"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 2; this.gridColumn3.Width = 110; // // gridColumn5 // this.gridColumn5.AppearanceCell.Options.UseTextOptions = true; this.gridColumn5.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn5.AppearanceCell.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn5.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.gridColumn5.AppearanceHeader.Options.UseFont = true; this.gridColumn5.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn5.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn5.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn5.Caption = "CI"; this.gridColumn5.DisplayFormat.FormatString = "d"; this.gridColumn5.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.gridColumn5.FieldName = "BookingRooms_CheckInActual"; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.Visible = true; this.gridColumn5.VisibleIndex = 4; this.gridColumn5.Width = 77; // // gridColumn6 // this.gridColumn6.AppearanceCell.Options.UseTextOptions = true; this.gridColumn6.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn6.AppearanceCell.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn6.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.gridColumn6.AppearanceHeader.Options.UseFont = true; this.gridColumn6.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn6.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn6.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn6.Caption = "CO"; this.gridColumn6.DisplayFormat.FormatString = "d"; this.gridColumn6.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.gridColumn6.FieldName = "BookingRooms_CheckOutActual"; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 5; this.gridColumn6.Width = 85; // // gridColumn7 // this.gridColumn7.AppearanceCell.Options.UseTextOptions = true; this.gridColumn7.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn7.AppearanceCell.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn7.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.gridColumn7.AppearanceHeader.Options.UseFont = true; this.gridColumn7.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn7.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn7.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn7.Caption = "P"; this.gridColumn7.FieldName = "Rooms_Sku"; this.gridColumn7.Name = "gridColumn7"; this.gridColumn7.Visible = true; this.gridColumn7.VisibleIndex = 6; this.gridColumn7.Width = 80; // // gridColumn10 // this.gridColumn10.AppearanceCell.Options.UseTextOptions = true; this.gridColumn10.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn10.AppearanceCell.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn10.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.gridColumn10.AppearanceHeader.Options.UseFont = true; this.gridColumn10.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn10.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn10.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn10.Caption = "ID BookingRoom"; this.gridColumn10.CustomizationCaption = "BookingRooms_ID"; this.gridColumn10.FieldName = "BookingRooms_ID"; this.gridColumn10.Name = "gridColumn10"; this.gridColumn10.Visible = true; this.gridColumn10.VisibleIndex = 0; this.gridColumn10.Width = 95; // // btnRemoveSelectCustomers // this.btnRemoveSelectCustomers.AutoHeight = false; this.btnRemoveSelectCustomers.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, ((System.Drawing.Image)(resources.GetObject("btnRemoveSelectCustomers.Buttons"))), new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, true)}); this.btnRemoveSelectCustomers.Name = "btnRemoveSelectCustomers"; this.btnRemoveSelectCustomers.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; // // dgvAvailableCustomerGroups // this.dgvAvailableCustomerGroups.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvAvailableCustomerGroups.Location = new System.Drawing.Point(3, 71); this.dgvAvailableCustomerGroups.MainView = this.viewAvailableCustomerGroups; this.dgvAvailableCustomerGroups.Name = "dgvAvailableCustomerGroups"; this.dgvAvailableCustomerGroups.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.btnSelectIDCustomerGroups, this.btnDelete, this.btnEdit}); this.dgvAvailableCustomerGroups.Size = new System.Drawing.Size(434, 378); this.dgvAvailableCustomerGroups.TabIndex = 3; this.dgvAvailableCustomerGroups.UseEmbeddedNavigator = true; this.dgvAvailableCustomerGroups.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.viewAvailableCustomerGroups}); // // viewAvailableCustomerGroups // this.viewAvailableCustomerGroups.ColumnPanelRowHeight = 30; this.viewAvailableCustomerGroups.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colDelete, this.colEdit, this.gridColumn4, this.gridColumn9}); this.viewAvailableCustomerGroups.GridControl = this.dgvAvailableCustomerGroups; this.viewAvailableCustomerGroups.Name = "viewAvailableCustomerGroups"; this.viewAvailableCustomerGroups.OptionsBehavior.AllowPixelScrolling = DevExpress.Utils.DefaultBoolean.True; this.viewAvailableCustomerGroups.OptionsFind.AlwaysVisible = true; this.viewAvailableCustomerGroups.OptionsView.EnableAppearanceEvenRow = true; this.viewAvailableCustomerGroups.OptionsView.ShowFooter = true; this.viewAvailableCustomerGroups.OptionsView.ShowGroupPanel = false; this.viewAvailableCustomerGroups.OptionsView.ShowIndicator = false; this.viewAvailableCustomerGroups.RowHeight = 25; this.viewAvailableCustomerGroups.RowCellClick += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.viewAvailableCustomerGroups_RowCellClick); // // colDelete // this.colDelete.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.colDelete.AppearanceHeader.Options.UseFont = true; this.colDelete.AppearanceHeader.Options.UseTextOptions = true; this.colDelete.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colDelete.ColumnEdit = this.btnDelete; this.colDelete.Name = "colDelete"; this.colDelete.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways; this.colDelete.Visible = true; this.colDelete.VisibleIndex = 0; this.colDelete.Width = 33; // // btnDelete // this.btnDelete.AutoHeight = false; this.btnDelete.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, ((System.Drawing.Image)(resources.GetObject("btnDelete.Buttons"))), new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject2, "", null, null, true)}); this.btnDelete.Name = "btnDelete"; this.btnDelete.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; // // colEdit // this.colEdit.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.colEdit.AppearanceHeader.Options.UseFont = true; this.colEdit.AppearanceHeader.Options.UseTextOptions = true; this.colEdit.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEdit.ColumnEdit = this.btnEdit; this.colEdit.Name = "colEdit"; this.colEdit.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways; this.colEdit.Visible = true; this.colEdit.VisibleIndex = 1; this.colEdit.Width = 39; // // btnEdit // this.btnEdit.AutoHeight = false; this.btnEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, ((System.Drawing.Image)(resources.GetObject("btnEdit.Buttons"))), new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject3, "", null, null, true)}); this.btnEdit.Name = "btnEdit"; this.btnEdit.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; // // gridColumn4 // this.gridColumn4.AppearanceCell.Options.UseTextOptions = true; this.gridColumn4.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn4.AppearanceCell.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn4.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(163))); this.gridColumn4.AppearanceHeader.Options.UseFont = true; this.gridColumn4.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn4.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn4.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn4.Caption = "ID"; this.gridColumn4.FieldName = "ID"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 2; this.gridColumn4.Width = 41; // // gridColumn9 // this.gridColumn9.AppearanceCell.Options.UseTextOptions = true; this.gridColumn9.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn9.AppearanceCell.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn9.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(163))); this.gridColumn9.AppearanceHeader.Options.UseFont = true; this.gridColumn9.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn9.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn9.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridColumn9.Caption = "Tên"; this.gridColumn9.FieldName = "Name"; this.gridColumn9.Name = "gridColumn9"; this.gridColumn9.OptionsColumn.AllowEdit = false; this.gridColumn9.OptionsColumn.AllowFocus = false; this.gridColumn9.OptionsColumn.ReadOnly = true; this.gridColumn9.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Like; this.gridColumn9.Visible = true; this.gridColumn9.VisibleIndex = 3; this.gridColumn9.Width = 319; // // btnSelectIDCustomerGroups // this.btnSelectIDCustomerGroups.AutoHeight = false; this.btnSelectIDCustomerGroups.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, ((System.Drawing.Image)(resources.GetObject("btnSelectIDCustomerGroups.Buttons"))), new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject4, "", null, null, true)}); this.btnSelectIDCustomerGroups.Name = "btnSelectIDCustomerGroups"; this.btnSelectIDCustomerGroups.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; // // tableLayoutPanel3 // this.tableLayoutPanel3.ColumnCount = 2; this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 35.97063F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 64.02937F)); this.tableLayoutPanel3.Controls.Add(this.btnAddNew, 1, 2); this.tableLayoutPanel3.Controls.Add(this.dgvAvailableCustomerGroups, 0, 1); this.tableLayoutPanel3.Controls.Add(this.dgvCustomerMember, 1, 1); this.tableLayoutPanel3.Controls.Add(this.tableLayoutPanel4, 1, 0); this.tableLayoutPanel3.Controls.Add(this.tableLayoutPanel1, 0, 0); this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel3.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.tableLayoutPanel3.Name = "tableLayoutPanel3"; this.tableLayoutPanel3.RowCount = 3; this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 15.04425F)); this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 84.95575F)); this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 45F)); this.tableLayoutPanel3.Size = new System.Drawing.Size(1226, 498); this.tableLayoutPanel3.TabIndex = 3; // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 26.80115F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 73.19884F)); this.tableLayoutPanel1.Controls.Add(this.lueFilterCompany, 1, 0); this.tableLayoutPanel1.Controls.Add(this.labelControl3, 0, 0); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 2); this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 27.61194F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(434, 64); this.tableLayoutPanel1.TabIndex = 15; // // lueFilterCompany // this.lueFilterCompany.Anchor = System.Windows.Forms.AnchorStyles.Left; this.lueFilterCompany.Location = new System.Drawing.Point(119, 22); this.lueFilterCompany.Name = "lueFilterCompany"; this.lueFilterCompany.Properties.Appearance.Options.UseTextOptions = true; this.lueFilterCompany.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.lueFilterCompany.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lueFilterCompany.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", 18, "Name")}); this.lueFilterCompany.Properties.NullText = ""; this.lueFilterCompany.Size = new System.Drawing.Size(312, 20); this.lueFilterCompany.TabIndex = 6; this.lueFilterCompany.EditValueChanged += new System.EventHandler(this.lueFilterCompany_EditValueChanged); // // labelControl3 // this.labelControl3.Anchor = System.Windows.Forms.AnchorStyles.Left; this.labelControl3.Appearance.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelControl3.Location = new System.Drawing.Point(3, 24); this.labelControl3.Name = "labelControl3"; this.labelControl3.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0); this.labelControl3.Size = new System.Drawing.Size(60, 16); this.labelControl3.TabIndex = 5; this.labelControl3.Text = "Công ty"; // // frmLst_CustomerGroups_2 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1226, 498); this.Controls.Add(this.tableLayoutPanel3); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Location = new System.Drawing.Point(600, 150); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmLst_CustomerGroups_2"; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; this.Text = "Thêm mới nhóm khách hàng"; this.Load += new System.EventHandler(this.frmIns_CustomerGroups_Load); this.tableLayoutPanel4.ResumeLayout(false); this.tableLayoutPanel4.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtCustomerGroupName.Properties)).EndInit(); this.tableLayoutPanel2.ResumeLayout(false); this.tableLayoutPanel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvCustomerMember)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.viewSelectCustomers)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnRemoveSelectCustomers)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvAvailableCustomerGroups)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.viewAvailableCustomerGroups)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnDelete)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnEdit)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnSelectIDCustomerGroups)).EndInit(); this.tableLayoutPanel3.ResumeLayout(false); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.lueFilterCompany.Properties)).EndInit(); this.ResumeLayout(false); }
private void gridView1_RowCellStyle(object sender, DevExpress.XtraGrid.Views.Grid.RowCellStyleEventArgs e) { DevExpress.XtraGrid.Views.Grid.GridView view = sender as DevExpress.XtraGrid.Views.Grid.GridView; if (view == null) { return; } object cellValue = e.CellValue; if (cellValue == null) { e.Appearance.BackColor = System.Drawing.Color.LightYellow; //.NavajoWhite; return; } if (cellValue is string) { if (string.IsNullOrWhiteSpace(cellValue as string)) { if ((cellValue as string) == string.Empty) { e.Appearance.BackColor = System.Drawing.Color.NavajoWhite; return; } // WhiteSpace e.Appearance.BackColor = System.Drawing.Color.MistyRose; return; } } if (e.Column.FieldName == MetadataItemFQN.TYPE_FIELDNAME) { e.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; } if (e.Column.FieldName == MetadataItemFQN.PARENT_TYPE_FIELDNAME) { e.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; } if (e.Column.FieldName == MetadataItemFQN.SYNTAX_PROVIDER_FIELDNAME) { e.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; } if (e.Column.FieldName == MetadataItemFQN.METADATA_PROVIDER_FIELDNAME) { e.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; } if (e.Column.FieldName == MetadataItemFQN.FIELD_TYPE_FIELDNAME) { e.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; } if (e.Column.FieldName == MetadataItemFQN.CARDINALYTY_FIELDNAME) { e.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; } if (e.Column.FieldName == MetadataItemFQN.FIELDSCOUNT_FIELDNAME) { e.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; } if (e.Column.FieldName == MetadataItemFQN.REFERENCED_CARDINALYTY_NAME_FIELDNAME) { e.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; } if (e.Column.FieldName == MetadataItemFQN.REFERENCED_FIELDS_COUNT_FIELDNAME) { e.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; } if (e.Column.FieldName == MetadataItemFQN.REFERENCED_FIELDS_FIELDNAME) { e.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; } if (e.Column.FieldName == MetadataItemFQN.SERVER_FIELDNAME) { e.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; } if (e.Column.FieldName == MetadataItemFQN.DATABASE_FIELDNAME) { e.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; } if (e.Column.FieldName == MetadataItemFQN.SCHEMA_FIELDNAME) { e.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; } //if( e.RowHandle != view.FocusedRowHandle && // ((e.RowHandle % 2 == 0 && e.Column.VisibleIndex % 2 == 1) || // (e.Column.VisibleIndex % 2 == 0 && e.RowHandle % 2 == 1)) ) //{ //} }
/// 设置样式devExpress /// </summary> /// <param name="tableName"></param> /// <param name="gridView"></param> public void SetGridStyle(string tableName, DevExpress.XtraGrid.Views.Grid.GridView gridView) { _gridView = gridView; if (!dataGridStyles.ContainsKey(tableName)) { SaveNewGridStyle(tableName, gridView);//配置文件中不存在此表格的样式配置,需要保存到文件中 } else { SortedList<int, ColumnStyle> columnStyleList = new SortedList<int, ColumnStyle>(); DataGridStyle dataGridStyle = dataGridStyles[tableName]; DeleteMissColumn(dataGridStyle, gridView); ColumnStyle columnStyle; int i = 0; //_gridView.OptionsView.ColumnAutoWidth = true; //是否自动调整列宽 bool auto = false; foreach (System.Collections.Generic.KeyValuePair<string, ColumnStyle> item in dataGridStyle.ColumnStyles) { if (_gridView != null) { if (item.Value.Width == 0) auto = true; } } _gridView.OptionsView.ColumnAutoWidth = auto; foreach (DevExpress.XtraGrid.Columns.GridColumn column in gridView.Columns) { if (dataGridStyle.ColumnStyles.ContainsKey(column.Name)) { columnStyle = dataGridStyle.ColumnStyles[column.Name]; //SetColumnStyle(column, columnStyle); columnStyleList.Add(columnStyle.Index, columnStyle); } else//此列为新增列时,需要增加到配置文件中 { int index = dataGridStyle.ColumnStyles.Count + i; columnStyle = GetColumnStyle(column); columnStyle.Index = index; columnStyleList.Add(index, columnStyle); //SetColumnStyle(column, columnStyle); //columnStyleList.Add(columnStyle.Index, columnStyle); //columnStyleList.Add(column.VisibleIndex, columnStyle); //当设置列不可见时VisibleIndex为-1 i++; } } foreach (System.Collections.Generic.KeyValuePair<int, ColumnStyle> item in columnStyleList) { foreach (DevExpress.XtraGrid.Columns.GridColumn column in gridView.Columns) { if (column.Name == item.Value.Name) { SetColumnStyle(column, item.Value); //设置visbleIndex必须按照显示顺序设置,不然先设置的即使index比较大还是显示在前面 break; } } } dataGridStyle.ColumnStyles.Clear(); for (int j = 0; j < columnStyleList.Count; j++) dataGridStyle.ColumnStyles.Add(columnStyleList[j].Name, columnStyleList[j]); SaveGridStyle(dataGridStyle); } }
private void TpCtlr_GetActiveObjectInfo(object sender, DevExpress.Utils.ToolTipControllerGetActiveObjectInfoEventArgs e) { if (e.SelectedControl != this.gridControl1) { return; } DevExpress.XtraGrid.Views.Grid.GridView view = this.gridControl1.GetViewAt(e.ControlMousePosition) as DevExpress.XtraGrid.Views.Grid.GridView; if (view == null) { return; } DevExpress.Utils.ToolTipControlInfo info = null; DevExpress.XtraGrid.Views.Grid.ViewInfo.GridHitInfo hi = view.CalcHitInfo(e.ControlMousePosition); //if( hi.HitTest == DevExpress.XtraGrid.Views.Grid.ViewInfo.GridHitTest.RowIndicator ) if (hi.HitTest == DevExpress.XtraGrid.Views.Grid.ViewInfo.GridHitTest.RowCell) { if (hi.RowHandle == -2147483646) { return; } object o = hi.HitTest.ToString( ) + hi.RowHandle.ToString( ); string text = "Row " + hi.RowHandle.ToString( ); DevExpress.Utils.SuperToolTip stt = new DevExpress.Utils.SuperToolTip( ); stt.AllowHtmlText = DevExpress.Utils.DefaultBoolean.Default; stt.FixedTooltipWidth = false; stt.MaxWidth = 400; stt.DistanceBetweenItems = 10; DevExpress.Utils.SuperToolTipSetupArgs args = new DevExpress.Utils.SuperToolTipSetupArgs( ); args.AllowHtmlText = DevExpress.Utils.DefaultBoolean.Default; args.ShowFooterSeparator = true; { //var pnCellValue = view.GetRowCellValue( hi.RowHandle, MetadataItemFQN.OBJECT_FIELDNAME ); //var ptypeCellValue = view.GetRowCellValue( hi.RowHandle, MetadataItemFQN.PARENT_TYPE_FIELDNAME ); //var fqnCellValue = view.GetRowCellValue( hi.RowHandle, MetadataItemFQN.NAMEFULLQUALIFIED_FIELDNAME ); //var nCellValue = view.GetRowCellValue( hi.RowHandle, MetadataItemFQN.FIELD_FIELDNAME ); //var typeCellValue = view.GetRowCellValue( hi.RowHandle, MetadataItemFQN.TYPE_FIELDNAME ); // //args.Title.Text = typeCellValue?.ToString( ) + ": " + nCellValue?.ToString( ); //args.Contents.ImageOptions.Alignment = DevExpress.Utils.ToolTipImageAlignment.Default; //args.Contents.Text = fqnCellValue?.ToString( ); //args.Footer.Text = ptypeCellValue?.ToString( ) + ": " + pnCellValue?.ToString( ); //if( typeCellValue.ToString( ) == "Field" ) //{ // //args.Title.ImageOptions.Image = fld_noaction_gray_img16x16; // //args.Contents.ImageOptions.Image = fld_noaction_gray_img64x64; // //args.Footer.ImageOptions.Image = tbl_noaction_red_img16x16; //} //else if( typeCellValue.ToString( ) == "Table" ) //{ // //args.Title.ImageOptions.Image = tbl_noaction_red_img16x16; // //args.Contents.ImageOptions.Image = tbl_noaction_red_img64x64; // //args.Footer.ImageOptions.Image = sch_noaction_red_img16x16; //} //else if( typeCellValue.ToString( ) == "View" ) //{ // //args.Title.ImageOptions.Image = vw_noaction_red_img16x16; // //args.Contents.ImageOptions.Image = vw_noaction_red_img64x64; // //args.Footer.ImageOptions.Image = sch_noaction_red_img16x16; //} //else if( typeCellValue.ToString( ) == "ForeignKey" ) //{ // //args.Title.ImageOptions.Image = fk_noaction_gray_img16x16; // //args.Contents.ImageOptions.Image = fk_noaction_gray_img64x64; // //args.Footer.ImageOptions.Image = tbl_noaction_red_img16x16; //} //else if( typeCellValue.ToString( ) == "Procedure" ) //{ // //args.Title.ImageOptions.Image = proc_noaction_blue_img16x16; // //args.Contents.ImageOptions.Image = proc_noaction_blue_img64x64; // //args.Footer.ImageOptions.Image = sch_noaction_red_img16x16; //} //else if( typeCellValue.ToString( ) == "Synonym" ) //{ // //args.Title.ImageOptions.Image = syn_noaction_yellow_img16x16; // //args.Contents.ImageOptions.Image = syn_noaction_yellow_img64x64; // //args.Footer.ImageOptions.Image = sch_noaction_red_img16x16; //} //else if( typeCellValue.ToString( ) == "Schema" ) //{ // //args.Title.ImageOptions.Image = sch_noaction_red_img16x16; // //args.Contents.ImageOptions.Image = sch_noaction_red_img64x64; // //args.Footer.ImageOptions.Image = db_noaction_red_img16x16; //} //else if( typeCellValue.ToString( ) == "Database" ) //{ // //args.Title.ImageOptions.Image = db_noaction_red_img16x16; // //args.Contents.ImageOptions.Image = db_noaction_red_img64x64; // //args.Footer.ImageOptions.Image = db_noaction_red_img16x16; //} } stt.Setup(args); info = new DevExpress.Utils.ToolTipControlInfo(o, text); info.ToolTipType = DevExpress.Utils.ToolTipType.SuperTip; info.SuperTip = stt; } if (info != null) { e.Info = info; } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); this.gridControlData = new DevExpress.XtraGrid.GridControl(); this.tblWarasaAmanatBindingSource = new System.Windows.Forms.BindingSource(this.components); this.dsRetirementCenter = new RetirementCenter.DataSources.dsRetirementCenter(); this.gridViewData = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colPersonId = new DevExpress.XtraGrid.Columns.GridColumn(); this.colDofatSarfAId = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemGridLookUpEditDofatSarfAId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit(); this.cdDofaatAmanatBindingSource = new System.Windows.Forms.BindingSource(this.components); this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colDofatSarfA = new DevExpress.XtraGrid.Columns.GridColumn(); this.colMMashatId = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemGridLookUpEditPersonId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit(); this.LSMSTBLWarasa = new DevExpress.Data.Linq.LinqServerModeSource(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colMMashatName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colPersonId1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colpersonName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colsarfnumber = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSyndicate1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSubCommitte = new DevExpress.XtraGrid.Columns.GridColumn(); this.colamanatrem = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemMemoExEditamanatrem = new DevExpress.XtraEditors.Repository.RepositoryItemMemoExEdit(); this.colamanatmony = new DevExpress.XtraGrid.Columns.GridColumn(); this.coldatein = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemDateEditdatein = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); this.coluserin = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemGridLookUpEdituserin = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit(); this.usersBindingSource = new System.Windows.Forms.BindingSource(this.components); this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colRealName = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumnSave = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemButtonEditSave = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.gridColumnDelete = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemButtonEditDel = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.colaccReview = new DevExpress.XtraGrid.Columns.GridColumn(); this.colestktaa = new DevExpress.XtraGrid.Columns.GridColumn(); this.colmostahek = new DevExpress.XtraGrid.Columns.GridColumn(); this.colsefa = new DevExpress.XtraGrid.Columns.GridColumn(); this.coluseracc = new DevExpress.XtraGrid.Columns.GridColumn(); this.colamantvisa = new DevExpress.XtraGrid.Columns.GridColumn(); this.colsarfcheek = new DevExpress.XtraGrid.Columns.GridColumn(); this.colDofatSarfId = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemLookUpEditDofatSarfId = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); this.LSMSDofatSarfId = new DevExpress.Data.Linq.LinqServerModeSource(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colDofatSarfAId1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colamanattypeid = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemLookUpEditamanattypeid = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); this.LSMScd_amanattype = new DevExpress.Data.Linq.LinqServerModeSource(); this.coldateReview = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemCalcEditf2 = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit(); this.repositoryItemDateEditDMY = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); this.repositoryItemGridLookUpEditSyndicateId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit(); this.repositoryItemGridLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colSyndicate = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemCalcEditn0 = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit(); this.repositoryItemCheckEditCardType = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.colEDARET = new DevExpress.XtraGrid.Columns.GridColumn(); this.colEDARET1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colEdaraMandopName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colnkapaMandopName = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.groupControl1 = new DevExpress.XtraEditors.GroupControl(); this.groupControl2 = new DevExpress.XtraEditors.GroupControl(); this.btnNew = new DevExpress.XtraEditors.SimpleButton(); this.tblWarasaAmanatTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.TblWarasaAmanatTableAdapter(); this.cdDofaatAmanatTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.CdDofaatAmanatTableAdapter(); this.usersTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.UsersTableAdapter(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tblWarasaAmanatBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsRetirementCenter)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditDofatSarfAId)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cdDofaatAmanatBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditPersonId)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.LSMSTBLWarasa)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoExEditamanatrem)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditdatein)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditdatein.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdituserin)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.usersBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditSave)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditDel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditDofatSarfId)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.LSMSDofatSarfId)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditamanattypeid)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.LSMScd_amanattype)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEditf2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditSyndicateId)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdit1View)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEditn0)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEditCardType)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit(); this.groupControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit(); this.groupControl2.SuspendLayout(); this.SuspendLayout(); // // gridControlData // this.gridControlData.DataSource = this.tblWarasaAmanatBindingSource; this.gridControlData.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControlData.EmbeddedNavigator.Buttons.Append.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.CancelEdit.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.Edit.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.EndEdit.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.Remove.Visible = false; this.gridControlData.Location = new System.Drawing.Point(2, 21); this.gridControlData.MainView = this.gridViewData; this.gridControlData.Name = "gridControlData"; this.gridControlData.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemButtonEditSave, this.repositoryItemButtonEditDel, this.repositoryItemCalcEditf2, this.repositoryItemDateEditDMY, this.repositoryItemGridLookUpEditSyndicateId, this.repositoryItemCalcEditn0, this.repositoryItemDateEditdatein, this.repositoryItemGridLookUpEdituserin, this.repositoryItemMemoExEditamanatrem, this.repositoryItemCheckEditCardType, this.repositoryItemGridLookUpEditPersonId, this.repositoryItemGridLookUpEditDofatSarfAId, this.repositoryItemLookUpEditDofatSarfId, this.repositoryItemLookUpEditamanattypeid}); this.gridControlData.Size = new System.Drawing.Size(756, 273); this.gridControlData.TabIndex = 0; this.gridControlData.UseEmbeddedNavigator = true; this.gridControlData.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewData}); this.gridControlData.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ActiveKeyDownEvent); // // tblWarasaAmanatBindingSource // this.tblWarasaAmanatBindingSource.DataMember = "TblWarasaAmanat"; this.tblWarasaAmanatBindingSource.DataSource = this.dsRetirementCenter; // // dsRetirementCenter // this.dsRetirementCenter.DataSetName = "dsRetirementCenter"; this.dsRetirementCenter.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // gridViewData // this.gridViewData.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colPersonId, this.colDofatSarfAId, this.colMMashatId, this.colamanatrem, this.colamanatmony, this.coldatein, this.coluserin, this.gridColumnSave, this.gridColumnDelete, this.colaccReview, this.colestktaa, this.colmostahek, this.colsefa, this.coluseracc, this.colamantvisa, this.colsarfcheek, this.colDofatSarfId, this.gridColumn1, this.gridColumn3, this.colDofatSarfAId1, this.colamanattypeid, this.coldateReview, this.gridColumn4}); this.gridViewData.GridControl = this.gridControlData; this.gridViewData.Name = "gridViewData"; this.gridViewData.NewItemRowText = "اضغط لاضافة جديد"; this.gridViewData.OptionsBehavior.ReadOnly = true; this.gridViewData.OptionsNavigation.AutoFocusNewRow = true; this.gridViewData.OptionsView.ColumnAutoWidth = false; this.gridViewData.OptionsView.ShowAutoFilterRow = true; this.gridViewData.OptionsView.ShowDetailButtons = false; this.gridViewData.InvalidRowException += new DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventHandler(this.gridViewData_InvalidRowException); // // colPersonId // this.colPersonId.AppearanceCell.Options.UseTextOptions = true; this.colPersonId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colPersonId.AppearanceHeader.Options.UseTextOptions = true; this.colPersonId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colPersonId.Caption = "كود"; this.colPersonId.FieldName = "PersonId"; this.colPersonId.Name = "colPersonId"; this.colPersonId.Visible = true; this.colPersonId.VisibleIndex = 1; // // colDofatSarfAId // this.colDofatSarfAId.AppearanceCell.Options.UseTextOptions = true; this.colDofatSarfAId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colDofatSarfAId.AppearanceHeader.Options.UseTextOptions = true; this.colDofatSarfAId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colDofatSarfAId.Caption = "الدفعة"; this.colDofatSarfAId.ColumnEdit = this.repositoryItemGridLookUpEditDofatSarfAId; this.colDofatSarfAId.FieldName = "DofatSarfAId"; this.colDofatSarfAId.Name = "colDofatSarfAId"; this.colDofatSarfAId.OptionsColumn.ReadOnly = true; this.colDofatSarfAId.Visible = true; this.colDofatSarfAId.VisibleIndex = 3; this.colDofatSarfAId.Width = 128; // // repositoryItemGridLookUpEditDofatSarfAId // this.repositoryItemGridLookUpEditDofatSarfAId.AutoHeight = false; this.repositoryItemGridLookUpEditDofatSarfAId.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemGridLookUpEditDofatSarfAId.DataSource = this.cdDofaatAmanatBindingSource; this.repositoryItemGridLookUpEditDofatSarfAId.DisplayMember = "DofatSarfA"; this.repositoryItemGridLookUpEditDofatSarfAId.Name = "repositoryItemGridLookUpEditDofatSarfAId"; this.repositoryItemGridLookUpEditDofatSarfAId.ValueMember = "DofatSarfAId"; this.repositoryItemGridLookUpEditDofatSarfAId.View = this.gridView3; // // cdDofaatAmanatBindingSource // this.cdDofaatAmanatBindingSource.DataMember = "CdDofaatAmanat"; this.cdDofaatAmanatBindingSource.DataSource = this.dsRetirementCenter; // // gridView3 // this.gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colDofatSarfA}); this.gridView3.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gridView3.Name = "gridView3"; this.gridView3.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridView3.OptionsView.ShowGroupPanel = false; // // colDofatSarfA // this.colDofatSarfA.AppearanceCell.Options.UseTextOptions = true; this.colDofatSarfA.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colDofatSarfA.AppearanceHeader.Options.UseTextOptions = true; this.colDofatSarfA.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colDofatSarfA.Caption = "الاسم"; this.colDofatSarfA.FieldName = "DofatSarfA"; this.colDofatSarfA.Name = "colDofatSarfA"; this.colDofatSarfA.Visible = true; this.colDofatSarfA.VisibleIndex = 0; // // colMMashatId // this.colMMashatId.AppearanceCell.Options.UseTextOptions = true; this.colMMashatId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashatId.AppearanceHeader.Options.UseTextOptions = true; this.colMMashatId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashatId.Caption = "الاسم"; this.colMMashatId.ColumnEdit = this.repositoryItemGridLookUpEditPersonId; this.colMMashatId.FieldName = "PersonId"; this.colMMashatId.Name = "colMMashatId"; this.colMMashatId.OptionsColumn.ReadOnly = true; this.colMMashatId.Visible = true; this.colMMashatId.VisibleIndex = 4; this.colMMashatId.Width = 150; // // repositoryItemGridLookUpEditPersonId // this.repositoryItemGridLookUpEditPersonId.AutoHeight = false; this.repositoryItemGridLookUpEditPersonId.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemGridLookUpEditPersonId.DataSource = this.LSMSTBLWarasa; this.repositoryItemGridLookUpEditPersonId.DisplayMember = "personName"; this.repositoryItemGridLookUpEditPersonId.Name = "repositoryItemGridLookUpEditPersonId"; this.repositoryItemGridLookUpEditPersonId.ValueMember = "PersonId"; this.repositoryItemGridLookUpEditPersonId.View = this.gridView1; // // LSMSTBLWarasa // this.LSMSTBLWarasa.ElementType = typeof(RetirementCenter.DataSources.Linq.vTBLWarasa_TBLMashat); this.LSMSTBLWarasa.KeyExpression = "PersonId"; // // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colMMashatName, this.colPersonId1, this.colpersonName, this.colsarfnumber, this.colSyndicate1, this.colSubCommitte}); this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gridView1.Name = "gridView1"; this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridView1.OptionsView.ShowGroupPanel = false; // // colMMashatName // this.colMMashatName.AppearanceCell.Options.UseTextOptions = true; this.colMMashatName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashatName.AppearanceHeader.Options.UseTextOptions = true; this.colMMashatName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashatName.Caption = "الاب"; this.colMMashatName.FieldName = "MMashatName"; this.colMMashatName.Name = "colMMashatName"; this.colMMashatName.Visible = true; this.colMMashatName.VisibleIndex = 0; // // colPersonId1 // this.colPersonId1.AppearanceCell.Options.UseTextOptions = true; this.colPersonId1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colPersonId1.AppearanceHeader.Options.UseTextOptions = true; this.colPersonId1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colPersonId1.Caption = "كود"; this.colPersonId1.FieldName = "PersonId"; this.colPersonId1.Name = "colPersonId1"; this.colPersonId1.Visible = true; this.colPersonId1.VisibleIndex = 1; // // colpersonName // this.colpersonName.AppearanceCell.Options.UseTextOptions = true; this.colpersonName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colpersonName.AppearanceHeader.Options.UseTextOptions = true; this.colpersonName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colpersonName.Caption = "الاسم"; this.colpersonName.FieldName = "personName"; this.colpersonName.Name = "colpersonName"; this.colpersonName.Visible = true; this.colpersonName.VisibleIndex = 2; // // colsarfnumber // this.colsarfnumber.AppearanceCell.Options.UseTextOptions = true; this.colsarfnumber.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colsarfnumber.AppearanceHeader.Options.UseTextOptions = true; this.colsarfnumber.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colsarfnumber.Caption = "رقم صرف"; this.colsarfnumber.FieldName = "sarfnumber"; this.colsarfnumber.Name = "colsarfnumber"; this.colsarfnumber.Visible = true; this.colsarfnumber.VisibleIndex = 3; // // colSyndicate1 // this.colSyndicate1.AppearanceCell.Options.UseTextOptions = true; this.colSyndicate1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSyndicate1.AppearanceHeader.Options.UseTextOptions = true; this.colSyndicate1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSyndicate1.Caption = "فرعية"; this.colSyndicate1.FieldName = "Syndicate"; this.colSyndicate1.Name = "colSyndicate1"; this.colSyndicate1.Visible = true; this.colSyndicate1.VisibleIndex = 4; // // colSubCommitte // this.colSubCommitte.AppearanceCell.Options.UseTextOptions = true; this.colSubCommitte.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSubCommitte.AppearanceHeader.Options.UseTextOptions = true; this.colSubCommitte.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSubCommitte.Caption = "لجنة"; this.colSubCommitte.FieldName = "SubCommitte"; this.colSubCommitte.Name = "colSubCommitte"; this.colSubCommitte.Visible = true; this.colSubCommitte.VisibleIndex = 5; // // colamanatrem // this.colamanatrem.AppearanceCell.Options.UseTextOptions = true; this.colamanatrem.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colamanatrem.AppearanceHeader.Options.UseTextOptions = true; this.colamanatrem.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colamanatrem.Caption = "ملاحظات"; this.colamanatrem.ColumnEdit = this.repositoryItemMemoExEditamanatrem; this.colamanatrem.FieldName = "amanatrem"; this.colamanatrem.Name = "colamanatrem"; this.colamanatrem.OptionsColumn.ReadOnly = true; this.colamanatrem.Visible = true; this.colamanatrem.VisibleIndex = 5; // // repositoryItemMemoExEditamanatrem // this.repositoryItemMemoExEditamanatrem.AutoHeight = false; this.repositoryItemMemoExEditamanatrem.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemMemoExEditamanatrem.Name = "repositoryItemMemoExEditamanatrem"; // // colamanatmony // this.colamanatmony.AppearanceCell.Options.UseTextOptions = true; this.colamanatmony.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colamanatmony.AppearanceHeader.Options.UseTextOptions = true; this.colamanatmony.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colamanatmony.Caption = "المبلغ"; this.colamanatmony.FieldName = "amanatmony"; this.colamanatmony.Name = "colamanatmony"; this.colamanatmony.OptionsColumn.ReadOnly = true; this.colamanatmony.Visible = true; this.colamanatmony.VisibleIndex = 6; this.colamanatmony.Width = 81; // // coldatein // this.coldatein.AppearanceCell.Options.UseTextOptions = true; this.coldatein.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.coldatein.AppearanceHeader.Options.UseTextOptions = true; this.coldatein.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.coldatein.Caption = "تاريخ الادخال"; this.coldatein.ColumnEdit = this.repositoryItemDateEditdatein; this.coldatein.FieldName = "datein"; this.coldatein.Name = "coldatein"; this.coldatein.OptionsColumn.AllowEdit = false; this.coldatein.OptionsColumn.ReadOnly = true; this.coldatein.Visible = true; this.coldatein.VisibleIndex = 11; this.coldatein.Width = 94; // // repositoryItemDateEditdatein // this.repositoryItemDateEditdatein.AutoHeight = false; this.repositoryItemDateEditdatein.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemDateEditdatein.DisplayFormat.FormatString = "g"; this.repositoryItemDateEditdatein.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.repositoryItemDateEditdatein.EditFormat.FormatString = "g"; this.repositoryItemDateEditdatein.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.repositoryItemDateEditdatein.Mask.EditMask = "g"; this.repositoryItemDateEditdatein.Name = "repositoryItemDateEditdatein"; this.repositoryItemDateEditdatein.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); // // coluserin // this.coluserin.AppearanceCell.Options.UseTextOptions = true; this.coluserin.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.coluserin.AppearanceHeader.Options.UseTextOptions = true; this.coluserin.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.coluserin.Caption = "مسئول الادخال"; this.coluserin.ColumnEdit = this.repositoryItemGridLookUpEdituserin; this.coluserin.FieldName = "userin"; this.coluserin.Name = "coluserin"; this.coluserin.OptionsColumn.AllowEdit = false; this.coluserin.OptionsColumn.ReadOnly = true; this.coluserin.Visible = true; this.coluserin.VisibleIndex = 12; this.coluserin.Width = 97; // // repositoryItemGridLookUpEdituserin // this.repositoryItemGridLookUpEdituserin.AutoHeight = false; this.repositoryItemGridLookUpEdituserin.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemGridLookUpEdituserin.DataSource = this.usersBindingSource; this.repositoryItemGridLookUpEdituserin.DisplayMember = "RealName"; this.repositoryItemGridLookUpEdituserin.Name = "repositoryItemGridLookUpEdituserin"; this.repositoryItemGridLookUpEdituserin.NullText = ""; this.repositoryItemGridLookUpEdituserin.ValueMember = "UserID"; this.repositoryItemGridLookUpEdituserin.View = this.gridView2; // // usersBindingSource // this.usersBindingSource.DataMember = "Users"; this.usersBindingSource.DataSource = this.dsRetirementCenter; // // gridView2 // this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colRealName}); this.gridView2.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gridView2.Name = "gridView2"; this.gridView2.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridView2.OptionsView.ShowGroupPanel = false; // // colRealName // this.colRealName.FieldName = "RealName"; this.colRealName.Name = "colRealName"; this.colRealName.Visible = true; this.colRealName.VisibleIndex = 0; // // gridColumnSave // this.gridColumnSave.AppearanceCell.Options.UseTextOptions = true; this.gridColumnSave.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumnSave.AppearanceHeader.Options.UseTextOptions = true; this.gridColumnSave.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumnSave.Caption = "تعديل"; this.gridColumnSave.ColumnEdit = this.repositoryItemButtonEditSave; this.gridColumnSave.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; this.gridColumnSave.Name = "gridColumnSave"; this.gridColumnSave.Visible = true; this.gridColumnSave.VisibleIndex = 21; this.gridColumnSave.Width = 55; // // repositoryItemButtonEditSave // this.repositoryItemButtonEditSave.AutoHeight = false; this.repositoryItemButtonEditSave.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.repositoryItemButtonEditSave.Name = "repositoryItemButtonEditSave"; this.repositoryItemButtonEditSave.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; this.repositoryItemButtonEditSave.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEditSave_ButtonClick); // // gridColumnDelete // this.gridColumnDelete.AppearanceCell.Options.UseTextOptions = true; this.gridColumnDelete.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumnDelete.AppearanceHeader.Options.UseTextOptions = true; this.gridColumnDelete.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumnDelete.Caption = "حذف"; this.gridColumnDelete.ColumnEdit = this.repositoryItemButtonEditDel; this.gridColumnDelete.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; this.gridColumnDelete.Name = "gridColumnDelete"; this.gridColumnDelete.Visible = true; this.gridColumnDelete.VisibleIndex = 22; this.gridColumnDelete.Width = 51; // // repositoryItemButtonEditDel // this.repositoryItemButtonEditDel.AutoHeight = false; this.repositoryItemButtonEditDel.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Delete)}); this.repositoryItemButtonEditDel.Name = "repositoryItemButtonEditDel"; this.repositoryItemButtonEditDel.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; this.repositoryItemButtonEditDel.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEditDel_ButtonClick); // // colaccReview // this.colaccReview.AppearanceCell.Options.UseTextOptions = true; this.colaccReview.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colaccReview.AppearanceHeader.Options.UseTextOptions = true; this.colaccReview.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colaccReview.Caption = "مراجعة (حسابات)"; this.colaccReview.FieldName = "accReview"; this.colaccReview.Name = "colaccReview"; this.colaccReview.OptionsColumn.ReadOnly = true; this.colaccReview.Visible = true; this.colaccReview.VisibleIndex = 7; this.colaccReview.Width = 100; // // colestktaa // this.colestktaa.AppearanceCell.Options.UseTextOptions = true; this.colestktaa.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colestktaa.AppearanceHeader.Options.UseTextOptions = true; this.colestktaa.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colestktaa.Caption = "استقطاع"; this.colestktaa.FieldName = "estktaa"; this.colestktaa.Name = "colestktaa"; this.colestktaa.OptionsColumn.ReadOnly = true; this.colestktaa.Visible = true; this.colestktaa.VisibleIndex = 8; // // colmostahek // this.colmostahek.AppearanceCell.Options.UseTextOptions = true; this.colmostahek.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colmostahek.AppearanceHeader.Options.UseTextOptions = true; this.colmostahek.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colmostahek.Caption = "مستحق"; this.colmostahek.FieldName = "mostahek"; this.colmostahek.Name = "colmostahek"; this.colmostahek.OptionsColumn.ReadOnly = true; this.colmostahek.Visible = true; this.colmostahek.VisibleIndex = 9; // // colsefa // this.colsefa.AppearanceCell.Options.UseTextOptions = true; this.colsefa.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colsefa.AppearanceHeader.Options.UseTextOptions = true; this.colsefa.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colsefa.Caption = "صفة"; this.colsefa.FieldName = "sefa"; this.colsefa.Name = "colsefa"; this.colsefa.OptionsColumn.ReadOnly = true; this.colsefa.Visible = true; this.colsefa.VisibleIndex = 10; // // coluseracc // this.coluseracc.AppearanceCell.Options.UseTextOptions = true; this.coluseracc.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.coluseracc.AppearanceHeader.Options.UseTextOptions = true; this.coluseracc.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.coluseracc.Caption = "مسئول الادخال (حسابات)"; this.coluseracc.ColumnEdit = this.repositoryItemGridLookUpEdituserin; this.coluseracc.FieldName = "useracc"; this.coluseracc.Name = "coluseracc"; this.coluseracc.OptionsColumn.ReadOnly = true; this.coluseracc.Visible = true; this.coluseracc.VisibleIndex = 13; this.coluseracc.Width = 136; // // colamantvisa // this.colamantvisa.AppearanceCell.Options.UseTextOptions = true; this.colamantvisa.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colamantvisa.AppearanceHeader.Options.UseTextOptions = true; this.colamantvisa.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colamantvisa.Caption = "امانات فيزا"; this.colamantvisa.FieldName = "amantvisa"; this.colamantvisa.Name = "colamantvisa"; this.colamantvisa.Visible = true; this.colamantvisa.VisibleIndex = 15; // // colsarfcheek // this.colsarfcheek.AppearanceCell.Options.UseTextOptions = true; this.colsarfcheek.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colsarfcheek.AppearanceHeader.Options.UseTextOptions = true; this.colsarfcheek.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colsarfcheek.Caption = "تصرف بشيك"; this.colsarfcheek.FieldName = "sarfcheek"; this.colsarfcheek.Name = "colsarfcheek"; this.colsarfcheek.Visible = true; this.colsarfcheek.VisibleIndex = 16; this.colsarfcheek.Width = 77; // // colDofatSarfId // this.colDofatSarfId.AppearanceCell.Options.UseTextOptions = true; this.colDofatSarfId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colDofatSarfId.AppearanceHeader.Options.UseTextOptions = true; this.colDofatSarfId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colDofatSarfId.Caption = "الدفعة المستحقه"; this.colDofatSarfId.ColumnEdit = this.repositoryItemLookUpEditDofatSarfId; this.colDofatSarfId.FieldName = "DofatSarfId"; this.colDofatSarfId.Name = "colDofatSarfId"; this.colDofatSarfId.Visible = true; this.colDofatSarfId.VisibleIndex = 17; this.colDofatSarfId.Width = 99; // // repositoryItemLookUpEditDofatSarfId // this.repositoryItemLookUpEditDofatSarfId.AutoHeight = false; this.repositoryItemLookUpEditDofatSarfId.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemLookUpEditDofatSarfId.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("DofatSarf", "الاسم", 61, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)}); this.repositoryItemLookUpEditDofatSarfId.DataSource = this.LSMSDofatSarfId; this.repositoryItemLookUpEditDofatSarfId.DisplayMember = "DofatSarf"; this.repositoryItemLookUpEditDofatSarfId.Name = "repositoryItemLookUpEditDofatSarfId"; this.repositoryItemLookUpEditDofatSarfId.NullText = ""; this.repositoryItemLookUpEditDofatSarfId.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; this.repositoryItemLookUpEditDofatSarfId.ValueMember = "DofatSarfId"; // // LSMSDofatSarfId // this.LSMSDofatSarfId.ElementType = typeof(RetirementCenter.DataSources.Linq.TBLDofatSarf); this.LSMSDofatSarfId.KeyExpression = "[DofatSarfId]"; // // gridColumn1 // this.gridColumn1.AppearanceCell.Options.UseTextOptions = true; this.gridColumn1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn1.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn1.Caption = "رقم صرف"; this.gridColumn1.FieldName = "sarfnumber"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 18; // // gridColumn3 // this.gridColumn3.AppearanceCell.Options.UseTextOptions = true; this.gridColumn3.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn3.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn3.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn3.Caption = "كود الاب"; this.gridColumn3.FieldName = "MMashatId"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 19; // // colDofatSarfAId1 // this.colDofatSarfAId1.AppearanceCell.Options.UseTextOptions = true; this.colDofatSarfAId1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colDofatSarfAId1.AppearanceHeader.Options.UseTextOptions = true; this.colDofatSarfAId1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colDofatSarfAId1.Caption = "كود الدفعة"; this.colDofatSarfAId1.FieldName = "DofatSarfAId"; this.colDofatSarfAId1.Name = "colDofatSarfAId1"; this.colDofatSarfAId1.Visible = true; this.colDofatSarfAId1.VisibleIndex = 2; // // colamanattypeid // this.colamanattypeid.AppearanceCell.Options.UseTextOptions = true; this.colamanattypeid.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colamanattypeid.AppearanceHeader.Options.UseTextOptions = true; this.colamanattypeid.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colamanattypeid.Caption = "نوع الامانات"; this.colamanattypeid.ColumnEdit = this.repositoryItemLookUpEditamanattypeid; this.colamanattypeid.FieldName = "amanattypeid"; this.colamanattypeid.Name = "colamanattypeid"; this.colamanattypeid.Visible = true; this.colamanattypeid.VisibleIndex = 20; // // repositoryItemLookUpEditamanattypeid // this.repositoryItemLookUpEditamanattypeid.AutoHeight = false; this.repositoryItemLookUpEditamanattypeid.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemLookUpEditamanattypeid.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("amanattype", "الاسم", 68, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)}); this.repositoryItemLookUpEditamanattypeid.DataSource = this.LSMScd_amanattype; this.repositoryItemLookUpEditamanattypeid.DisplayMember = "amanattype"; this.repositoryItemLookUpEditamanattypeid.Name = "repositoryItemLookUpEditamanattypeid"; this.repositoryItemLookUpEditamanattypeid.NullText = ""; this.repositoryItemLookUpEditamanattypeid.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; this.repositoryItemLookUpEditamanattypeid.ValueMember = "amanattypeid"; // // LSMScd_amanattype // this.LSMScd_amanattype.ElementType = typeof(RetirementCenter.DataSources.Linq.cd_amanattype); this.LSMScd_amanattype.KeyExpression = "[amanattypeid]"; // // coldateReview // this.coldateReview.AppearanceCell.Options.UseTextOptions = true; this.coldateReview.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.coldateReview.AppearanceHeader.Options.UseTextOptions = true; this.coldateReview.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.coldateReview.Caption = "تاريخ مراجعة حسابات"; this.coldateReview.ColumnEdit = this.repositoryItemDateEditdatein; this.coldateReview.FieldName = "dateReview"; this.coldateReview.Name = "coldateReview"; this.coldateReview.Visible = true; this.coldateReview.VisibleIndex = 14; this.coldateReview.Width = 116; // // repositoryItemCalcEditf2 // this.repositoryItemCalcEditf2.AutoHeight = false; this.repositoryItemCalcEditf2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemCalcEditf2.DisplayFormat.FormatString = "f2"; this.repositoryItemCalcEditf2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.repositoryItemCalcEditf2.EditFormat.FormatString = "f2"; this.repositoryItemCalcEditf2.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.repositoryItemCalcEditf2.Mask.EditMask = "f2"; this.repositoryItemCalcEditf2.Name = "repositoryItemCalcEditf2"; // // repositoryItemDateEditDMY // this.repositoryItemDateEditDMY.AutoHeight = false; this.repositoryItemDateEditDMY.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemDateEditDMY.DisplayFormat.FormatString = "dd/MM/yyyy"; this.repositoryItemDateEditDMY.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.repositoryItemDateEditDMY.EditFormat.FormatString = "dd/MM/yyyy"; this.repositoryItemDateEditDMY.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.repositoryItemDateEditDMY.Mask.EditMask = "dd/MM/yyyy"; this.repositoryItemDateEditDMY.Name = "repositoryItemDateEditDMY"; this.repositoryItemDateEditDMY.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); // // repositoryItemGridLookUpEditSyndicateId // this.repositoryItemGridLookUpEditSyndicateId.AutoHeight = false; this.repositoryItemGridLookUpEditSyndicateId.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", -1, true, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, true)}); this.repositoryItemGridLookUpEditSyndicateId.DisplayMember = "Syndicate"; this.repositoryItemGridLookUpEditSyndicateId.Name = "repositoryItemGridLookUpEditSyndicateId"; this.repositoryItemGridLookUpEditSyndicateId.NullText = ""; this.repositoryItemGridLookUpEditSyndicateId.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; this.repositoryItemGridLookUpEditSyndicateId.ValueMember = "SyndicateId"; this.repositoryItemGridLookUpEditSyndicateId.View = this.repositoryItemGridLookUpEdit1View; // // repositoryItemGridLookUpEdit1View // this.repositoryItemGridLookUpEdit1View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colSyndicate}); this.repositoryItemGridLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.repositoryItemGridLookUpEdit1View.Name = "repositoryItemGridLookUpEdit1View"; this.repositoryItemGridLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false; this.repositoryItemGridLookUpEdit1View.OptionsView.ShowGroupPanel = false; // // colSyndicate // this.colSyndicate.AppearanceCell.Options.UseTextOptions = true; this.colSyndicate.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSyndicate.AppearanceHeader.Options.UseTextOptions = true; this.colSyndicate.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSyndicate.Caption = "الفرعيه"; this.colSyndicate.FieldName = "Syndicate"; this.colSyndicate.Name = "colSyndicate"; this.colSyndicate.Visible = true; this.colSyndicate.VisibleIndex = 0; // // repositoryItemCalcEditn0 // this.repositoryItemCalcEditn0.AutoHeight = false; this.repositoryItemCalcEditn0.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemCalcEditn0.DisplayFormat.FormatString = "n0"; this.repositoryItemCalcEditn0.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.repositoryItemCalcEditn0.EditFormat.FormatString = "n0"; this.repositoryItemCalcEditn0.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.repositoryItemCalcEditn0.Mask.EditMask = "n0"; this.repositoryItemCalcEditn0.Name = "repositoryItemCalcEditn0"; // // repositoryItemCheckEditCardType // this.repositoryItemCheckEditCardType.AutoHeight = false; this.repositoryItemCheckEditCardType.Name = "repositoryItemCheckEditCardType"; // // colEDARET // this.colEDARET.AppearanceCell.Options.UseTextOptions = true; this.colEDARET.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEDARET.AppearanceHeader.Options.UseTextOptions = true; this.colEDARET.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEDARET.Caption = "اسم الاداره"; this.colEDARET.FieldName = "EDARET"; this.colEDARET.Name = "colEDARET"; this.colEDARET.Visible = true; this.colEDARET.VisibleIndex = 0; // // colEDARET1 // this.colEDARET1.AppearanceCell.Options.UseTextOptions = true; this.colEDARET1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEDARET1.AppearanceHeader.Options.UseTextOptions = true; this.colEDARET1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEDARET1.Caption = "الادارة"; this.colEDARET1.FieldName = "EDARET"; this.colEDARET1.Name = "colEDARET1"; this.colEDARET1.Visible = true; this.colEDARET1.VisibleIndex = 0; // // colEdaraMandopName // this.colEdaraMandopName.AppearanceCell.Options.UseTextOptions = true; this.colEdaraMandopName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEdaraMandopName.AppearanceHeader.Options.UseTextOptions = true; this.colEdaraMandopName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEdaraMandopName.Caption = "الاسم"; this.colEdaraMandopName.FieldName = "EdaraMandopName"; this.colEdaraMandopName.Name = "colEdaraMandopName"; this.colEdaraMandopName.Visible = true; this.colEdaraMandopName.VisibleIndex = 0; // // colnkapaMandopName // this.colnkapaMandopName.AppearanceCell.Options.UseTextOptions = true; this.colnkapaMandopName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colnkapaMandopName.AppearanceHeader.Options.UseTextOptions = true; this.colnkapaMandopName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colnkapaMandopName.Caption = "الاسم"; this.colnkapaMandopName.FieldName = "nkapaMandopName"; this.colnkapaMandopName.Name = "colnkapaMandopName"; this.colnkapaMandopName.Visible = true; this.colnkapaMandopName.VisibleIndex = 0; // // gridColumn2 // this.gridColumn2.AppearanceCell.Options.UseTextOptions = true; this.gridColumn2.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn2.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn2.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn2.Caption = "اسم الشهر"; this.gridColumn2.FieldName = "MonthName"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 0; // // groupControl1 // this.groupControl1.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.groupControl1.Controls.Add(this.gridControlData); this.groupControl1.Location = new System.Drawing.Point(12, 12); this.groupControl1.Name = "groupControl1"; this.groupControl1.Size = new System.Drawing.Size(760, 296); this.groupControl1.TabIndex = 1; // // groupControl2 // this.groupControl2.AllowTouchScroll = true; this.groupControl2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupControl2.Controls.Add(this.btnNew); this.groupControl2.Location = new System.Drawing.Point(12, 314); this.groupControl2.Name = "groupControl2"; this.groupControl2.Size = new System.Drawing.Size(760, 62); this.groupControl2.TabIndex = 2; // // btnNew // this.btnNew.Anchor = System.Windows.Forms.AnchorStyles.Right; this.btnNew.Image = global::RetirementCenter.Properties.Resources.Add; this.btnNew.Location = new System.Drawing.Point(555, 23); this.btnNew.Name = "btnNew"; this.btnNew.Size = new System.Drawing.Size(200, 35); this.btnNew.TabIndex = 0; this.btnNew.Text = "جديد"; this.btnNew.Click += new System.EventHandler(this.btnNew_Click); // // tblWarasaAmanatTableAdapter // this.tblWarasaAmanatTableAdapter.ClearBeforeFill = true; // // cdDofaatAmanatTableAdapter // this.cdDofaatAmanatTableAdapter.ClearBeforeFill = true; // // usersTableAdapter // this.usersTableAdapter.ClearBeforeFill = true; // // gridColumn4 // this.gridColumn4.AppearanceCell.Options.UseTextOptions = true; this.gridColumn4.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn4.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn4.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn4.Caption = "كود 60"; this.gridColumn4.FieldName = "code60"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 0; // // TblWarasaAmanatFrm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(784, 388); this.Controls.Add(this.groupControl2); this.Controls.Add(this.groupControl1); this.Name = "TblWarasaAmanatFrm"; this.Text = "امانات الورثة"; this.Load += new System.EventHandler(this.FormFrm_Load); ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tblWarasaAmanatBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsRetirementCenter)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditDofatSarfAId)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cdDofaatAmanatBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditPersonId)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.LSMSTBLWarasa)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoExEditamanatrem)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditdatein.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditdatein)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdituserin)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.usersBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditSave)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditDel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditDofatSarfId)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.LSMSDofatSarfId)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditamanattypeid)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.LSMScd_amanattype)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEditf2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditSyndicateId)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdit1View)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEditn0)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEditCardType)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit(); this.groupControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit(); this.groupControl2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmClass)); this.grpMDClass = new DevExpress.XtraEditors.GroupControl(); this.btnClass_Add = new DevExpress.XtraEditors.SimpleButton(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.btnClass_Del = new DevExpress.XtraEditors.SimpleButton(); this.btn_Add = new DevExpress.XtraEditors.SimpleButton(); this.btn_Del = new DevExpress.XtraEditors.SimpleButton(); this.groupControl2 = new DevExpress.XtraEditors.GroupControl(); this.gridControlMd_ClassType = new DevExpress.XtraGrid.GridControl(); this.gridViewMd_ClassType = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.groupControl1 = new DevExpress.XtraEditors.GroupControl(); this.gridControlMD_Class = new DevExpress.XtraGrid.GridControl(); this.gridViewMd_Class = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.lk_RPClassType = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); ((System.ComponentModel.ISupportInitialize)(this.grpMDClass)).BeginInit(); this.grpMDClass.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit(); this.groupControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControlMd_ClassType)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMd_ClassType)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit(); this.groupControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControlMD_Class)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMd_Class)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lk_RPClassType)).BeginInit(); this.SuspendLayout(); // // grpMDClass // this.grpMDClass.Appearance.BackColor = System.Drawing.SystemColors.Control; this.grpMDClass.Appearance.Options.UseBackColor = true; this.grpMDClass.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple; this.grpMDClass.Controls.Add(this.btnClass_Add); this.grpMDClass.Controls.Add(this.btnClass_Del); this.grpMDClass.Controls.Add(this.btn_Add); this.grpMDClass.Controls.Add(this.btn_Del); this.grpMDClass.Controls.Add(this.groupControl2); this.grpMDClass.Controls.Add(this.groupControl1); this.grpMDClass.ImeMode = System.Windows.Forms.ImeMode.On; this.grpMDClass.Location = new System.Drawing.Point(8, 0); this.grpMDClass.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003; this.grpMDClass.LookAndFeel.UseDefaultLookAndFeel = false; this.grpMDClass.LookAndFeel.UseWindowsXPTheme = false; this.grpMDClass.Name = "grpMDClass"; this.grpMDClass.Size = new System.Drawing.Size(970, 560); this.grpMDClass.TabIndex = 33; this.grpMDClass.Text = "Class"; // // btnClass_Add // this.btnClass_Add.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.btnClass_Add.Appearance.Options.UseFont = true; this.btnClass_Add.Appearance.Options.UseTextOptions = true; this.btnClass_Add.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.btnClass_Add.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top; this.btnClass_Add.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.btnClass_Add.ImageIndex = 0; this.btnClass_Add.ImageList = this.imageList1; this.btnClass_Add.ImeMode = System.Windows.Forms.ImeMode.On; this.btnClass_Add.Location = new System.Drawing.Point(8, 272); this.btnClass_Add.Name = "btnClass_Add"; this.btnClass_Add.Size = new System.Drawing.Size(38, 16); this.btnClass_Add.TabIndex = 134; this.btnClass_Add.Click += new System.EventHandler(this.btnClass_Add_Click); // // imageList1 // this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit; this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Magenta; // // btnClass_Del // this.btnClass_Del.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.btnClass_Del.Appearance.Options.UseFont = true; this.btnClass_Del.Appearance.Options.UseTextOptions = true; this.btnClass_Del.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.btnClass_Del.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top; this.btnClass_Del.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.btnClass_Del.ImageIndex = 1; this.btnClass_Del.ImageList = this.imageList1; this.btnClass_Del.Location = new System.Drawing.Point(48, 272); this.btnClass_Del.Name = "btnClass_Del"; this.btnClass_Del.Size = new System.Drawing.Size(38, 16); this.btnClass_Del.TabIndex = 133; this.btnClass_Del.Click += new System.EventHandler(this.btnClass_Del_Click); // // btn_Add // this.btn_Add.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.btn_Add.Appearance.Options.UseFont = true; this.btn_Add.Appearance.Options.UseTextOptions = true; this.btn_Add.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.btn_Add.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top; this.btn_Add.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.btn_Add.ImageIndex = 0; this.btn_Add.ImageList = this.imageList1; this.btn_Add.ImeMode = System.Windows.Forms.ImeMode.On; this.btn_Add.Location = new System.Drawing.Point(8, 24); this.btn_Add.Name = "btn_Add"; this.btn_Add.Size = new System.Drawing.Size(38, 16); this.btn_Add.TabIndex = 132; this.btn_Add.Click += new System.EventHandler(this.btn_Add_Click); // // btn_Del // this.btn_Del.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.btn_Del.Appearance.Options.UseFont = true; this.btn_Del.Appearance.Options.UseTextOptions = true; this.btn_Del.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.btn_Del.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top; this.btn_Del.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.btn_Del.ImageIndex = 1; this.btn_Del.ImageList = this.imageList1; this.btn_Del.Location = new System.Drawing.Point(48, 24); this.btn_Del.Name = "btn_Del"; this.btn_Del.Size = new System.Drawing.Size(38, 16); this.btn_Del.TabIndex = 131; this.btn_Del.Click += new System.EventHandler(this.btn_Del_Click); // // groupControl2 // this.groupControl2.Controls.Add(this.gridControlMd_ClassType); this.groupControl2.Location = new System.Drawing.Point(0, 48); this.groupControl2.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003; this.groupControl2.LookAndFeel.UseDefaultLookAndFeel = false; this.groupControl2.LookAndFeel.UseWindowsXPTheme = false; this.groupControl2.Name = "groupControl2"; this.groupControl2.Size = new System.Drawing.Size(968, 216); this.groupControl2.TabIndex = 128; this.groupControl2.Text = "Class Type"; // // gridControlMd_ClassType // this.gridControlMd_ClassType.Dock = System.Windows.Forms.DockStyle.Top; // // gridControlMd_ClassType.EmbeddedNavigator // this.gridControlMd_ClassType.EmbeddedNavigator.Name = ""; this.gridControlMd_ClassType.Location = new System.Drawing.Point(2, 20); this.gridControlMd_ClassType.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Skin; this.gridControlMd_ClassType.LookAndFeel.UseDefaultLookAndFeel = false; this.gridControlMd_ClassType.MainView = this.gridViewMd_ClassType; this.gridControlMd_ClassType.Name = "gridControlMd_ClassType"; this.gridControlMd_ClassType.Size = new System.Drawing.Size(964, 194); this.gridControlMd_ClassType.TabIndex = 126; this.gridControlMd_ClassType.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewMd_ClassType }); // // gridViewMd_ClassType // this.gridViewMd_ClassType.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn3, this.gridColumn4 }); this.gridViewMd_ClassType.GridControl = this.gridControlMd_ClassType; this.gridViewMd_ClassType.Name = "gridViewMd_ClassType"; this.gridViewMd_ClassType.OptionsCustomization.AllowColumnMoving = false; this.gridViewMd_ClassType.OptionsCustomization.AllowFilter = false; this.gridViewMd_ClassType.OptionsCustomization.AllowSort = false; this.gridViewMd_ClassType.OptionsView.ShowGroupPanel = false; this.gridViewMd_ClassType.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridViewMd_ClassType_FocusedRowChanged); this.gridViewMd_ClassType.LostFocus += new System.EventHandler(this.gridViewMd_ClassType_LostFocus); // // gridColumn3 // this.gridColumn3.Caption = "Class Type Id"; this.gridColumn3.FieldName = "nClassTypeID"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 0; // // gridColumn4 // this.gridColumn4.Caption = "Description"; this.gridColumn4.FieldName = "strDescription"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 1; // // groupControl1 // this.groupControl1.Controls.Add(this.gridControlMD_Class); this.groupControl1.Location = new System.Drawing.Point(0, 296); this.groupControl1.LookAndFeel.SkinName = "The Asphalt World"; this.groupControl1.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003; this.groupControl1.LookAndFeel.UseDefaultLookAndFeel = false; this.groupControl1.LookAndFeel.UseWindowsXPTheme = false; this.groupControl1.Name = "groupControl1"; this.groupControl1.Size = new System.Drawing.Size(968, 256); this.groupControl1.TabIndex = 127; this.groupControl1.Text = "Class"; // // gridControlMD_Class // this.gridControlMD_Class.Dock = System.Windows.Forms.DockStyle.Top; // // gridControlMD_Class.EmbeddedNavigator // this.gridControlMD_Class.EmbeddedNavigator.Name = ""; this.gridControlMD_Class.Location = new System.Drawing.Point(2, 20); this.gridControlMD_Class.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Skin; this.gridControlMD_Class.LookAndFeel.UseDefaultLookAndFeel = false; this.gridControlMD_Class.MainView = this.gridViewMd_Class; this.gridControlMD_Class.Name = "gridControlMD_Class"; this.gridControlMD_Class.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.lk_RPClassType }); this.gridControlMD_Class.Size = new System.Drawing.Size(964, 250); this.gridControlMD_Class.TabIndex = 127; this.gridControlMD_Class.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewMd_Class }); // // gridViewMd_Class // this.gridViewMd_Class.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.gridColumn2 }); this.gridViewMd_Class.GridControl = this.gridControlMD_Class; this.gridViewMd_Class.Name = "gridViewMd_Class"; this.gridViewMd_Class.OptionsCustomization.AllowFilter = false; this.gridViewMd_Class.OptionsCustomization.AllowSort = false; this.gridViewMd_Class.OptionsView.ShowGroupPanel = false; this.gridViewMd_Class.LostFocus += new System.EventHandler(this.gridViewMd_Class_LostFocus); // // gridColumn1 // this.gridColumn1.Caption = "Class Code"; this.gridColumn1.FieldName = "strClassCode"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; // // gridColumn2 // this.gridColumn2.Caption = "Description"; this.gridColumn2.FieldName = "strDescription"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 1; // // lk_RPClassType // this.lk_RPClassType.AutoHeight = false; this.lk_RPClassType.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.lk_RPClassType.Name = "lk_RPClassType"; // // frmClass // this.AutoScale = false; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(990, 560); this.Controls.Add(this.grpMDClass); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "frmClass"; this.Text = "frmClass"; this.Load += new System.EventHandler(this.frmClass_Load); ((System.ComponentModel.ISupportInitialize)(this.grpMDClass)).EndInit(); this.grpMDClass.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit(); this.groupControl2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControlMd_ClassType)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMd_ClassType)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit(); this.groupControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControlMD_Class)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMd_Class)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lk_RPClassType)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.textBox1 = new System.Windows.Forms.TextBox(); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); this.SuspendLayout(); // // labelControl1 // this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 20F); this.labelControl1.Location = new System.Drawing.Point(2, 0); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(385, 33); this.labelControl1.TabIndex = 0; this.labelControl1.Text = "Near Expiry Batches Information"; // // labelControl2 // this.labelControl2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labelControl2.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.labelControl2.Location = new System.Drawing.Point(611, 8); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(96, 16); this.labelControl2.TabIndex = 1; this.labelControl2.Text = "Near Expiry Days"; // // textBox1 // this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.textBox1.Location = new System.Drawing.Point(712, 6); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(100, 21); this.textBox1.TabIndex = 2; // // gridControl1 // this.gridControl1.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.gridControl1.Cursor = System.Windows.Forms.Cursors.Default; this.gridControl1.Location = new System.Drawing.Point(2, 33); this.gridControl1.MainView = this.gridView1; this.gridControl1.Name = "gridControl1"; this.gridControl1.Size = new System.Drawing.Size(810, 392); this.gridControl1.TabIndex = 3; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1}); // // gridView1 // this.gridView1.Appearance.HeaderPanel.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridView1.Appearance.HeaderPanel.Options.UseFont = true; this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.gridColumn2, this.gridColumn3, this.gridColumn4, this.gridColumn5, this.gridColumn6, this.gridColumn7, this.gridColumn8, this.gridColumn9, this.gridColumn10}); this.gridView1.GridControl = this.gridControl1; this.gridView1.Name = "gridView1"; // // gridColumn1 // this.gridColumn1.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9.75F); this.gridColumn1.AppearanceHeader.Options.UseFont = true; this.gridColumn1.Caption = "P. ID"; this.gridColumn1.FieldName = "P_ID"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; this.gridColumn1.Width = 54; // // gridColumn2 // this.gridColumn2.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9.75F); this.gridColumn2.AppearanceHeader.Options.UseFont = true; this.gridColumn2.Caption = "Product Name"; this.gridColumn2.FieldName = "Product_Name"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 1; this.gridColumn2.Width = 158; // // gridColumn3 // this.gridColumn3.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9.75F); this.gridColumn3.AppearanceHeader.Options.UseFont = true; this.gridColumn3.Caption = "Pack"; this.gridColumn3.FieldName = "Pack"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 2; this.gridColumn3.Width = 69; // // gridColumn4 // this.gridColumn4.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9.75F); this.gridColumn4.AppearanceHeader.Options.UseFont = true; this.gridColumn4.Caption = "Type"; this.gridColumn4.FieldName = "Type"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 3; this.gridColumn4.Width = 69; // // gridColumn5 // this.gridColumn5.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9.75F); this.gridColumn5.AppearanceHeader.Options.UseFont = true; this.gridColumn5.Caption = "Batch No."; this.gridColumn5.FieldName = "Batch_No"; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.Visible = true; this.gridColumn5.VisibleIndex = 4; this.gridColumn5.Width = 71; // // gridColumn6 // this.gridColumn6.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9.75F); this.gridColumn6.AppearanceHeader.Options.UseFont = true; this.gridColumn6.Caption = "Expiry Date"; this.gridColumn6.FieldName = "Exp_Date"; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 5; this.gridColumn6.Width = 82; // // gridColumn7 // this.gridColumn7.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9.75F); this.gridColumn7.AppearanceHeader.Options.UseFont = true; this.gridColumn7.Caption = "T.P"; this.gridColumn7.FieldName = "T_P"; this.gridColumn7.Name = "gridColumn7"; this.gridColumn7.Visible = true; this.gridColumn7.VisibleIndex = 6; this.gridColumn7.Width = 69; // // gridColumn8 // this.gridColumn8.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9.75F); this.gridColumn8.AppearanceHeader.Options.UseFont = true; this.gridColumn8.Caption = "Balance"; this.gridColumn8.FieldName = "Balance"; this.gridColumn8.Name = "gridColumn8"; this.gridColumn8.Visible = true; this.gridColumn8.VisibleIndex = 7; this.gridColumn8.Width = 69; // // gridColumn9 // this.gridColumn9.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9.75F); this.gridColumn9.AppearanceHeader.Options.UseFont = true; this.gridColumn9.Caption = "Block"; this.gridColumn9.FieldName = "Block"; this.gridColumn9.Name = "gridColumn9"; this.gridColumn9.Visible = true; this.gridColumn9.VisibleIndex = 8; this.gridColumn9.Width = 59; // // gridColumn10 // this.gridColumn10.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9.75F); this.gridColumn10.AppearanceHeader.Options.UseFont = true; this.gridColumn10.Caption = "Value @ T.P"; this.gridColumn10.FieldName = "Value_TP"; this.gridColumn10.Name = "gridColumn10"; this.gridColumn10.Visible = true; this.gridColumn10.VisibleIndex = 9; this.gridColumn10.Width = 92; // // frmNearExpiry // this.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(236)))), ((int)(((byte)(239))))); this.Appearance.Options.UseBackColor = true; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(817, 458); this.Controls.Add(this.gridControl1); this.Controls.Add(this.textBox1); this.Controls.Add(this.labelControl2); this.Controls.Add(this.labelControl1); this.Name = "frmNearExpiry"; this.ShowIcon = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Near Expiry Batches"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmNearExpiry_FormClosing); this.Load += new System.EventHandler(this.frmNearExpiry_Load); this.Resize += new System.EventHandler(this.frmNearExpiry_Resize); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
//Save Courses private bool SaveCourses() { bool retval = false; OleDbConnection sqlConn = new OleDbConnection(DB.getConnectionString); OleDbTransaction sqlTrans = null; int CourseID = 0; bool toBeInserted = false; try { sqlConn.Open(); sqlTrans = sqlConn.BeginTransaction(); for (int i = 0; i < CourseView.RowCount; i++) { if (Convert.ToBoolean(CourseView.GetRowCellValue(i, "Edited"))) { if (string.IsNullOrEmpty(CourseView.GetRowCellValue(i, "ID").ToString())) { CourseID = 0; using (OleDbCommand cmd = new OleDbCommand()) { cmd.Connection = sqlConn; cmd.Transaction = sqlTrans; cmd.CommandText = "INSERT INTO tblAdmCourse(" + "Name" + ",SortCode" + ",Description" + ",DateStarted" + ",DateEnd" + ")VALUES(" + "@Name" + ",@SortCode" + ",@Description" + ",@DateStarted" + ",@DateEnd" + ")"; cmd.Parameters.AddWithValue("@Name", CourseView.GetRowCellValue(i, "Name")); cmd.Parameters.AddWithValue("@SortCode", CourseView.GetRowCellValue(i, "SortCode")); cmd.Parameters.AddWithValue("@Description", CourseView.GetRowCellValue(i, "Description")); cmd.Parameters.AddWithValue("@DateStarted", CourseView.GetRowCellValue(i, "DateStarted")); cmd.Parameters.AddWithValue("@DateEnd", CourseView.GetRowCellValue(i, "DateEnd")); toBeInserted = cmd.ExecuteNonQuery().Equals(1); cmd.CommandText = "SELECT @@IDENTITY"; CourseID = (int)cmd.ExecuteScalar(); } } else { CourseID = (int)CourseView.GetRowCellValue(i, "ID"); using (OleDbCommand cmd = new OleDbCommand()) { cmd.Connection = sqlConn; cmd.Transaction = sqlTrans; cmd.CommandText = "UPDATE tblAdmCourse " + " SET [Name] = @Name" + ",[SortCode] = @SortCode" + ",[Description] = @Description" + ",[DateStarted] = @DateStarted" + ",[DateEnd] = @DateEnd" + ",[DateUpdated] = Now" + " WHERE [ID]=@ID"; cmd.Parameters.AddWithValue("@Name", CourseView.GetRowCellValue(i, "Name")); cmd.Parameters.AddWithValue("@SortCode", CourseView.GetRowCellValue(i, "SortCode")); cmd.Parameters.AddWithValue("@Description", CourseView.GetRowCellValue(i, "Description")); cmd.Parameters.AddWithValue("@DateStarted", CourseView.GetRowCellValue(i, "DateStarted")); cmd.Parameters.AddWithValue("@DateEnd", CourseView.GetRowCellValue(i, "DateEnd")); cmd.Parameters.AddWithValue("@ID", CourseView.GetRowCellValue(i, "ID")); toBeInserted = cmd.ExecuteNonQuery().Equals(1); } } //Child Sub View DevExpress.XtraGrid.Views.Grid.GridView childView = (DevExpress.XtraGrid.Views.Grid.GridView)CourseView.GetDetailView(i, CourseView.GetRelationIndex(i, "Course_Series")); for (int subViewRow = 0; subViewRow < childView.RowCount; subViewRow++) { if (Convert.ToBoolean(childView.GetRowCellValue(subViewRow, "Edited"))) { if (string.IsNullOrEmpty(childView.GetRowCellValue(subViewRow, "ID").ToString())) { using (OleDbCommand cmd = new OleDbCommand()) { cmd.Connection = sqlConn; cmd.Transaction = sqlTrans; cmd.CommandText = "INSERT INTO tblCourseSeries(" + "[FKeyCourse]" + ",[Name]" + ",[Description]" + ",[SortCode]" + ")VALUES(" + "@FKeyCourse" + ",@Name" + ",@Description" + ",@SortCode" + ")"; cmd.Parameters.AddWithValue("@FKeyCourse", CourseID); cmd.Parameters.AddWithValue("@Name", childView.GetRowCellValue(subViewRow, "Name")); cmd.Parameters.AddWithValue("@Description", childView.GetRowCellValue(subViewRow, "Description")); cmd.Parameters.AddWithValue("@SortCode", childView.GetRowCellValue(subViewRow, "SortCode")); toBeInserted = cmd.ExecuteNonQuery().Equals(1); } } else { using (OleDbCommand cmd = new OleDbCommand()) { cmd.Connection = sqlConn; cmd.Transaction = sqlTrans; cmd.CommandText = "UPDATE tblCourseSeries " + " SET [Name] = @Name" + ",[SortCode] = @SortCode" + ",[Description] = @Description" + ",[DateUpdated] = (Now())" + " WHERE ((([ID])=@ID) AND (([FKeyCourse])=@FKeyCourse))"; cmd.Parameters.AddWithValue("@Name", childView.GetRowCellValue(subViewRow, "Name").ToString()); cmd.Parameters.AddWithValue("@SortCode", childView.GetRowCellValue(subViewRow, "SortCode")); cmd.Parameters.AddWithValue("@Description", childView.GetRowCellValue(subViewRow, "Description").ToString()); cmd.Parameters.AddWithValue("@ID", childView.GetRowCellValue(subViewRow, "ID")); cmd.Parameters.AddWithValue("@FKeyCourse", childView.GetRowCellValue(subViewRow, "FKeyCourse")); toBeInserted = cmd.ExecuteNonQuery().Equals(1); } } } } } } if (toBeInserted) { sqlTrans.Commit(); retval = true; } } catch (Exception ex) { retval = false; sqlTrans.Rollback(); MessageBox.Show(ex.Message, Application.ProductName); } finally { if (sqlConn.State == ConnectionState.Open) { sqlConn.Close(); } } return(retval); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormPlanTable_HuanBei)); this.barManager1 = new DevExpress.XtraBars.BarManager(); this.bar1 = new DevExpress.XtraBars.Bar(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem(); this.bar2 = new DevExpress.XtraBars.Bar(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); this.SuspendLayout(); // // barManager1 // this.barManager1.AllowCustomization = false; this.barManager1.AllowQuickCustomization = false; this.barManager1.AllowShowToolbarsPopup = false; this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar1, this.bar2}); this.barManager1.DockControls.Add(this.barDockControlTop); this.barManager1.DockControls.Add(this.barDockControlBottom); this.barManager1.DockControls.Add(this.barDockControlLeft); this.barManager1.DockControls.Add(this.barDockControlRight); this.barManager1.Form = this; this.barManager1.Images = this.imageList1; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barButtonItem1, this.barButtonItem2, this.barButtonItem3, this.barButtonItem4, this.barButtonItem5}); this.barManager1.MaxItemId = 5; this.barManager1.StatusBar = this.bar2; // // bar1 // this.bar1.BarName = "Custom 1"; this.bar1.DockCol = 0; this.bar1.DockRow = 0; this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem2), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem3), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem5, true)}); this.bar1.OptionsBar.AllowQuickCustomization = false; this.bar1.OptionsBar.DrawDragBorder = false; this.bar1.OptionsBar.UseWholeRow = true; this.bar1.Text = "Custom 1"; // // barButtonItem1 // this.barButtonItem1.Caption = "新建计划表"; this.barButtonItem1.Id = 0; this.barButtonItem1.ImageIndex = 4; this.barButtonItem1.Name = "barButtonItem1"; this.barButtonItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick); // // barButtonItem2 // this.barButtonItem2.Caption = "修改计划表"; this.barButtonItem2.Id = 1; this.barButtonItem2.ImageIndex = 5; this.barButtonItem2.Name = "barButtonItem2"; this.barButtonItem2.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.barButtonItem2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem2_ItemClick); // // barButtonItem3 // this.barButtonItem3.Caption = "删除计划表"; this.barButtonItem3.Id = 2; this.barButtonItem3.ImageIndex = 2; this.barButtonItem3.Name = "barButtonItem3"; this.barButtonItem3.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.barButtonItem3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem3_ItemClick); // // barButtonItem4 // this.barButtonItem4.Caption = "查看计划表内容"; this.barButtonItem4.Id = 3; this.barButtonItem4.ImageIndex = 8; this.barButtonItem4.Name = "barButtonItem4"; this.barButtonItem4.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.barButtonItem4.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem4_ItemClick); // // barButtonItem5 // this.barButtonItem5.Caption = "关闭"; this.barButtonItem5.Id = 4; this.barButtonItem5.ImageIndex = 10; this.barButtonItem5.Name = "barButtonItem5"; this.barButtonItem5.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.barButtonItem5.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem5_ItemClick); // // bar2 // this.bar2.BarName = "Custom 2"; this.bar2.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom; this.bar2.DockCol = 0; this.bar2.DockRow = 0; this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom; this.bar2.OptionsBar.AllowQuickCustomization = false; this.bar2.OptionsBar.DrawDragBorder = false; this.bar2.OptionsBar.UseWholeRow = true; this.bar2.Text = "Custom 2"; // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, "保存.ico"); this.imageList1.Images.SetKeyName(1, "打印.ico"); this.imageList1.Images.SetKeyName(2, "删除.ico"); this.imageList1.Images.SetKeyName(3, "添加下级.ico"); this.imageList1.Images.SetKeyName(4, "新建.ico"); this.imageList1.Images.SetKeyName(5, "修改.ico"); this.imageList1.Images.SetKeyName(6, "添加同级.ico"); this.imageList1.Images.SetKeyName(7, "审批.ico"); this.imageList1.Images.SetKeyName(8, "审核.ico"); this.imageList1.Images.SetKeyName(9, "books.ico"); this.imageList1.Images.SetKeyName(10, "关闭.ico"); // // gridControl1 // this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControl1.EmbeddedNavigator.Name = ""; this.gridControl1.Location = new System.Drawing.Point(0, 33); this.gridControl1.MainView = this.gridView1; this.gridControl1.Name = "gridControl1"; this.gridControl1.Size = new System.Drawing.Size(623, 282); this.gridControl1.TabIndex = 4; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1}); this.gridControl1.Click += new System.EventHandler(this.gridControl1_Click); // // gridView1 // this.gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gridView1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridView1.GridControl = this.gridControl1; this.gridView1.Name = "gridView1"; this.gridView1.OptionsBehavior.Editable = false; this.gridView1.OptionsCustomization.AllowFilter = false; this.gridView1.OptionsCustomization.AllowGroup = false; this.gridView1.OptionsCustomization.AllowSort = false; this.gridView1.OptionsMenu.EnableColumnMenu = false; this.gridView1.OptionsMenu.EnableGroupPanelMenu = false; this.gridView1.OptionsView.ShowGroupPanel = false; this.gridView1.DoubleClick += new System.EventHandler(this.gridView1_DoubleClick); this.gridView1.FocusedColumnChanged += new DevExpress.XtraGrid.Views.Base.FocusedColumnChangedEventHandler(this.gridView1_FocusedColumnChanged); // // FormPlanTable_HuanBei // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(623, 336); this.Controls.Add(this.gridControl1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "FormPlanTable_HuanBei"; this.Text = "淮北供电公司2008--2010年110千伏及以上电网规划项目前期计划工作表"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.FormPlanTable_BigUser_Load); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); this.ResumeLayout(false); }
private void CourseView_InitNewRow(object sender, DevExpress.XtraGrid.Views.Grid.InitNewRowEventArgs e) { DevExpress.XtraGrid.Views.Grid.GridView _view = (DevExpress.XtraGrid.Views.Grid.GridView)sender; _view.SetRowCellValue(e.RowHandle, "Edited", true); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.gcUnSub = new Ultra.Surface.Controls.GridControlEx(); this.gvUnSub = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn24 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.tabMain = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); this.gcSubed = new Ultra.Surface.Controls.GridControlEx(); this.gvSubed = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn25 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn(); this.xtraTabPage4 = new DevExpress.XtraTab.XtraTabPage(); this.gcPrinted = new Ultra.Surface.Controls.GridControlEx(); this.gvPrinted = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn26 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn27 = new DevExpress.XtraGrid.Columns.GridColumn(); this.tabDetail = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPage3 = new DevExpress.XtraTab.XtraTabPage(); this.gcOrder = new Ultra.Surface.Controls.GridControlEx(); this.gvOrder = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn18 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn23 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn22 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn20 = new DevExpress.XtraGrid.Columns.GridColumn(); this.pnlDetail = new DevExpress.XtraEditors.PanelControl(); this.collapsibleSplitter1 = new Ultra.Surface.Controls.CollapsibleSplitter(); this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); ((System.ComponentModel.ISupportInitialize)(this.gcUnSub)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvUnSub)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tabMain)).BeginInit(); this.tabMain.SuspendLayout(); this.xtraTabPage1.SuspendLayout(); this.xtraTabPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gcSubed)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvSubed)).BeginInit(); this.xtraTabPage4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gcPrinted)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvPrinted)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tabDetail)).BeginInit(); this.tabDetail.SuspendLayout(); this.xtraTabPage3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gcOrder)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvOrder)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pnlDetail)).BeginInit(); this.pnlDetail.SuspendLayout(); this.SuspendLayout(); // // myBar // this.myBar.Size = new System.Drawing.Size(630, 60); // // gcUnSub // this.gcUnSub.ColorFieldName = null; this.gcUnSub.Dock = System.Windows.Forms.DockStyle.Fill; this.gcUnSub.Location = new System.Drawing.Point(0, 0); this.gcUnSub.MainView = this.gvUnSub; this.gcUnSub.Name = "gcUnSub"; this.gcUnSub.ShowIndicator = true; this.gcUnSub.ShowRowNumber = true; this.gcUnSub.Size = new System.Drawing.Size(624, 227); this.gcUnSub.TabIndex = 4; this.gcUnSub.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvUnSub}); this.gcUnSub.RowCellDoubleClick += new System.EventHandler<System.Windows.Forms.MouseEventArgs>(this.gridControlEx1_RowCellDoubleClick); // // gvUnSub // this.gvUnSub.Appearance.FocusedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(80)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.gvUnSub.Appearance.FocusedRow.Options.UseBackColor = true; this.gvUnSub.Appearance.SelectedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(80)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.gvUnSub.Appearance.SelectedRow.Options.UseBackColor = true; this.gvUnSub.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.gridColumn2, this.gridColumn3, this.gridColumn24, this.gridColumn4}); this.gvUnSub.GridControl = this.gcUnSub; this.gvUnSub.Name = "gvUnSub"; this.gvUnSub.OptionsBehavior.Editable = false; this.gvUnSub.OptionsView.ColumnAutoWidth = false; this.gvUnSub.OptionsView.EnableAppearanceEvenRow = true; this.gvUnSub.OptionsView.EnableAppearanceOddRow = true; this.gvUnSub.OptionsView.ShowAutoFilterRow = true; this.gvUnSub.OptionsView.ShowGroupPanel = false; // // gridColumn1 // this.gridColumn1.Caption = "顾客姓名"; this.gridColumn1.FieldName = "ReceiverName"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; // // gridColumn2 // this.gridColumn2.Caption = "顾客电话"; this.gridColumn2.FieldName = "ReceiverMobile"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 1; // // gridColumn3 // this.gridColumn3.Caption = "顾客地址"; this.gridColumn3.FieldName = "ReceiverAddress"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 2; // // gridColumn24 // this.gridColumn24.Caption = "出单人"; this.gridColumn24.FieldName = "Creator"; this.gridColumn24.Name = "gridColumn24"; this.gridColumn24.Visible = true; this.gridColumn24.VisibleIndex = 3; // // gridColumn4 // this.gridColumn4.Caption = "创建时间"; this.gridColumn4.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss"; this.gridColumn4.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.gridColumn4.FieldName = "CreateDate"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 4; // // tabMain // this.tabMain.Dock = System.Windows.Forms.DockStyle.Fill; this.tabMain.Location = new System.Drawing.Point(0, 60); this.tabMain.Name = "tabMain"; this.tabMain.SelectedTabPage = this.xtraTabPage1; this.tabMain.Size = new System.Drawing.Size(630, 256); this.tabMain.TabIndex = 5; this.tabMain.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPage1, this.xtraTabPage2, this.xtraTabPage4}); this.tabMain.SelectedPageChanged += new DevExpress.XtraTab.TabPageChangedEventHandler(this.tabMain_SelectedPageChanged); // // xtraTabPage1 // this.xtraTabPage1.Controls.Add(this.gcUnSub); this.xtraTabPage1.Name = "xtraTabPage1"; this.xtraTabPage1.ShowCloseButton = DevExpress.Utils.DefaultBoolean.True; this.xtraTabPage1.Size = new System.Drawing.Size(624, 227); this.xtraTabPage1.Text = "待审核"; // // xtraTabPage2 // this.xtraTabPage2.Controls.Add(this.gcSubed); this.xtraTabPage2.Name = "xtraTabPage2"; this.xtraTabPage2.Size = new System.Drawing.Size(624, 227); this.xtraTabPage2.Text = "已审核"; // // gcSubed // this.gcSubed.ColorFieldName = null; this.gcSubed.Dock = System.Windows.Forms.DockStyle.Fill; this.gcSubed.Location = new System.Drawing.Point(0, 0); this.gcSubed.MainView = this.gvSubed; this.gcSubed.Name = "gcSubed"; this.gcSubed.ShowRowNumber = true; this.gcSubed.Size = new System.Drawing.Size(624, 227); this.gcSubed.TabIndex = 5; this.gcSubed.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvSubed}); // // gvSubed // this.gvSubed.Appearance.FocusedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(80)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.gvSubed.Appearance.FocusedRow.Options.UseBackColor = true; this.gvSubed.Appearance.SelectedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(80)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.gvSubed.Appearance.SelectedRow.Options.UseBackColor = true; this.gvSubed.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn5, this.gridColumn7, this.gridColumn9, this.gridColumn25, this.gridColumn10}); this.gvSubed.GridControl = this.gcSubed; this.gvSubed.Name = "gvSubed"; this.gvSubed.OptionsBehavior.Editable = false; this.gvSubed.OptionsView.ColumnAutoWidth = false; this.gvSubed.OptionsView.EnableAppearanceEvenRow = true; this.gvSubed.OptionsView.EnableAppearanceOddRow = true; this.gvSubed.OptionsView.ShowAutoFilterRow = true; this.gvSubed.OptionsView.ShowGroupPanel = false; // // gridColumn5 // this.gridColumn5.Caption = "顾客姓名"; this.gridColumn5.FieldName = "ReceiverName"; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.Visible = true; this.gridColumn5.VisibleIndex = 0; // // gridColumn7 // this.gridColumn7.Caption = "顾客电话"; this.gridColumn7.FieldName = "ReceiverMobile"; this.gridColumn7.Name = "gridColumn7"; this.gridColumn7.Visible = true; this.gridColumn7.VisibleIndex = 1; // // gridColumn9 // this.gridColumn9.Caption = "顾客地址"; this.gridColumn9.FieldName = "ReceiverAddress"; this.gridColumn9.Name = "gridColumn9"; this.gridColumn9.Visible = true; this.gridColumn9.VisibleIndex = 2; // // gridColumn25 // this.gridColumn25.Caption = "出单人"; this.gridColumn25.FieldName = "Creator"; this.gridColumn25.Name = "gridColumn25"; this.gridColumn25.Visible = true; this.gridColumn25.VisibleIndex = 3; // // gridColumn10 // this.gridColumn10.Caption = "创建时间"; this.gridColumn10.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss"; this.gridColumn10.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.gridColumn10.FieldName = "CreateDate"; this.gridColumn10.Name = "gridColumn10"; this.gridColumn10.Visible = true; this.gridColumn10.VisibleIndex = 4; // // xtraTabPage4 // this.xtraTabPage4.Controls.Add(this.gcPrinted); this.xtraTabPage4.Name = "xtraTabPage4"; this.xtraTabPage4.Size = new System.Drawing.Size(624, 227); this.xtraTabPage4.Text = "已打印"; // // gcPrinted // this.gcPrinted.ColorFieldName = null; this.gcPrinted.Dock = System.Windows.Forms.DockStyle.Fill; this.gcPrinted.Location = new System.Drawing.Point(0, 0); this.gcPrinted.MainView = this.gvPrinted; this.gcPrinted.Name = "gcPrinted"; this.gcPrinted.ShowRowNumber = true; this.gcPrinted.Size = new System.Drawing.Size(624, 227); this.gcPrinted.TabIndex = 6; this.gcPrinted.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvPrinted}); // // gvPrinted // this.gvPrinted.Appearance.FocusedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(80)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.gvPrinted.Appearance.FocusedRow.Options.UseBackColor = true; this.gvPrinted.Appearance.SelectedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(80)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.gvPrinted.Appearance.SelectedRow.Options.UseBackColor = true; this.gvPrinted.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn11, this.gridColumn12, this.gridColumn14, this.gridColumn26, this.gridColumn15, this.gridColumn27}); this.gvPrinted.GridControl = this.gcPrinted; this.gvPrinted.Name = "gvPrinted"; this.gvPrinted.OptionsBehavior.Editable = false; this.gvPrinted.OptionsView.ColumnAutoWidth = false; this.gvPrinted.OptionsView.EnableAppearanceEvenRow = true; this.gvPrinted.OptionsView.EnableAppearanceOddRow = true; this.gvPrinted.OptionsView.ShowAutoFilterRow = true; this.gvPrinted.OptionsView.ShowGroupPanel = false; // // gridColumn11 // this.gridColumn11.Caption = "顾客姓名"; this.gridColumn11.FieldName = "ReceiverName"; this.gridColumn11.Name = "gridColumn11"; this.gridColumn11.Visible = true; this.gridColumn11.VisibleIndex = 0; // // gridColumn12 // this.gridColumn12.Caption = "顾客电话"; this.gridColumn12.FieldName = "ReceiverMobile"; this.gridColumn12.Name = "gridColumn12"; this.gridColumn12.Visible = true; this.gridColumn12.VisibleIndex = 1; // // gridColumn14 // this.gridColumn14.Caption = "顾客地址"; this.gridColumn14.FieldName = "ReceiverAddress"; this.gridColumn14.Name = "gridColumn14"; this.gridColumn14.Visible = true; this.gridColumn14.VisibleIndex = 2; // // gridColumn26 // this.gridColumn26.Caption = "出单人"; this.gridColumn26.FieldName = "Creator"; this.gridColumn26.Name = "gridColumn26"; this.gridColumn26.Visible = true; this.gridColumn26.VisibleIndex = 3; // // gridColumn15 // this.gridColumn15.Caption = "创建时间"; this.gridColumn15.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss"; this.gridColumn15.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.gridColumn15.FieldName = "CreateDate"; this.gridColumn15.Name = "gridColumn15"; this.gridColumn15.Visible = true; this.gridColumn15.VisibleIndex = 4; // // gridColumn27 // this.gridColumn27.Caption = "打印次数"; this.gridColumn27.FieldName = "PrintCnt"; this.gridColumn27.Name = "gridColumn27"; this.gridColumn27.Visible = true; this.gridColumn27.VisibleIndex = 5; // // tabDetail // this.tabDetail.Dock = System.Windows.Forms.DockStyle.Fill; this.tabDetail.Location = new System.Drawing.Point(2, 2); this.tabDetail.Name = "tabDetail"; this.tabDetail.SelectedTabPage = this.xtraTabPage3; this.tabDetail.Size = new System.Drawing.Size(626, 157); this.tabDetail.TabIndex = 6; this.tabDetail.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPage3}); // // xtraTabPage3 // this.xtraTabPage3.Controls.Add(this.gcOrder); this.xtraTabPage3.Name = "xtraTabPage3"; this.xtraTabPage3.Size = new System.Drawing.Size(620, 128); this.xtraTabPage3.Text = "商品信息"; // // gcOrder // this.gcOrder.ColorFieldName = null; this.gcOrder.Dock = System.Windows.Forms.DockStyle.Fill; this.gcOrder.Location = new System.Drawing.Point(0, 0); this.gcOrder.MainView = this.gvOrder; this.gcOrder.Name = "gcOrder"; this.gcOrder.ShowIndicator = true; this.gcOrder.ShowRowNumber = true; this.gcOrder.Size = new System.Drawing.Size(620, 128); this.gcOrder.TabIndex = 5; this.gcOrder.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvOrder}); // // gvOrder // this.gvOrder.Appearance.FocusedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(80)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.gvOrder.Appearance.FocusedRow.Options.UseBackColor = true; this.gvOrder.Appearance.SelectedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(80)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.gvOrder.Appearance.SelectedRow.Options.UseBackColor = true; this.gvOrder.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn16, this.gridColumn17, this.gridColumn6, this.gridColumn18, this.gridColumn23, this.gridColumn22, this.gridColumn20}); this.gvOrder.GridControl = this.gcOrder; this.gvOrder.Name = "gvOrder"; this.gvOrder.OptionsBehavior.Editable = false; this.gvOrder.OptionsView.ColumnAutoWidth = false; this.gvOrder.OptionsView.EnableAppearanceEvenRow = true; this.gvOrder.OptionsView.EnableAppearanceOddRow = true; this.gvOrder.OptionsView.ShowAutoFilterRow = true; this.gvOrder.OptionsView.ShowGroupPanel = false; // // gridColumn16 // this.gridColumn16.Caption = "商品名称"; this.gridColumn16.FieldName = "ItemName"; this.gridColumn16.Name = "gridColumn16"; this.gridColumn16.Visible = true; this.gridColumn16.VisibleIndex = 0; // // gridColumn17 // this.gridColumn17.Caption = "商品编码"; this.gridColumn17.FieldName = "ItemNo"; this.gridColumn17.Name = "gridColumn17"; this.gridColumn17.Visible = true; this.gridColumn17.VisibleIndex = 1; // // gridColumn18 // this.gridColumn18.Caption = "售价"; this.gridColumn18.FieldName = "Price"; this.gridColumn18.Name = "gridColumn18"; this.gridColumn18.Visible = true; this.gridColumn18.VisibleIndex = 3; // // gridColumn23 // this.gridColumn23.Caption = "数量"; this.gridColumn23.FieldName = "Num"; this.gridColumn23.Name = "gridColumn23"; this.gridColumn23.Visible = true; this.gridColumn23.VisibleIndex = 4; // // gridColumn22 // this.gridColumn22.Caption = "总金额"; this.gridColumn22.FieldName = "OrderPrice"; this.gridColumn22.Name = "gridColumn22"; this.gridColumn22.Visible = true; this.gridColumn22.VisibleIndex = 5; // // gridColumn20 // this.gridColumn20.Caption = "创建时间"; this.gridColumn20.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss"; this.gridColumn20.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.gridColumn20.FieldName = "CreateDate"; this.gridColumn20.Name = "gridColumn20"; this.gridColumn20.Visible = true; this.gridColumn20.VisibleIndex = 7; // // pnlDetail // this.pnlDetail.Controls.Add(this.tabDetail); this.pnlDetail.Dock = System.Windows.Forms.DockStyle.Bottom; this.pnlDetail.Location = new System.Drawing.Point(0, 324); this.pnlDetail.Name = "pnlDetail"; this.pnlDetail.Size = new System.Drawing.Size(630, 161); this.pnlDetail.TabIndex = 8; // // collapsibleSplitter1 // this.collapsibleSplitter1.AnimationDelay = 20; this.collapsibleSplitter1.AnimationStep = 20; this.collapsibleSplitter1.BorderStyle3D = System.Windows.Forms.Border3DStyle.Flat; this.collapsibleSplitter1.ControlToHide = this.pnlDetail; this.collapsibleSplitter1.Dock = System.Windows.Forms.DockStyle.Bottom; this.collapsibleSplitter1.ExpandParentForm = true; this.collapsibleSplitter1.Location = new System.Drawing.Point(0, 316); this.collapsibleSplitter1.Name = "collapsibleSplitter1"; this.collapsibleSplitter1.Size = new System.Drawing.Size(630, 8); this.collapsibleSplitter1.TabIndex = 9; this.collapsibleSplitter1.TabStop = false; this.collapsibleSplitter1.UseAnimations = false; this.collapsibleSplitter1.VisualStyle = Ultra.Surface.Controls.VisualStyles.Mozilla; // // gridColumn6 // this.gridColumn6.Caption = "成本"; this.gridColumn6.FieldName = "CostPrice"; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 2; // // MainView // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(630, 485); this.Controls.Add(this.tabMain); this.Controls.Add(this.collapsibleSplitter1); this.Controls.Add(this.pnlDetail); this.Name = "MainView"; this.Text = "收款"; this.Load += new System.EventHandler(this.MainView_Load); this.Controls.SetChildIndex(this.myBar, 0); this.Controls.SetChildIndex(this.pnlDetail, 0); this.Controls.SetChildIndex(this.collapsibleSplitter1, 0); this.Controls.SetChildIndex(this.tabMain, 0); ((System.ComponentModel.ISupportInitialize)(this.gcUnSub)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvUnSub)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tabMain)).EndInit(); this.tabMain.ResumeLayout(false); this.xtraTabPage1.ResumeLayout(false); this.xtraTabPage2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gcSubed)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvSubed)).EndInit(); this.xtraTabPage4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gcPrinted)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvPrinted)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tabDetail)).EndInit(); this.tabDetail.ResumeLayout(false); this.xtraTabPage3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gcOrder)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvOrder)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pnlDetail)).EndInit(); this.pnlDetail.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.label79 = new System.Windows.Forms.Label(); this.label80 = new System.Windows.Forms.Label(); this.Month = new DevExpress.XtraEditors.ComboBoxEdit(); this.Year = new DevExpress.XtraEditors.ComboBoxEdit(); this.gridFitnessProduct = new DevExpress.XtraGrid.GridControl(); this.gvFitnessProduct = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gvFitnessProductRank = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.lk_Employee = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvFitnessProductSalesPercentage = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvFitnessProductTotalSales = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridView4 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.label4 = new System.Windows.Forms.Label(); this.RGFitnessProduct = new DevExpress.XtraEditors.RadioGroup(); ((System.ComponentModel.ISupportInitialize)(this.Month.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.Year.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridFitnessProduct)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvFitnessProduct)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lk_Employee)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.RGFitnessProduct.Properties)).BeginInit(); this.SuspendLayout(); // // label79 // this.label79.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.label79.Location = new System.Drawing.Point(144, 8); this.label79.Name = "label79"; this.label79.Size = new System.Drawing.Size(48, 23); this.label79.TabIndex = 27; this.label79.Text = "Year"; // // label80 // this.label80.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.label80.Location = new System.Drawing.Point(8, 8); this.label80.Name = "label80"; this.label80.Size = new System.Drawing.Size(56, 23); this.label80.TabIndex = 26; this.label80.Text = "Month"; // // Month // this.Month.EditValue = "1"; this.Month.Location = new System.Drawing.Point(64, 8); this.Month.Name = "Month"; // // Month.Properties // this.Month.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.Month.Properties.Items.AddRange(new object[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" }); this.Month.Size = new System.Drawing.Size(72, 20); this.Month.TabIndex = 25; this.Month.SelectedIndexChanged += new System.EventHandler(this.Month_SelectedIndexChanged); // // Year // this.Year.EditValue = ""; this.Year.Location = new System.Drawing.Point(192, 8); this.Year.Name = "Year"; // // Year.Properties // this.Year.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.Year.Size = new System.Drawing.Size(96, 20); this.Year.TabIndex = 24; this.Year.SelectedIndexChanged += new System.EventHandler(this.Year_SelectedIndexChanged); // // gridFitnessProduct // this.gridFitnessProduct.Dock = System.Windows.Forms.DockStyle.Bottom; // // gridFitnessProduct.EmbeddedNavigator // this.gridFitnessProduct.EmbeddedNavigator.Name = ""; this.gridFitnessProduct.Location = new System.Drawing.Point(0, 96); this.gridFitnessProduct.MainView = this.gvFitnessProduct; this.gridFitnessProduct.Name = "gridFitnessProduct"; this.gridFitnessProduct.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.lk_Employee }); this.gridFitnessProduct.Size = new System.Drawing.Size(960, 384); this.gridFitnessProduct.TabIndex = 28; this.gridFitnessProduct.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvFitnessProduct, this.gridView4 }); // // gvFitnessProduct // this.gvFitnessProduct.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gvFitnessProductRank, this.gridColumn3, this.gridColumn4, this.gvFitnessProductSalesPercentage, this.gvFitnessProductTotalSales }); this.gvFitnessProduct.GridControl = this.gridFitnessProduct; this.gvFitnessProduct.Name = "gvFitnessProduct"; this.gvFitnessProduct.OptionsBehavior.Editable = false; this.gvFitnessProduct.OptionsCustomization.AllowFilter = false; this.gvFitnessProduct.OptionsCustomization.AllowGroup = false; this.gvFitnessProduct.OptionsCustomization.AllowSort = false; this.gvFitnessProduct.OptionsView.ShowGroupPanel = false; this.gvFitnessProduct.FocusedColumnChanged += new DevExpress.XtraGrid.Views.Base.FocusedColumnChangedEventHandler(this.gvFitnessProduct_FocusedColumnChanged); this.gvFitnessProduct.CustomUnboundColumnData += new DevExpress.XtraGrid.Views.Base.CustomColumnDataEventHandler(this.gvFitnessProduct_CustomUnboundColumnData); // // gvFitnessProductRank // this.gvFitnessProductRank.Caption = "Rank"; this.gvFitnessProductRank.FieldName = "gridColumn1"; this.gvFitnessProductRank.Name = "gvFitnessProductRank"; this.gvFitnessProductRank.SummaryItem.DisplayFormat = "{0}"; this.gvFitnessProductRank.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum; this.gvFitnessProductRank.UnboundType = DevExpress.Data.UnboundColumnType.Integer; this.gvFitnessProductRank.Visible = true; this.gvFitnessProductRank.VisibleIndex = 0; this.gvFitnessProductRank.Width = 33; // // gridColumn3 // this.gridColumn3.Caption = "Employee Name"; this.gridColumn3.ColumnEdit = this.lk_Employee; this.gridColumn3.FieldName = "nSalesPersonID"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 1; this.gridColumn3.Width = 85; // // lk_Employee // this.lk_Employee.AutoHeight = false; this.lk_Employee.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.lk_Employee.Name = "lk_Employee"; // // gridColumn4 // this.gridColumn4.Caption = "Branch Code"; this.gridColumn4.FieldName = "strBranchCode"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 4; this.gridColumn4.Width = 70; // // gvFitnessProductSalesPercentage // this.gvFitnessProductSalesPercentage.Caption = "Sales Percentage"; this.gvFitnessProductSalesPercentage.FieldName = "SalesPercentage"; this.gvFitnessProductSalesPercentage.Name = "gvFitnessProductSalesPercentage"; this.gvFitnessProductSalesPercentage.Visible = true; this.gvFitnessProductSalesPercentage.VisibleIndex = 2; this.gvFitnessProductSalesPercentage.Width = 92; // // gvFitnessProductTotalSales // this.gvFitnessProductTotalSales.Caption = "Total Sales"; this.gvFitnessProductTotalSales.FieldName = "TotalSales"; this.gvFitnessProductTotalSales.Name = "gvFitnessProductTotalSales"; this.gvFitnessProductTotalSales.Visible = true; this.gvFitnessProductTotalSales.VisibleIndex = 3; this.gvFitnessProductTotalSales.Width = 61; // // gridView4 // this.gridView4.GridControl = this.gridFitnessProduct; this.gridView4.Name = "gridView4"; // // label4 // this.label4.BackColor = System.Drawing.SystemColors.AppWorkspace; this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.label4.ForeColor = System.Drawing.Color.Black; this.label4.Location = new System.Drawing.Point(0, 40); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(944, 24); this.label4.TabIndex = 30; this.label4.Text = "Ranking of Fitness Product Sales"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // RGFitnessProduct // this.RGFitnessProduct.EditValue = 0; this.RGFitnessProduct.Location = new System.Drawing.Point(0, 64); this.RGFitnessProduct.Name = "RGFitnessProduct"; // // RGFitnessProduct.Properties // this.RGFitnessProduct.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.RGFitnessProduct.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.RGFitnessProduct.Properties.Appearance.Options.UseBackColor = true; this.RGFitnessProduct.Properties.Appearance.Options.UseFont = true; this.RGFitnessProduct.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.RGFitnessProduct.Properties.Columns = 2; this.RGFitnessProduct.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] { new DevExpress.XtraEditors.Controls.RadioGroupItem(0, "Fitness Product Sales By %"), new DevExpress.XtraEditors.Controls.RadioGroupItem(1, "Actual Fitness Product Sales") }); this.RGFitnessProduct.Size = new System.Drawing.Size(496, 32); this.RGFitnessProduct.TabIndex = 29; this.RGFitnessProduct.Click += new System.EventHandler(this.RGFitnessProduct_Click); this.RGFitnessProduct.EditValueChanged += new System.EventHandler(this.RGFitnessProduct_EditValueChanged); // // frmSRFitnessProduct // this.AutoScale = false; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(960, 480); this.Controls.Add(this.gridFitnessProduct); this.Controls.Add(this.label4); this.Controls.Add(this.RGFitnessProduct); this.Controls.Add(this.label79); this.Controls.Add(this.label80); this.Controls.Add(this.Month); this.Controls.Add(this.Year); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "frmSRFitnessProduct"; this.Text = "frmSRFitnessProduct"; this.Load += new System.EventHandler(this.frmSRFitnessProduct_Load); ((System.ComponentModel.ISupportInitialize)(this.Month.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.Year.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridFitnessProduct)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvFitnessProduct)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lk_Employee)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.RGFitnessProduct.Properties)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.ribbonStatusBar = new DevExpress.XtraBars.Ribbon.RibbonStatusBar(); this.OK = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.cancel = new DevExpress.XtraBars.BarButtonItem(); this.ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl(); this.showTareBarButtonItem = new DevExpress.XtraBars.BarCheckItem(); this.showNomenclatureBarButtonItem = new DevExpress.XtraBars.BarCheckItem(); this.openPalletButton = new DevExpress.XtraBars.BarButtonItem(); this.NomenclatureInfoButtonsBar = new DevExpress.XtraBars.Ribbon.RibbonStatusBar(); this.PlansBar = new DevExpress.XtraBars.Ribbon.RibbonStatusBar(); this.panelControl = new DevExpress.XtraEditors.PanelControl(); this.date = new DevExpress.XtraEditors.DateEdit(); this.Car = new DevExpress.XtraEditors.LabelControl(); this.Carrier = new DevExpress.XtraEditors.LabelControl(); this.Driver = new DevExpress.XtraEditors.LabelControl(); this.Contractor = new DevExpress.XtraEditors.LabelControl(); this.labelControl7 = new DevExpress.XtraEditors.LabelControl(); this.labelControl6 = new DevExpress.XtraEditors.LabelControl(); this.labelControl5 = new DevExpress.XtraEditors.LabelControl(); this.labelControl4 = new DevExpress.XtraEditors.LabelControl(); this.State = new DevExpress.XtraEditors.ComboBoxEdit(); this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); this.label = new DevExpress.XtraEditors.LabelControl(); this.NomenclatureInfo = new DevExpress.XtraGrid.GridControl(); this.nomenclatureView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.pictureEdit1 = new DevExpress.XtraEditors.PictureEdit(); this.Info = new DevExpress.XtraEditors.LabelControl(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); this.tabControl = new DevExpress.XtraTab.XtraTabControl(); this.waresTabPage = new DevExpress.XtraTab.XtraTabPage(); this.plansTabPage = new DevExpress.XtraTab.XtraTabPage(); this.Plans = new DevExpress.XtraGrid.GridControl(); this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.barCheckItem1 = new DevExpress.XtraBars.BarCheckItem(); this.barCheckItem2 = new DevExpress.XtraBars.BarCheckItem(); this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem6 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem7 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem8 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem9 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem10 = new DevExpress.XtraBars.BarButtonItem(); this.createAcceptanceButtonItem = new DevExpress.XtraBars.BarButtonItem(); ((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl)).BeginInit(); this.panelControl.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.date.Properties.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.date.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.State.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.NomenclatureInfo)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nomenclatureView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tabControl)).BeginInit(); this.tabControl.SuspendLayout(); this.waresTabPage.SuspendLayout(); this.plansTabPage.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.Plans)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit(); this.SuspendLayout(); // // ribbonStatusBar // this.ribbonStatusBar.ItemLinks.Add(this.OK); this.ribbonStatusBar.ItemLinks.Add(this.barButtonItem2); this.ribbonStatusBar.ItemLinks.Add(this.cancel); this.ribbonStatusBar.Location = new System.Drawing.Point(0, 572); this.ribbonStatusBar.Name = "ribbonStatusBar"; this.ribbonStatusBar.Ribbon = this.ribbon; this.ribbonStatusBar.Size = new System.Drawing.Size(884, 31); // // OK // this.OK.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.OK.Caption = "OK"; this.OK.Id = 0; this.OK.ImageIndex = 0; this.OK.Name = "OK"; this.OK.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.OK_ItemClick); // // barButtonItem2 // this.barButtonItem2.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.barButtonItem2.Caption = "��������"; this.barButtonItem2.Id = 1; this.barButtonItem2.Name = "barButtonItem2"; this.barButtonItem2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.Write_ItemClick); // // cancel // this.cancel.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.cancel.Caption = "³����"; this.cancel.Id = 2; this.cancel.ImageIndex = 1; this.cancel.Name = "cancel"; this.cancel.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cancel_ItemClick); // // ribbon // this.ribbon.ApplicationButtonText = null; this.ribbon.ExpandCollapseItem.Id = 0; this.ribbon.ExpandCollapseItem.Name = ""; this.ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.ribbon.ExpandCollapseItem, this.OK, this.barButtonItem2, this.cancel, this.showTareBarButtonItem, this.showNomenclatureBarButtonItem, this.openPalletButton}); this.ribbon.Location = new System.Drawing.Point(0, 0); this.ribbon.MaxItemId = 22; this.ribbon.Name = "ribbon"; this.ribbon.Size = new System.Drawing.Size(884, 49); this.ribbon.StatusBar = this.PlansBar; this.ribbon.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Above; // // showTareBarButtonItem // this.showTareBarButtonItem.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.showTareBarButtonItem.Caption = "����"; this.showTareBarButtonItem.Id = 18; this.showTareBarButtonItem.Name = "showTareBarButtonItem"; this.showTareBarButtonItem.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.showTareBarButtonItem_CheckedChanged); // // showNomenclatureBarButtonItem // this.showNomenclatureBarButtonItem.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.showNomenclatureBarButtonItem.Caption = "������������"; this.showNomenclatureBarButtonItem.Id = 20; this.showNomenclatureBarButtonItem.Name = "showNomenclatureBarButtonItem"; this.showNomenclatureBarButtonItem.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.showNomenclatureBarButtonItem_CheckedChanged); // // openPalletButton // this.openPalletButton.Caption = "�������� ������"; this.openPalletButton.Id = 21; this.openPalletButton.Name = "openPalletButton"; this.openPalletButton.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.openPalletButton_ItemClick); // // NomenclatureInfoButtonsBar // this.NomenclatureInfoButtonsBar.Dock = System.Windows.Forms.DockStyle.Top; this.NomenclatureInfoButtonsBar.ItemLinks.Add(this.showNomenclatureBarButtonItem); this.NomenclatureInfoButtonsBar.ItemLinks.Add(this.showTareBarButtonItem); this.NomenclatureInfoButtonsBar.ItemLinks.Add(this.openPalletButton); this.NomenclatureInfoButtonsBar.Location = new System.Drawing.Point(0, 0); this.NomenclatureInfoButtonsBar.Name = "NomenclatureInfoButtonsBar"; this.NomenclatureInfoButtonsBar.Ribbon = this.ribbon; this.NomenclatureInfoButtonsBar.Size = new System.Drawing.Size(878, 27); // // PlansBar // this.PlansBar.Dock = System.Windows.Forms.DockStyle.Top; this.PlansBar.Location = new System.Drawing.Point(0, 0); this.PlansBar.Name = "PlansBar"; this.PlansBar.Ribbon = this.ribbon; this.PlansBar.Size = new System.Drawing.Size(878, 27); // // panelControl // this.panelControl.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControl.Controls.Add(this.date); this.panelControl.Controls.Add(this.Car); this.panelControl.Controls.Add(this.Carrier); this.panelControl.Controls.Add(this.Driver); this.panelControl.Controls.Add(this.Contractor); this.panelControl.Controls.Add(this.labelControl7); this.panelControl.Controls.Add(this.labelControl6); this.panelControl.Controls.Add(this.labelControl5); this.panelControl.Controls.Add(this.labelControl4); this.panelControl.Controls.Add(this.State); this.panelControl.Controls.Add(this.labelControl3); this.panelControl.Controls.Add(this.label); this.panelControl.Dock = System.Windows.Forms.DockStyle.Top; this.panelControl.Location = new System.Drawing.Point(0, 49); this.panelControl.Name = "panelControl"; this.panelControl.Size = new System.Drawing.Size(884, 94); this.panelControl.TabIndex = 2; // // date // this.date.EditValue = null; this.date.Location = new System.Drawing.Point(366, 8); this.date.MenuManager = this.ribbon; this.date.Name = "date"; this.date.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.date.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.date.Size = new System.Drawing.Size(100, 20); this.date.TabIndex = 17; // // Car // this.Car.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.Car.Location = new System.Drawing.Point(366, 72); this.Car.Name = "Car"; this.Car.Size = new System.Drawing.Size(21, 13); this.Car.TabIndex = 16; this.Car.Text = "{0}"; // // Carrier // this.Carrier.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.Carrier.Location = new System.Drawing.Point(366, 53); this.Carrier.Name = "Carrier"; this.Carrier.Size = new System.Drawing.Size(21, 13); this.Carrier.TabIndex = 15; this.Carrier.Text = "{0}"; // // Driver // this.Driver.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.Driver.Location = new System.Drawing.Point(99, 72); this.Driver.Name = "Driver"; this.Driver.Size = new System.Drawing.Size(21, 13); this.Driver.TabIndex = 14; this.Driver.Text = "{0}"; // // Contractor // this.Contractor.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.Contractor.Location = new System.Drawing.Point(99, 53); this.Contractor.Name = "Contractor"; this.Contractor.Size = new System.Drawing.Size(21, 13); this.Contractor.TabIndex = 13; this.Contractor.Text = "{0}"; // // labelControl7 // this.labelControl7.Location = new System.Drawing.Point(261, 72); this.labelControl7.Name = "labelControl7"; this.labelControl7.Size = new System.Drawing.Size(40, 13); this.labelControl7.TabIndex = 12; this.labelControl7.Text = "������"; // // labelControl6 // this.labelControl6.Location = new System.Drawing.Point(10, 72); this.labelControl6.Name = "labelControl6"; this.labelControl6.Size = new System.Drawing.Size(28, 13); this.labelControl6.TabIndex = 10; this.labelControl6.Text = "����"; // // labelControl5 // this.labelControl5.Location = new System.Drawing.Point(261, 53); this.labelControl5.Name = "labelControl5"; this.labelControl5.Size = new System.Drawing.Size(57, 13); this.labelControl5.TabIndex = 8; this.labelControl5.Text = "���������"; // // labelControl4 // this.labelControl4.Location = new System.Drawing.Point(10, 53); this.labelControl4.Name = "labelControl4"; this.labelControl4.Size = new System.Drawing.Size(60, 13); this.labelControl4.TabIndex = 6; this.labelControl4.Text = "����������"; // // State // this.State.Location = new System.Drawing.Point(99, 8); this.State.MenuManager = this.ribbon; this.State.Name = "State"; this.State.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.State.Size = new System.Drawing.Size(156, 20); this.State.TabIndex = 0; // // labelControl3 // this.labelControl3.Location = new System.Drawing.Point(10, 11); this.labelControl3.Name = "labelControl3"; this.labelControl3.Size = new System.Drawing.Size(82, 13); this.labelControl3.TabIndex = 4; this.labelControl3.Text = "���� ���������"; // // label // this.label.Location = new System.Drawing.Point(272, 11); this.label.Name = "label"; this.label.Size = new System.Drawing.Size(83, 13); this.label.TabIndex = 2; this.label.Text = "���� ���������"; // // NomenclatureInfo // this.NomenclatureInfo.Dock = System.Windows.Forms.DockStyle.Fill; this.NomenclatureInfo.Location = new System.Drawing.Point(0, 27); this.NomenclatureInfo.MainView = this.nomenclatureView; this.NomenclatureInfo.MenuManager = this.ribbon; this.NomenclatureInfo.Name = "NomenclatureInfo"; this.NomenclatureInfo.Size = new System.Drawing.Size(878, 354); this.NomenclatureInfo.TabIndex = 1; this.NomenclatureInfo.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.nomenclatureView}); // // nomenclatureView // this.nomenclatureView.GridControl = this.NomenclatureInfo; this.nomenclatureView.Name = "nomenclatureView"; this.nomenclatureView.RowStyle += new DevExpress.XtraGrid.Views.Grid.RowStyleEventHandler(this.nomenclatureView_RowStyle); // // panelControl1 // this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControl1.Controls.Add(this.pictureEdit1); this.panelControl1.Controls.Add(this.Info); this.panelControl1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panelControl1.Location = new System.Drawing.Point(0, 552); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(884, 20); this.panelControl1.TabIndex = 0; // // pictureEdit1 // this.pictureEdit1.Dock = System.Windows.Forms.DockStyle.Left; this.pictureEdit1.EditValue = global::FMCG.Properties.Resources._1317825614_information_balloon; this.pictureEdit1.Location = new System.Drawing.Point(0, 0); this.pictureEdit1.MenuManager = this.ribbon; this.pictureEdit1.Name = "pictureEdit1"; this.pictureEdit1.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.pictureEdit1.Properties.Appearance.Options.UseBackColor = true; this.pictureEdit1.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.pictureEdit1.Size = new System.Drawing.Size(20, 20); this.pictureEdit1.TabIndex = 3; this.pictureEdit1.ToolTip = "��� ������� ��������� �������� �� ���� ���������� �����������"; this.pictureEdit1.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information; this.pictureEdit1.ToolTipTitle = "������:"; // // Info // this.Info.Appearance.ForeColor = System.Drawing.Color.Gray; this.Info.Location = new System.Drawing.Point(24, 3); this.Info.Name = "Info"; this.Info.Size = new System.Drawing.Size(12, 13); this.Info.TabIndex = 1; this.Info.Text = "..."; // // barButtonItem1 // this.barButtonItem1.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.barButtonItem1.Caption = "OK"; this.barButtonItem1.Id = 0; this.barButtonItem1.ImageIndex = 0; this.barButtonItem1.Name = "barButtonItem1"; // // barButtonItem3 // this.barButtonItem3.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.barButtonItem3.Caption = "��������"; this.barButtonItem3.Id = 1; this.barButtonItem3.Name = "barButtonItem3"; // // barButtonItem4 // this.barButtonItem4.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.barButtonItem4.Caption = "³����"; this.barButtonItem4.Id = 2; this.barButtonItem4.ImageIndex = 1; this.barButtonItem4.Name = "barButtonItem4"; // // tabControl // this.tabControl.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl.Location = new System.Drawing.Point(0, 143); this.tabControl.Name = "tabControl"; this.tabControl.SelectedTabPage = this.waresTabPage; this.tabControl.Size = new System.Drawing.Size(884, 409); this.tabControl.TabIndex = 9; this.tabControl.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.waresTabPage, this.plansTabPage}); // // waresTabPage // this.waresTabPage.Controls.Add(this.NomenclatureInfo); this.waresTabPage.Controls.Add(this.NomenclatureInfoButtonsBar); this.waresTabPage.Name = "waresTabPage"; this.waresTabPage.Size = new System.Drawing.Size(878, 381); this.waresTabPage.Text = "������������"; // // plansTabPage // this.plansTabPage.Controls.Add(this.Plans); this.plansTabPage.Controls.Add(this.PlansBar); this.plansTabPage.Name = "plansTabPage"; this.plansTabPage.Size = new System.Drawing.Size(878, 381); this.plansTabPage.Text = "������ ���������"; // // Plans // this.Plans.Dock = System.Windows.Forms.DockStyle.Fill; this.Plans.Location = new System.Drawing.Point(0, 27); this.Plans.MainView = this.gridView3; this.Plans.MenuManager = this.ribbon; this.Plans.Name = "Plans"; this.Plans.Size = new System.Drawing.Size(878, 354); this.Plans.TabIndex = 7; this.Plans.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView3}); // // gridView3 // this.gridView3.GridControl = this.Plans; this.gridView3.Name = "gridView3"; // // barCheckItem1 // this.barCheckItem1.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.barCheckItem1.Caption = "������������"; this.barCheckItem1.Id = 20; this.barCheckItem1.Name = "barCheckItem1"; // // barCheckItem2 // this.barCheckItem2.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.barCheckItem2.Caption = "����"; this.barCheckItem2.Id = 18; this.barCheckItem2.Name = "barCheckItem2"; // // barButtonItem5 // this.barButtonItem5.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.barButtonItem5.Caption = "OK"; this.barButtonItem5.Id = 0; this.barButtonItem5.ImageIndex = 0; this.barButtonItem5.Name = "barButtonItem5"; // // barButtonItem6 // this.barButtonItem6.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.barButtonItem6.Caption = "��������"; this.barButtonItem6.Id = 1; this.barButtonItem6.Name = "barButtonItem6"; // // barButtonItem7 // this.barButtonItem7.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.barButtonItem7.Caption = "³����"; this.barButtonItem7.Id = 2; this.barButtonItem7.ImageIndex = 1; this.barButtonItem7.Name = "barButtonItem7"; // // barButtonItem8 // this.barButtonItem8.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.barButtonItem8.Caption = "OK"; this.barButtonItem8.Id = 0; this.barButtonItem8.ImageIndex = 0; this.barButtonItem8.Name = "barButtonItem8"; // // barButtonItem9 // this.barButtonItem9.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.barButtonItem9.Caption = "��������"; this.barButtonItem9.Id = 1; this.barButtonItem9.Name = "barButtonItem9"; // // barButtonItem10 // this.barButtonItem10.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.barButtonItem10.Caption = "³����"; this.barButtonItem10.Id = 2; this.barButtonItem10.ImageIndex = 1; this.barButtonItem10.Name = "barButtonItem10"; // // createAcceptanceButtonItem // this.createAcceptanceButtonItem.Caption = "�������� \"��������� ������\""; this.createAcceptanceButtonItem.Id = 18; this.createAcceptanceButtonItem.Name = "createAcceptanceButtonItem"; // // AcceptanceOfGoodsItemForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(884, 603); this.Controls.Add(this.tabControl); this.Controls.Add(this.panelControl1); this.Controls.Add(this.panelControl); this.Controls.Add(this.ribbonStatusBar); this.Controls.Add(this.ribbon); this.KeyPreview = true; this.Name = "AcceptanceOfGoodsItemForm"; this.Ribbon = this.ribbon; this.StatusBar = this.ribbonStatusBar; this.Text = "Item form"; this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Itemform_KeyDown); ((System.ComponentModel.ISupportInitialize)(this.ribbon)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl)).EndInit(); this.panelControl.ResumeLayout(false); this.panelControl.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.date.Properties.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.date.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.State.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.NomenclatureInfo)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nomenclatureView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); this.panelControl1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tabControl)).EndInit(); this.tabControl.ResumeLayout(false); this.waresTabPage.ResumeLayout(false); this.plansTabPage.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.Plans)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit(); this.ResumeLayout(false); }
public CustomGridView1Info(DevExpress.XtraGrid.Views.Grid.GridView view) : base(view) { }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton(); this.checkEdit1 = new DevExpress.XtraEditors.CheckEdit(); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemRadioGroup1 = new DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup(); this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit(); this.SuspendLayout(); // // simpleButton1 // this.simpleButton1.Location = new System.Drawing.Point(277, 309); this.simpleButton1.Name = "simpleButton1"; this.simpleButton1.Size = new System.Drawing.Size(66, 23); this.simpleButton1.TabIndex = 1; this.simpleButton1.Text = "确定"; this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click); // // simpleButton2 // this.simpleButton2.Location = new System.Drawing.Point(358, 309); this.simpleButton2.Name = "simpleButton2"; this.simpleButton2.Size = new System.Drawing.Size(66, 23); this.simpleButton2.TabIndex = 1; this.simpleButton2.Text = "取消"; this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click); // // checkEdit1 // this.checkEdit1.Location = new System.Drawing.Point(12, 309); this.checkEdit1.Name = "checkEdit1"; this.checkEdit1.Properties.Caption = "全选"; this.checkEdit1.Size = new System.Drawing.Size(75, 19); this.checkEdit1.TabIndex = 2; this.checkEdit1.CheckedChanged += new System.EventHandler(this.checkEdit1_CheckedChanged); // // panelControl1 // this.panelControl1.Controls.Add(this.comboBox1); this.panelControl1.Controls.Add(this.checkEdit1); this.panelControl1.Controls.Add(this.simpleButton2); this.panelControl1.Controls.Add(this.simpleButton1); this.panelControl1.Controls.Add(this.gridControl1); this.panelControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.panelControl1.Location = new System.Drawing.Point(0, 0); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(462, 344); this.panelControl1.TabIndex = 0; this.panelControl1.Text = "panelControl1"; // // comboBox1 // this.comboBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox1.FormattingEnabled = true; this.comboBox1.Location = new System.Drawing.Point(46, 12); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(404, 20); this.comboBox1.Sorted = true; this.comboBox1.TabIndex = 5; this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); // // gridControl1 // this.gridControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridControl1.EmbeddedNavigator.Name = ""; this.gridControl1.Location = new System.Drawing.Point(3, 3); this.gridControl1.MainView = this.gridView1; this.gridControl1.Name = "gridControl1"; this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemCheckEdit1, this.repositoryItemRadioGroup1}); this.gridControl1.Size = new System.Drawing.Size(456, 293); this.gridControl1.TabIndex = 0; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1}); // // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.gridColumn2, this.gridColumn3}); this.gridView1.GridControl = this.gridControl1; this.gridView1.GroupPanelText = "设备"; this.gridView1.Name = "gridView1"; // // gridColumn1 // this.gridColumn1.Caption = "设备ID"; this.gridColumn1.FieldName = "A"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.OptionsColumn.AllowEdit = false; // // gridColumn2 // this.gridColumn2.Caption = "设备名称"; this.gridColumn2.FieldName = "B"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.OptionsColumn.AllowEdit = false; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 0; // // gridColumn3 // this.gridColumn3.Caption = "是否选择"; this.gridColumn3.ColumnEdit = this.repositoryItemRadioGroup1; this.gridColumn3.FieldName = "C"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 1; // // repositoryItemRadioGroup1 // this.repositoryItemRadioGroup1.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] { new DevExpress.XtraEditors.Controls.RadioGroupItem()}); this.repositoryItemRadioGroup1.Name = "repositoryItemRadioGroup1"; // // repositoryItemCheckEdit1 // this.repositoryItemCheckEdit1.AutoHeight = false; this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1"; // // frmDeviceList // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(462, 344); this.Controls.Add(this.panelControl1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmDeviceList"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "选择设备"; this.Load += new System.EventHandler(this.frmDeviceList_Load); ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit(); this.ResumeLayout(false); }
public CustomGridView1Painter(DevExpress.XtraGrid.Views.Grid.GridView view) : base(view) { }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.gridControlData = new DevExpress.XtraGrid.GridControl(); this.XPSCSData = new DevExpress.Xpo.XPServerCollectionSource(this.components); this.UOWData = new DevExpress.Xpo.UnitOfWork(this.components); this.gridViewData = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colDofatSarfAId = new DevExpress.XtraGrid.Columns.GridColumn(); this.colMMashatId = new DevExpress.XtraGrid.Columns.GridColumn(); this.colamanatrem = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemMemoExEditremarks = new DevExpress.XtraEditors.Repository.RepositoryItemMemoExEdit(); this.colBeandate = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemDateEditDMY = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); this.coldateremember = new DevExpress.XtraGrid.Columns.GridColumn(); this.coldeleted = new DevExpress.XtraGrid.Columns.GridColumn(); this.coldatein = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemDateEditdatein = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); this.coluserin = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemGridLookUpEdituserin = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit(); this.usersBindingSource = new System.Windows.Forms.BindingSource(this.components); this.dsRetirementCenter = new RetirementCenter.DataSources.dsRetirementCenter(); this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colRealName = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumnSave = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemButtonEditSave = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.gridColumnDelete = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemButtonEditDel = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.colMMashatName1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colsarfnumber = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSyndicate = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSubCommitte = new DevExpress.XtraGrid.Columns.GridColumn(); this.colEDARET = new DevExpress.XtraGrid.Columns.GridColumn(); this.colEDARET1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colEdaraMandopName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colnkapaMandopName = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.groupControl1 = new DevExpress.XtraEditors.GroupControl(); this.groupControl2 = new DevExpress.XtraEditors.GroupControl(); this.btnNew = new DevExpress.XtraEditors.SimpleButton(); this.usersTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.UsersTableAdapter(); this.tBLBeanWarsaTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.TBLBeanWarsaTableAdapter(); ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.XPSCSData)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.UOWData)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoExEditremarks)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditdatein)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditdatein.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdituserin)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.usersBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsRetirementCenter)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditSave)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditDel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit(); this.groupControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit(); this.groupControl2.SuspendLayout(); this.SuspendLayout(); // // gridControlData // this.gridControlData.DataSource = this.XPSCSData; this.gridControlData.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControlData.EmbeddedNavigator.Buttons.Append.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.CancelEdit.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.Edit.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.EndEdit.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.Remove.Visible = false; this.gridControlData.Location = new System.Drawing.Point(2, 21); this.gridControlData.MainView = this.gridViewData; this.gridControlData.Name = "gridControlData"; this.gridControlData.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemButtonEditSave, this.repositoryItemButtonEditDel, this.repositoryItemDateEditdatein, this.repositoryItemGridLookUpEdituserin, this.repositoryItemMemoExEditremarks, this.repositoryItemDateEditDMY}); this.gridControlData.Size = new System.Drawing.Size(1051, 273); this.gridControlData.TabIndex = 0; this.gridControlData.UseEmbeddedNavigator = true; this.gridControlData.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewData}); this.gridControlData.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ActiveKeyDownEvent); // // XPSCSData // this.XPSCSData.AllowEdit = true; this.XPSCSData.AllowNew = true; this.XPSCSData.AllowRemove = true; this.XPSCSData.ObjectType = typeof(RetirementCenter.DataSources.dsQueries.vQry59DataTable); this.XPSCSData.Session = this.UOWData; // // UOWData // this.UOWData.TrackPropertiesModifications = false; // // gridViewData // this.gridViewData.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colDofatSarfAId, this.colMMashatId, this.colamanatrem, this.colBeandate, this.coldateremember, this.coldeleted, this.coldatein, this.coluserin, this.gridColumnSave, this.gridColumnDelete, this.colMMashatName1, this.colsarfnumber, this.colSyndicate, this.colSubCommitte}); this.gridViewData.GridControl = this.gridControlData; this.gridViewData.Name = "gridViewData"; this.gridViewData.NewItemRowText = "اضغط لاضافة جديد"; this.gridViewData.OptionsNavigation.AutoFocusNewRow = true; this.gridViewData.OptionsView.ColumnAutoWidth = false; this.gridViewData.OptionsView.ShowAutoFilterRow = true; this.gridViewData.OptionsView.ShowDetailButtons = false; // // colDofatSarfAId // this.colDofatSarfAId.AppearanceCell.Options.UseTextOptions = true; this.colDofatSarfAId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colDofatSarfAId.AppearanceHeader.Options.UseTextOptions = true; this.colDofatSarfAId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colDofatSarfAId.Caption = "الدفعة"; this.colDofatSarfAId.FieldName = "DofatSarf"; this.colDofatSarfAId.Name = "colDofatSarfAId"; this.colDofatSarfAId.OptionsColumn.AllowEdit = false; this.colDofatSarfAId.Visible = true; this.colDofatSarfAId.VisibleIndex = 0; this.colDofatSarfAId.Width = 128; // // colMMashatId // this.colMMashatId.AppearanceCell.Options.UseTextOptions = true; this.colMMashatId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashatId.AppearanceHeader.Options.UseTextOptions = true; this.colMMashatId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashatId.Caption = "اسم الوريث"; this.colMMashatId.FieldName = "personName"; this.colMMashatId.Name = "colMMashatId"; this.colMMashatId.OptionsColumn.AllowEdit = false; this.colMMashatId.Visible = true; this.colMMashatId.VisibleIndex = 3; this.colMMashatId.Width = 150; // // colamanatrem // this.colamanatrem.AppearanceCell.Options.UseTextOptions = true; this.colamanatrem.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colamanatrem.AppearanceHeader.Options.UseTextOptions = true; this.colamanatrem.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colamanatrem.Caption = "ملاحظات"; this.colamanatrem.ColumnEdit = this.repositoryItemMemoExEditremarks; this.colamanatrem.FieldName = "remarks"; this.colamanatrem.Name = "colamanatrem"; this.colamanatrem.Visible = true; this.colamanatrem.VisibleIndex = 7; // // repositoryItemMemoExEditremarks // this.repositoryItemMemoExEditremarks.AutoHeight = false; this.repositoryItemMemoExEditremarks.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemMemoExEditremarks.Name = "repositoryItemMemoExEditremarks"; // // colBeandate // this.colBeandate.AppearanceCell.Options.UseTextOptions = true; this.colBeandate.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colBeandate.AppearanceHeader.Options.UseTextOptions = true; this.colBeandate.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colBeandate.Caption = "التاريخ"; this.colBeandate.ColumnEdit = this.repositoryItemDateEditDMY; this.colBeandate.FieldName = "Beandate"; this.colBeandate.Name = "colBeandate"; this.colBeandate.Visible = true; this.colBeandate.VisibleIndex = 8; // // repositoryItemDateEditDMY // this.repositoryItemDateEditDMY.AutoHeight = false; this.repositoryItemDateEditDMY.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemDateEditDMY.DisplayFormat.FormatString = "d/M/yyyy"; this.repositoryItemDateEditDMY.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.repositoryItemDateEditDMY.EditFormat.FormatString = "d/M/yyyy"; this.repositoryItemDateEditDMY.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.repositoryItemDateEditDMY.Mask.EditMask = "d/M/yyyy"; this.repositoryItemDateEditDMY.Name = "repositoryItemDateEditDMY"; this.repositoryItemDateEditDMY.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); // // coldateremember // this.coldateremember.AppearanceCell.Options.UseTextOptions = true; this.coldateremember.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.coldateremember.AppearanceHeader.Options.UseTextOptions = true; this.coldateremember.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.coldateremember.Caption = "تاريخ التذكير"; this.coldateremember.FieldName = "dateremember"; this.coldateremember.Name = "coldateremember"; this.coldateremember.Visible = true; this.coldateremember.VisibleIndex = 9; // // coldeleted // this.coldeleted.AppearanceCell.Options.UseTextOptions = true; this.coldeleted.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.coldeleted.AppearanceHeader.Options.UseTextOptions = true; this.coldeleted.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.coldeleted.Caption = "منع"; this.coldeleted.FieldName = "deleted"; this.coldeleted.Name = "coldeleted"; this.coldeleted.OptionsColumn.AllowEdit = false; this.coldeleted.Visible = true; this.coldeleted.VisibleIndex = 6; // // coldatein // this.coldatein.AppearanceCell.Options.UseTextOptions = true; this.coldatein.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.coldatein.AppearanceHeader.Options.UseTextOptions = true; this.coldatein.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.coldatein.Caption = "تاريخ الادخال"; this.coldatein.ColumnEdit = this.repositoryItemDateEditdatein; this.coldatein.FieldName = "datein"; this.coldatein.Name = "coldatein"; this.coldatein.OptionsColumn.AllowEdit = false; this.coldatein.Width = 94; // // repositoryItemDateEditdatein // this.repositoryItemDateEditdatein.AutoHeight = false; this.repositoryItemDateEditdatein.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemDateEditdatein.DisplayFormat.FormatString = "g"; this.repositoryItemDateEditdatein.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.repositoryItemDateEditdatein.EditFormat.FormatString = "g"; this.repositoryItemDateEditdatein.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.repositoryItemDateEditdatein.Mask.EditMask = "g"; this.repositoryItemDateEditdatein.Name = "repositoryItemDateEditdatein"; this.repositoryItemDateEditdatein.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); // // coluserin // this.coluserin.AppearanceCell.Options.UseTextOptions = true; this.coluserin.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.coluserin.AppearanceHeader.Options.UseTextOptions = true; this.coluserin.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.coluserin.Caption = "مسئول الادخال"; this.coluserin.ColumnEdit = this.repositoryItemGridLookUpEdituserin; this.coluserin.FieldName = "userin"; this.coluserin.Name = "coluserin"; this.coluserin.OptionsColumn.AllowEdit = false; this.coluserin.Width = 97; // // repositoryItemGridLookUpEdituserin // this.repositoryItemGridLookUpEdituserin.AutoHeight = false; this.repositoryItemGridLookUpEdituserin.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemGridLookUpEdituserin.DataSource = this.usersBindingSource; this.repositoryItemGridLookUpEdituserin.DisplayMember = "RealName"; this.repositoryItemGridLookUpEdituserin.Name = "repositoryItemGridLookUpEdituserin"; this.repositoryItemGridLookUpEdituserin.NullText = ""; this.repositoryItemGridLookUpEdituserin.ValueMember = "UserID"; this.repositoryItemGridLookUpEdituserin.View = this.gridView2; // // usersBindingSource // this.usersBindingSource.DataMember = "Users"; this.usersBindingSource.DataSource = this.dsRetirementCenter; // // dsRetirementCenter // this.dsRetirementCenter.DataSetName = "dsRetirementCenter"; this.dsRetirementCenter.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // gridView2 // this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colRealName}); this.gridView2.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gridView2.Name = "gridView2"; this.gridView2.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridView2.OptionsView.ShowGroupPanel = false; // // colRealName // this.colRealName.FieldName = "RealName"; this.colRealName.Name = "colRealName"; this.colRealName.Visible = true; this.colRealName.VisibleIndex = 0; // // gridColumnSave // this.gridColumnSave.AppearanceCell.Options.UseTextOptions = true; this.gridColumnSave.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumnSave.AppearanceHeader.Options.UseTextOptions = true; this.gridColumnSave.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumnSave.Caption = "حفظ"; this.gridColumnSave.ColumnEdit = this.repositoryItemButtonEditSave; this.gridColumnSave.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; this.gridColumnSave.Name = "gridColumnSave"; this.gridColumnSave.Visible = true; this.gridColumnSave.VisibleIndex = 10; this.gridColumnSave.Width = 55; // // repositoryItemButtonEditSave // this.repositoryItemButtonEditSave.AutoHeight = false; this.repositoryItemButtonEditSave.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.OK)}); this.repositoryItemButtonEditSave.Name = "repositoryItemButtonEditSave"; this.repositoryItemButtonEditSave.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; this.repositoryItemButtonEditSave.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEditSave_ButtonClick); // // gridColumnDelete // this.gridColumnDelete.AppearanceCell.Options.UseTextOptions = true; this.gridColumnDelete.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumnDelete.AppearanceHeader.Options.UseTextOptions = true; this.gridColumnDelete.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumnDelete.Caption = "حذف"; this.gridColumnDelete.ColumnEdit = this.repositoryItemButtonEditDel; this.gridColumnDelete.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; this.gridColumnDelete.Name = "gridColumnDelete"; this.gridColumnDelete.Visible = true; this.gridColumnDelete.VisibleIndex = 11; this.gridColumnDelete.Width = 51; // // repositoryItemButtonEditDel // this.repositoryItemButtonEditDel.AutoHeight = false; this.repositoryItemButtonEditDel.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Delete)}); this.repositoryItemButtonEditDel.Name = "repositoryItemButtonEditDel"; this.repositoryItemButtonEditDel.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; this.repositoryItemButtonEditDel.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEditDel_ButtonClick); // // colMMashatName1 // this.colMMashatName1.AppearanceCell.Options.UseTextOptions = true; this.colMMashatName1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashatName1.AppearanceHeader.Options.UseTextOptions = true; this.colMMashatName1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashatName1.Caption = "اسم الاب"; this.colMMashatName1.FieldName = "MMashatName"; this.colMMashatName1.Name = "colMMashatName1"; this.colMMashatName1.OptionsColumn.AllowEdit = false; this.colMMashatName1.Visible = true; this.colMMashatName1.VisibleIndex = 1; // // colsarfnumber // this.colsarfnumber.AppearanceCell.Options.UseTextOptions = true; this.colsarfnumber.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colsarfnumber.AppearanceHeader.Options.UseTextOptions = true; this.colsarfnumber.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colsarfnumber.Caption = "رقم صرف"; this.colsarfnumber.FieldName = "sarfnumber"; this.colsarfnumber.Name = "colsarfnumber"; this.colsarfnumber.OptionsColumn.AllowEdit = false; this.colsarfnumber.Visible = true; this.colsarfnumber.VisibleIndex = 2; // // colSyndicate // this.colSyndicate.AppearanceCell.Options.UseTextOptions = true; this.colSyndicate.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSyndicate.AppearanceHeader.Options.UseTextOptions = true; this.colSyndicate.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSyndicate.Caption = "فرعية"; this.colSyndicate.FieldName = "Syndicate"; this.colSyndicate.Name = "colSyndicate"; this.colSyndicate.OptionsColumn.AllowEdit = false; this.colSyndicate.Visible = true; this.colSyndicate.VisibleIndex = 4; // // colSubCommitte // this.colSubCommitte.AppearanceCell.Options.UseTextOptions = true; this.colSubCommitte.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSubCommitte.AppearanceHeader.Options.UseTextOptions = true; this.colSubCommitte.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSubCommitte.Caption = "لجنة"; this.colSubCommitte.FieldName = "SubCommitte"; this.colSubCommitte.Name = "colSubCommitte"; this.colSubCommitte.OptionsColumn.AllowEdit = false; this.colSubCommitte.Visible = true; this.colSubCommitte.VisibleIndex = 5; // // colEDARET // this.colEDARET.AppearanceCell.Options.UseTextOptions = true; this.colEDARET.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEDARET.AppearanceHeader.Options.UseTextOptions = true; this.colEDARET.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEDARET.Caption = "اسم الاداره"; this.colEDARET.FieldName = "EDARET"; this.colEDARET.Name = "colEDARET"; this.colEDARET.Visible = true; this.colEDARET.VisibleIndex = 0; // // colEDARET1 // this.colEDARET1.AppearanceCell.Options.UseTextOptions = true; this.colEDARET1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEDARET1.AppearanceHeader.Options.UseTextOptions = true; this.colEDARET1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEDARET1.Caption = "الادارة"; this.colEDARET1.FieldName = "EDARET"; this.colEDARET1.Name = "colEDARET1"; this.colEDARET1.Visible = true; this.colEDARET1.VisibleIndex = 0; // // colEdaraMandopName // this.colEdaraMandopName.AppearanceCell.Options.UseTextOptions = true; this.colEdaraMandopName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEdaraMandopName.AppearanceHeader.Options.UseTextOptions = true; this.colEdaraMandopName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colEdaraMandopName.Caption = "الاسم"; this.colEdaraMandopName.FieldName = "EdaraMandopName"; this.colEdaraMandopName.Name = "colEdaraMandopName"; this.colEdaraMandopName.Visible = true; this.colEdaraMandopName.VisibleIndex = 0; // // colnkapaMandopName // this.colnkapaMandopName.AppearanceCell.Options.UseTextOptions = true; this.colnkapaMandopName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colnkapaMandopName.AppearanceHeader.Options.UseTextOptions = true; this.colnkapaMandopName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colnkapaMandopName.Caption = "الاسم"; this.colnkapaMandopName.FieldName = "nkapaMandopName"; this.colnkapaMandopName.Name = "colnkapaMandopName"; this.colnkapaMandopName.Visible = true; this.colnkapaMandopName.VisibleIndex = 0; // // gridColumn2 // this.gridColumn2.AppearanceCell.Options.UseTextOptions = true; this.gridColumn2.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn2.AppearanceHeader.Options.UseTextOptions = true; this.gridColumn2.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridColumn2.Caption = "اسم الشهر"; this.gridColumn2.FieldName = "MonthName"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 0; // // groupControl1 // this.groupControl1.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.groupControl1.Controls.Add(this.gridControlData); this.groupControl1.Location = new System.Drawing.Point(12, 12); this.groupControl1.Name = "groupControl1"; this.groupControl1.Size = new System.Drawing.Size(1055, 296); this.groupControl1.TabIndex = 1; // // groupControl2 // this.groupControl2.AllowTouchScroll = true; this.groupControl2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupControl2.Controls.Add(this.btnNew); this.groupControl2.Location = new System.Drawing.Point(12, 314); this.groupControl2.Name = "groupControl2"; this.groupControl2.Size = new System.Drawing.Size(1055, 62); this.groupControl2.TabIndex = 2; // // btnNew // this.btnNew.Anchor = System.Windows.Forms.AnchorStyles.Right; this.btnNew.Image = global::RetirementCenter.Properties.Resources.Add; this.btnNew.Location = new System.Drawing.Point(850, 23); this.btnNew.Name = "btnNew"; this.btnNew.Size = new System.Drawing.Size(200, 35); this.btnNew.TabIndex = 0; this.btnNew.Text = "جديد"; this.btnNew.Click += new System.EventHandler(this.btnNew_Click); // // usersTableAdapter // this.usersTableAdapter.ClearBeforeFill = true; // // tBLBeanWarsaTableAdapter // this.tBLBeanWarsaTableAdapter.ClearBeforeFill = true; // // TBLBeanWarsaFrm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1079, 388); this.Controls.Add(this.groupControl2); this.Controls.Add(this.groupControl1); this.Name = "TBLBeanWarsaFrm"; this.Text = "بيان الورثة"; this.Load += new System.EventHandler(this.FormFrm_Load); ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.XPSCSData)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.UOWData)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoExEditremarks)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditdatein.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditdatein)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdituserin)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.usersBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsRetirementCenter)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditSave)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditDel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit(); this.groupControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit(); this.groupControl2.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); this.btnReportOutput = new DevExpress.XtraEditors.SimpleButton(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); this.SuspendLayout(); // // layoutControl1 // this.layoutControl1.Controls.Add(this.gridControl1); this.layoutControl1.Controls.Add(this.btnReportOutput); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(0, 0); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(564, 439); this.layoutControl1.TabIndex = 0; this.layoutControl1.Text = "layoutControl1"; // // gridControl1 // this.gridControl1.Location = new System.Drawing.Point(5, 25); this.gridControl1.MainView = this.gridView1; this.gridControl1.Name = "gridControl1"; this.gridControl1.Size = new System.Drawing.Size(554, 383); this.gridControl1.TabIndex = 0; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1 }); // // gridView1 // this.gridView1.Appearance.FocusedCell.BackColor = System.Drawing.Color.CornflowerBlue; this.gridView1.Appearance.FocusedCell.Options.UseBackColor = true; this.gridView1.Appearance.FocusedRow.BackColor = System.Drawing.Color.CornflowerBlue; this.gridView1.Appearance.FocusedRow.Options.UseBackColor = true; this.gridView1.Appearance.SelectedRow.BackColor = System.Drawing.Color.LightBlue; this.gridView1.Appearance.SelectedRow.Options.UseBackColor = true; this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.gridColumn2, this.gridColumn3, this.gridColumn4, this.gridColumn5 }); this.gridView1.GridControl = this.gridControl1; this.gridView1.Name = "gridView1"; this.gridView1.OptionsBehavior.Editable = false; this.gridView1.OptionsView.AllowCellMerge = true; this.gridView1.OptionsView.ShowGroupPanel = false; this.gridView1.CellMerge += new DevExpress.XtraGrid.Views.Grid.CellMergeEventHandler(this.gridView1_CellMerge); // // gridColumn1 // this.gridColumn1.Caption = "管线类型"; this.gridColumn1.FieldName = "PIPELINETYPE"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.True; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; this.gridColumn1.Width = 137; // // gridColumn2 // this.gridColumn2.Caption = "属性"; this.gridColumn2.FieldName = "FIELDNAME"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.True; this.gridColumn2.OptionsEditForm.Visible = DevExpress.Utils.DefaultBoolean.True; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 1; this.gridColumn2.Width = 80; // // gridColumn3 // this.gridColumn3.Caption = "分类"; this.gridColumn3.FieldName = "PVALUE"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 2; this.gridColumn3.Width = 95; // // gridColumn4 // this.gridColumn4.Caption = "长度(米)"; this.gridColumn4.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.gridColumn4.FieldName = "LENGTH"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 3; this.gridColumn4.Width = 107; // // gridColumn5 // this.gridColumn5.Caption = "总长度(米)"; this.gridColumn5.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.gridColumn5.FieldName = "TOTALLENGTH"; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.True; this.gridColumn5.Visible = true; this.gridColumn5.VisibleIndex = 4; this.gridColumn5.Width = 101; // // btnReportOutput // this.btnReportOutput.Location = new System.Drawing.Point(357, 412); this.btnReportOutput.Name = "btnReportOutput"; this.btnReportOutput.Size = new System.Drawing.Size(202, 22); this.btnReportOutput.StyleController = this.layoutControl1; this.btnReportOutput.TabIndex = 2; this.btnReportOutput.Text = "导出Excel"; this.btnReportOutput.Click += new System.EventHandler(this.btnReportOutput_Click); // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlGroup2 }); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.layoutControlGroup1.Size = new System.Drawing.Size(564, 439); this.layoutControlGroup1.Text = "layoutControlGroup1"; this.layoutControlGroup1.TextVisible = false; // // layoutControlGroup2 // this.layoutControlGroup2.CustomizationFormText = "layoutControlGroup2"; this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1, this.layoutControlItem4, this.emptySpaceItem1 }); this.layoutControlGroup2.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup2.Name = "layoutControlGroup2"; this.layoutControlGroup2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.layoutControlGroup2.Size = new System.Drawing.Size(564, 439); this.layoutControlGroup2.Text = "统计表格"; // // layoutControlItem1 // this.layoutControlItem1.Control = this.gridControl1; this.layoutControlItem1.CustomizationFormText = "layoutControlItem1"; this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(558, 387); this.layoutControlItem1.Text = "layoutControlItem1"; this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem1.TextToControlDistance = 0; this.layoutControlItem1.TextVisible = false; // // layoutControlItem4 // this.layoutControlItem4.Control = this.btnReportOutput; this.layoutControlItem4.CustomizationFormText = "layoutControlItem4"; this.layoutControlItem4.Location = new System.Drawing.Point(352, 387); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(206, 26); this.layoutControlItem4.Text = "layoutControlItem4"; this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem4.TextToControlDistance = 0; this.layoutControlItem4.TextVisible = false; // // emptySpaceItem1 // this.emptySpaceItem1.AllowHotTrack = false; this.emptySpaceItem1.CustomizationFormText = "emptySpaceItem1"; this.emptySpaceItem1.Location = new System.Drawing.Point(0, 387); this.emptySpaceItem1.Name = "emptySpaceItem1"; this.emptySpaceItem1.Size = new System.Drawing.Size(352, 26); this.emptySpaceItem1.Text = "emptySpaceItem1"; this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); // // UCPipeLineStatsOutput // this.Controls.Add(this.layoutControl1); this.Name = "UCPipeLineStatsOutput"; this.Size = new System.Drawing.Size(564, 439); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.gridControlData = new DevExpress.XtraGrid.GridControl(); this.dsQueries = new RetirementCenter.DataSources.dsQueries(); this.gridViewData = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colSyndicate = new DevExpress.XtraGrid.Columns.GridColumn(); this.colNum = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemDateEditDMY = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); this.repositoryItemMemoExEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemMemoExEdit(); this.repositoryItemLookUpEdituserin = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.btnPrintExport = new DevExpress.XtraEditors.SimpleButton(); this.vQry46BindingSource = new System.Windows.Forms.BindingSource(this.components); this.vQry46TableAdapter = new RetirementCenter.DataSources.dsQueriesTableAdapters.vQry46TableAdapter(); ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsQueries)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoExEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdituserin)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.vQry46BindingSource)).BeginInit(); this.SuspendLayout(); // // gridControlData // this.gridControlData.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.gridControlData.DataSource = this.vQry46BindingSource; this.gridControlData.EmbeddedNavigator.Buttons.Append.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.CancelEdit.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.Edit.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.EndEdit.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.Remove.Visible = false; this.gridControlData.EmbeddedNavigator.TextStringFormat = "صف {0} من {1}"; this.gridControlData.Location = new System.Drawing.Point(0, 53); this.gridControlData.MainView = this.gridViewData; this.gridControlData.Name = "gridControlData"; this.gridControlData.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemDateEditDMY, this.repositoryItemMemoExEdit1, this.repositoryItemLookUpEdituserin}); this.gridControlData.Size = new System.Drawing.Size(734, 404); this.gridControlData.TabIndex = 1; this.gridControlData.UseEmbeddedNavigator = true; this.gridControlData.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewData}); // // dsQueries // this.dsQueries.DataSetName = "dsQueries"; this.dsQueries.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // gridViewData // this.gridViewData.Appearance.ColumnFilterButton.BackColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.ColumnFilterButton.BorderColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.ColumnFilterButton.ForeColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.ColumnFilterButton.Options.UseBackColor = true; this.gridViewData.Appearance.ColumnFilterButton.Options.UseBorderColor = true; this.gridViewData.Appearance.ColumnFilterButton.Options.UseForeColor = true; this.gridViewData.Appearance.ColumnFilterButtonActive.BackColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.ColumnFilterButtonActive.BorderColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.ColumnFilterButtonActive.ForeColor = System.Drawing.Color.Gainsboro; this.gridViewData.Appearance.ColumnFilterButtonActive.Options.UseBackColor = true; this.gridViewData.Appearance.ColumnFilterButtonActive.Options.UseBorderColor = true; this.gridViewData.Appearance.ColumnFilterButtonActive.Options.UseForeColor = true; this.gridViewData.Appearance.Empty.BackColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.Empty.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.BackwardDiagonal; this.gridViewData.Appearance.Empty.Options.UseBackColor = true; this.gridViewData.Appearance.EvenRow.BackColor = System.Drawing.Color.White; this.gridViewData.Appearance.EvenRow.Options.UseBackColor = true; this.gridViewData.Appearance.FilterCloseButton.BackColor = System.Drawing.Color.Gray; this.gridViewData.Appearance.FilterCloseButton.BorderColor = System.Drawing.Color.Gray; this.gridViewData.Appearance.FilterCloseButton.Options.UseBackColor = true; this.gridViewData.Appearance.FilterCloseButton.Options.UseBorderColor = true; this.gridViewData.Appearance.FilterPanel.BackColor = System.Drawing.Color.Gray; this.gridViewData.Appearance.FilterPanel.ForeColor = System.Drawing.Color.Black; this.gridViewData.Appearance.FilterPanel.Options.UseBackColor = true; this.gridViewData.Appearance.FilterPanel.Options.UseForeColor = true; this.gridViewData.Appearance.FocusedRow.BackColor = System.Drawing.Color.Black; this.gridViewData.Appearance.FocusedRow.ForeColor = System.Drawing.Color.White; this.gridViewData.Appearance.FocusedRow.Options.UseBackColor = true; this.gridViewData.Appearance.FocusedRow.Options.UseForeColor = true; this.gridViewData.Appearance.FooterPanel.BackColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.FooterPanel.BorderColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.FooterPanel.Options.UseBackColor = true; this.gridViewData.Appearance.FooterPanel.Options.UseBorderColor = true; this.gridViewData.Appearance.FooterPanel.Options.UseTextOptions = true; this.gridViewData.Appearance.FooterPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewData.Appearance.GroupButton.BackColor = System.Drawing.Color.Silver; this.gridViewData.Appearance.GroupButton.BorderColor = System.Drawing.Color.Silver; this.gridViewData.Appearance.GroupButton.Options.UseBackColor = true; this.gridViewData.Appearance.GroupButton.Options.UseBorderColor = true; this.gridViewData.Appearance.GroupFooter.BackColor = System.Drawing.Color.Silver; this.gridViewData.Appearance.GroupFooter.BorderColor = System.Drawing.Color.Silver; this.gridViewData.Appearance.GroupFooter.Options.UseBackColor = true; this.gridViewData.Appearance.GroupFooter.Options.UseBorderColor = true; this.gridViewData.Appearance.GroupPanel.BackColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.GroupPanel.ForeColor = System.Drawing.Color.Gray; this.gridViewData.Appearance.GroupPanel.Options.UseBackColor = true; this.gridViewData.Appearance.GroupPanel.Options.UseForeColor = true; this.gridViewData.Appearance.GroupRow.BackColor = System.Drawing.Color.Silver; this.gridViewData.Appearance.GroupRow.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.gridViewData.Appearance.GroupRow.Options.UseBackColor = true; this.gridViewData.Appearance.GroupRow.Options.UseFont = true; this.gridViewData.Appearance.HeaderPanel.BackColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.HeaderPanel.BorderColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.HeaderPanel.Options.UseBackColor = true; this.gridViewData.Appearance.HeaderPanel.Options.UseBorderColor = true; this.gridViewData.Appearance.HideSelectionRow.BackColor = System.Drawing.Color.LightSlateGray; this.gridViewData.Appearance.HideSelectionRow.Options.UseBackColor = true; this.gridViewData.Appearance.HorzLine.BackColor = System.Drawing.Color.LightGray; this.gridViewData.Appearance.HorzLine.Options.UseBackColor = true; this.gridViewData.Appearance.OddRow.BackColor = System.Drawing.Color.WhiteSmoke; this.gridViewData.Appearance.OddRow.Options.UseBackColor = true; this.gridViewData.Appearance.Preview.BackColor = System.Drawing.Color.Gainsboro; this.gridViewData.Appearance.Preview.ForeColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.Preview.Options.UseBackColor = true; this.gridViewData.Appearance.Preview.Options.UseForeColor = true; this.gridViewData.Appearance.Row.BackColor = System.Drawing.Color.White; this.gridViewData.Appearance.Row.Options.UseBackColor = true; this.gridViewData.Appearance.RowSeparator.BackColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.RowSeparator.Options.UseBackColor = true; this.gridViewData.Appearance.SelectedRow.BackColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.SelectedRow.Options.UseBackColor = true; this.gridViewData.Appearance.VertLine.BackColor = System.Drawing.Color.LightGray; this.gridViewData.Appearance.VertLine.Options.UseBackColor = true; this.gridViewData.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colSyndicate, this.colNum}); this.gridViewData.GridControl = this.gridControlData; this.gridViewData.Name = "gridViewData"; this.gridViewData.OptionsBehavior.ReadOnly = true; this.gridViewData.OptionsCustomization.AllowRowSizing = true; this.gridViewData.OptionsFind.AlwaysVisible = true; this.gridViewData.OptionsPrint.EnableAppearanceEvenRow = true; this.gridViewData.OptionsPrint.EnableAppearanceOddRow = true; this.gridViewData.OptionsView.ColumnAutoWidth = false; this.gridViewData.OptionsView.EnableAppearanceEvenRow = true; this.gridViewData.OptionsView.EnableAppearanceOddRow = true; this.gridViewData.OptionsView.ShowAutoFilterRow = true; this.gridViewData.OptionsView.ShowFooter = true; // // colSyndicate // this.colSyndicate.AppearanceCell.Options.UseTextOptions = true; this.colSyndicate.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSyndicate.AppearanceHeader.Options.UseTextOptions = true; this.colSyndicate.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSyndicate.Caption = "الفرعية"; this.colSyndicate.FieldName = "Syndicate"; this.colSyndicate.Name = "colSyndicate"; this.colSyndicate.Visible = true; this.colSyndicate.VisibleIndex = 1; // // colNum // this.colNum.AppearanceCell.Options.UseTextOptions = true; this.colNum.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colNum.AppearanceHeader.Options.UseTextOptions = true; this.colNum.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colNum.Caption = "العدد"; this.colNum.FieldName = "Num"; this.colNum.Name = "colNum"; this.colNum.OptionsColumn.ReadOnly = true; this.colNum.Visible = true; this.colNum.VisibleIndex = 3; // // repositoryItemDateEditDMY // this.repositoryItemDateEditDMY.AutoHeight = false; this.repositoryItemDateEditDMY.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemDateEditDMY.DisplayFormat.FormatString = "dd/MM/yyyy"; this.repositoryItemDateEditDMY.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.repositoryItemDateEditDMY.EditFormat.FormatString = "dd/MM/yyyy"; this.repositoryItemDateEditDMY.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.repositoryItemDateEditDMY.Mask.EditMask = "dd/MM/yyyy"; this.repositoryItemDateEditDMY.Name = "repositoryItemDateEditDMY"; this.repositoryItemDateEditDMY.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); // // repositoryItemMemoExEdit1 // this.repositoryItemMemoExEdit1.AutoHeight = false; this.repositoryItemMemoExEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemMemoExEdit1.Name = "repositoryItemMemoExEdit1"; // // repositoryItemLookUpEdituserin // this.repositoryItemLookUpEdituserin.AutoHeight = false; this.repositoryItemLookUpEdituserin.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemLookUpEdituserin.DisplayMember = "RealName"; this.repositoryItemLookUpEdituserin.Name = "repositoryItemLookUpEdituserin"; this.repositoryItemLookUpEdituserin.NullText = ""; this.repositoryItemLookUpEdituserin.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; this.repositoryItemLookUpEdituserin.ValueMember = "UserID"; // // panelControl1 // this.panelControl1.Controls.Add(this.btnPrintExport); this.panelControl1.Dock = System.Windows.Forms.DockStyle.Top; this.panelControl1.Location = new System.Drawing.Point(0, 0); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(734, 47); this.panelControl1.TabIndex = 3; // // btnPrintExport // this.btnPrintExport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnPrintExport.Location = new System.Drawing.Point(588, 12); this.btnPrintExport.Name = "btnPrintExport"; this.btnPrintExport.Size = new System.Drawing.Size(134, 23); this.btnPrintExport.TabIndex = 0; this.btnPrintExport.Text = "طباعه و تصدير"; this.btnPrintExport.Click += new System.EventHandler(this.btnPrintExport_Click); // // vQry46BindingSource // this.vQry46BindingSource.DataMember = "vQry46"; this.vQry46BindingSource.DataSource = this.dsQueries; // // vQry46TableAdapter // this.vQry46TableAdapter.ClearBeforeFill = true; // // Qry46Frm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(734, 462); this.Controls.Add(this.panelControl1); this.Controls.Add(this.gridControlData); this.Name = "Qry46Frm"; this.Text = "البيانات المصدرة للبنك - احصاء 2"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Qry06Frm_Load); ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsQueries)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoExEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdituserin)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.vQry46BindingSource)).EndInit(); this.ResumeLayout(false); }
public DevExpress.XtraGrid.Views.Base.ColumnView GetLevelDefaultView(DevExpress.XtraGrid.Views.Grid.GridView masterGridView, int rowHandle, int relationIndex, IModelListView masterModelListView, List <MasterDetailRuleInfo> masterDetailRules) { return(GetLevelDefaultViewCore(masterModelListView, masterGridView, rowHandle, relationIndex, masterDetailRules)); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.pnlCtrlTop = new DevExpress.XtraEditors.PanelControl(); this.calcEdit1 = new DevExpress.XtraEditors.CalcEdit(); this.label1 = new System.Windows.Forms.Label(); this.pnlCtrlCenter = new DevExpress.XtraEditors.PanelControl(); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemDateEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn(); this.pnlCtrlBottom = new DevExpress.XtraEditors.PanelControl(); this.simpleButtonCancel = new DevExpress.XtraEditors.SimpleButton(); this.simpleButtonOK = new DevExpress.XtraEditors.SimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.pnlCtrlTop)).BeginInit(); this.pnlCtrlTop.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.calcEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pnlCtrlCenter)).BeginInit(); this.pnlCtrlCenter.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pnlCtrlBottom)).BeginInit(); this.pnlCtrlBottom.SuspendLayout(); this.SuspendLayout(); // // pnlCtrlTop // this.pnlCtrlTop.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.pnlCtrlTop.Controls.Add(this.calcEdit1); this.pnlCtrlTop.Controls.Add(this.label1); this.pnlCtrlTop.Dock = System.Windows.Forms.DockStyle.Top; this.pnlCtrlTop.Location = new System.Drawing.Point(0, 0); this.pnlCtrlTop.Name = "pnlCtrlTop"; this.pnlCtrlTop.Size = new System.Drawing.Size(590, 36); this.pnlCtrlTop.TabIndex = 0; this.pnlCtrlTop.Text = "panelControl1"; // // calcEdit1 // this.calcEdit1.Location = new System.Drawing.Point(234, 8); this.calcEdit1.Name = "calcEdit1"; // // calcEdit1.Properties // this.calcEdit1.Properties.Mask.EditMask = "d2"; this.calcEdit1.Properties.Mask.UseMaskAsDisplayFormat = true; this.calcEdit1.Properties.MaxLength = 3; this.calcEdit1.Properties.Precision = 0; this.calcEdit1.Size = new System.Drawing.Size(106, 20); this.calcEdit1.TabIndex = 1; // // label1 // this.label1.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label1.Location = new System.Drawing.Point(18, 6); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(208, 23); this.label1.TabIndex = 0; this.label1.Text = "Month(s) To Extend:"; // // pnlCtrlCenter // this.pnlCtrlCenter.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.pnlCtrlCenter.Controls.Add(this.gridControl1); this.pnlCtrlCenter.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlCtrlCenter.Location = new System.Drawing.Point(0, 36); this.pnlCtrlCenter.Name = "pnlCtrlCenter"; this.pnlCtrlCenter.Size = new System.Drawing.Size(590, 216); this.pnlCtrlCenter.TabIndex = 1; this.pnlCtrlCenter.Text = "panelControl2"; // // gridControl1 // this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill; // // gridControl1.EmbeddedNavigator // this.gridControl1.EmbeddedNavigator.Name = ""; this.gridControl1.Location = new System.Drawing.Point(0, 0); this.gridControl1.MainView = this.gridView1; this.gridControl1.Name = "gridControl1"; this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemDateEdit1}); this.gridControl1.Size = new System.Drawing.Size(590, 216); this.gridControl1.TabIndex = 0; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1}); // // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.gridColumn2, this.gridColumn3, this.gridColumn4, this.gridColumn5, this.gridColumn6, this.gridColumn7}); this.gridView1.GridControl = this.gridControl1; this.gridView1.Name = "gridView1"; // // gridColumn1 // this.gridColumn1.Caption = "Branch Code"; this.gridColumn1.FieldName = "strBranchCode"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.OptionsColumn.AllowEdit = false; this.gridColumn1.OptionsFilter.AllowFilter = false; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; this.gridColumn1.Width = 93; // // gridColumn2 // this.gridColumn2.Caption = "Locker No"; this.gridColumn2.FieldName = "nLockerNo"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.OptionsColumn.AllowEdit = false; this.gridColumn2.OptionsFilter.AllowFilter = false; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 1; this.gridColumn2.Width = 74; // // gridColumn3 // this.gridColumn3.Caption = "Membership ID"; this.gridColumn3.FieldName = "strMembershipID"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.OptionsColumn.AllowEdit = false; this.gridColumn3.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn3.OptionsFilter.AllowFilter = false; // // gridColumn4 // this.gridColumn4.Caption = "Receipt No"; this.gridColumn4.FieldName = "strReceiptNo"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.OptionsColumn.AllowEdit = false; this.gridColumn4.OptionsFilter.AllowFilter = false; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 2; this.gridColumn4.Width = 113; // // gridColumn5 // this.gridColumn5.Caption = "Status ID"; this.gridColumn5.FieldName = "nStatusID"; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.OptionsColumn.AllowEdit = false; this.gridColumn5.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn5.OptionsFilter.AllowFilter = false; this.gridColumn5.Width = 112; // // gridColumn6 // this.gridColumn6.Caption = "Expiry Date"; this.gridColumn6.ColumnEdit = this.repositoryItemDateEdit1; this.gridColumn6.FieldName = "dtExpiry"; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.OptionsColumn.AllowEdit = false; this.gridColumn6.OptionsFilter.AllowFilter = false; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 3; this.gridColumn6.Width = 114; // // repositoryItemDateEdit1 // this.repositoryItemDateEdit1.AutoHeight = false; this.repositoryItemDateEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemDateEdit1.DisplayFormat.FormatString = "dd/MM/yyyy"; this.repositoryItemDateEdit1.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.repositoryItemDateEdit1.Mask.EditMask = "dd/MM/yyyy"; this.repositoryItemDateEdit1.Name = "repositoryItemDateEdit1"; // // gridColumn7 // this.gridColumn7.Caption = "Remark"; this.gridColumn7.FieldName = "strRemarks"; this.gridColumn7.Name = "gridColumn7"; this.gridColumn7.OptionsColumn.AllowEdit = false; this.gridColumn7.OptionsFilter.AllowFilter = false; this.gridColumn7.Visible = true; this.gridColumn7.VisibleIndex = 4; this.gridColumn7.Width = 182; // // pnlCtrlBottom // this.pnlCtrlBottom.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.pnlCtrlBottom.Controls.Add(this.simpleButtonCancel); this.pnlCtrlBottom.Controls.Add(this.simpleButtonOK); this.pnlCtrlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.pnlCtrlBottom.Location = new System.Drawing.Point(0, 252); this.pnlCtrlBottom.Name = "pnlCtrlBottom"; this.pnlCtrlBottom.Size = new System.Drawing.Size(590, 44); this.pnlCtrlBottom.TabIndex = 2; this.pnlCtrlBottom.Text = "panelControl3"; // // simpleButtonCancel // this.simpleButtonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.simpleButtonCancel.Location = new System.Drawing.Point(504, 12); this.simpleButtonCancel.Name = "simpleButtonCancel"; this.simpleButtonCancel.TabIndex = 8; this.simpleButtonCancel.Text = "Cancel"; this.simpleButtonCancel.Click += new System.EventHandler(this.simpleButtonCancel_Click); // // simpleButtonOK // this.simpleButtonOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.simpleButtonOK.Location = new System.Drawing.Point(418, 12); this.simpleButtonOK.Name = "simpleButtonOK"; this.simpleButtonOK.TabIndex = 7; this.simpleButtonOK.Text = "OK"; this.simpleButtonOK.Click += new System.EventHandler(this.simpleButtonOK_Click); // // FormExtendLocker // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(590, 296); this.Controls.Add(this.pnlCtrlCenter); this.Controls.Add(this.pnlCtrlTop); this.Controls.Add(this.pnlCtrlBottom); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FormExtendLocker"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Extend Locker"; this.Load += new System.EventHandler(this.FormNew_ExtendLocker_Load); ((System.ComponentModel.ISupportInitialize)(this.pnlCtrlTop)).EndInit(); this.pnlCtrlTop.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.calcEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pnlCtrlCenter)).EndInit(); this.pnlCtrlCenter.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pnlCtrlBottom)).EndInit(); this.pnlCtrlBottom.ResumeLayout(false); this.ResumeLayout(false); }
DevExpress.XtraGrid.Views.Base.ColumnView GetLevelDefaultViewCore(IModelListView masterModelListView, DevExpress.XtraGrid.Views.Grid.GridView masterGridView, int rowHandle, int relationIndex, List <MasterDetailRuleInfo> masterDetailRules) { var modelDetailRelationCalculator = new ModelDetailRelationCalculator(masterModelListView, masterGridView, masterDetailRules); bool isRelationSet = modelDetailRelationCalculator.IsRelationSet(rowHandle, relationIndex); if (isRelationSet) { IModelListView childModelListView = modelDetailRelationCalculator.GetChildModelListView(rowHandle, relationIndex); ListView listView = GetListView(modelDetailRelationCalculator, rowHandle, relationIndex, childModelListView); listView.CreateControls(); return(((WinColumnsListEditor)listView.Editor).ColumnView); } return(null); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.DateRangeTo = new DevExpress.XtraEditors.DateEdit(); this.DateFrom = new DevExpress.XtraEditors.DateEdit(); this.dSPromotion = new ACMS.Dataset.DSPromotion(); this.tblReceiptPromotionBindingSource = new System.Windows.Forms.BindingSource(this.components); this.tblReceiptPromotionTableAdapter = new ACMS.Dataset.DSPromotionTableAdapters.tblReceiptPromotionTableAdapter(); this.GridPromotion = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); this.MembershipID = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn(); ((System.ComponentModel.ISupportInitialize)(this.DateRangeTo.Properties.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.DateRangeTo.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.DateFrom.Properties.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.DateFrom.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dSPromotion)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tblReceiptPromotionBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.GridPromotion)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit(); this.SuspendLayout(); // // label2 // this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label2.Location = new System.Drawing.Point(144, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(33, 23); this.label2.TabIndex = 9; this.label2.Text = "To"; // // label1 // this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label1.Location = new System.Drawing.Point(0, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(40, 23); this.label1.TabIndex = 8; this.label1.Text = "From"; // // DateRangeTo // this.DateRangeTo.EditValue = null; this.DateRangeTo.Location = new System.Drawing.Point(174, 8); this.DateRangeTo.Name = "DateRangeTo"; this.DateRangeTo.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.DateRangeTo.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.DateRangeTo.Size = new System.Drawing.Size(97, 20); this.DateRangeTo.TabIndex = 7; this.DateRangeTo.EditValueChanged += new System.EventHandler(this.DateRangeTo_EditValueChanged); // // DateFrom // this.DateFrom.EditValue = null; this.DateFrom.Location = new System.Drawing.Point(40, 8); this.DateFrom.Name = "DateFrom"; this.DateFrom.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.DateFrom.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.DateFrom.Size = new System.Drawing.Size(100, 20); this.DateFrom.TabIndex = 6; this.DateFrom.EditValueChanged += new System.EventHandler(this.DateFrom_EditValueChanged); // // dSPromotion // this.dSPromotion.DataSetName = "DSPromotion"; this.dSPromotion.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // tblReceiptPromotionTableAdapter // this.tblReceiptPromotionTableAdapter.ClearBeforeFill = true; // // GridPromotion // this.GridPromotion.DataSource = this.tblReceiptPromotionBindingSource; this.GridPromotion.Location = new System.Drawing.Point(3, 58); this.GridPromotion.MainView = this.gridView1; this.GridPromotion.Name = "GridPromotion"; this.GridPromotion.Size = new System.Drawing.Size(787, 391); this.GridPromotion.TabIndex = 10; this.GridPromotion.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1, this.gridView2}); // // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.gridColumn2, this.MembershipID, this.gridColumn3, this.gridColumn4, this.gridColumn5, this.gridColumn6, this.gridColumn7}); this.gridView1.GridControl = this.GridPromotion; this.gridView1.Name = "gridView1"; // // gridView2 // this.gridView2.GridControl = this.GridPromotion; this.gridView2.Name = "gridView2"; // // gridColumn1 // this.gridColumn1.Caption = "Date"; this.gridColumn1.FieldName = "dtDate"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; // // gridColumn2 // this.gridColumn2.Caption = "Receipt"; this.gridColumn2.FieldName = "strReceiptNo"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 1; // // simpleButton1 // this.simpleButton1.Location = new System.Drawing.Point(302, 5); this.simpleButton1.Name = "simpleButton1"; this.simpleButton1.Size = new System.Drawing.Size(75, 23); this.simpleButton1.TabIndex = 11; this.simpleButton1.Text = "Generate"; this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click); // // MembershipID // this.MembershipID.Caption = "Membership ID"; this.MembershipID.FieldName = "strMembershipID"; this.MembershipID.Name = "MembershipID"; this.MembershipID.Visible = true; this.MembershipID.VisibleIndex = 2; // // gridColumn3 // this.gridColumn3.Caption = "Description"; this.gridColumn3.FieldName = "strPromotion"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 3; // // gridColumn4 // this.gridColumn4.Caption = "Sales Person"; this.gridColumn4.FieldName = "strEmployeeName"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 4; // // gridColumn5 // this.gridColumn5.Caption = "Type"; this.gridColumn5.FieldName = "strType"; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.Visible = true; this.gridColumn5.VisibleIndex = 5; // // gridColumn6 // this.gridColumn6.Caption = "Paid"; this.gridColumn6.FieldName = "Paid"; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 6; // // gridColumn7 // this.gridColumn7.Caption = "Discount"; this.gridColumn7.FieldName = "Discount"; this.gridColumn7.Name = "gridColumn7"; this.gridColumn7.Visible = true; this.gridColumn7.VisibleIndex = 7; // // RPPromotionReport // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(792, 453); this.Controls.Add(this.simpleButton1); this.Controls.Add(this.GridPromotion); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.DateRangeTo); this.Controls.Add(this.DateFrom); this.Name = "RPPromotionReport"; this.Text = "Promotions Report"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.PromotionReport_Load); ((System.ComponentModel.ISupportInitialize)(this.DateRangeTo.Properties.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.DateRangeTo.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.DateFrom.Properties.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.DateFrom.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dSPromotion)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tblReceiptPromotionBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.GridPromotion)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.lblYear = new System.Windows.Forms.Label(); this.pnlYear = new System.Windows.Forms.Panel(); this.editYear = new DevExpress.XtraEditors.GridLookUpEdit(); this.repositoryItemCheckEditYearOpen = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.gvYear = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colYear = new DevExpress.XtraGrid.Columns.GridColumn(); this.colOpen = new DevExpress.XtraGrid.Columns.GridColumn(); this.pnlPeriod = new System.Windows.Forms.Panel(); this.editPeriod = new DevExpress.XtraEditors.GridLookUpEdit(); this.chkPeriodOpen = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.gridLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colPeriod = new DevExpress.XtraGrid.Columns.GridColumn(); this.colEndDate = new DevExpress.XtraGrid.Columns.GridColumn(); this.colPeriodOpen = new DevExpress.XtraGrid.Columns.GridColumn(); this.btnPeriodLookup = new DevExpress.XtraEditors.SimpleButton(); this.lblPeriod = new System.Windows.Forms.Label(); this.pnlEntryDate = new System.Windows.Forms.Panel(); this.editEntryDate = new DevExpress.XtraEditors.DateEdit(); this.lblEntryDate = new System.Windows.Forms.Label(); this.pnlYear.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.editYear.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEditYearOpen)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvYear)).BeginInit(); this.pnlPeriod.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.editPeriod.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chkPeriodOpen)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridLookUpEdit1View)).BeginInit(); this.pnlEntryDate.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.editEntryDate.Properties.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.editEntryDate.Properties)).BeginInit(); this.SuspendLayout(); // // lblYear // this.lblYear.Location = new System.Drawing.Point(5, 8); this.lblYear.Name = "lblYear"; this.lblYear.Size = new System.Drawing.Size(57, 16); this.lblYear.TabIndex = 1; this.lblYear.Text = "Acct Year"; // // pnlYear // this.pnlYear.Controls.Add(this.editYear); this.pnlYear.Controls.Add(this.lblYear); this.pnlYear.Location = new System.Drawing.Point(8, 0); this.pnlYear.Name = "pnlYear"; this.pnlYear.Size = new System.Drawing.Size(168, 32); this.pnlYear.TabIndex = 2; // // editYear // this.editYear.EditValue = 0; this.editYear.Location = new System.Drawing.Point(65, 5); this.editYear.Name = "editYear"; this.editYear.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.editYear.Properties.DisplayMember = "Year"; this.editYear.Properties.NullText = ""; this.editYear.Properties.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemCheckEditYearOpen }); this.editYear.Properties.ValueMember = "Year"; this.editYear.Properties.View = this.gvYear; this.editYear.Properties.CloseUp += new DevExpress.XtraEditors.Controls.CloseUpEventHandler(this.editYear_Properties_CloseUp); this.editYear.Size = new System.Drawing.Size(100, 20); this.editYear.TabIndex = 2; this.editYear.EditValueChanged += new System.EventHandler(this.editYear_EditValueChanged); this.editYear.QueryPopUp += new System.ComponentModel.CancelEventHandler(this.edits_QueryPopUp); // // repositoryItemCheckEditYearOpen // this.repositoryItemCheckEditYearOpen.AutoHeight = false; this.repositoryItemCheckEditYearOpen.Name = "repositoryItemCheckEditYearOpen"; this.repositoryItemCheckEditYearOpen.ValueChecked = "T"; this.repositoryItemCheckEditYearOpen.ValueUnchecked = "F"; // // gvYear // this.gvYear.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colYear, this.colOpen }); this.gvYear.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gvYear.Name = "gvYear"; this.gvYear.OptionsBehavior.Editable = false; this.gvYear.OptionsSelection.EnableAppearanceFocusedCell = false; this.gvYear.OptionsView.ShowGroupPanel = false; // // colYear // this.colYear.Caption = "Year"; this.colYear.FieldName = "Year"; this.colYear.Name = "colYear"; this.colYear.Visible = true; this.colYear.VisibleIndex = 0; // // colOpen // this.colOpen.Caption = "Open"; this.colOpen.ColumnEdit = this.repositoryItemCheckEditYearOpen; this.colOpen.FieldName = "Open"; this.colOpen.Name = "colOpen"; this.colOpen.Visible = true; this.colOpen.VisibleIndex = 1; // // pnlPeriod // this.pnlPeriod.Controls.Add(this.editPeriod); this.pnlPeriod.Controls.Add(this.btnPeriodLookup); this.pnlPeriod.Controls.Add(this.lblPeriod); this.pnlPeriod.Location = new System.Drawing.Point(8, 32); this.pnlPeriod.Name = "pnlPeriod"; this.pnlPeriod.Size = new System.Drawing.Size(168, 32); this.pnlPeriod.TabIndex = 3; // // editPeriod // this.editPeriod.EditValue = 0; this.editPeriod.Location = new System.Drawing.Point(65, 5); this.editPeriod.Name = "editPeriod"; this.editPeriod.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.editPeriod.Properties.NullText = ""; this.editPeriod.Properties.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.chkPeriodOpen }); this.editPeriod.Properties.View = this.gridLookUpEdit1View; this.editPeriod.Properties.CloseUp += new DevExpress.XtraEditors.Controls.CloseUpEventHandler(this.editPeriod_Properties_CloseUp); this.editPeriod.Size = new System.Drawing.Size(75, 20); this.editPeriod.TabIndex = 3; this.editPeriod.EditValueChanged += new System.EventHandler(this.editPeriod_EditValueChanged); this.editPeriod.QueryPopUp += new System.ComponentModel.CancelEventHandler(this.edits_QueryPopUp); // // chkPeriodOpen // this.chkPeriodOpen.AutoHeight = false; this.chkPeriodOpen.Name = "chkPeriodOpen"; this.chkPeriodOpen.ValueChecked = "T"; this.chkPeriodOpen.ValueUnchecked = "F"; // // gridLookUpEdit1View // this.gridLookUpEdit1View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colPeriod, this.colEndDate, this.colPeriodOpen }); this.gridLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gridLookUpEdit1View.Name = "gridLookUpEdit1View"; this.gridLookUpEdit1View.OptionsBehavior.Editable = false; this.gridLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridLookUpEdit1View.OptionsView.ShowGroupPanel = false; // // colPeriod // this.colPeriod.Caption = "Period"; this.colPeriod.FieldName = "PERIOD"; this.colPeriod.MinWidth = 10; this.colPeriod.Name = "colPeriod"; this.colPeriod.OptionsColumn.AllowEdit = false; this.colPeriod.Visible = true; this.colPeriod.VisibleIndex = 0; this.colPeriod.Width = 21; // // colEndDate // this.colEndDate.Caption = "Month"; this.colEndDate.FieldName = "END_DATE"; this.colEndDate.Name = "colEndDate"; this.colEndDate.OptionsColumn.AllowEdit = false; this.colEndDate.Visible = true; this.colEndDate.VisibleIndex = 1; this.colEndDate.Width = 50; // // colPeriodOpen // this.colPeriodOpen.Caption = "Open"; this.colPeriodOpen.ColumnEdit = this.chkPeriodOpen; this.colPeriodOpen.FieldName = "PERIOD_OPEN"; this.colPeriodOpen.MinWidth = 10; this.colPeriodOpen.Name = "colPeriodOpen"; this.colPeriodOpen.OptionsColumn.AllowEdit = false; this.colPeriodOpen.Visible = true; this.colPeriodOpen.VisibleIndex = 2; this.colPeriodOpen.Width = 20; // // btnPeriodLookup // this.btnPeriodLookup.Location = new System.Drawing.Point(145, 5); this.btnPeriodLookup.Name = "btnPeriodLookup"; this.btnPeriodLookup.Size = new System.Drawing.Size(20, 20); this.btnPeriodLookup.TabIndex = 2; this.btnPeriodLookup.Text = "..."; this.btnPeriodLookup.Click += new System.EventHandler(this.btnPeriodLookup_Click); // // lblPeriod // this.lblPeriod.Location = new System.Drawing.Point(5, 8); this.lblPeriod.Name = "lblPeriod"; this.lblPeriod.Size = new System.Drawing.Size(57, 16); this.lblPeriod.TabIndex = 1; this.lblPeriod.Text = "Period"; // // pnlEntryDate // this.pnlEntryDate.Controls.Add(this.editEntryDate); this.pnlEntryDate.Controls.Add(this.lblEntryDate); this.pnlEntryDate.Location = new System.Drawing.Point(8, 66); this.pnlEntryDate.Name = "pnlEntryDate"; this.pnlEntryDate.Size = new System.Drawing.Size(168, 32); this.pnlEntryDate.TabIndex = 4; // // editEntryDate // this.editEntryDate.EditValue = null; this.editEntryDate.Location = new System.Drawing.Point(65, 5); this.editEntryDate.Name = "editEntryDate"; this.editEntryDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.editEntryDate.Properties.Mask.EditMask = ""; this.editEntryDate.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton() }); this.editEntryDate.Size = new System.Drawing.Size(100, 20); this.editEntryDate.TabIndex = 2; this.editEntryDate.EditValueChanged += new System.EventHandler(this.editEntryDate_EditValueChanged); // // lblEntryDate // this.lblEntryDate.Location = new System.Drawing.Point(5, 8); this.lblEntryDate.Name = "lblEntryDate"; this.lblEntryDate.Size = new System.Drawing.Size(67, 17); this.lblEntryDate.TabIndex = 1; this.lblEntryDate.Text = "Entry Date"; // // ucAccountingPicker // this.Appearance.BackColor = System.Drawing.Color.Transparent; this.Appearance.Options.UseBackColor = true; this.Controls.Add(this.pnlEntryDate); this.Controls.Add(this.pnlYear); this.Controls.Add(this.pnlPeriod); this.Name = "ucAccountingPicker"; this.Size = new System.Drawing.Size(184, 112); this.Load += new System.EventHandler(this.ucAccountingPicker_Load); this.pnlYear.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.editYear.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEditYearOpen)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvYear)).EndInit(); this.pnlPeriod.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.editPeriod.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chkPeriodOpen)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridLookUpEdit1View)).EndInit(); this.pnlEntryDate.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.editEntryDate.Properties.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.editEntryDate.Properties)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmUserBrw)); this.pnlBody = new System.Windows.Forms.Panel(); this.pnl_SpeedSearch = new System.Windows.Forms.Panel(); this.pnl_SpeedSearch1 = new System.Windows.Forms.Panel(); this.txt_SpeedSearch = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.grdUser = new DevExpress.XtraGrid.GridControl(); this.persistentRepository1 = new DevExpress.XtraEditors.Repository.PersistentRepository(this.components); this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.gvwUser = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gcolUserID = new DevExpress.XtraGrid.Columns.GridColumn(); this.gcolUserName = new DevExpress.XtraGrid.Columns.GridColumn(); this.gcolUserType = new DevExpress.XtraGrid.Columns.GridColumn(); this.gcolUserStatus = new DevExpress.XtraGrid.Columns.GridColumn(); this.gcolContactID = new DevExpress.XtraGrid.Columns.GridColumn(); this.pnl_Find = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.txtSearch = new System.Windows.Forms.TextBox(); this.chk_Anywhere = new System.Windows.Forms.CheckBox(); this.btn_Clear = new System.Windows.Forms.Button(); this.btn_Find = new System.Windows.Forms.Button(); this.lbl_Find = new System.Windows.Forms.Label(); this.chk_AdvanceSearch = new System.Windows.Forms.CheckBox(); this.pnlBody.SuspendLayout(); this.pnl_SpeedSearch.SuspendLayout(); this.pnl_SpeedSearch1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdUser)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvwUser)).BeginInit(); this.pnl_Find.SuspendLayout(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // pnlBody // this.pnlBody.Controls.Add(this.pnl_SpeedSearch); this.pnlBody.Controls.Add(this.grdUser); this.pnlBody.Controls.Add(this.pnl_Find); this.pnlBody.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlBody.Location = new System.Drawing.Point(0, 0); this.pnlBody.Name = "pnlBody"; this.pnlBody.Size = new System.Drawing.Size(648, 334); this.pnlBody.TabIndex = 27; this.pnlBody.Resize += new System.EventHandler(this.pnlBody_Resize); // // pnl_SpeedSearch // this.pnl_SpeedSearch.BackColor = System.Drawing.Color.Black; this.pnl_SpeedSearch.Controls.Add(this.pnl_SpeedSearch1); this.pnl_SpeedSearch.Location = new System.Drawing.Point(40, 232); this.pnl_SpeedSearch.Name = "pnl_SpeedSearch"; this.pnl_SpeedSearch.Size = new System.Drawing.Size(192, 72); this.pnl_SpeedSearch.TabIndex = 41; this.pnl_SpeedSearch.Visible = false; // // pnl_SpeedSearch1 // this.pnl_SpeedSearch1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(143)))), ((int)(((byte)(230))))); this.pnl_SpeedSearch1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pnl_SpeedSearch1.Controls.Add(this.txt_SpeedSearch); this.pnl_SpeedSearch1.Controls.Add(this.label1); this.pnl_SpeedSearch1.Location = new System.Drawing.Point(4, 4); this.pnl_SpeedSearch1.Name = "pnl_SpeedSearch1"; this.pnl_SpeedSearch1.Size = new System.Drawing.Size(184, 64); this.pnl_SpeedSearch1.TabIndex = 39; // // txt_SpeedSearch // this.txt_SpeedSearch.Location = new System.Drawing.Point(11, 29); this.txt_SpeedSearch.Name = "txt_SpeedSearch"; this.txt_SpeedSearch.Size = new System.Drawing.Size(157, 20); this.txt_SpeedSearch.TabIndex = 10; this.txt_SpeedSearch.TextChanged += new System.EventHandler(this.txt_SpeedSearch_TextChanged); this.txt_SpeedSearch.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_SpeedSearch_KeyDown); this.txt_SpeedSearch.Leave += new System.EventHandler(this.txt_SpeedSearch_Leave); this.txt_SpeedSearch.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txt_SpeedSearch_KeyUp); // // label1 // this.label1.AutoSize = true; this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.label1.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(56, 4); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(71, 14); this.label1.TabIndex = 0; this.label1.Text = "Fast Search"; // // grdUser // this.grdUser.Dock = System.Windows.Forms.DockStyle.Fill; this.grdUser.EmbeddedNavigator.Name = ""; this.grdUser.ExternalRepository = this.persistentRepository1; this.grdUser.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.grdUser.Location = new System.Drawing.Point(0, 90); this.grdUser.MainView = this.gvwUser; this.grdUser.Name = "grdUser"; this.grdUser.Size = new System.Drawing.Size(648, 244); this.grdUser.TabIndex = 25; this.grdUser.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvwUser}); this.grdUser.DoubleClick += new System.EventHandler(this.grdUser_DoubleClick); this.grdUser.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.grdUser_KeyPress); // // persistentRepository1 // this.persistentRepository1.Items.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemTextEdit1}); // // repositoryItemTextEdit1 // this.repositoryItemTextEdit1.AllowFocused = false; this.repositoryItemTextEdit1.AutoHeight = false; this.repositoryItemTextEdit1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1"; // // gvwUser // this.gvwUser.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Style3D; this.gvwUser.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gcolUserID, this.gcolUserName, this.gcolUserType, this.gcolUserStatus, this.gcolContactID}); this.gvwUser.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gvwUser.GridControl = this.grdUser; this.gvwUser.Name = "gvwUser"; this.gvwUser.OptionsPrint.PrintDetails = true; this.gvwUser.OptionsPrint.PrintFilterInfo = true; this.gvwUser.OptionsPrint.PrintPreview = true; this.gvwUser.OptionsPrint.UsePrintStyles = true; this.gvwUser.OptionsView.ShowGroupPanel = false; this.gvwUser.OptionsView.ShowHorzLines = false; this.gvwUser.OptionsView.ShowIndicator = false; this.gvwUser.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gcolUserName, DevExpress.Data.ColumnSortOrder.Ascending)}); // // gcolUserID // this.gcolUserID.Caption = "User ID"; this.gcolUserID.FieldName = "UserID"; this.gcolUserID.Name = "gcolUserID"; this.gcolUserID.OptionsColumn.AllowEdit = false; this.gcolUserID.OptionsColumn.ReadOnly = true; // // gcolUserName // this.gcolUserName.Caption = "User Name"; this.gcolUserName.FieldName = "UserName"; this.gcolUserName.Name = "gcolUserName"; this.gcolUserName.OptionsColumn.AllowEdit = false; this.gcolUserName.OptionsColumn.ReadOnly = true; this.gcolUserName.Visible = true; this.gcolUserName.VisibleIndex = 0; this.gcolUserName.Width = 200; // // gcolUserType // this.gcolUserType.Caption = "User Type"; this.gcolUserType.FieldName = "UserType"; this.gcolUserType.Name = "gcolUserType"; this.gcolUserType.OptionsColumn.AllowEdit = false; this.gcolUserType.OptionsColumn.ReadOnly = true; this.gcolUserType.Visible = true; this.gcolUserType.VisibleIndex = 1; this.gcolUserType.Width = 90; // // gcolUserStatus // this.gcolUserStatus.Caption = "User Status"; this.gcolUserStatus.FieldName = "UserStatus"; this.gcolUserStatus.Name = "gcolUserStatus"; this.gcolUserStatus.OptionsColumn.AllowEdit = false; this.gcolUserStatus.OptionsColumn.ReadOnly = true; this.gcolUserStatus.Visible = true; this.gcolUserStatus.VisibleIndex = 2; this.gcolUserStatus.Width = 90; // // gcolContactID // this.gcolContactID.Caption = "ContactID"; this.gcolContactID.FieldName = "ContactID"; this.gcolContactID.Name = "gcolContactID"; this.gcolContactID.OptionsColumn.AllowEdit = false; this.gcolContactID.OptionsColumn.ReadOnly = true; // // pnl_Find // this.pnl_Find.BackColor = System.Drawing.SystemColors.Window; this.pnl_Find.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.pnl_Find.Controls.Add(this.panel1); this.pnl_Find.Controls.Add(this.txtSearch); this.pnl_Find.Controls.Add(this.chk_Anywhere); this.pnl_Find.Controls.Add(this.btn_Clear); this.pnl_Find.Controls.Add(this.btn_Find); this.pnl_Find.Controls.Add(this.lbl_Find); this.pnl_Find.Controls.Add(this.chk_AdvanceSearch); this.pnl_Find.Dock = System.Windows.Forms.DockStyle.Top; this.pnl_Find.Location = new System.Drawing.Point(0, 0); this.pnl_Find.Name = "pnl_Find"; this.pnl_Find.Size = new System.Drawing.Size(648, 90); this.pnl_Find.TabIndex = 26; // // panel1 // this.panel1.Controls.Add(this.pictureBox1); this.panel1.Dock = System.Windows.Forms.DockStyle.Right; this.panel1.Location = new System.Drawing.Point(460, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(184, 86); this.panel1.TabIndex = 10; // // pictureBox1 // this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Location = new System.Drawing.Point(0, 0); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(184, 86); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox1.TabIndex = 0; this.pictureBox1.TabStop = false; // // txtSearch // this.txtSearch.Location = new System.Drawing.Point(64, 17); this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(296, 20); this.txtSearch.TabIndex = 9; this.txtSearch.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtSearch_KeyDown); // // chk_Anywhere // this.chk_Anywhere.BackColor = System.Drawing.SystemColors.Window; this.chk_Anywhere.FlatStyle = System.Windows.Forms.FlatStyle.System; this.chk_Anywhere.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.chk_Anywhere.Location = new System.Drawing.Point(210, 44); this.chk_Anywhere.Name = "chk_Anywhere"; this.chk_Anywhere.RightToLeft = System.Windows.Forms.RightToLeft.No; this.chk_Anywhere.Size = new System.Drawing.Size(154, 24); this.chk_Anywhere.TabIndex = 7; this.chk_Anywhere.Text = "Search Anywhere in Fields"; this.chk_Anywhere.UseVisualStyleBackColor = false; // // btn_Clear // this.btn_Clear.BackColor = System.Drawing.SystemColors.Control; this.btn_Clear.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btn_Clear.Location = new System.Drawing.Point(370, 44); this.btn_Clear.Name = "btn_Clear"; this.btn_Clear.Size = new System.Drawing.Size(75, 23); this.btn_Clear.TabIndex = 6; this.btn_Clear.Text = "Clear"; this.btn_Clear.UseVisualStyleBackColor = false; this.btn_Clear.Click += new System.EventHandler(this.btn_Clear_Click); // // btn_Find // this.btn_Find.BackColor = System.Drawing.SystemColors.Control; this.btn_Find.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btn_Find.Location = new System.Drawing.Point(370, 15); this.btn_Find.Name = "btn_Find"; this.btn_Find.Size = new System.Drawing.Size(75, 23); this.btn_Find.TabIndex = 4; this.btn_Find.Text = "Find"; this.btn_Find.UseVisualStyleBackColor = false; this.btn_Find.Click += new System.EventHandler(this.btn_Find_Click); // // lbl_Find // this.lbl_Find.AutoSize = true; this.lbl_Find.Location = new System.Drawing.Point(15, 19); this.lbl_Find.Name = "lbl_Find"; this.lbl_Find.Size = new System.Drawing.Size(30, 13); this.lbl_Find.TabIndex = 0; this.lbl_Find.Text = " Find"; // // chk_AdvanceSearch // this.chk_AdvanceSearch.BackColor = System.Drawing.SystemColors.Window; this.chk_AdvanceSearch.Checked = true; this.chk_AdvanceSearch.CheckState = System.Windows.Forms.CheckState.Checked; this.chk_AdvanceSearch.FlatStyle = System.Windows.Forms.FlatStyle.System; this.chk_AdvanceSearch.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.chk_AdvanceSearch.Location = new System.Drawing.Point(64, 44); this.chk_AdvanceSearch.Name = "chk_AdvanceSearch"; this.chk_AdvanceSearch.RightToLeft = System.Windows.Forms.RightToLeft.No; this.chk_AdvanceSearch.Size = new System.Drawing.Size(112, 24); this.chk_AdvanceSearch.TabIndex = 8; this.chk_AdvanceSearch.Text = "Search All Fields"; this.chk_AdvanceSearch.UseVisualStyleBackColor = false; // // frmUserBrw // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(648, 334); this.Controls.Add(this.pnlBody); this.Name = "frmUserBrw"; this.Text = "User..."; this.Load += new System.EventHandler(this.frmUserBrw_Load); this.Resize += new System.EventHandler(this.frmUserBrw_Resize); this.pnlBody.ResumeLayout(false); this.pnl_SpeedSearch.ResumeLayout(false); this.pnl_SpeedSearch1.ResumeLayout(false); this.pnl_SpeedSearch1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdUser)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvwUser)).EndInit(); this.pnl_Find.ResumeLayout(false); this.pnl_Find.PerformLayout(); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); }
private void gridView1_InitNewRow(object sender, DevExpress.XtraGrid.Views.Grid.InitNewRowEventArgs e) { DevExpress.XtraGrid.Views.Grid.GridView view = sender as DevExpress.XtraGrid.Views.Grid.GridView; view.SetRowCellValue(e.RowHandle, view.Columns ["DB010"], (gridView1.DataRowCount + 1).ToString( )); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.repositoryItemCheckEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.panelControlMemberPackage = new DevExpress.XtraEditors.PanelControl(); this.GridControlMemberPackage = new DevExpress.XtraGrid.GridControl(); this.gridViewMemberPackage = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.GridColumn28 = new DevExpress.XtraGrid.Columns.GridColumn(); this.GridColumn30 = new DevExpress.XtraGrid.Columns.GridColumn(); this.GridColumn31 = new DevExpress.XtraGrid.Columns.GridColumn(); this.GridColumn32 = new DevExpress.XtraGrid.Columns.GridColumn(); this.GridColumn33 = new DevExpress.XtraGrid.Columns.GridColumn(); this.GridColumn35 = new DevExpress.XtraGrid.Columns.GridColumn(); this.GridColumn44 = new DevExpress.XtraGrid.Columns.GridColumn(); this.GridColumn45 = new DevExpress.XtraGrid.Columns.GridColumn(); this.GridColumn50 = new DevExpress.XtraGrid.Columns.GridColumn(); this.GridColumn49 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn(); this.GridColumn34 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colChecked = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.splitterControl1 = new DevExpress.XtraEditors.SplitterControl(); this.panelControlPackage = new DevExpress.XtraEditors.PanelControl(); this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton(); this.simpleButtonOK1 = new DevExpress.XtraEditors.SimpleButton(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControlMemberPackage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.GridControlMemberPackage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMemberPackage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControlPackage)).BeginInit(); this.panelControlPackage.SuspendLayout(); this.SuspendLayout(); // // repositoryItemCheckEdit2 // this.repositoryItemCheckEdit2.AutoHeight = false; this.repositoryItemCheckEdit2.Name = "repositoryItemCheckEdit2"; this.repositoryItemCheckEdit2.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked; this.repositoryItemCheckEdit2.ValueGrayed = ""; // // repositoryItemCheckEdit1 // this.repositoryItemCheckEdit1.AutoHeight = false; this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1"; // // panelControlMemberPackage // this.panelControlMemberPackage.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControlMemberPackage.Location = new System.Drawing.Point(0, 0); this.panelControlMemberPackage.Name = "panelControlMemberPackage"; this.panelControlMemberPackage.Size = new System.Drawing.Size(864, 220); this.panelControlMemberPackage.TabIndex = 1; // // GridControlMemberPackage // this.GridControlMemberPackage.Location = new System.Drawing.Point(-2, 13); this.GridControlMemberPackage.LookAndFeel.UseDefaultLookAndFeel = false; this.GridControlMemberPackage.MainView = this.gridViewMemberPackage; this.GridControlMemberPackage.Name = "GridControlMemberPackage"; this.GridControlMemberPackage.Size = new System.Drawing.Size(818, 229); this.GridControlMemberPackage.TabIndex = 8; this.GridControlMemberPackage.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewMemberPackage}); this.GridControlMemberPackage.Click += new System.EventHandler(this.GridControlMemberPackage_Click); // // gridViewMemberPackage // this.gridViewMemberPackage.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.GridColumn28, this.GridColumn30, this.GridColumn31, this.GridColumn32, this.GridColumn33, this.GridColumn35, this.GridColumn44, this.GridColumn45, this.GridColumn50, this.GridColumn49, this.gridColumn14, this.GridColumn34, this.gridColumn13, this.colChecked, this.gridColumn2}); this.gridViewMemberPackage.GridControl = this.GridControlMemberPackage; this.gridViewMemberPackage.GroupFormat = ""; this.gridViewMemberPackage.HorzScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always; this.gridViewMemberPackage.Name = "gridViewMemberPackage"; this.gridViewMemberPackage.OptionsCustomization.AllowGroup = false; this.gridViewMemberPackage.OptionsCustomization.AllowSort = false; this.gridViewMemberPackage.OptionsView.ColumnAutoWidth = false; this.gridViewMemberPackage.OptionsView.ShowGroupPanel = false; this.gridViewMemberPackage.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridViewMemberPackage_FocusedRowChanged); // // gridColumn1 // this.gridColumn1.Caption = "Type"; this.gridColumn1.FieldName = "strPackageType"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 1; this.gridColumn1.Width = 100; // // GridColumn28 // this.GridColumn28.Caption = "Package ID"; this.GridColumn28.FieldName = "nPackageID"; this.GridColumn28.Name = "GridColumn28"; this.GridColumn28.OptionsColumn.AllowEdit = false; this.GridColumn28.OptionsColumn.AllowFocus = false; this.GridColumn28.OptionsFilter.AllowFilter = false; this.GridColumn28.Visible = true; this.GridColumn28.VisibleIndex = 2; this.GridColumn28.Width = 80; // // GridColumn30 // this.GridColumn30.Caption = "Package Code"; this.GridColumn30.FieldName = "strPackageCode"; this.GridColumn30.Name = "GridColumn30"; this.GridColumn30.OptionsColumn.AllowEdit = false; this.GridColumn30.OptionsColumn.AllowFocus = false; this.GridColumn30.OptionsFilter.AllowFilter = false; this.GridColumn30.Visible = true; this.GridColumn30.VisibleIndex = 3; this.GridColumn30.Width = 90; // // GridColumn31 // this.GridColumn31.Caption = "Package Description"; this.GridColumn31.FieldName = "strDescription"; this.GridColumn31.Name = "GridColumn31"; this.GridColumn31.OptionsColumn.AllowEdit = false; this.GridColumn31.OptionsColumn.AllowFocus = false; this.GridColumn31.OptionsFilter.AllowFilter = false; this.GridColumn31.Visible = true; this.GridColumn31.VisibleIndex = 4; this.GridColumn31.Width = 280; // // GridColumn32 // this.GridColumn32.Caption = "Purchase Date"; this.GridColumn32.DisplayFormat.FormatString = "dd/MM/yyyy"; this.GridColumn32.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.GridColumn32.FieldName = "dtPurchaseDate"; this.GridColumn32.Name = "GridColumn32"; this.GridColumn32.OptionsColumn.AllowEdit = false; this.GridColumn32.OptionsColumn.AllowFocus = false; this.GridColumn32.OptionsFilter.AllowFilter = false; this.GridColumn32.Width = 84; // // GridColumn33 // this.GridColumn33.Caption = "Receipt No"; this.GridColumn33.FieldName = "strReceiptNo"; this.GridColumn33.Name = "GridColumn33"; this.GridColumn33.OptionsColumn.AllowEdit = false; this.GridColumn33.OptionsColumn.AllowFocus = false; this.GridColumn33.OptionsFilter.AllowFilter = false; this.GridColumn33.Width = 82; // // GridColumn35 // this.GridColumn35.Caption = "Start Date"; this.GridColumn35.DisplayFormat.FormatString = "dd/MM/yyyy"; this.GridColumn35.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.GridColumn35.FieldName = "dtStartDate"; this.GridColumn35.Name = "GridColumn35"; this.GridColumn35.OptionsColumn.AllowEdit = false; this.GridColumn35.OptionsColumn.AllowFocus = false; this.GridColumn35.OptionsFilter.AllowFilter = false; this.GridColumn35.Width = 73; // // GridColumn44 // this.GridColumn44.Caption = "Expiry Date"; this.GridColumn44.DisplayFormat.FormatString = "dd/MM/yyyy"; this.GridColumn44.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.GridColumn44.FieldName = "dtExpiryDate"; this.GridColumn44.Name = "GridColumn44"; this.GridColumn44.OptionsColumn.AllowEdit = false; this.GridColumn44.OptionsColumn.AllowFocus = false; this.GridColumn44.OptionsFilter.AllowFilter = false; this.GridColumn44.Width = 104; // // GridColumn45 // this.GridColumn45.Caption = "Free Indicator"; this.GridColumn45.ColumnEdit = this.repositoryItemCheckEdit1; this.GridColumn45.FieldName = "fFree"; this.GridColumn45.Name = "GridColumn45"; this.GridColumn45.OptionsColumn.AllowEdit = false; this.GridColumn45.OptionsColumn.AllowFocus = false; this.GridColumn45.OptionsFilter.AllowFilter = false; this.GridColumn45.Width = 110; // // GridColumn50 // this.GridColumn50.Caption = "Usage Balance Amount"; this.GridColumn50.DisplayFormat.FormatString = "{0:C}"; this.GridColumn50.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; this.GridColumn50.FieldName = "UsageBalAmt"; this.GridColumn50.Name = "GridColumn50"; this.GridColumn50.OptionsColumn.AllowEdit = false; this.GridColumn50.OptionsColumn.AllowFocus = false; this.GridColumn50.OptionsFilter.AllowFilter = false; this.GridColumn50.Visible = true; this.GridColumn50.VisibleIndex = 5; this.GridColumn50.Width = 134; // // GridColumn49 // this.GridColumn49.Caption = "Remark"; this.GridColumn49.FieldName = "strRemarks"; this.GridColumn49.Name = "GridColumn49"; this.GridColumn49.OptionsColumn.AllowEdit = false; this.GridColumn49.OptionsColumn.AllowFocus = false; this.GridColumn49.OptionsFilter.AllowFilter = false; this.GridColumn49.Visible = true; this.GridColumn49.VisibleIndex = 6; this.GridColumn49.Width = 70; // // gridColumn14 // this.gridColumn14.Caption = "Paid Amount"; this.gridColumn14.DisplayFormat.FormatString = "{0:C}"; this.gridColumn14.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; this.gridColumn14.FieldName = "PaidAmt"; this.gridColumn14.Name = "gridColumn14"; this.gridColumn14.OptionsColumn.AllowEdit = false; this.gridColumn14.OptionsColumn.AllowFocus = false; this.gridColumn14.OptionsFilter.AllowFilter = false; this.gridColumn14.Width = 90; // // GridColumn34 // this.GridColumn34.Caption = "Balance"; this.GridColumn34.FieldName = "strBalNew"; this.GridColumn34.Name = "GridColumn34"; this.GridColumn34.OptionsColumn.AllowEdit = false; this.GridColumn34.OptionsColumn.AllowFocus = false; this.GridColumn34.OptionsFilter.AllowFilter = false; this.GridColumn34.Visible = true; this.GridColumn34.VisibleIndex = 7; this.GridColumn34.Width = 60; // // gridColumn13 // this.gridColumn13.Caption = "Unit Price"; this.gridColumn13.DisplayFormat.FormatString = "{0:C}"; this.gridColumn13.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; this.gridColumn13.FieldName = "mBaseUnitPrice"; this.gridColumn13.Name = "gridColumn13"; this.gridColumn13.OptionsColumn.AllowEdit = false; this.gridColumn13.OptionsColumn.AllowFocus = false; this.gridColumn13.OptionsFilter.AllowFilter = false; this.gridColumn13.Width = 57; // // colChecked // this.colChecked.ColumnEdit = this.repositoryItemCheckEdit2; this.colChecked.FieldName = "Checked"; this.colChecked.Name = "colChecked"; this.colChecked.Visible = true; this.colChecked.VisibleIndex = 0; this.colChecked.Width = 34; // // gridColumn2 // this.gridColumn2.Caption = "Calculation"; this.gridColumn2.FieldName = "strCalculation"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 8; // // splitterControl1 // this.splitterControl1.Dock = System.Windows.Forms.DockStyle.Top; this.splitterControl1.Location = new System.Drawing.Point(0, 0); this.splitterControl1.Name = "splitterControl1"; this.splitterControl1.Size = new System.Drawing.Size(979, 6); this.splitterControl1.TabIndex = 2; this.splitterControl1.TabStop = false; // // panelControlPackage // this.panelControlPackage.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControlPackage.Controls.Add(this.simpleButton2); this.panelControlPackage.Controls.Add(this.simpleButtonOK1); this.panelControlPackage.Controls.Add(this.GridControlMemberPackage); this.panelControlPackage.Dock = System.Windows.Forms.DockStyle.Fill; this.panelControlPackage.Location = new System.Drawing.Point(0, 6); this.panelControlPackage.Name = "panelControlPackage"; this.panelControlPackage.Size = new System.Drawing.Size(979, 316); this.panelControlPackage.TabIndex = 4; // // simpleButton2 // this.simpleButton2.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.simpleButton2.Location = new System.Drawing.Point(644, 247); this.simpleButton2.Name = "simpleButton2"; this.simpleButton2.Size = new System.Drawing.Size(75, 23); this.simpleButton2.TabIndex = 12; this.simpleButton2.Text = "Cancel"; // // simpleButtonOK1 // this.simpleButtonOK1.DialogResult = System.Windows.Forms.DialogResult.OK; this.simpleButtonOK1.Location = new System.Drawing.Point(557, 247); this.simpleButtonOK1.Name = "simpleButtonOK1"; this.simpleButtonOK1.Size = new System.Drawing.Size(75, 23); this.simpleButtonOK1.TabIndex = 11; this.simpleButtonOK1.Text = "OK"; this.simpleButtonOK1.Click += new System.EventHandler(this.simpleButtonOK_Click); // // FormUpgradePackageNew // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(979, 322); this.Controls.Add(this.panelControlPackage); this.Controls.Add(this.panelControlMemberPackage); this.Controls.Add(this.splitterControl1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FormUpgradePackageNew"; this.ShowInTaskbar = false; this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Upgrade Selection"; this.Load += new System.EventHandler(this.FormUpgradePackage_Load); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControlMemberPackage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.GridControlMemberPackage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMemberPackage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControlPackage)).EndInit(); this.panelControlPackage.ResumeLayout(false); this.ResumeLayout(false); }
public void ExportExcel(DevExpress.XtraGrid.Views.Grid.GridView grv, string directory, string fileName) { ExportExcel(grv, (DataView)(grv.DataSource), directory, fileName); }