private void InitializeComponent() { this.label1 = new Label(); this.grbMain = new GroupControl(); this.rbOr = new CheckEdit(); this.rbAnd = new CheckEdit(); this.piSecond = new ComboBoxEdit(); this.piFirst = new ComboBoxEdit(); this.btnOK = new SimpleButton(); this.btnCancel = new SimpleButton(); this.pnlMain = new PanelControl(); this.grbMain.BeginInit(); this.grbMain.SuspendLayout(); this.rbOr.Properties.BeginInit(); this.rbAnd.Properties.BeginInit(); this.piSecond.Properties.BeginInit(); this.piFirst.Properties.BeginInit(); this.pnlMain.BeginInit(); this.pnlMain.SuspendLayout(); base.SuspendLayout(); this.label1.AutoSize = true; this.label1.Location = new Point(8, 8); this.label1.Name = "label1"; this.label1.Size = new Size(0x61, 14); this.label1.TabIndex = 0; this.label1.Text = "Show rows where:"; this.grbMain.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this.grbMain.Controls.AddRange(new Control[] { this.rbOr, this.rbAnd, this.piSecond, this.piFirst }); this.grbMain.Location = new Point(8, 0x18); this.grbMain.Name = "grbMain"; this.grbMain.Size = new Size(0x174, 0x6c); this.grbMain.TabIndex = 1; this.rbOr.Location = new Point(0x5e, 0x34); this.rbOr.Name = "rbOr"; this.rbOr.Properties.Caption = "&Or"; this.rbOr.Properties.CheckStyle = CheckStyles.Radio; this.rbOr.Properties.RadioGroupIndex = 0; this.rbOr.Size = new Size(0x38, 20); this.rbOr.TabIndex = 14; this.rbAnd.Location = new Point(0x26, 0x34); this.rbAnd.Name = "rbAnd"; this.rbAnd.Properties.Caption = "&And"; this.rbAnd.Properties.CheckStyle = CheckStyles.Radio; this.rbAnd.Properties.RadioGroupIndex = 0; this.rbAnd.Size = new Size(0x38, 20); this.rbAnd.TabIndex = 13; this.piSecond.EditValue = ""; this.piSecond.Location = new Point(12, 0x4c); this.piSecond.Name = "piSecond"; this.piSecond.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) }); this.piSecond.Properties.TextEditStyle = TextEditStyles.DisableTextEditor; this.piSecond.Size = new Size(0xa4, 0x15); this.piSecond.TabIndex = 0x19; this.piFirst.EditValue = ""; this.piFirst.Location = new Point(12, 0x1c); this.piFirst.Name = "piFirst"; this.piFirst.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) }); this.piFirst.Properties.TextEditStyle = TextEditStyles.DisableTextEditor; this.piFirst.Size = new Size(0xa4, 0x15); this.piFirst.TabIndex = 2; this.btnOK.Anchor = AnchorStyles.Right | AnchorStyles.Top; this.btnOK.DialogResult = DialogResult.OK; this.btnOK.Location = new Point(0xbc, 140); this.btnOK.Name = "btnOK"; this.btnOK.Size = new Size(0x5c, 0x19); this.btnOK.TabIndex = 0; this.btnOK.Text = "&OK"; this.btnOK.Click += new EventHandler(this.btnOK_Click); this.btnCancel.Anchor = AnchorStyles.Right | AnchorStyles.Top; this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Location = new Point(0x120, 140); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new Size(0x5c, 0x19); this.btnCancel.TabIndex = 1; this.btnCancel.Text = "&Cancel"; this.pnlMain.BorderStyle = BorderStyles.NoBorder; this.pnlMain.Controls.AddRange(new Control[] { this.btnCancel, this.btnOK, this.grbMain, this.label1 }); this.pnlMain.Dock = DockStyle.Fill; this.pnlMain.Name = "pnlMain"; this.pnlMain.Size = new Size(0x184, 0xaf); this.pnlMain.TabIndex = 0; base.AcceptButton = this.btnOK; base.CancelButton = this.btnCancel; base.ClientSize = new Size(0x184, 0xaf); base.Controls.AddRange(new Control[] { this.pnlMain }); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "FilterCustomDialog"; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterScreen; this.Text = "Custom AutoFilter"; this.grbMain.EndInit(); this.grbMain.ResumeLayout(false); this.rbOr.Properties.EndInit(); this.rbAnd.Properties.EndInit(); this.piSecond.Properties.EndInit(); this.piFirst.Properties.EndInit(); this.pnlMain.EndInit(); this.pnlMain.ResumeLayout(false); base.ResumeLayout(false); }
private void CreateControls(IList<QueryGroupItem> groupItems) { this.layoutControlContainer.BeginUpdate(); try { this.layoutControlGroupMain.Clear(); foreach (var groupItem in groupItems) { var combo = new CheckedComboBoxEdit {Name = "checkedCombo" + groupItems.IndexOf(groupItem)}; combo.Properties.SelectAllItemVisible = true; combo.Properties.SelectAllItemCaption = "Выбрать все"; combo.Properties.DropDownRows = 10; combo.Properties.DisplayMember = "Key"; combo.Properties.ValueMember = "Value"; combo.Properties.DataSource = groupItem.QueryDictionary.ToList(); EventHandler popupHandler = null; popupHandler = (sender, args) => { var popupContainer = (PopupContainerForm) ((IPopupControl) sender).PopupWindow; _listBoxQueries = popupContainer.Controls[3].Controls[0] as CheckedListBoxControl; if (_listBoxQueries == null) return; _listBoxQueries.ItemCheck += (o, eventArgs) => { combo.Text = string.Join("; ", _listBoxQueries.CheckedIndices.OfType<int>().Select(t => _listBoxQueries.GetItemText(t))); ListBoxQueriesOnItemCheck(o, eventArgs); }; combo.Popup -= popupHandler; }; combo.Popup += popupHandler; combo.Closed += (sender, args) => { combo.Text = string.Join("; ", _listBoxQueries.CheckedIndices.OfType<int>().Select(t => _listBoxQueries.GetItemText(t))); }; var layoutItem = new LayoutControlItem() { Text = groupItem.Head, TextLocation = Locations.Top, Control = combo }; layoutItem.AppearanceItemCaption.Font = new Font("Segoe UI", 9); this.layoutControlGroupMain.Add(layoutItem); } if (_queryListOthers.Any()) { var checkAllBox = new CheckEdit { CheckState = CheckState.Unchecked, Text = "Выбрать все" }; checkAllBox.Properties.AllowGrayed = true; checkAllBox.CheckedChanged += (sender, args) => { if (checkAllBox.Checked) { _listBoxOtherQueries.CheckAll(); } else { _listBoxOtherQueries.UnCheckAll(); } }; _listBoxOtherQueries = new CheckedListBoxControl { DisplayMember = "title", ValueMember = null, DataSource = _queryListOthers, Name = "listBoxOtherQueries", CheckOnClick = true, AutoSizeInLayoutControl = true //MinimumSize = new Size(0, 200) }; _listBoxOtherQueries.ItemCheck += (sender, args) => { if (_listBoxOtherQueries.CheckedItemsCount < _listBoxOtherQueries.ItemCount) checkAllBox.CheckState = CheckState.Indeterminate; else if (_listBoxOtherQueries.CheckedItemsCount == 0) checkAllBox.CheckState = CheckState.Unchecked; else checkAllBox.CheckState = CheckState.Checked; ListBoxQueriesOnItemCheck(sender, args); }; var layoutItem = new LayoutControlItem() { Text = "Остальные запросы", TextLocation = Locations.Top, Control = _listBoxOtherQueries }; layoutItem.AppearanceItemCaption.Font = new Font("Segoe UI", 9); this.layoutControlGroupMain.Add(layoutItem); this.layoutControlGroupMain.AddItem(new LayoutControlItem() { TextVisible = false, Control = checkAllBox }); } } finally { this.layoutControlContainer.EndUpdate(); } }
private void AddCheckbox(Control control, bool check) { CheckEdit checkE = new CheckEdit(); checkE.Tag = control; checkE.Text = ""; System.Drawing.Point location; if (control.Tag == null) { location = new System.Drawing.Point( control.Location.X + control.Size.Width + 5, control.Location.Y + 1); } else { Control tag = control.Tag as Control; location = new System.Drawing.Point( tag.Location.X + control.Size.Width + 5, tag.Location.Y + 1); } checkE.Location = location; checkE.CheckedChanged += chk_CheckedChanged; checkE.Checked = check; if (check == false) { chk_CheckedChanged(checkE, null); } control.Parent.Controls.Add(checkE); }
private void LoadChiPhi_CheckEdit(DataTable data) { int n = data.Rows.Count; int max_x = (int)(groupBox3_LapPhieuThu.Width * 0.8); int max_y = (int)(groupBox3_LapPhieuThu.Height * 0.8); int min_x = (int)(groupBox3_LapPhieuThu.Width * 0.2); int min_y = (int)(groupBox3_LapPhieuThu.Height * 0.2); int max_width = 0; int x = Math.Min(min_x, min_y); int y = Math.Min(min_x, min_y); for (int i = 0; i < n; i++) { string caption = data.Rows[i]["tenchiphi"].ToString(); Point location = new Point(x, y); CheckEdit cke = Cke_ChiPhi(location, caption); groupBox3_LapPhieuThu.Controls.Add(cke); y += (int)(1.5 * cke.Size.Height); max_width = Math.Max(max_width, cke.Size.Width); if (x > max_x) { break; } if (y > max_y) { y = min_y; x += (int)(1.5 * max_width); } } }
private void CheckChange(object sender, EventArgs e) { CheckEdit cke = (CheckEdit)sender; string name = cke.Name; bool trutienkhinghi = true; DevExpress.XtraGrid.Columns.GridColumn gridColumn = null; foreach (DevExpress.XtraGrid.Columns.GridColumn column in gvLapPhieuThu.Columns) { if (column.Name == name) { gridColumn = column; break; } } foreach (DataRow row in ChiPhi.Rows) { string tenchiphi = row["tenchiphi"].ToString(); if (tenchiphi == name) { trutienkhinghi = (bool)row["trutienkhinghi"]; break; } } if (!trutienkhinghi) { CheckChange_CoDinh(gridColumn, cke, "'" + name + "'"); } else { CheckChange_GiaoDong(gridColumn, cke, "'" + name + "'"); } }
void CreateCheckFilteringDemoActions() { AddLoadModuleActions(typeof(Filtering)); AddSimpleAction(delegate() { Assert.IsTrue((bool)FilteringModule.allowFilterEditor.IsChecked); Assert.IsTrue((bool)FilteringModule.allowFilteringCheckEdit.IsChecked); Assert.AreEqual(0, FilteringModule.showFilterPanelModeListBox.SelectedIndex); Assert.AreEqual(0, FilteringModule.viewsListBox.SelectedIndex); Assert.AreEqual(DevExpress.Xpf.Grid.ShowFilterPanelMode.Default, View.ShowFilterPanelMode); FilteringModule.showFilterPanelModeListBox.SelectedIndex = 1; UpdateLayoutAndDoEvents(); Assert.AreEqual(DevExpress.Xpf.Grid.ShowFilterPanelMode.ShowAlways, View.ShowFilterPanelMode); DevExpress.Xpf.Grid.GridColumn column = FilteringModule.colCountry; Assert.AreEqual(DefaultBoolean.Default, column.AllowColumnFiltering); Assert.AreEqual(DefaultBoolean.Default, column.AllowColumnFiltering); CheckEdit updateImmediatelyCheckBox = FilteringModule.immediateUpdateCountryColumnFilterCheckEdit; Assert.AreEqual(true, updateImmediatelyCheckBox.IsChecked); Assert.AreEqual(true, column.ImmediateUpdateColumnFilter); EditorsActions.ToggleCheckEdit(updateImmediatelyCheckBox); Assert.AreEqual(false, column.ImmediateUpdateColumnFilter); EditorsActions.ToggleCheckEdit(updateImmediatelyCheckBox); Assert.AreEqual(true, column.ImmediateUpdateColumnFilter); FilteringModule.showFilterPanelModeListBox.SelectedIndex = 2; UpdateLayoutAndDoEvents(); Assert.AreEqual(DevExpress.Xpf.Grid.ShowFilterPanelMode.Never, View.ShowFilterPanelMode); FilteringModule.viewsListBox.SelectedIndex = 1; UpdateLayoutAndDoEvents(); Assert.AreEqual(typeof(DevExpress.Xpf.Grid.CardView), CardView.GetType()); }); }
private void GV_Main_MouseDown(object sender, MouseEventArgs e) { GridHitInfo hitInfo = GV_Main.CalcHitInfo(e.Location); if (hitInfo == null || hitInfo.Column == null) { return; } if (hitInfo.InRowCell) { if (hitInfo.Column.RealColumnEdit is RepositoryItemCheckEdit) { GV_Main.FocusedColumn = hitInfo.Column; GV_Main.FocusedRowHandle = hitInfo.RowHandle; GV_Main.ShowEditor(); CheckEdit edit = GV_Main.ActiveEditor as CheckEdit; if (edit == null) { return; } edit.Toggle(); DXMouseEventArgs.GetMouseArgs(e).Handled = true; GV_Main.CloseEditor(); } } }
void ApplyCustomFilter(CloseUpEventArgs e) { if (customCheck.Checked) { ColumnFilterInfo cfi = Column.FilterInfo; View.ShowCustomFilterDialog(Column); if (!ReferenceEquals(cfi.FilterCriteria, Column.FilterInfo.FilterCriteria)) { View.DateFilterInfo = Column.FilterInfo; foreach (Control ctrl in DateFilterControl.Controls) { CheckEdit ce = (ctrl as CheckEdit); if (ce != null) { if (ce.Text == customName) { ce.Tag = new FilterDateElement(Column.FieldName, Column.FilterInfo.FilterString, View.DateFilterInfo.FilterCriteria); DateFilterControl.ApplyFilter(); } } } } else { customCheck.Checked = false; } } else { View.DateFilterInfo = null; } }
public DialogResult ShowDialog(IEnumerable <string> tags) { cbGrade.EditValue = Main.conditions.Grade; cbSemester.EditValue = Main.conditions.Semester; var checkedTags = Main.conditions.Tags; tagsList.Clear(); layoutControlGroup2.Clear(); foreach (var tag in tags) { var isChecked = checkedTags?.Exists(t => t == tag); var checkEdit = new CheckEdit() { Text = tag, AutoSizeInLayoutControl = true, Checked = isChecked ?? false }; tagsList.Add(checkEdit); layoutControlGroup2.AddItem("", checkEdit); } if (Main.conditions.ItemTypes != null) { foreach (var item in testItemTypeControls) { if (Main.conditions.ItemTypes.ContainsKey((int)item.Key.Tag)) { item.Key.Checked = true; item.Value.Value = Main.conditions.ItemTypes[(int)item.Key.Tag]; } } } return(ShowDialog()); }
protected override object CreateControlCore() { XtraUserControl control = new XtraUserControl(); showRowGrandTotalCheckEdit = new CheckEdit(); showRowGrandTotalCheckEdit.Properties.Caption = "Show Row Grand Total"; showRowGrandTotalCheckEdit.Location = new Point(0, 0); showRowGrandTotalCheckEdit.Size = showRowGrandTotalCheckEdit.CalcBestSize(); showRowGrandTotalCheckEdit.Anchor = System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top; showRowGrandTotalCheckEdit.CalcBestSize(); showRowGrandTotalCheckEdit.Enabled = false; showRowGrandTotalCheckEdit.CheckedChanged += new EventHandler(showRowGrandTotalCheckEdit_CheckedChanged); showColumnGrandTotalCheckEdit = new CheckEdit(); showColumnGrandTotalCheckEdit.Properties.Caption = "Show Column Grand Total"; showColumnGrandTotalCheckEdit.Location = new Point(0, 20); showColumnGrandTotalCheckEdit.Size = showColumnGrandTotalCheckEdit.CalcBestSize(); showColumnGrandTotalCheckEdit.Anchor = System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top; showColumnGrandTotalCheckEdit.CalcBestSize(); showColumnGrandTotalCheckEdit.Enabled = false; showColumnGrandTotalCheckEdit.CheckedChanged += new EventHandler(showColumnGrandTotalCheckEdit_CheckedChanged); control.Controls.Add(showColumnGrandTotalCheckEdit); control.Controls.Add(showRowGrandTotalCheckEdit); control.Size = control.GetPreferredSize(new Size()); control.MaximumSize = new Size(0, control.Size.Height); control.MinimumSize = new Size(0, control.Size.Height); return(control); }
void WeekDaysCheckEditUnchecked(object sender, RoutedEventArgs e) { CheckEdit edit = (CheckEdit)sender; DayOfWeek day = GetDay((string)edit.Content); navigator.Workdays.Remove(day); }
public void initCheckBox(CheckEdit ceGame, CheckEdit ceVersion, CheckEdit ceGameProcess, CheckEdit ceTrainerStatus) { // ceGame.BackColor = Color.Brown; // ceVersion.BackColor = Color.Brown; // ceTrainerStatus.BackColor = Color.Brown; // ceGameProcess.BackColor = Color.Brown; ceGame.Checked = Selected.GameState; if (ceGame.Checked && Selected.GameState) { ceVersion.Checked = Selected.VersionState; if (rw.Selected.GameProcess != null) { ceGameProcess.Checked = !rw.Selected.GameProcess.HasExited; } ceTrainerStatus.Checked = Selected.TrainerAvailability; } else { ceVersion.Checked = false; if (rw.Selected.GameProcess != null) { ceGameProcess.Checked = rw.Selected.GameProcess.HasExited; } ceTrainerStatus.Checked = Selected.TrainerAvailability; } // ceGameProcess.Checked = rw.loaded && SelectedGameState && SelectedGameVersionState && rw.theProc != null; }
public SimpleUITriggerUserControl() { InitializeComponent(); #region SetUp MVVMContext mvvmContext = new MVVMContext(); mvvmContext.ContainerControl = this; CheckEdit checkEdit = new CheckEdit(); checkEdit.Dock = DockStyle.Top; checkEdit.Text = "IsActive"; LabelControl label = new LabelControl(); label.Dock = DockStyle.Top; label.AutoSizeMode = LabelAutoSizeMode.Vertical; label.Text = "Inactive"; label.Parent = this; checkEdit.Parent = this; #endregion SetUp #region #simpleUITrigger // Set type of POCO-ViewModel mvvmContext.ViewModelType = typeof(UIViewModel); // Data binding for the IsActive property mvvmContext.SetBinding <CheckEdit, UIViewModel, bool>(checkEdit, c => c.Checked, x => x.IsActive); // Property-change Trigger for the IsActive property mvvmContext.SetTrigger <UIViewModel, bool>(x => x.IsActive, (active) => { label.Text = active ? "Active" : "Inactive"; }); #endregion #simpleUITrigger }
private void btn_Print_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { CheckEdit check = sender as CheckEdit; if (gridView1.SelectedRowsCount == 0) { MessageBox.Show("목록에서 출력 정보를 선택하세요."); return; } string defaultPrinter = string.Empty; string barCode = string.Empty; string pt = string.Empty; PrinterSettings ps = new PrinterSettings(); foreach (string printer in PrinterSettings.InstalledPrinters) { ps.PrinterName = printer; if (ps.IsDefaultPrinter) { defaultPrinter = printer; } } var rows = gridView1.GetSelectedRows(); foreach (int row in rows) { barCode = gridView1.GetRowCellValue(row, "Barcode").ToString(); pt = gridView1.GetRowCellValue(row, "PT").ToString(); PrintBarCode(defaultPrinter, barCode, pt); } }
/// <summary> /// 离开有效时段复选框,触发复选框点击事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void chk_Leave(object sender, EventArgs e) { TreeListNode trnsel = this.TreeGroup.FocusedNode; if (trnsel == null) { return; } CheckEdit ck = (sender as CheckEdit); string tag = basefun.valtag(Convert.ToString(trnsel.Tag), "ID"); string id = Convert.ToString(ck.Name); DataRow[] row = ds.Tables["门禁有效时段"].Select(string.Format("分组id='{0}' and 有效时段id='{1}'", tag, id)); if (ck.Checked == false) { if (row.Length == 1) { ds.Tables["门禁有效时段"].Select(string.Format("分组id='{0}' and 有效时段id='{1}'", tag, id))[0].Delete(); } } else { if (row.Length == 1) { ds.Tables["门禁有效时段"].Select(string.Format("分组id='{0}' and 有效时段id='{1}'", tag, id))[0].Delete(); } DataRow drAdd = ds.Tables["门禁有效时段"].NewRow(); drAdd["id"] = Guid.NewGuid().ToString(); drAdd["分组id"] = tag; drAdd["有效时段id"] = id; ds.Tables["门禁有效时段"].Rows.Add(drAdd); } }
void SetCheckMark( CheckEdit ce, bool enabled, string settings) { if (enabled) { bool check = Lex.Contains(settings, ce.Name + ","); if (ce.Checked != check) { ce.Checked = check; } if (!ce.Enabled) { ce.Enabled = true; } } else { if (!ce.Enabled) { ce.Enabled = true; } ce.Checked = false; ce.Text = ""; ce.Enabled = false; } return; }
/// <summary> /// 显示不显示更换时候 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void repositoryItemCheckEdit2_CheckedChanged(object sender, EventArgs e) { CheckEdit chk = sender as CheckEdit; TreeListColumn col = this.GvEdit.GetRow(this.GvEdit.FocusedRowHandle) as TreeListColumn; if (col != null) { col.Visible = chk.Checked; if (col.Visible) { col.VisibleIndex = this.GvEdit.FocusedRowHandle; } return; } GridColumn gcol = this.GvEdit.GetRow(this.GvEdit.FocusedRowHandle) as GridColumn; if (gcol != null) { col.Visible = chk.Checked; if (col.Visible) { col.VisibleIndex = this.GvEdit.FocusedRowHandle; } return; } this.GvEdit.UpdateCurrentRow(); }
public string GetValue() { try { string strValue = ""; foreach (var item in this.Controls) { CheckEdit checkEdit = item as CheckEdit; if (checkEdit == null) { continue; } if (checkEdit.Checked) { strValue += checkEdit.Tag.ToString() + "," + checkEdit.Text + ";"; } } if (!string.IsNullOrEmpty(strValue) && strValue.Length > 0) { strValue = strValue.Substring(0, strValue.Length - 1); } return(strValue); } catch (Exception ex) { throw ex; } }
private void repositoryItemCheckSelect_CheckedChanged(object sender, EventArgs e) { try { CheckEdit select = (CheckEdit)sender; DataRow row = gvReturnInProduct.GetFocusedDataRow(); if (row != null && !string.IsNullOrEmpty(row["refund_fee"].ToString())) { //显示总金额 double TotalFee = double.Parse(textEditTotalFee.EditValue.ToString()); if (select.Checked) { TotalFee += double.Parse(row["refund_fee"].ToString()); } else { TotalFee -= double.Parse(row["refund_fee"].ToString()); } textEditTotalFee.EditValue = TotalFee; } gvReturnInProduct.BestFitColumns(); } catch (Exception ex) { XtraMessageBox.Show(ex.Message, Constants.SYSTEM_PROMPT, MessageBoxButtons.OK, MessageBoxIcon.Information); } }
private void check_Status_CheckedChanged(object sender, EventArgs e) { CheckEdit edit = sender as CheckEdit; var itemvalue = edit.EditValue; check = bool.Parse(itemvalue.ToString( )); }
public string GetValue() { try { string strValue = ""; foreach (var item in this.Controls) { CheckEdit checkEdit = item as CheckEdit; if (checkEdit == null) { continue; } if (checkEdit.Checked) { strValue = checkEdit.Tag.ToString() + "," + checkEdit.Text; break; } } return(strValue); } catch (Exception ex) { throw ex; } }
private void ckbDayoff7_EditValueChanged(object sender, EventArgs e) { try { DateTime resetVal = DateTime.Now.Date; CheckEdit ckb = (CheckEdit)sender; if (ckb.Checked) { tedBreakEnd7.EditValue = resetVal; tedWorkEnd7.EditValue = resetVal; tedWorkStart7.EditValue = resetVal; tedBreakStart7.EditValue = resetVal; tedBreakEnd7.Enabled = false; tedWorkEnd7.Enabled = false; tedWorkStart7.Enabled = false; tedBreakStart7.Enabled = false; } else { tedBreakEnd7.Enabled = true; tedWorkEnd7.Enabled = true; tedWorkStart7.Enabled = true; tedBreakStart7.Enabled = true; } DirtyData = true; } catch (Exception ex) { HPA.Common.Helper.ShowException(ex, this.Name, "ckbDayoff7_CheckedChanged"); } }
private void Checkbox_Validate(object sender, EventArgs e) { int numOfCheckBoxes = panelControl2.Controls.Count; int checkedBoxes = 0; for (int i = 0; i < numOfCheckBoxes; i++) { if (panelControl2.Controls[i] is CheckEdit) { CheckEdit checkbox = (CheckEdit)panelControl2.Controls[i]; if (checkbox.Checked) { checkedBoxes++; } } //end if control is CheckEdit } //end for if (checkedBoxes != 0) { btt_Search.Enabled = true; } else { btt_Search.Enabled = false; } }//end method Checkbox_Validate
private void chEnviar_CheckedChanged(object sender, EventArgs e) { CheckEdit check = (CheckEdit)sender; var resp = gVProductos.GetRow(gVProductos.FocusedRowHandle) as Producto; resp.Iva = check.Checked; }
/// <summary> /// Sets the empty caption (only for boolean properties) and assigns icon if ToolTip exists /// </summary> /// <param name="layoutItem"></param> /// <param name="control"></param> /// <param name="location"></param> private void SetCaptionLocation(LayoutControlItem layoutItem, object control, Locations location) { if (layoutItem != null && control != null) { CheckEdit checkEdit = control as CheckEdit; if (checkEdit != null) { if (!string.IsNullOrEmpty(checkEdit.ToolTip)) { ImageOptionsHelper.AssignImage(layoutItem.ImageOptions, this.AboutInfoImage, new Size(14, 14)); checkEdit.Text = ""; checkEdit.AutoSizeInLayoutControl = true; layoutItem.TextVisible = true; layoutItem.TextLocation = location; layoutItem.TextAlignMode = TextAlignModeItem.AutoSize; } } else { if (layoutItem != null && !string.IsNullOrEmpty(layoutItem.OptionsToolTip.ToolTip)) { ImageOptionsHelper.AssignImage(layoutItem.ImageOptions, this.AboutInfoImage, new Size(14, 14)); layoutItem.ImageOptions.Alignment = ContentAlignment.MiddleRight; } } } }
public ConfirmationBehaviorGenericConfirmationBehaviorClassUserControl() { InitializeComponent(); #region SetUp MVVMContext mvvmContext = new MVVMContext(); mvvmContext.ContainerControl = this; CheckEdit editor = new CheckEdit(); editor.Dock = DockStyle.Top; editor.Text = "Please, try to change checked state of this editor"; editor.Parent = this; #endregion SetUp #region #confirmationBehaviorGenericConfirmationBehaviorClass // UI binding for the generic ConfirmationBehavior behavior with some specific parameters mvvmContext.AttachBehavior <ConfirmationBehavior <ChangingEventArgs> >(editor, behavior => { behavior.Caption = "CheckEdit State changing"; behavior.Text = "This checkEdit's checked-state is about to be changed. Are you sure?"; behavior.Buttons = ConfirmationButtons.YesNo; behavior.ShowQuestionIcon = true; }, "EditValueChanging"); #endregion #confirmationBehaviorGenericConfirmationBehaviorClass }
/// <summary> /// Determine if match passes the current filter settings /// </summary> /// <param name="ssm"></param> /// <param name="dbId"></param> /// <param name="searchType"></param> /// <param name="searchTypeCount"></param> /// <param name="include"></param> /// <returns></returns> bool FilterMatch( StructSearchMatch ssm, int dbId, StructureSearchType searchType, CheckEdit searchTypeCtl, ref int searchTypeCount, ref bool include) { bool dbChecked = false; if (dbId == CorpDbId) { dbChecked = CorpDB.Checked; } else if (dbId == ChemblDbId) { dbChecked = ChemblDB.Checked; } if (!dbChecked || ssm.SrcDbId != dbId || ssm.SearchType != searchType) { return(false); } if (searchTypeCtl.Checked) { include = true; } searchTypeCount++; return(true); }
protected override object CreateControlCore() { XtraUserControl control = new XtraUserControl(); showRowGrandTotalCheckEdit = new CheckEdit(); showRowGrandTotalCheckEdit.Properties.Caption = "Show Row Grand Total"; // "显示列总数"; showRowGrandTotalCheckEdit.Location = new Point(0, 0); showRowGrandTotalCheckEdit.Size = showRowGrandTotalCheckEdit.CalcBestSize(); showRowGrandTotalCheckEdit.Anchor = System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top; showRowGrandTotalCheckEdit.CalcBestSize(); showRowGrandTotalCheckEdit.Enabled = false; showRowGrandTotalCheckEdit.CheckedChanged += new EventHandler(showRowGrandTotalCheckEdit_CheckedChanged); showColumnGrandTotalCheckEdit = new CheckEdit(); showColumnGrandTotalCheckEdit.Properties.Caption = "Show Column Grand Total";// "显示栏总数"; showColumnGrandTotalCheckEdit.Location = new Point(0, 20); showColumnGrandTotalCheckEdit.Size = showColumnGrandTotalCheckEdit.CalcBestSize(); showColumnGrandTotalCheckEdit.Anchor = System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top; showColumnGrandTotalCheckEdit.CalcBestSize(); showColumnGrandTotalCheckEdit.Enabled = false; showColumnGrandTotalCheckEdit.CheckedChanged += new EventHandler(showColumnGrandTotalCheckEdit_CheckedChanged); control.Controls.Add(showColumnGrandTotalCheckEdit); control.Controls.Add(showRowGrandTotalCheckEdit); control.Size = control.GetPreferredSize(new Size()); control.MaximumSize = new Size(0, control.Size.Height); control.MinimumSize = new Size(0, control.Size.Height); return control; }
public override void Dispose() { if (DateCalendar1 != null) { DateCalendar1.EditDateModified -= DateCalendar_SelectionChanged; } if (DateCalendar2 != null) { DateCalendar2.EditDateModified -= DateCalendar_SelectionChanged; } foreach (Control ctrl in DateFilterControl.Controls) { if (ctrl is CheckEdit) { if (NotOurControl(ctrl as CheckEdit)) { (ctrl as CheckEdit).CheckedChanged -= OriginalDateFilterPopup_CheckedChanged; } } } try { this.View.ActiveFilterString = GetFilterCriteriaByControlState().ToString(); } catch { } DateCalendar1.Dispose(); DateCalendar2.Dispose(); base.Dispose(); if (dateCalendar != null) { dateCalendar.Dispose(); dateCalendar = null; } if (Greater != null) { Greater.Dispose(); Greater = null; } if (Less != null) { Less.Dispose(); Less = null; } if (Between != null) { Between.Dispose(); Between = null; } if (dateFilterControl != null) { dateFilterControl.Dispose(); dateFilterControl = null; } if (item != null) { item.Dispose(); item = null; } }
/// <summary> /// Change a boolean in the server settings. /// </summary> /// <param name="matchString"></param> /// <param name="checkBox"></param> private void ChangeBoolean(string matchString, CheckEdit checkBox) { // Doesn't matter if there's any, just get rid of them. _serverSettings.RemoveAll(s => s.StartsWith(matchString)); // It's important to use .ToLower() or the boolean won't be recognised. _serverSettings.Add(string.Format("{0}={1}", matchString, checkBox.Checked.ToString().ToLower())); }
/* ************************************************************************** * CheckEdit ** *************************************************************************/ public static void Init(this CheckEdit edit) { edit.Properties.AutoWidth = true; edit.Properties.ValueChecked = "Y"; edit.Properties.ValueUnchecked = "N"; edit.EditValue = "N"; edit.Checked = false; }
private void repositoryItemCheckEdit1_CheckedChanged(object sender, EventArgs e) { CheckEdit check = (CheckEdit)sender; var resp = gVProducto.GetRow(gVProducto.FocusedRowHandle) as PurchasesAbvance; resp.Estado = check.Checked; Actualiza(); }
public static bool Check(CheckEdit chk) { if (chk.Checked) { return(true); } return(false); }
/// <summary> /// 绑定CheckEdit的数据源 /// </summary> /// <param name="edit">CheckEdit</param> /// <param name="dataSource">数据源</param> /// <param name="bindField">取值字段</param> public static void BindingCheckEdit(CheckEdit edit, object dataSource, string bindField) { try { edit.DataBindings.Clear(); Binding b = new Binding("EditValue", dataSource, bindField); b.NullValue = "N"; edit.DataBindings.Add(b); } catch (Exception ex) { Msg.ShowException(ex); } }
private void ActiveInactivePanel(PanelControl panel, CheckEdit ck) { foreach (Control c in panel.Controls) { if (c.GetType().ToString().Equals("DevExpress.XtraEditors.TextEdit")) { ((DevExpress.XtraEditors.TextEdit)c).Enabled = ck.Checked; } if (c.GetType().ToString().Equals("DevExpress.XtraEditors.LabelControl")) { ((DevExpress.XtraEditors.LabelControl)c).Enabled = ck.Checked; } vTrailer1.RemoveControlError(c); vTrailer2.RemoveControlError(c); vTrailer3.RemoveControlError(c); } }
private FormTemplatePreview(List<ReportParam> prms) { InitializeComponent(); foreach (ReportParam tp in prms) { BaseEdit ctrl = null; switch (tp.PType) { case ReportParamTypes.TamSayý: SpinEdit se = new SpinEdit(); ctrl = se; break; case ReportParamTypes.Tarih: ctrl = new DateEdit(); break; case ReportParamTypes.Metin: ctrl = new TextEdit(); break; case ReportParamTypes.OndalikliSayi: ctrl = new SpinEdit(); break; case ReportParamTypes.EvetHayir: ctrl = new CheckEdit(); break; case ReportParamTypes.Entity: LookUp lu = new LookUp(); lu.EntityType = DMT.Provider.GetEntityType(tp.PModuleName, tp.PEntityName); lu.DisplayFieldName = tp.PDisplayField; lu.ValueFieldName = tp.PValueField; ctrl = lu; break; default: throw new ArgumentOutOfRangeException(); } ctrl.Name = tp.PName; LayoutControl.AddItem(tp.Name, ctrl); } }
/// <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.XtraGrid.StyleFormatCondition styleFormatCondition1 = new DevExpress.XtraGrid.StyleFormatCondition(); DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition2 = new DevExpress.XtraGrid.StyleFormatCondition(); DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition3 = new DevExpress.XtraGrid.StyleFormatCondition(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WishListForm)); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule2 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition4 = new DevExpress.XtraGrid.StyleFormatCondition(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule3 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule4 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.colPacks = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.spinEditPack = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit(); this.boxSizedList = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); this.repositoryItemSpinEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit(); this.repositoryItemDateEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); this.repositoryItemButtonEdit4 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.layoutControl4 = new DevExpress.XtraLayout.LayoutControl(); this.labelControl4 = new DevExpress.XtraEditors.LabelControl(); this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.lkRange = new DevExpress.XtraEditors.LookUpEdit(); this.ShowStockOutCheckBox = new DevExpress.XtraEditors.CheckEdit(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.ItemSelectionPage = new DevExpress.XtraTab.XtraTabPage(); this.orderGrid = new DevExpress.XtraGrid.GridControl(); this.gridOrderView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.ColStockCode = new DevExpress.XtraGrid.Columns.GridColumn(); this.ColItemNameOrderDetail = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemMemoEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit(); this.colsQtyPerPack = new DevExpress.XtraGrid.Columns.GridColumn(); this.ColUnit = new DevExpress.XtraGrid.Columns.GridColumn(); this.colExpired = new DevExpress.XtraGrid.Columns.GridColumn(); this.colDamaged = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSOH = new DevExpress.XtraGrid.Columns.GridColumn(); this.ColBeginningBalance = new DevExpress.XtraGrid.Columns.GridColumn(); this.ColLoss = new DevExpress.XtraGrid.Columns.GridColumn(); this.ColAdjustment = new DevExpress.XtraGrid.Columns.GridColumn(); this.ColQuantityReceived = new DevExpress.XtraGrid.Columns.GridColumn(); this.ColDOS = new DevExpress.XtraGrid.Columns.GridColumn(); this.ColQuantityNeedMax = new DevExpress.XtraGrid.Columns.GridColumn(); this.ColMaxStockQuantity = new DevExpress.XtraGrid.Columns.GridColumn(); this.ColConsumption = new DevExpress.XtraGrid.Columns.GridColumn(); this.ColStockedOut = new DevExpress.XtraGrid.Columns.GridColumn(); this.ExpireDateEditor = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); this.repositoryItemButtonEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.spinEditQtyPerPack = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit(); this.gridRecieveView1 = new DevExpress.XtraGrid.Views.BandedGrid.AdvBandedGridView(); this.gridBand1 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gridColumn3 = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gridColumn1 = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gridColumn10 = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gridColumn5 = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gridColumn6 = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gridColumn7 = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gridColumn8 = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gridColumn12 = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gridColumn9 = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.VolumeMetricsPage = new DevExpress.XtraTab.XtraTabPage(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.lkContainerTypes = new DevExpress.XtraEditors.GridLookUpEdit(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn18 = new DevExpress.XtraGrid.Columns.GridColumn(); this.cboRequiredContainer = new System.Windows.Forms.ComboBox(); this.lblAvailableVolume = new System.Windows.Forms.Label(); this.lblVolumeNeeded = new System.Windows.Forms.Label(); this.volumetricsCanvas = new System.Windows.Forms.Panel(); this.grdVolumeGrid = new DevExpress.XtraGrid.GridControl(); this.grdVolumeGridView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.Height = new DevExpress.XtraGrid.Columns.GridColumn(); this.Width = new DevExpress.XtraGrid.Columns.GridColumn(); this.Depth = new DevExpress.XtraGrid.Columns.GridColumn(); this.Quantity = new DevExpress.XtraGrid.Columns.GridColumn(); this.layoutControlItem32 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem36 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem37 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem40 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem39 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem4 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem33 = new DevExpress.XtraLayout.LayoutControlItem(); this.NoOfVisitLabel = new DevExpress.XtraEditors.LabelControl(); this.LastVisitlabel = new DevExpress.XtraEditors.LabelControl(); this.progressBarControl = new DevExpress.XtraEditors.ProgressBarControl(); this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); this.lkType = new DevExpress.XtraEditors.LookUpEdit(); this.lkOwnership = new DevExpress.XtraEditors.LookUpEdit(); this.lkWoreda = new DevExpress.XtraEditors.LookUpEdit(); this.txtRemark = new DevExpress.XtraEditors.MemoEdit(); this.txtReceivedBy = new DevExpress.XtraEditors.TextEdit(); this.txtTin = new DevExpress.XtraEditors.TextEdit(); this.txtVatRegistration = new DevExpress.XtraEditors.TextEdit(); this.txtRegistrationNo = new DevExpress.XtraEditors.TextEdit(); this.txtLetterNumber = new DevExpress.XtraEditors.TextEdit(); this.txtRefNo = new DevExpress.XtraEditors.TextEdit(); this.btnSaveOrder = new DevExpress.XtraEditors.SimpleButton(); this.btnSaveAndForward = new DevExpress.XtraEditors.SimpleButton(); this.lkModes = new DevExpress.XtraEditors.LookUpEdit(); this.txtContactPerson = new DevExpress.XtraEditors.TextEdit(); this.lkZone = new DevExpress.XtraEditors.LookUpEdit(); this.lkRegion = new DevExpress.XtraEditors.LookUpEdit(); this.lblLoadRU = new DevExpress.XtraEditors.LabelControl(); this.lkCategoires = new DevExpress.XtraEditors.LookUpEdit(); this.txtItemName = new DevExpress.XtraEditors.TextEdit(); this.gridItemsChoice = new DevExpress.XtraGrid.GridControl(); this.gridItemChoiceView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn30 = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.gridColumn28 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colItemName = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemMemoEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit(); this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn29 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn66 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn67 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn21 = new DevExpress.XtraGrid.Columns.GridColumn(); this.lkPaymentType = new DevExpress.XtraEditors.LookUpEdit(); this.lkForFacility = new DevExpress.XtraEditors.GridLookUpEdit(); this.gridLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn20 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn22 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn24 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn25 = new DevExpress.XtraGrid.Columns.GridColumn(); this.lkPeriod = new DevExpress.XtraEditors.GridLookUpEdit(); this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.lkColStartDate_EndDate = new DevExpress.XtraGrid.Columns.GridColumn(); this.lkRequisitionType = new DevExpress.XtraEditors.LookUpEdit(); this.btnCancelOne = new DevExpress.XtraEditors.SimpleButton(); this.layoutControlItem24 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem25 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutReload = new DevExpress.XtraLayout.LayoutControlItem(); this.progressBarlayoutControlItem = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem23 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem22 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem21 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup14 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem29 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem30 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem19 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem14 = new DevExpress.XtraLayout.EmptySpaceItem(); this.simpleSeparator2 = new DevExpress.XtraLayout.SimpleSeparator(); this.LastVisitlayout = new DevExpress.XtraLayout.LayoutControlItem(); this.NoRequisitionlayout = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem15 = new DevExpress.XtraLayout.LayoutControlItem(); this.ShowStockOutCheckBoxLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup5 = new DevExpress.XtraLayout.LayoutControlGroup(); this.RequisitionTypelayoutControlItem = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); this.RangeLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem52 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem31 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem7 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem38 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem5 = new DevExpress.XtraLayout.EmptySpaceItem(); this.simpleSeparator3 = new DevExpress.XtraLayout.SimpleSeparator(); this.layoutControlGroup4 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem20 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem8 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem18 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem34 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem35 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem9 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem(); this.lkPeriodlayout = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutForFacility = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components); this.emptySpaceItem15 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlGroup8 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlGroup9 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlGroup10 = new DevExpress.XtraLayout.LayoutControlGroup(); this.emptySpaceItem10 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem22 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem23 = new DevExpress.XtraLayout.EmptySpaceItem(); this.printingSystem1 = new DevExpress.XtraPrinting.PrintingSystem(this.components); this.printableComponentLink1 = new DevExpress.XtraPrinting.PrintableComponentLink(this.components); this.printOrder = new DevExpress.XtraPrinting.PrintableComponentLink(this.components); this.dxValidation1stTab = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem26 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem27 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem28 = new DevExpress.XtraLayout.LayoutControlItem(); this.simpleLabelItem13 = new DevExpress.XtraLayout.SimpleLabelItem(); this.simpleLabelItem1 = new DevExpress.XtraLayout.SimpleLabelItem(); this.simpleLabelItem2 = new DevExpress.XtraLayout.SimpleLabelItem(); this.gridColumn23 = new DevExpress.XtraGrid.Columns.GridColumn(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEditPack)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.boxSizedList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl4)).BeginInit(); this.layoutControl4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.lkRange.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ShowStockOutCheckBox.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); this.xtraTabControl1.SuspendLayout(); this.ItemSelectionPage.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.orderGrid)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridOrderView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ExpireDateEditor)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ExpireDateEditor.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEditQtyPerPack)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridRecieveView1)).BeginInit(); this.VolumeMetricsPage.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.lkContainerTypes.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grdVolumeGrid)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grdVolumeGridView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem32)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem36)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem37)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem40)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem39)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem33)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.progressBarControl.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lkType.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lkOwnership.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lkWoreda.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtRemark.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtReceivedBy.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtTin.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtVatRegistration.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtRegistrationNo.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtLetterNumber.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtRefNo.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lkModes.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtContactPerson.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lkZone.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lkRegion.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lkCategoires.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtItemName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridItemsChoice)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridItemChoiceView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lkPaymentType.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lkForFacility.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridLookUpEdit1View)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lkPeriod.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lkRequisitionType.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutReload)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.progressBarlayoutControlItem)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem23)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem22)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup14)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem29)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem30)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem14)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleSeparator2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.LastVisitlayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.NoRequisitionlayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ShowStockOutCheckBoxLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.RequisitionTypelayoutControlItem)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.RangeLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem52)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem31)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem38)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleSeparator3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem18)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem34)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem35)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lkPeriodlayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutForFacility)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem15)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem22)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem23)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.printingSystem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.printableComponentLink1.ImageCollection)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.printOrder.ImageCollection)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidation1stTab)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem26)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem27)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem28)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem13)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem2)).BeginInit(); this.SuspendLayout(); // // colPacks // this.colPacks.Caption = "Quantity"; this.colPacks.ColumnEdit = this.repositoryItemTextEdit1; this.colPacks.FieldName = "Pack"; this.colPacks.Name = "colPacks"; this.colPacks.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colPacks.OptionsColumn.FixedWidth = true; this.colPacks.ToolTip = "Requested Quantity"; this.colPacks.Visible = true; this.colPacks.VisibleIndex = 14; this.colPacks.Width = 40; // // repositoryItemTextEdit1 // this.repositoryItemTextEdit1.AutoHeight = false; this.repositoryItemTextEdit1.Mask.EditMask = "\\d{0,6}(\\.\\d{0,4})"; this.repositoryItemTextEdit1.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx; this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1"; // // spinEditPack // this.spinEditPack.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; this.spinEditPack.AutoHeight = false; this.spinEditPack.DisplayFormat.FormatString = "#,##0.##"; this.spinEditPack.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.spinEditPack.EditFormat.FormatString = "#,##0.##"; this.spinEditPack.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.spinEditPack.IsFloatValue = false; this.spinEditPack.MaxValue = new decimal(new int[] { 100000000, 0, 0, 0}); this.spinEditPack.Name = "spinEditPack"; // // boxSizedList // this.boxSizedList.AutoHeight = false; this.boxSizedList.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.boxSizedList.DisplayMember = "Name"; this.boxSizedList.Name = "boxSizedList"; this.boxSizedList.ValueMember = "ID"; // // repositoryItemSpinEdit1 // this.repositoryItemSpinEdit1.AutoHeight = false; this.repositoryItemSpinEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.repositoryItemSpinEdit1.Name = "repositoryItemSpinEdit1"; // // repositoryItemDateEdit3 // this.repositoryItemDateEdit3.AutoHeight = false; this.repositoryItemDateEdit3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemDateEdit3.EditFormat.FormatString = "mm-DD-YYYY"; this.repositoryItemDateEdit3.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.repositoryItemDateEdit3.ExportMode = DevExpress.XtraEditors.Repository.ExportMode.DisplayText; this.repositoryItemDateEdit3.Name = "repositoryItemDateEdit3"; this.repositoryItemDateEdit3.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); // // repositoryItemButtonEdit4 // this.repositoryItemButtonEdit4.AutoHeight = false; this.repositoryItemButtonEdit4.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Plus)}); this.repositoryItemButtonEdit4.Name = "repositoryItemButtonEdit4"; this.repositoryItemButtonEdit4.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; // // layoutControl4 // this.layoutControl4.AllowCustomizationMenu = false; this.layoutControl4.Controls.Add(this.labelControl4); this.layoutControl4.Controls.Add(this.labelControl3); this.layoutControl4.Controls.Add(this.labelControl2); this.layoutControl4.Controls.Add(this.labelControl1); this.layoutControl4.Controls.Add(this.lkRange); this.layoutControl4.Controls.Add(this.ShowStockOutCheckBox); this.layoutControl4.Controls.Add(this.xtraTabControl1); this.layoutControl4.Controls.Add(this.NoOfVisitLabel); this.layoutControl4.Controls.Add(this.LastVisitlabel); this.layoutControl4.Controls.Add(this.progressBarControl); this.layoutControl4.Controls.Add(this.simpleButton1); this.layoutControl4.Controls.Add(this.lkType); this.layoutControl4.Controls.Add(this.lkOwnership); this.layoutControl4.Controls.Add(this.lkWoreda); this.layoutControl4.Controls.Add(this.txtRemark); this.layoutControl4.Controls.Add(this.txtReceivedBy); this.layoutControl4.Controls.Add(this.txtTin); this.layoutControl4.Controls.Add(this.txtVatRegistration); this.layoutControl4.Controls.Add(this.txtRegistrationNo); this.layoutControl4.Controls.Add(this.txtLetterNumber); this.layoutControl4.Controls.Add(this.txtRefNo); this.layoutControl4.Controls.Add(this.btnSaveOrder); this.layoutControl4.Controls.Add(this.btnSaveAndForward); this.layoutControl4.Controls.Add(this.lkModes); this.layoutControl4.Controls.Add(this.txtContactPerson); this.layoutControl4.Controls.Add(this.lkZone); this.layoutControl4.Controls.Add(this.lkRegion); this.layoutControl4.Controls.Add(this.lblLoadRU); this.layoutControl4.Controls.Add(this.lkCategoires); this.layoutControl4.Controls.Add(this.txtItemName); this.layoutControl4.Controls.Add(this.gridItemsChoice); this.layoutControl4.Controls.Add(this.lkPaymentType); this.layoutControl4.Controls.Add(this.lkForFacility); this.layoutControl4.Controls.Add(this.lkPeriod); this.layoutControl4.Controls.Add(this.lkRequisitionType); this.layoutControl4.Controls.Add(this.btnCancelOne); this.layoutControl4.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl4.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem24, this.layoutControlItem25, this.layoutReload, this.progressBarlayoutControlItem, this.layoutControlItem23, this.layoutControlItem22, this.layoutControlItem21, this.layoutControlItem13}); this.layoutControl4.Location = new System.Drawing.Point(0, 0); this.layoutControl4.Name = "layoutControl4"; this.layoutControl4.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(59, 358, 345, 729); this.layoutControl4.OptionsView.ShareLookAndFeelWithChildren = false; this.layoutControl4.Root = this.layoutControlGroup14; this.layoutControl4.Size = new System.Drawing.Size(1350, 393); this.layoutControl4.TabIndex = 31; this.layoutControl4.Text = "layoutControl4"; // // labelControl4 // this.labelControl4.Location = new System.Drawing.Point(75, 16); this.labelControl4.Name = "labelControl4"; this.labelControl4.Size = new System.Drawing.Size(189, 13); this.labelControl4.TabIndex = 53; // // labelControl3 // this.labelControl3.Location = new System.Drawing.Point(899, 4); this.labelControl3.Name = "labelControl3"; this.labelControl3.Size = new System.Drawing.Size(93, 13); this.labelControl3.TabIndex = 52; // // labelControl2 // this.labelControl2.Location = new System.Drawing.Point(707, 4); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(107, 13); this.labelControl2.TabIndex = 51; // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(523, 4); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(113, 13); this.labelControl1.TabIndex = 50; // // lkRange // this.lkRange.Enabled = false; this.lkRange.Location = new System.Drawing.Point(308, 38); this.lkRange.Name = "lkRange"; this.lkRange.Properties.AllowMouseWheel = false; this.lkRange.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkRange.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Range", "History Detail")}); this.lkRange.Properties.DisplayMember = "Range"; this.lkRange.Properties.NullText = "Range"; this.lkRange.Properties.PopupWidth = 100; this.lkRange.Properties.ShowFooter = false; this.lkRange.Properties.ValueMember = "Value"; this.lkRange.Size = new System.Drawing.Size(102, 20); this.lkRange.TabIndex = 46; this.lkRange.EditValueChanged += new System.EventHandler(this.lkRange_EditValueChanged); // // ShowStockOutCheckBox // this.ShowStockOutCheckBox.Location = new System.Drawing.Point(446, 107); this.ShowStockOutCheckBox.Name = "ShowStockOutCheckBox"; this.ShowStockOutCheckBox.Properties.Caption = "Show Stock Out"; this.ShowStockOutCheckBox.Size = new System.Drawing.Size(277, 19); this.ShowStockOutCheckBox.TabIndex = 49; this.ShowStockOutCheckBox.CheckedChanged += new System.EventHandler(this.ShowStockOutCheckBox_CheckedChanged); // // xtraTabControl1 // this.xtraTabControl1.Location = new System.Drawing.Point(432, 143); this.xtraTabControl1.Margin = new System.Windows.Forms.Padding(0); this.xtraTabControl1.Name = "xtraTabControl1"; this.xtraTabControl1.SelectedTabPage = this.ItemSelectionPage; this.xtraTabControl1.Size = new System.Drawing.Size(916, 222); this.xtraTabControl1.TabIndex = 48; this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.ItemSelectionPage, this.VolumeMetricsPage}); this.xtraTabControl1.SelectedPageChanged += new DevExpress.XtraTab.TabPageChangedEventHandler(this.xtraTabControl1_SelectedPageChanged); this.xtraTabControl1.Click += new System.EventHandler(this.xtraTabControl1_Click); // // ItemSelectionPage // this.ItemSelectionPage.Controls.Add(this.orderGrid); this.ItemSelectionPage.Name = "ItemSelectionPage"; this.ItemSelectionPage.Size = new System.Drawing.Size(910, 194); this.ItemSelectionPage.Text = "Selection"; // // orderGrid // this.orderGrid.Dock = System.Windows.Forms.DockStyle.Fill; this.orderGrid.ImeMode = System.Windows.Forms.ImeMode.On; this.orderGrid.Location = new System.Drawing.Point(0, 0); this.orderGrid.MainView = this.gridOrderView; this.orderGrid.Margin = new System.Windows.Forms.Padding(0); this.orderGrid.Name = "orderGrid"; this.orderGrid.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.ExpireDateEditor, this.repositoryItemButtonEdit2, this.spinEditPack, this.spinEditQtyPerPack, this.repositoryItemTextEdit1, this.repositoryItemMemoEdit1}); this.orderGrid.Size = new System.Drawing.Size(910, 194); this.orderGrid.TabIndex = 11; this.orderGrid.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridOrderView, this.gridRecieveView1}); this.orderGrid.Click += new System.EventHandler(this.orderGrid_Click); // // gridOrderView // this.gridOrderView.Appearance.FocusedCell.BackColor = System.Drawing.Color.SkyBlue; this.gridOrderView.Appearance.FocusedCell.Options.UseBackColor = true; this.gridOrderView.Appearance.FocusedRow.BackColor = System.Drawing.Color.CornflowerBlue; this.gridOrderView.Appearance.FocusedRow.Options.UseBackColor = true; this.gridOrderView.Appearance.SelectedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); this.gridOrderView.Appearance.SelectedRow.Options.UseBackColor = true; this.gridOrderView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.ColStockCode, this.ColItemNameOrderDetail, this.colsQtyPerPack, this.ColUnit, this.colExpired, this.colDamaged, this.colSOH, this.ColBeginningBalance, this.ColLoss, this.ColAdjustment, this.ColQuantityReceived, this.ColDOS, this.ColQuantityNeedMax, this.ColMaxStockQuantity, this.ColConsumption, this.colPacks, this.ColStockedOut}); styleFormatCondition1.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); styleFormatCondition1.Appearance.Options.UseBackColor = true; styleFormatCondition1.Column = this.colPacks; styleFormatCondition1.Condition = DevExpress.XtraGrid.FormatConditionEnum.Expression; styleFormatCondition1.Expression = "[SKUBU] is null"; styleFormatCondition2.Appearance.ForeColor = System.Drawing.Color.Silver; styleFormatCondition2.Appearance.Options.UseForeColor = true; styleFormatCondition2.ApplyToRow = true; styleFormatCondition2.Condition = DevExpress.XtraGrid.FormatConditionEnum.Expression; styleFormatCondition2.Expression = "[StockedOut] == 1"; styleFormatCondition3.Appearance.ForeColor = System.Drawing.Color.Silver; styleFormatCondition3.Appearance.Options.UseForeColor = true; styleFormatCondition3.ApplyToRow = true; styleFormatCondition3.Condition = DevExpress.XtraGrid.FormatConditionEnum.Expression; styleFormatCondition3.Expression = "[StockedOut] == 1"; this.gridOrderView.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] { styleFormatCondition1, styleFormatCondition2, styleFormatCondition3}); this.gridOrderView.GridControl = this.orderGrid; this.gridOrderView.IndicatorWidth = 40; this.gridOrderView.Name = "gridOrderView"; this.gridOrderView.OptionsCustomization.AllowColumnMoving = false; this.gridOrderView.OptionsCustomization.AllowColumnResizing = false; this.gridOrderView.OptionsCustomization.AllowFilter = false; this.gridOrderView.OptionsCustomization.AllowQuickHideColumns = false; this.gridOrderView.OptionsCustomization.AllowSort = false; this.gridOrderView.OptionsMenu.EnableColumnMenu = false; this.gridOrderView.OptionsMenu.EnableFooterMenu = false; this.gridOrderView.OptionsMenu.EnableGroupPanelMenu = false; this.gridOrderView.OptionsView.AllowCellMerge = true; this.gridOrderView.OptionsView.RowAutoHeight = true; this.gridOrderView.OptionsView.ShowGroupPanel = false; this.gridOrderView.CustomDrawRowIndicator += new DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventHandler(this.gridOrderView_CustomDrawRowIndicator); this.gridOrderView.CustomDrawCell += new DevExpress.XtraGrid.Views.Base.RowCellCustomDrawEventHandler(this.gridOrderView_CustomDrawCell); this.gridOrderView.ShowingEditor += new System.ComponentModel.CancelEventHandler(this.gridOrderView_ShowingEditor); this.gridOrderView.CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.OnOrderCellValueChanged); // // ColStockCode // this.ColStockCode.AppearanceCell.BackColor = System.Drawing.Color.WhiteSmoke; this.ColStockCode.AppearanceCell.Options.UseBackColor = true; this.ColStockCode.Caption = "Stock Code"; this.ColStockCode.FieldName = "StockCode"; this.ColStockCode.Name = "ColStockCode"; this.ColStockCode.OptionsColumn.AllowEdit = false; this.ColStockCode.OptionsColumn.AllowFocus = false; this.ColStockCode.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.ColStockCode.OptionsColumn.AllowIncrementalSearch = false; this.ColStockCode.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.ColStockCode.OptionsColumn.AllowMove = false; this.ColStockCode.OptionsColumn.AllowShowHide = false; this.ColStockCode.OptionsColumn.AllowSize = false; this.ColStockCode.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.ColStockCode.OptionsColumn.FixedWidth = true; this.ColStockCode.OptionsColumn.ShowInCustomizationForm = false; this.ColStockCode.OptionsColumn.ShowInExpressionEditor = false; this.ColStockCode.OptionsFilter.AllowAutoFilter = false; this.ColStockCode.OptionsFilter.AllowFilter = false; this.ColStockCode.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.ColStockCode.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.ColStockCode.Visible = true; this.ColStockCode.VisibleIndex = 0; this.ColStockCode.Width = 34; // // ColItemNameOrderDetail // this.ColItemNameOrderDetail.AppearanceCell.BackColor = System.Drawing.Color.WhiteSmoke; this.ColItemNameOrderDetail.AppearanceCell.Options.UseBackColor = true; this.ColItemNameOrderDetail.AppearanceCell.Options.UseTextOptions = true; this.ColItemNameOrderDetail.AppearanceCell.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.ColItemNameOrderDetail.AppearanceHeader.Options.UseTextOptions = true; this.ColItemNameOrderDetail.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.ColItemNameOrderDetail.Caption = "Item"; this.ColItemNameOrderDetail.ColumnEdit = this.repositoryItemMemoEdit1; this.ColItemNameOrderDetail.FieldName = "FullItemName"; this.ColItemNameOrderDetail.Name = "ColItemNameOrderDetail"; this.ColItemNameOrderDetail.OptionsColumn.AllowEdit = false; this.ColItemNameOrderDetail.OptionsColumn.AllowFocus = false; this.ColItemNameOrderDetail.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.ColItemNameOrderDetail.OptionsColumn.AllowIncrementalSearch = false; this.ColItemNameOrderDetail.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.ColItemNameOrderDetail.OptionsColumn.AllowMove = false; this.ColItemNameOrderDetail.OptionsColumn.AllowShowHide = false; this.ColItemNameOrderDetail.OptionsColumn.AllowSize = false; this.ColItemNameOrderDetail.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.ColItemNameOrderDetail.OptionsColumn.FixedWidth = true; this.ColItemNameOrderDetail.OptionsColumn.ShowInCustomizationForm = false; this.ColItemNameOrderDetail.OptionsColumn.ShowInExpressionEditor = false; this.ColItemNameOrderDetail.OptionsFilter.AllowAutoFilter = false; this.ColItemNameOrderDetail.OptionsFilter.AllowFilter = false; this.ColItemNameOrderDetail.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.ColItemNameOrderDetail.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.ColItemNameOrderDetail.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways; this.ColItemNameOrderDetail.ToolTip = "FullItemName"; this.ColItemNameOrderDetail.Visible = true; this.ColItemNameOrderDetail.VisibleIndex = 1; this.ColItemNameOrderDetail.Width = 171; // // repositoryItemMemoEdit1 // this.repositoryItemMemoEdit1.LinesCount = 1; this.repositoryItemMemoEdit1.Name = "repositoryItemMemoEdit1"; // // colsQtyPerPack // this.colsQtyPerPack.AppearanceCell.BackColor = System.Drawing.Color.WhiteSmoke; this.colsQtyPerPack.AppearanceCell.Options.UseBackColor = true; this.colsQtyPerPack.Caption = "Quantity Per Pack"; this.colsQtyPerPack.ColumnEdit = this.spinEditPack; this.colsQtyPerPack.FieldName = "QtyPerPack"; this.colsQtyPerPack.Name = "colsQtyPerPack"; this.colsQtyPerPack.OptionsColumn.AllowEdit = false; this.colsQtyPerPack.OptionsColumn.AllowFocus = false; this.colsQtyPerPack.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.colsQtyPerPack.OptionsColumn.AllowIncrementalSearch = false; this.colsQtyPerPack.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colsQtyPerPack.OptionsColumn.AllowMove = false; this.colsQtyPerPack.OptionsColumn.AllowShowHide = false; this.colsQtyPerPack.OptionsColumn.AllowSize = false; this.colsQtyPerPack.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.colsQtyPerPack.OptionsColumn.FixedWidth = true; this.colsQtyPerPack.OptionsColumn.ShowInCustomizationForm = false; this.colsQtyPerPack.OptionsColumn.ShowInExpressionEditor = false; this.colsQtyPerPack.OptionsFilter.AllowAutoFilter = false; this.colsQtyPerPack.OptionsFilter.AllowFilter = false; this.colsQtyPerPack.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.colsQtyPerPack.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.colsQtyPerPack.Width = 100; // // ColUnit // this.ColUnit.AppearanceCell.BackColor = System.Drawing.Color.WhiteSmoke; this.ColUnit.AppearanceCell.Options.UseBackColor = true; this.ColUnit.Caption = "Unit"; this.ColUnit.FieldName = "Unit"; this.ColUnit.Name = "ColUnit"; this.ColUnit.OptionsColumn.AllowEdit = false; this.ColUnit.OptionsColumn.AllowFocus = false; this.ColUnit.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.ColUnit.OptionsColumn.AllowIncrementalSearch = false; this.ColUnit.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.ColUnit.OptionsColumn.AllowMove = false; this.ColUnit.OptionsColumn.AllowShowHide = false; this.ColUnit.OptionsColumn.AllowSize = false; this.ColUnit.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.ColUnit.OptionsColumn.FixedWidth = true; this.ColUnit.OptionsColumn.ShowInCustomizationForm = false; this.ColUnit.OptionsColumn.ShowInExpressionEditor = false; this.ColUnit.OptionsFilter.AllowAutoFilter = false; this.ColUnit.OptionsFilter.AllowFilter = false; this.ColUnit.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.ColUnit.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.ColUnit.Visible = true; this.ColUnit.VisibleIndex = 2; this.ColUnit.Width = 53; // // colExpired // this.colExpired.Caption = "Expired"; this.colExpired.DisplayFormat.FormatString = "#,###.##"; this.colExpired.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.colExpired.FieldName = "ExpiredStock"; this.colExpired.Name = "colExpired"; this.colExpired.OptionsColumn.AllowEdit = false; this.colExpired.OptionsColumn.AllowFocus = false; this.colExpired.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.colExpired.OptionsColumn.AllowIncrementalSearch = false; this.colExpired.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colExpired.OptionsColumn.AllowMove = false; this.colExpired.OptionsColumn.AllowShowHide = false; this.colExpired.OptionsColumn.AllowSize = false; this.colExpired.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.colExpired.OptionsColumn.FixedWidth = true; this.colExpired.OptionsColumn.ShowInCustomizationForm = false; this.colExpired.OptionsColumn.ShowInExpressionEditor = false; this.colExpired.OptionsFilter.AllowAutoFilter = false; this.colExpired.OptionsFilter.AllowFilter = false; this.colExpired.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.colExpired.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.colExpired.ToolTip = "Expired Stock"; this.colExpired.Visible = true; this.colExpired.VisibleIndex = 3; this.colExpired.Width = 39; // // colDamaged // this.colDamaged.Caption = "Damaged"; this.colDamaged.DisplayFormat.FormatString = "#,###.##"; this.colDamaged.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.colDamaged.FieldName = "DamagedStock"; this.colDamaged.Name = "colDamaged"; this.colDamaged.OptionsColumn.AllowEdit = false; this.colDamaged.OptionsColumn.AllowFocus = false; this.colDamaged.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.colDamaged.OptionsColumn.AllowIncrementalSearch = false; this.colDamaged.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colDamaged.OptionsColumn.AllowMove = false; this.colDamaged.OptionsColumn.AllowShowHide = false; this.colDamaged.OptionsColumn.AllowSize = false; this.colDamaged.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.colDamaged.OptionsColumn.FixedWidth = true; this.colDamaged.OptionsColumn.ShowInCustomizationForm = false; this.colDamaged.OptionsColumn.ShowInExpressionEditor = false; this.colDamaged.OptionsFilter.AllowAutoFilter = false; this.colDamaged.OptionsFilter.AllowFilter = false; this.colDamaged.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.colDamaged.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.colDamaged.ToolTip = "Damaged Stock"; this.colDamaged.Visible = true; this.colDamaged.VisibleIndex = 4; this.colDamaged.Width = 39; // // colSOH // this.colSOH.Caption = "E.B"; this.colSOH.DisplayFormat.FormatString = "#,###.##"; this.colSOH.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.colSOH.FieldName = "StockOnHand"; this.colSOH.Name = "colSOH"; this.colSOH.OptionsColumn.AllowEdit = false; this.colSOH.OptionsColumn.AllowFocus = false; this.colSOH.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.colSOH.OptionsColumn.AllowIncrementalSearch = false; this.colSOH.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colSOH.OptionsColumn.AllowMove = false; this.colSOH.OptionsColumn.AllowShowHide = false; this.colSOH.OptionsColumn.AllowSize = false; this.colSOH.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.colSOH.OptionsColumn.FixedWidth = true; this.colSOH.OptionsColumn.ShowInCustomizationForm = false; this.colSOH.OptionsColumn.ShowInExpressionEditor = false; this.colSOH.OptionsFilter.AllowAutoFilter = false; this.colSOH.OptionsFilter.AllowFilter = false; this.colSOH.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.colSOH.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.colSOH.ToolTip = "Remaining Stock On Hand (Ending Balance)"; this.colSOH.Visible = true; this.colSOH.VisibleIndex = 8; this.colSOH.Width = 39; // // ColBeginningBalance // this.ColBeginningBalance.Caption = "b.B"; this.ColBeginningBalance.DisplayFormat.FormatString = "#,###.##"; this.ColBeginningBalance.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ColBeginningBalance.FieldName = "BeginningBalance"; this.ColBeginningBalance.Name = "ColBeginningBalance"; this.ColBeginningBalance.OptionsColumn.AllowEdit = false; this.ColBeginningBalance.OptionsColumn.AllowFocus = false; this.ColBeginningBalance.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.ColBeginningBalance.OptionsColumn.AllowIncrementalSearch = false; this.ColBeginningBalance.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.ColBeginningBalance.OptionsColumn.AllowMove = false; this.ColBeginningBalance.OptionsColumn.AllowShowHide = false; this.ColBeginningBalance.OptionsColumn.AllowSize = false; this.ColBeginningBalance.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.ColBeginningBalance.OptionsColumn.FixedWidth = true; this.ColBeginningBalance.OptionsColumn.ShowInCustomizationForm = false; this.ColBeginningBalance.OptionsColumn.ShowInExpressionEditor = false; this.ColBeginningBalance.OptionsFilter.AllowAutoFilter = false; this.ColBeginningBalance.OptionsFilter.AllowFilter = false; this.ColBeginningBalance.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.ColBeginningBalance.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.ColBeginningBalance.ToolTip = "Beginning Balance"; this.ColBeginningBalance.Visible = true; this.ColBeginningBalance.VisibleIndex = 5; this.ColBeginningBalance.Width = 39; // // ColLoss // this.ColLoss.Caption = "Loss"; this.ColLoss.DisplayFormat.FormatString = "#,###.##"; this.ColLoss.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ColLoss.FieldName = "Loss"; this.ColLoss.Name = "ColLoss"; this.ColLoss.OptionsColumn.AllowEdit = false; this.ColLoss.OptionsColumn.AllowFocus = false; this.ColLoss.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.ColLoss.OptionsColumn.AllowIncrementalSearch = false; this.ColLoss.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.ColLoss.OptionsColumn.AllowMove = false; this.ColLoss.OptionsColumn.AllowShowHide = false; this.ColLoss.OptionsColumn.AllowSize = false; this.ColLoss.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.ColLoss.OptionsColumn.FixedWidth = true; this.ColLoss.OptionsColumn.ShowInCustomizationForm = false; this.ColLoss.OptionsColumn.ShowInExpressionEditor = false; this.ColLoss.OptionsFilter.AllowAutoFilter = false; this.ColLoss.OptionsFilter.AllowFilter = false; this.ColLoss.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.ColLoss.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.ColLoss.ToolTip = "Loss"; this.ColLoss.Visible = true; this.ColLoss.VisibleIndex = 6; this.ColLoss.Width = 39; // // ColAdjustment // this.ColAdjustment.Caption = "Adjust."; this.ColAdjustment.DisplayFormat.FormatString = "#,###.##"; this.ColAdjustment.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ColAdjustment.FieldName = "Adjustment"; this.ColAdjustment.Name = "ColAdjustment"; this.ColAdjustment.OptionsColumn.AllowEdit = false; this.ColAdjustment.OptionsColumn.AllowFocus = false; this.ColAdjustment.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.ColAdjustment.OptionsColumn.AllowIncrementalSearch = false; this.ColAdjustment.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.ColAdjustment.OptionsColumn.AllowMove = false; this.ColAdjustment.OptionsColumn.AllowShowHide = false; this.ColAdjustment.OptionsColumn.AllowSize = false; this.ColAdjustment.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.ColAdjustment.OptionsColumn.FixedWidth = true; this.ColAdjustment.OptionsColumn.ShowInCustomizationForm = false; this.ColAdjustment.OptionsColumn.ShowInExpressionEditor = false; this.ColAdjustment.OptionsFilter.AllowAutoFilter = false; this.ColAdjustment.OptionsFilter.AllowFilter = false; this.ColAdjustment.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.ColAdjustment.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.ColAdjustment.ToolTip = "Adjustment"; this.ColAdjustment.Visible = true; this.ColAdjustment.VisibleIndex = 7; this.ColAdjustment.Width = 39; // // ColQuantityReceived // this.ColQuantityReceived.Caption = "Q.R"; this.ColQuantityReceived.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ColQuantityReceived.FieldName = "QuantityReceived"; this.ColQuantityReceived.Name = "ColQuantityReceived"; this.ColQuantityReceived.OptionsColumn.AllowEdit = false; this.ColQuantityReceived.OptionsColumn.AllowFocus = false; this.ColQuantityReceived.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.ColQuantityReceived.OptionsColumn.AllowIncrementalSearch = false; this.ColQuantityReceived.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.ColQuantityReceived.OptionsColumn.AllowMove = false; this.ColQuantityReceived.OptionsColumn.AllowShowHide = false; this.ColQuantityReceived.OptionsColumn.AllowSize = false; this.ColQuantityReceived.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.ColQuantityReceived.OptionsColumn.FixedWidth = true; this.ColQuantityReceived.OptionsColumn.ShowInCustomizationForm = false; this.ColQuantityReceived.OptionsColumn.ShowInExpressionEditor = false; this.ColQuantityReceived.OptionsFilter.AllowAutoFilter = false; this.ColQuantityReceived.OptionsFilter.AllowFilter = false; this.ColQuantityReceived.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.ColQuantityReceived.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.ColQuantityReceived.ToolTip = "Quantity Received"; this.ColQuantityReceived.Visible = true; this.ColQuantityReceived.VisibleIndex = 9; this.ColQuantityReceived.Width = 39; // // ColDOS // this.ColDOS.Caption = "DoS"; this.ColDOS.DisplayFormat.FormatString = "#,###.##"; this.ColDOS.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ColDOS.FieldName = "DOS"; this.ColDOS.Name = "ColDOS"; this.ColDOS.OptionsColumn.AllowEdit = false; this.ColDOS.OptionsColumn.AllowFocus = false; this.ColDOS.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.ColDOS.OptionsColumn.AllowIncrementalSearch = false; this.ColDOS.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.ColDOS.OptionsColumn.AllowMove = false; this.ColDOS.OptionsColumn.AllowShowHide = false; this.ColDOS.OptionsColumn.AllowSize = false; this.ColDOS.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.ColDOS.OptionsColumn.FixedWidth = true; this.ColDOS.OptionsColumn.ShowInCustomizationForm = false; this.ColDOS.OptionsColumn.ShowInExpressionEditor = false; this.ColDOS.OptionsFilter.AllowAutoFilter = false; this.ColDOS.OptionsFilter.AllowFilter = false; this.ColDOS.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.ColDOS.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.ColDOS.ToolTip = "Days Out Of Stock"; this.ColDOS.Visible = true; this.ColDOS.VisibleIndex = 10; this.ColDOS.Width = 39; // // ColQuantityNeedMax // this.ColQuantityNeedMax.Caption = "Q.N.M"; this.ColQuantityNeedMax.DisplayFormat.FormatString = "#,###.##"; this.ColQuantityNeedMax.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ColQuantityNeedMax.FieldName = "QuantityNeedMax"; this.ColQuantityNeedMax.Name = "ColQuantityNeedMax"; this.ColQuantityNeedMax.OptionsColumn.AllowEdit = false; this.ColQuantityNeedMax.OptionsColumn.AllowFocus = false; this.ColQuantityNeedMax.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.ColQuantityNeedMax.OptionsColumn.AllowIncrementalSearch = false; this.ColQuantityNeedMax.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.ColQuantityNeedMax.OptionsColumn.AllowMove = false; this.ColQuantityNeedMax.OptionsColumn.AllowShowHide = false; this.ColQuantityNeedMax.OptionsColumn.AllowSize = false; this.ColQuantityNeedMax.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.ColQuantityNeedMax.OptionsColumn.FixedWidth = true; this.ColQuantityNeedMax.OptionsColumn.ReadOnly = true; this.ColQuantityNeedMax.OptionsColumn.ShowInCustomizationForm = false; this.ColQuantityNeedMax.OptionsColumn.ShowInExpressionEditor = false; this.ColQuantityNeedMax.OptionsFilter.AllowAutoFilter = false; this.ColQuantityNeedMax.OptionsFilter.AllowFilter = false; this.ColQuantityNeedMax.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.ColQuantityNeedMax.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.ColQuantityNeedMax.ToolTip = "Quantity Need To Reach Max = M.S.Q - E.B"; this.ColQuantityNeedMax.Visible = true; this.ColQuantityNeedMax.VisibleIndex = 11; this.ColQuantityNeedMax.Width = 57; // // ColMaxStockQuantity // this.ColMaxStockQuantity.Caption = "M.S.Q"; this.ColMaxStockQuantity.DisplayFormat.FormatString = "#,###.##"; this.ColMaxStockQuantity.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ColMaxStockQuantity.FieldName = "MaxStockQuantity"; this.ColMaxStockQuantity.Name = "ColMaxStockQuantity"; this.ColMaxStockQuantity.OptionsColumn.AllowEdit = false; this.ColMaxStockQuantity.OptionsColumn.AllowFocus = false; this.ColMaxStockQuantity.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.ColMaxStockQuantity.OptionsColumn.AllowIncrementalSearch = false; this.ColMaxStockQuantity.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.ColMaxStockQuantity.OptionsColumn.AllowMove = false; this.ColMaxStockQuantity.OptionsColumn.AllowShowHide = false; this.ColMaxStockQuantity.OptionsColumn.AllowSize = false; this.ColMaxStockQuantity.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.ColMaxStockQuantity.OptionsColumn.FixedWidth = true; this.ColMaxStockQuantity.OptionsColumn.ReadOnly = true; this.ColMaxStockQuantity.OptionsColumn.ShowInCustomizationForm = false; this.ColMaxStockQuantity.OptionsColumn.ShowInExpressionEditor = false; this.ColMaxStockQuantity.OptionsFilter.AllowAutoFilter = false; this.ColMaxStockQuantity.OptionsFilter.AllowFilter = false; this.ColMaxStockQuantity.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.ColMaxStockQuantity.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.ColMaxStockQuantity.ToolTip = "Max Stock Quantity = (120*Consum)/(60-DOS)"; this.ColMaxStockQuantity.Visible = true; this.ColMaxStockQuantity.VisibleIndex = 12; this.ColMaxStockQuantity.Width = 39; // // ColConsumption // this.ColConsumption.Caption = "Consum"; this.ColConsumption.DisplayFormat.FormatString = "#,###.##"; this.ColConsumption.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.ColConsumption.FieldName = "Consumption"; this.ColConsumption.Name = "ColConsumption"; this.ColConsumption.OptionsColumn.AllowEdit = false; this.ColConsumption.OptionsColumn.AllowFocus = false; this.ColConsumption.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.ColConsumption.OptionsColumn.AllowIncrementalSearch = false; this.ColConsumption.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.ColConsumption.OptionsColumn.AllowMove = false; this.ColConsumption.OptionsColumn.AllowShowHide = false; this.ColConsumption.OptionsColumn.AllowSize = false; this.ColConsumption.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.ColConsumption.OptionsColumn.FixedWidth = true; this.ColConsumption.OptionsColumn.ReadOnly = true; this.ColConsumption.OptionsColumn.ShowInCustomizationForm = false; this.ColConsumption.OptionsColumn.ShowInExpressionEditor = false; this.ColConsumption.OptionsFilter.AllowAutoFilter = false; this.ColConsumption.OptionsFilter.AllowFilter = false; this.ColConsumption.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.ColConsumption.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.ColConsumption.ToolTip = "Calculated Consumption = b.B + Q.R +/- (Loss+Adjust) - E.B"; this.ColConsumption.Visible = true; this.ColConsumption.VisibleIndex = 13; this.ColConsumption.Width = 39; // // ColStockedOut // this.ColStockedOut.Caption = "StockedOut"; this.ColStockedOut.FieldName = "StockedOut"; this.ColStockedOut.Name = "ColStockedOut"; this.ColStockedOut.OptionsColumn.AllowEdit = false; this.ColStockedOut.OptionsColumn.AllowFocus = false; this.ColStockedOut.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.ColStockedOut.OptionsColumn.AllowIncrementalSearch = false; this.ColStockedOut.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.ColStockedOut.OptionsColumn.AllowMove = false; this.ColStockedOut.OptionsColumn.AllowShowHide = false; this.ColStockedOut.OptionsColumn.AllowSize = false; this.ColStockedOut.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.ColStockedOut.OptionsColumn.FixedWidth = true; this.ColStockedOut.OptionsColumn.ShowInCustomizationForm = false; this.ColStockedOut.OptionsColumn.ShowInExpressionEditor = false; this.ColStockedOut.OptionsFilter.AllowAutoFilter = false; this.ColStockedOut.OptionsFilter.AllowFilter = false; this.ColStockedOut.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.ColStockedOut.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; // // ExpireDateEditor // this.ExpireDateEditor.AutoHeight = false; this.ExpireDateEditor.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.ExpireDateEditor.DisplayFormat.FormatString = "mm-DD-YYYY"; this.ExpireDateEditor.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.ExpireDateEditor.EditFormat.FormatString = "mm-DD-YYYY"; this.ExpireDateEditor.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.ExpireDateEditor.ExportMode = DevExpress.XtraEditors.Repository.ExportMode.Value; this.ExpireDateEditor.Name = "ExpireDateEditor"; this.ExpireDateEditor.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); // // repositoryItemButtonEdit2 // this.repositoryItemButtonEdit2.AutoHeight = false; this.repositoryItemButtonEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Plus)}); this.repositoryItemButtonEdit2.Name = "repositoryItemButtonEdit2"; this.repositoryItemButtonEdit2.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; // // spinEditQtyPerPack // this.spinEditQtyPerPack.AutoHeight = false; this.spinEditQtyPerPack.Name = "spinEditQtyPerPack"; // // gridRecieveView1 // this.gridRecieveView1.Bands.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { this.gridBand1}); this.gridRecieveView1.Columns.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn[] { this.gridColumn3, this.gridColumn1, this.gridColumn10, this.gridColumn2, this.gridColumn4, this.gridColumn5, this.gridColumn6, this.gridColumn7, this.gridColumn8, this.gridColumn12, this.gridColumn9}); this.gridRecieveView1.GridControl = this.orderGrid; this.gridRecieveView1.Name = "gridRecieveView1"; this.gridRecieveView1.OptionsView.ShowGroupPanel = false; // // gridBand1 // this.gridBand1.Caption = "gridBand1"; this.gridBand1.Columns.Add(this.gridColumn3); this.gridBand1.Columns.Add(this.gridColumn1); this.gridBand1.Columns.Add(this.gridColumn10); this.gridBand1.Columns.Add(this.gridColumn2); this.gridBand1.Columns.Add(this.gridColumn4); this.gridBand1.Columns.Add(this.gridColumn5); this.gridBand1.Columns.Add(this.gridColumn6); this.gridBand1.Columns.Add(this.gridColumn7); this.gridBand1.Columns.Add(this.gridColumn8); this.gridBand1.Columns.Add(this.gridColumn12); this.gridBand1.Columns.Add(this.gridColumn9); this.gridBand1.Name = "gridBand1"; this.gridBand1.Width = 1117; // // gridColumn3 // this.gridColumn3.Caption = "Stock Code"; this.gridColumn3.FieldName = "Stock Code"; 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.AllowMerge = DevExpress.Utils.DefaultBoolean.True; this.gridColumn3.Visible = true; this.gridColumn3.Width = 104; // // gridColumn1 // this.gridColumn1.Caption = "Item Name"; this.gridColumn1.FieldName = "Item Name"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.True; this.gridColumn1.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.True; this.gridColumn1.Visible = true; this.gridColumn1.Width = 104; // // gridColumn10 // this.gridColumn10.Caption = "Manufacturer"; this.gridColumn10.FieldName = "Manufacturer"; this.gridColumn10.Name = "gridColumn10"; this.gridColumn10.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn10.Visible = true; // // gridColumn2 // this.gridColumn2.Caption = "Pack Qty"; this.gridColumn2.FieldName = "Pack Qty"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn2.Visible = true; this.gridColumn2.Width = 104; // // gridColumn4 // this.gridColumn4.Caption = "Reciving Box Size"; this.gridColumn4.FieldName = "Qty/pack"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn4.Visible = true; this.gridColumn4.Width = 104; // // gridColumn5 // this.gridColumn5.Caption = "BU Qty"; this.gridColumn5.FieldName = "BU Qty"; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn5.Visible = true; this.gridColumn5.Width = 104; // // gridColumn6 // this.gridColumn6.Caption = "Unit"; this.gridColumn6.FieldName = "Unit"; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn6.Visible = true; this.gridColumn6.Width = 104; // // gridColumn7 // this.gridColumn7.Caption = "Price/Pack"; this.gridColumn7.FieldName = "Price/Pack"; this.gridColumn7.Name = "gridColumn7"; this.gridColumn7.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn7.Visible = true; this.gridColumn7.Width = 104; // // gridColumn8 // this.gridColumn8.Caption = "Batch No"; this.gridColumn8.FieldName = "Batch No"; this.gridColumn8.Name = "gridColumn8"; this.gridColumn8.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn8.Visible = true; this.gridColumn8.Width = 144; // // gridColumn12 // this.gridColumn12.ColumnEdit = this.repositoryItemButtonEdit2; this.gridColumn12.ImageAlignment = System.Drawing.StringAlignment.Center; this.gridColumn12.Name = "gridColumn12"; this.gridColumn12.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn12.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways; this.gridColumn12.Visible = true; this.gridColumn12.Width = 25; // // gridColumn9 // this.gridColumn9.Caption = "Expiry Date"; this.gridColumn9.ColumnEdit = this.ExpireDateEditor; this.gridColumn9.FieldName = "Expiry Date"; this.gridColumn9.Name = "gridColumn9"; this.gridColumn9.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn9.Visible = true; this.gridColumn9.Width = 145; // // VolumeMetricsPage // this.VolumeMetricsPage.Controls.Add(this.layoutControl1); this.VolumeMetricsPage.Name = "VolumeMetricsPage"; this.VolumeMetricsPage.Size = new System.Drawing.Size(910, 194); this.VolumeMetricsPage.Text = "Volume Metrics"; // // layoutControl1 // this.layoutControl1.Controls.Add(this.lkContainerTypes); this.layoutControl1.Controls.Add(this.cboRequiredContainer); this.layoutControl1.Controls.Add(this.lblAvailableVolume); this.layoutControl1.Controls.Add(this.lblVolumeNeeded); this.layoutControl1.Controls.Add(this.volumetricsCanvas); this.layoutControl1.Controls.Add(this.grdVolumeGrid); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem32}); this.layoutControl1.Location = new System.Drawing.Point(0, 0); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(845, 218, 250, 350); this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(910, 194); this.layoutControl1.TabIndex = 0; this.layoutControl1.Text = "layoutControl1"; // // lkContainerTypes // this.lkContainerTypes.EditValue = "Select"; this.lkContainerTypes.Location = new System.Drawing.Point(89, 12); this.lkContainerTypes.Name = "lkContainerTypes"; this.lkContainerTypes.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkContainerTypes.Properties.DisplayMember = "Name"; this.lkContainerTypes.Properties.ValueMember = "ShippingContainerTypeID"; this.lkContainerTypes.Properties.View = this.gridView1; this.lkContainerTypes.Size = new System.Drawing.Size(249, 20); this.lkContainerTypes.StyleController = this.layoutControl1; this.lkContainerTypes.TabIndex = 15; this.lkContainerTypes.EditValueChanged += new System.EventHandler(this.lkContainerTypes_EditValueChanged); // // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn11, this.gridColumn13, this.gridColumn16, this.gridColumn17, this.gridColumn18}); this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gridView1.Name = "gridView1"; this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridView1.OptionsView.ShowGroupPanel = false; // // gridColumn11 // this.gridColumn11.Caption = "Name"; this.gridColumn11.FieldName = "Name"; this.gridColumn11.Name = "gridColumn11"; this.gridColumn11.Visible = true; this.gridColumn11.VisibleIndex = 0; // // gridColumn13 // this.gridColumn13.Caption = "Height"; this.gridColumn13.FieldName = "HeightMM"; this.gridColumn13.Name = "gridColumn13"; this.gridColumn13.Visible = true; this.gridColumn13.VisibleIndex = 1; // // gridColumn16 // this.gridColumn16.Caption = "Width"; this.gridColumn16.FieldName = "WidthMM"; this.gridColumn16.Name = "gridColumn16"; this.gridColumn16.Visible = true; this.gridColumn16.VisibleIndex = 2; // // gridColumn17 // this.gridColumn17.Caption = "Length"; this.gridColumn17.FieldName = "LengthMM"; this.gridColumn17.Name = "gridColumn17"; this.gridColumn17.Visible = true; this.gridColumn17.VisibleIndex = 3; // // gridColumn18 // this.gridColumn18.Caption = "Weight"; this.gridColumn18.FieldName = "WeightG"; this.gridColumn18.Name = "gridColumn18"; this.gridColumn18.Visible = true; this.gridColumn18.VisibleIndex = 4; // // cboRequiredContainer // this.cboRequiredContainer.FormattingEnabled = true; this.cboRequiredContainer.Location = new System.Drawing.Point(419, 12); this.cboRequiredContainer.Name = "cboRequiredContainer"; this.cboRequiredContainer.Size = new System.Drawing.Size(108, 21); this.cboRequiredContainer.TabIndex = 14; this.cboRequiredContainer.SelectedIndexChanged += new System.EventHandler(this.cboRequiredContainer_SelectedIndexChanged); // // lblAvailableVolume // this.lblAvailableVolume.Location = new System.Drawing.Point(12, 37); this.lblAvailableVolume.Name = "lblAvailableVolume"; this.lblAvailableVolume.Size = new System.Drawing.Size(167, 41); this.lblAvailableVolume.TabIndex = 13; // // lblVolumeNeeded // this.lblVolumeNeeded.Location = new System.Drawing.Point(183, 37); this.lblVolumeNeeded.Name = "lblVolumeNeeded"; this.lblVolumeNeeded.Size = new System.Drawing.Size(155, 41); this.lblVolumeNeeded.TabIndex = 12; // // volumetricsCanvas // this.volumetricsCanvas.Location = new System.Drawing.Point(12, 82); this.volumetricsCanvas.Name = "volumetricsCanvas"; this.volumetricsCanvas.Size = new System.Drawing.Size(886, 100); this.volumetricsCanvas.TabIndex = 10; this.volumetricsCanvas.Paint += new System.Windows.Forms.PaintEventHandler(this.volumetricsCanvas_Paint); // // grdVolumeGrid // this.grdVolumeGrid.Location = new System.Drawing.Point(12, 166); this.grdVolumeGrid.MainView = this.grdVolumeGridView; this.grdVolumeGrid.Name = "grdVolumeGrid"; this.grdVolumeGrid.Size = new System.Drawing.Size(228, 173); this.grdVolumeGrid.TabIndex = 5; this.grdVolumeGrid.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.grdVolumeGridView}); this.grdVolumeGrid.Visible = false; // // grdVolumeGridView // this.grdVolumeGridView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.Height, this.Width, this.Depth, this.Quantity}); this.grdVolumeGridView.GridControl = this.grdVolumeGrid; this.grdVolumeGridView.Name = "grdVolumeGridView"; this.grdVolumeGridView.OptionsView.ShowGroupPanel = false; this.grdVolumeGridView.CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.grdVolumeGridView_CellValueChanged); // // Height // this.Height.Caption = "Height"; this.Height.FieldName = "HeightMM"; this.Height.Name = "Height"; this.Height.Visible = true; this.Height.VisibleIndex = 0; // // Width // this.Width.Caption = "Width"; this.Width.FieldName = "WidthMM"; this.Width.Name = "Width"; this.Width.Visible = true; this.Width.VisibleIndex = 1; // // Depth // this.Depth.Caption = "Depth"; this.Depth.FieldName = "DepthMM"; this.Depth.Name = "Depth"; this.Depth.Visible = true; this.Depth.VisibleIndex = 2; // // Quantity // this.Quantity.Caption = "Quantity"; this.Quantity.FieldName = "Quantity"; this.Quantity.Name = "Quantity"; this.Quantity.Visible = true; this.Quantity.VisibleIndex = 3; // // layoutControlItem32 // this.layoutControlItem32.Control = this.grdVolumeGrid; this.layoutControlItem32.CustomizationFormText = "layoutControlItem32"; this.layoutControlItem32.Location = new System.Drawing.Point(0, 154); this.layoutControlItem32.MinSize = new System.Drawing.Size(104, 24); this.layoutControlItem32.Name = "layoutControlItem32"; this.layoutControlItem32.Size = new System.Drawing.Size(232, 177); this.layoutControlItem32.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem32.Text = "layoutControlItem32"; this.layoutControlItem32.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem32.TextToControlDistance = 0; this.layoutControlItem32.TextVisible = false; // // 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.emptySpaceItem2, this.layoutControlItem36, this.layoutControlItem37, this.layoutControlItem40, this.layoutControlItem39, this.emptySpaceItem4, this.layoutControlItem33}); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.Size = new System.Drawing.Size(910, 194); this.layoutControlGroup1.Text = "layoutControlGroup1"; this.layoutControlGroup1.TextVisible = false; // // emptySpaceItem2 // this.emptySpaceItem2.AllowHotTrack = false; this.emptySpaceItem2.CustomizationFormText = "emptySpaceItem2"; this.emptySpaceItem2.Location = new System.Drawing.Point(519, 0); this.emptySpaceItem2.Name = "emptySpaceItem2"; this.emptySpaceItem2.Size = new System.Drawing.Size(371, 25); this.emptySpaceItem2.Text = "emptySpaceItem2"; this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem36 // this.layoutControlItem36.Control = this.volumetricsCanvas; this.layoutControlItem36.CustomizationFormText = "layoutControlItem36"; this.layoutControlItem36.Location = new System.Drawing.Point(0, 70); this.layoutControlItem36.Name = "layoutControlItem36"; this.layoutControlItem36.Size = new System.Drawing.Size(890, 104); this.layoutControlItem36.Text = "layoutControlItem36"; this.layoutControlItem36.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem36.TextToControlDistance = 0; this.layoutControlItem36.TextVisible = false; // // layoutControlItem37 // this.layoutControlItem37.Control = this.cboRequiredContainer; this.layoutControlItem37.CustomizationFormText = "Required"; this.layoutControlItem37.Location = new System.Drawing.Point(330, 0); this.layoutControlItem37.Name = "layoutControlItem37"; this.layoutControlItem37.Size = new System.Drawing.Size(189, 25); this.layoutControlItem37.Text = "Required"; this.layoutControlItem37.TextSize = new System.Drawing.Size(74, 13); // // layoutControlItem40 // this.layoutControlItem40.Control = this.lblVolumeNeeded; this.layoutControlItem40.CustomizationFormText = "layoutControlItem40"; this.layoutControlItem40.Location = new System.Drawing.Point(171, 25); this.layoutControlItem40.Name = "layoutControlItem40"; this.layoutControlItem40.Size = new System.Drawing.Size(159, 45); this.layoutControlItem40.Text = "layoutControlItem40"; this.layoutControlItem40.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem40.TextToControlDistance = 0; this.layoutControlItem40.TextVisible = false; // // layoutControlItem39 // this.layoutControlItem39.Control = this.lblAvailableVolume; this.layoutControlItem39.CustomizationFormText = "layoutControlItem39"; this.layoutControlItem39.Location = new System.Drawing.Point(0, 25); this.layoutControlItem39.Name = "layoutControlItem39"; this.layoutControlItem39.Size = new System.Drawing.Size(171, 45); this.layoutControlItem39.Text = "layoutControlItem39"; this.layoutControlItem39.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem39.TextToControlDistance = 0; this.layoutControlItem39.TextVisible = false; // // emptySpaceItem4 // this.emptySpaceItem4.AllowHotTrack = false; this.emptySpaceItem4.CustomizationFormText = "emptySpaceItem4"; this.emptySpaceItem4.Location = new System.Drawing.Point(330, 25); this.emptySpaceItem4.Name = "emptySpaceItem4"; this.emptySpaceItem4.Size = new System.Drawing.Size(560, 45); this.emptySpaceItem4.Text = "emptySpaceItem4"; this.emptySpaceItem4.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem33 // this.layoutControlItem33.Control = this.lkContainerTypes; this.layoutControlItem33.CustomizationFormText = "Container Type"; this.layoutControlItem33.Location = new System.Drawing.Point(0, 0); this.layoutControlItem33.Name = "layoutControlItem33"; this.layoutControlItem33.Size = new System.Drawing.Size(330, 25); this.layoutControlItem33.Text = "Container Type"; this.layoutControlItem33.TextSize = new System.Drawing.Size(74, 13); // // NoOfVisitLabel // this.NoOfVisitLabel.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.NoOfVisitLabel.Location = new System.Drawing.Point(1259, 4); this.NoOfVisitLabel.Name = "NoOfVisitLabel"; this.NoOfVisitLabel.Size = new System.Drawing.Size(87, 13); this.NoOfVisitLabel.TabIndex = 47; // // LastVisitlabel // this.LastVisitlabel.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.LastVisitlabel.Location = new System.Drawing.Point(1050, 4); this.LastVisitlabel.Name = "LastVisitlabel"; this.LastVisitlabel.Size = new System.Drawing.Size(119, 13); this.LastVisitlabel.TabIndex = 46; // // progressBarControl // this.progressBarControl.Location = new System.Drawing.Point(390, 370); this.progressBarControl.Name = "progressBarControl"; this.progressBarControl.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.progressBarControl.Properties.Appearance.ForeColor = System.Drawing.Color.Black; this.progressBarControl.Properties.ProgressViewStyle = DevExpress.XtraEditors.Controls.ProgressViewStyle.Solid; this.progressBarControl.Properties.ShowTitle = true; this.progressBarControl.Properties.Step = 1; this.progressBarControl.Size = new System.Drawing.Size(962, 20); this.progressBarControl.TabIndex = 45; // // simpleButton1 // this.simpleButton1.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton1.Image"))); this.simpleButton1.Location = new System.Drawing.Point(763, 367); this.simpleButton1.Name = "simpleButton1"; this.simpleButton1.Size = new System.Drawing.Size(142, 22); this.simpleButton1.TabIndex = 32; this.simpleButton1.Text = "Save Multiple"; this.simpleButton1.Click += new System.EventHandler(this.multiFacilityDialog_Click); // // lkType // this.lkType.Location = new System.Drawing.Point(818, 59); this.lkType.Name = "lkType"; this.lkType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkType.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Count", "Name"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ID", "Name28", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default)}); this.lkType.Properties.DisplayMember = "Name"; this.lkType.Properties.NullText = "Select Institution Type"; this.lkType.Properties.ShowFooter = false; this.lkType.Properties.ShowHeader = false; this.lkType.Properties.ValueMember = "ID"; this.lkType.Size = new System.Drawing.Size(211, 20); this.lkType.TabIndex = 45; this.lkType.EditValueChanged += new System.EventHandler(this.lkType_EditValueChanged); // // lkOwnership // this.lkOwnership.Location = new System.Drawing.Point(818, 35); this.lkOwnership.Name = "lkOwnership"; this.lkOwnership.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkOwnership.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Count", "Name"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ID", "Name26", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default)}); this.lkOwnership.Properties.DisplayMember = "Name"; this.lkOwnership.Properties.NullText = "Select Ownership"; this.lkOwnership.Properties.ShowFooter = false; this.lkOwnership.Properties.ShowHeader = false; this.lkOwnership.Properties.ValueMember = "ID"; this.lkOwnership.Size = new System.Drawing.Size(211, 20); this.lkOwnership.TabIndex = 44; this.lkOwnership.EditValueChanged += new System.EventHandler(this.lkOwnership_EditValueChanged); // // lkWoreda // this.lkWoreda.Location = new System.Drawing.Point(497, 83); this.lkWoreda.Name = "lkWoreda"; this.lkWoreda.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkWoreda.Properties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None); this.lkWoreda.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ID", "ID", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Count", "Woreda Name")}); this.lkWoreda.Properties.DisplayMember = "WoredaName"; this.lkWoreda.Properties.NullText = ""; this.lkWoreda.Properties.ShowFooter = false; this.lkWoreda.Properties.ShowHeader = false; this.lkWoreda.Properties.ValueMember = "ID"; this.lkWoreda.Size = new System.Drawing.Size(226, 20); this.lkWoreda.TabIndex = 43; this.lkWoreda.EditValueChanged += new System.EventHandler(this.lkWoreda_EditValueChanged); // // txtRemark // this.txtRemark.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.txtRemark.Location = new System.Drawing.Point(357, 521); this.txtRemark.Name = "txtRemark"; this.txtRemark.Size = new System.Drawing.Size(395, 22); this.txtRemark.TabIndex = 18; // // txtReceivedBy // this.txtReceivedBy.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.txtReceivedBy.Enabled = false; this.txtReceivedBy.Location = new System.Drawing.Point(664, 521); this.txtReceivedBy.Name = "txtReceivedBy"; this.txtReceivedBy.Size = new System.Drawing.Size(124, 20); this.txtReceivedBy.TabIndex = 16; // // txtTin // this.txtTin.Enabled = false; this.txtTin.Location = new System.Drawing.Point(497, 4); this.txtTin.Name = "txtTin"; this.txtTin.Properties.Appearance.BackColor = System.Drawing.SystemColors.Control; this.txtTin.Properties.Appearance.Options.UseBackColor = true; this.txtTin.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.txtTin.Size = new System.Drawing.Size(122, 18); this.txtTin.TabIndex = 26; this.txtTin.Visible = false; // // txtVatRegistration // this.txtVatRegistration.Enabled = false; this.txtVatRegistration.Location = new System.Drawing.Point(621, 4); this.txtVatRegistration.Name = "txtVatRegistration"; this.txtVatRegistration.Properties.Appearance.BackColor = System.Drawing.SystemColors.Control; this.txtVatRegistration.Properties.Appearance.Options.UseBackColor = true; this.txtVatRegistration.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.txtVatRegistration.Size = new System.Drawing.Size(128, 18); this.txtVatRegistration.TabIndex = 25; // // txtRegistrationNo // this.txtRegistrationNo.Location = new System.Drawing.Point(808, 4); this.txtRegistrationNo.Name = "txtRegistrationNo"; this.txtRegistrationNo.Properties.Appearance.BackColor = System.Drawing.SystemColors.Control; this.txtRegistrationNo.Properties.Appearance.Options.UseBackColor = true; this.txtRegistrationNo.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.txtRegistrationNo.Size = new System.Drawing.Size(50, 18); this.txtRegistrationNo.TabIndex = 27; // // txtLetterNumber // this.txtLetterNumber.Location = new System.Drawing.Point(1151, 83); this.txtLetterNumber.Name = "txtLetterNumber"; this.txtLetterNumber.Size = new System.Drawing.Size(183, 20); this.txtLetterNumber.TabIndex = 28; // // txtRefNo // this.txtRefNo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtRefNo.Location = new System.Drawing.Point(104, 16); this.txtRefNo.Name = "txtRefNo"; this.txtRefNo.Properties.Appearance.BackColor = System.Drawing.SystemColors.Control; this.txtRefNo.Properties.Appearance.Options.UseBackColor = true; this.txtRefNo.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.txtRefNo.Size = new System.Drawing.Size(160, 18); this.txtRefNo.TabIndex = 15; // // btnSaveOrder // this.btnSaveOrder.Cursor = System.Windows.Forms.Cursors.Default; this.btnSaveOrder.Image = ((System.Drawing.Image)(resources.GetObject("btnSaveOrder.Image"))); this.btnSaveOrder.Location = new System.Drawing.Point(909, 367); this.btnSaveOrder.Name = "btnSaveOrder"; this.btnSaveOrder.Size = new System.Drawing.Size(142, 22); this.btnSaveOrder.TabIndex = 24; this.btnSaveOrder.Text = "Save as Draft"; this.btnSaveOrder.Click += new System.EventHandler(this.SaveOrderAsDraft); // // btnSaveAndForward // this.btnSaveAndForward.Image = ((System.Drawing.Image)(resources.GetObject("btnSaveAndForward.Image"))); this.btnSaveAndForward.Location = new System.Drawing.Point(1055, 367); this.btnSaveAndForward.Name = "btnSaveAndForward"; this.btnSaveAndForward.Size = new System.Drawing.Size(142, 22); this.btnSaveAndForward.TabIndex = 25; this.btnSaveAndForward.Text = "Save and Forward"; this.btnSaveAndForward.Click += new System.EventHandler(this.btnSaveAndForward_Click); // // lkModes // this.lkModes.EditValue = "1"; this.lkModes.Location = new System.Drawing.Point(78, 62); this.lkModes.Name = "lkModes"; this.lkModes.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkModes.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("TypeName", "Name")}); this.lkModes.Properties.DisplayMember = "TypeName"; this.lkModes.Properties.NullText = "Select Mode"; this.lkModes.Properties.ShowFooter = false; this.lkModes.Properties.ValueMember = "ID"; this.lkModes.Size = new System.Drawing.Size(186, 20); this.lkModes.TabIndex = 15; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "This value is not valid"; this.dxValidation1stTab.SetValidationRule(this.lkModes, conditionValidationRule1); this.lkModes.EditValueChanged += new System.EventHandler(this.lkModes_EditValueChanged); // // txtContactPerson // this.txtContactPerson.Location = new System.Drawing.Point(1151, 59); this.txtContactPerson.Name = "txtContactPerson"; this.txtContactPerson.Size = new System.Drawing.Size(183, 20); this.txtContactPerson.TabIndex = 39; // // lkZone // this.lkZone.Location = new System.Drawing.Point(497, 59); this.lkZone.Name = "lkZone"; this.lkZone.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkZone.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Count", "ZoneName"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ID", "ID", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default)}); this.lkZone.Properties.DisplayMember = "ZoneName"; this.lkZone.Properties.NullText = ""; this.lkZone.Properties.ShowFooter = false; this.lkZone.Properties.ShowHeader = false; this.lkZone.Properties.ValueMember = "ID"; this.lkZone.Size = new System.Drawing.Size(226, 20); this.lkZone.TabIndex = 38; this.lkZone.EditValueChanged += new System.EventHandler(this.lkZone_EditValueChanged); // // lkRegion // this.lkRegion.Location = new System.Drawing.Point(497, 35); this.lkRegion.Name = "lkRegion"; this.lkRegion.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkRegion.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("RegionName", "RegionName"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ID", "ID", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default)}); this.lkRegion.Properties.DisplayMember = "RegionName"; this.lkRegion.Properties.NullText = "Select Region"; this.lkRegion.Properties.ShowFooter = false; this.lkRegion.Properties.ShowHeader = false; this.lkRegion.Properties.ValueMember = "ID"; this.lkRegion.Size = new System.Drawing.Size(226, 20); this.lkRegion.TabIndex = 37; this.lkRegion.Tag = "r"; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "This value is not valid"; this.dxValidation1stTab.SetValidationRule(this.lkRegion, conditionValidationRule2); this.lkRegion.EditValueChanged += new System.EventHandler(this.lkRegion_EditValueChanged); // // lblLoadRU // this.lblLoadRU.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Underline); this.lblLoadRU.Location = new System.Drawing.Point(1082, 19); this.lblLoadRU.Name = "lblLoadRU"; this.lblLoadRU.Size = new System.Drawing.Size(33, 13); this.lblLoadRU.TabIndex = 36; this.lblLoadRU.Text = "Reload"; this.lblLoadRU.Click += new System.EventHandler(this.lblLoadRU_Click); // // lkCategoires // this.lkCategoires.Location = new System.Drawing.Point(78, 86); this.lkCategoires.Name = "lkCategoires"; this.lkCategoires.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkCategoires.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "Name")}); this.lkCategoires.Properties.DisplayMember = "Name"; this.lkCategoires.Properties.NullText = "Select Commodity Type"; this.lkCategoires.Properties.ShowFooter = false; this.lkCategoires.Properties.ValueMember = "ID"; this.lkCategoires.Size = new System.Drawing.Size(186, 20); this.lkCategoires.TabIndex = 23; this.lkCategoires.EditValueChanged += new System.EventHandler(this.lkCategoires_EditValueChanged); // // txtItemName // this.txtItemName.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.txtItemName.Location = new System.Drawing.Point(308, 86); this.txtItemName.Name = "txtItemName"; this.txtItemName.Size = new System.Drawing.Size(102, 20); this.txtItemName.TabIndex = 4; this.txtItemName.EditValueChanged += new System.EventHandler(this.OnFilterByItemNameChanged); // // gridItemsChoice // this.gridItemsChoice.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.gridItemsChoice.Location = new System.Drawing.Point(4, 122); this.gridItemsChoice.MainView = this.gridItemChoiceView; this.gridItemsChoice.Name = "gridItemsChoice"; this.gridItemsChoice.Padding = new System.Windows.Forms.Padding(2); this.gridItemsChoice.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemCheckEdit1, this.repositoryItemMemoEdit2}); this.gridItemsChoice.Size = new System.Drawing.Size(418, 241); this.gridItemsChoice.TabIndex = 11; this.gridItemsChoice.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridItemChoiceView}); this.gridItemsChoice.Click += new System.EventHandler(this.gridItemsChoice_Click); // // gridItemChoiceView // this.gridItemChoiceView.Appearance.FocusedRow.BackColor = System.Drawing.Color.Gray; this.gridItemChoiceView.Appearance.FocusedRow.Options.UseBackColor = true; this.gridItemChoiceView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn30, this.gridColumn28, this.colItemName, this.gridColumn14, this.gridColumn29, this.gridColumn66, this.gridColumn67, this.gridColumn21}); styleFormatCondition4.Appearance.ForeColor = System.Drawing.Color.Silver; styleFormatCondition4.Appearance.Options.UseForeColor = true; styleFormatCondition4.ApplyToRow = true; styleFormatCondition4.Condition = DevExpress.XtraGrid.FormatConditionEnum.Expression; styleFormatCondition4.Expression = "[StockedOut] == 1"; this.gridItemChoiceView.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] { styleFormatCondition4}); this.gridItemChoiceView.GridControl = this.gridItemsChoice; this.gridItemChoiceView.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.None, "", null, "")}); this.gridItemChoiceView.HorzScrollStep = 1; this.gridItemChoiceView.Name = "gridItemChoiceView"; this.gridItemChoiceView.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False; this.gridItemChoiceView.OptionsCustomization.AllowColumnMoving = false; this.gridItemChoiceView.OptionsCustomization.AllowColumnResizing = false; this.gridItemChoiceView.OptionsCustomization.AllowFilter = false; this.gridItemChoiceView.OptionsCustomization.AllowGroup = false; this.gridItemChoiceView.OptionsDetail.AllowExpandEmptyDetails = true; this.gridItemChoiceView.OptionsDetail.EnableDetailToolTip = true; this.gridItemChoiceView.OptionsDetail.SmartDetailExpandButtonMode = DevExpress.XtraGrid.Views.Grid.DetailExpandButtonMode.AlwaysEnabled; this.gridItemChoiceView.OptionsDetail.SmartDetailHeight = true; this.gridItemChoiceView.OptionsFilter.UseNewCustomFilterDialog = true; this.gridItemChoiceView.OptionsMenu.EnableColumnMenu = false; this.gridItemChoiceView.OptionsMenu.EnableFooterMenu = false; this.gridItemChoiceView.OptionsMenu.EnableGroupPanelMenu = false; this.gridItemChoiceView.OptionsPrint.EnableAppearanceEvenRow = true; this.gridItemChoiceView.OptionsPrint.EnableAppearanceOddRow = true; this.gridItemChoiceView.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridItemChoiceView.OptionsSelection.EnableAppearanceHideSelection = false; this.gridItemChoiceView.OptionsSelection.MultiSelect = true; this.gridItemChoiceView.OptionsView.EnableAppearanceEvenRow = true; this.gridItemChoiceView.OptionsView.EnableAppearanceOddRow = true; this.gridItemChoiceView.OptionsView.ShowFilterPanelMode = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.Never; this.gridItemChoiceView.OptionsView.ShowGroupPanel = false; this.gridItemChoiceView.OptionsView.ShowIndicator = false; this.gridItemChoiceView.RowClick += new DevExpress.XtraGrid.Views.Grid.RowClickEventHandler(this.gridItemChoiceView_RowClick); // // gridColumn30 // this.gridColumn30.ColumnEdit = this.repositoryItemCheckEdit1; this.gridColumn30.FieldName = "IsSelected"; this.gridColumn30.Name = "gridColumn30"; this.gridColumn30.OptionsColumn.AllowEdit = false; this.gridColumn30.OptionsColumn.AllowFocus = false; this.gridColumn30.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn30.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn30.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn30.OptionsColumn.AllowMove = false; this.gridColumn30.OptionsColumn.AllowShowHide = false; this.gridColumn30.OptionsColumn.AllowSize = false; this.gridColumn30.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn30.OptionsColumn.FixedWidth = true; this.gridColumn30.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn30.OptionsColumn.ShowInExpressionEditor = false; this.gridColumn30.OptionsFilter.AllowAutoFilter = false; this.gridColumn30.OptionsFilter.AllowFilter = false; this.gridColumn30.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn30.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Like; this.gridColumn30.Visible = true; this.gridColumn30.VisibleIndex = 0; this.gridColumn30.Width = 20; // // repositoryItemCheckEdit1 // this.repositoryItemCheckEdit1.AutoHeight = false; this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1"; this.repositoryItemCheckEdit1.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked; this.repositoryItemCheckEdit1.ValueGrayed = false; this.repositoryItemCheckEdit1.CheckedChanged += new System.EventHandler(this.OnItemCheckedChanged); // // gridColumn28 // this.gridColumn28.Caption = "Stock Code"; this.gridColumn28.FieldName = "StockCode"; this.gridColumn28.Name = "gridColumn28"; this.gridColumn28.OptionsColumn.AllowEdit = false; this.gridColumn28.OptionsColumn.AllowFocus = false; this.gridColumn28.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn28.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn28.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn28.OptionsColumn.AllowMove = false; this.gridColumn28.OptionsColumn.AllowShowHide = false; this.gridColumn28.OptionsColumn.AllowSize = false; this.gridColumn28.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn28.OptionsColumn.FixedWidth = true; this.gridColumn28.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn28.OptionsColumn.ShowInExpressionEditor = false; this.gridColumn28.OptionsFilter.AllowAutoFilter = false; this.gridColumn28.OptionsFilter.AllowFilter = false; this.gridColumn28.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn28.Width = 89; // // colItemName // this.colItemName.AppearanceCell.Options.UseTextOptions = true; this.colItemName.AppearanceCell.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.colItemName.AppearanceHeader.Options.UseTextOptions = true; this.colItemName.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.colItemName.Caption = "Item"; this.colItemName.ColumnEdit = this.repositoryItemMemoEdit2; this.colItemName.FieldName = "FullItemName"; this.colItemName.Name = "colItemName"; this.colItemName.OptionsColumn.AllowEdit = false; this.colItemName.OptionsColumn.AllowFocus = false; this.colItemName.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.colItemName.OptionsColumn.AllowIncrementalSearch = false; this.colItemName.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colItemName.OptionsColumn.AllowMove = false; this.colItemName.OptionsColumn.AllowShowHide = false; this.colItemName.OptionsColumn.AllowSize = false; this.colItemName.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.colItemName.OptionsColumn.FixedWidth = true; this.colItemName.OptionsColumn.ShowInCustomizationForm = false; this.colItemName.OptionsColumn.ShowInExpressionEditor = false; this.colItemName.OptionsFilter.AllowAutoFilter = false; this.colItemName.OptionsFilter.AllowFilter = false; this.colItemName.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.colItemName.Visible = true; this.colItemName.VisibleIndex = 1; this.colItemName.Width = 343; // // repositoryItemMemoEdit2 // this.repositoryItemMemoEdit2.LinesCount = 1; this.repositoryItemMemoEdit2.Name = "repositoryItemMemoEdit2"; // // gridColumn14 // this.gridColumn14.Caption = "Type"; this.gridColumn14.FieldName = "CommodityType"; this.gridColumn14.Name = "gridColumn14"; this.gridColumn14.OptionsColumn.AllowEdit = false; this.gridColumn14.OptionsColumn.AllowFocus = false; this.gridColumn14.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn14.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn14.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn14.OptionsColumn.AllowMove = false; this.gridColumn14.OptionsColumn.AllowShowHide = false; this.gridColumn14.OptionsColumn.AllowSize = false; this.gridColumn14.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn14.OptionsColumn.FixedWidth = true; this.gridColumn14.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn14.OptionsColumn.ShowInExpressionEditor = false; this.gridColumn14.OptionsFilter.AllowAutoFilter = false; this.gridColumn14.OptionsFilter.AllowFilter = false; this.gridColumn14.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; // // gridColumn29 // this.gridColumn29.Caption = "Unit"; this.gridColumn29.FieldName = "Unit"; this.gridColumn29.Name = "gridColumn29"; this.gridColumn29.OptionsColumn.AllowEdit = false; this.gridColumn29.OptionsColumn.AllowFocus = false; this.gridColumn29.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn29.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn29.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn29.OptionsColumn.AllowMove = false; this.gridColumn29.OptionsColumn.AllowShowHide = false; this.gridColumn29.OptionsColumn.AllowSize = false; this.gridColumn29.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn29.OptionsColumn.FixedWidth = true; this.gridColumn29.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn29.OptionsColumn.ShowInExpressionEditor = false; this.gridColumn29.OptionsFilter.AllowAutoFilter = false; this.gridColumn29.OptionsFilter.AllowFilter = false; this.gridColumn29.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn29.Visible = true; this.gridColumn29.VisibleIndex = 2; // // gridColumn66 // this.gridColumn66.Caption = "gridColumn66"; this.gridColumn66.FieldName = "SubCategoryID"; this.gridColumn66.Name = "gridColumn66"; this.gridColumn66.OptionsColumn.AllowEdit = false; this.gridColumn66.OptionsColumn.AllowFocus = false; this.gridColumn66.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn66.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn66.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn66.OptionsColumn.AllowMove = false; this.gridColumn66.OptionsColumn.AllowShowHide = false; this.gridColumn66.OptionsColumn.AllowSize = false; this.gridColumn66.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn66.OptionsColumn.FixedWidth = true; this.gridColumn66.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn66.OptionsColumn.ShowInExpressionEditor = false; this.gridColumn66.OptionsFilter.AllowAutoFilter = false; this.gridColumn66.OptionsFilter.AllowFilter = false; this.gridColumn66.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; // // gridColumn67 // this.gridColumn67.Caption = "gridColumn67"; this.gridColumn67.FieldName = "CategoryID"; this.gridColumn67.Name = "gridColumn67"; this.gridColumn67.OptionsColumn.AllowEdit = false; this.gridColumn67.OptionsColumn.AllowFocus = false; this.gridColumn67.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn67.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn67.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn67.OptionsColumn.AllowMove = false; this.gridColumn67.OptionsColumn.AllowShowHide = false; this.gridColumn67.OptionsColumn.AllowSize = false; this.gridColumn67.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn67.OptionsColumn.FixedWidth = true; this.gridColumn67.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn67.OptionsColumn.ShowInExpressionEditor = false; this.gridColumn67.OptionsFilter.AllowAutoFilter = false; this.gridColumn67.OptionsFilter.AllowFilter = false; this.gridColumn67.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; // // gridColumn21 // this.gridColumn21.Caption = "gridColumn21"; this.gridColumn21.FieldName = "TypeID"; this.gridColumn21.Name = "gridColumn21"; this.gridColumn21.OptionsColumn.AllowEdit = false; this.gridColumn21.OptionsColumn.AllowFocus = false; this.gridColumn21.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn21.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn21.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn21.OptionsColumn.AllowMove = false; this.gridColumn21.OptionsColumn.AllowShowHide = false; this.gridColumn21.OptionsColumn.AllowSize = false; this.gridColumn21.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn21.OptionsColumn.FixedWidth = true; this.gridColumn21.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn21.OptionsColumn.ShowInExpressionEditor = false; this.gridColumn21.OptionsFilter.AllowAutoFilter = false; this.gridColumn21.OptionsFilter.AllowFilter = false; this.gridColumn21.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; // // lkPaymentType // this.lkPaymentType.Location = new System.Drawing.Point(1150, 35); this.lkPaymentType.Margin = new System.Windows.Forms.Padding(0); this.lkPaymentType.Name = "lkPaymentType"; this.lkPaymentType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkPaymentType.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "Name")}); this.lkPaymentType.Properties.DisplayMember = "Name"; this.lkPaymentType.Properties.NullText = "Select Payment Type"; this.lkPaymentType.Properties.PopupSizeable = false; this.lkPaymentType.Properties.ShowFooter = false; this.lkPaymentType.Properties.ShowHeader = false; this.lkPaymentType.Properties.ValueMember = "ID"; this.lkPaymentType.Size = new System.Drawing.Size(184, 20); this.lkPaymentType.TabIndex = 37; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule3.ErrorText = "This value is not valid"; this.dxValidation1stTab.SetValidationRule(this.lkPaymentType, conditionValidationRule3); // // lkForFacility // this.lkForFacility.EditValue = "1"; this.lkForFacility.Location = new System.Drawing.Point(818, 83); this.lkForFacility.Name = "lkForFacility"; this.lkForFacility.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkForFacility.Properties.DisplayMember = "Name"; this.lkForFacility.Properties.NullText = "Select Issue Location"; this.lkForFacility.Properties.ShowFooter = false; this.lkForFacility.Properties.ShowPopupShadow = false; this.lkForFacility.Properties.ValueMember = "ID"; this.lkForFacility.Properties.View = this.gridLookUpEdit1View; this.lkForFacility.Size = new System.Drawing.Size(211, 20); this.lkForFacility.TabIndex = 22; this.lkForFacility.EditValueChanged += new System.EventHandler(this.lkForFacility_EditValueChanged); // // gridLookUpEdit1View // this.gridLookUpEdit1View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn15, this.gridColumn19, this.gridColumn20, this.gridColumn22, this.gridColumn24, this.gridColumn25}); this.gridLookUpEdit1View.DetailTabHeaderLocation = DevExpress.XtraTab.TabHeaderLocation.Bottom; this.gridLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gridLookUpEdit1View.GroupFooterShowMode = DevExpress.XtraGrid.Views.Grid.GroupFooterShowMode.VisibleAlways; this.gridLookUpEdit1View.Name = "gridLookUpEdit1View"; this.gridLookUpEdit1View.OptionsCustomization.AllowColumnMoving = false; this.gridLookUpEdit1View.OptionsCustomization.AllowColumnResizing = false; this.gridLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridLookUpEdit1View.OptionsView.ShowAutoFilterRow = true; this.gridLookUpEdit1View.OptionsView.ShowFilterPanelMode = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.Never; this.gridLookUpEdit1View.OptionsView.ShowGroupPanel = false; this.gridLookUpEdit1View.OptionsView.ShowIndicator = false; this.gridLookUpEdit1View.ScrollStyle = DevExpress.XtraGrid.Views.Grid.ScrollStyleFlags.LiveVertScroll; // // gridColumn15 // this.gridColumn15.Caption = "Name"; this.gridColumn15.FieldName = "Name"; this.gridColumn15.MinWidth = 150; this.gridColumn15.Name = "gridColumn15"; this.gridColumn15.OptionsColumn.AllowEdit = false; this.gridColumn15.OptionsColumn.AllowFocus = false; this.gridColumn15.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn15.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn15.OptionsColumn.AllowMove = false; this.gridColumn15.OptionsColumn.AllowShowHide = false; this.gridColumn15.OptionsColumn.AllowSize = false; this.gridColumn15.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn15.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn15.Visible = true; this.gridColumn15.VisibleIndex = 0; this.gridColumn15.Width = 150; // // gridColumn19 // this.gridColumn19.Caption = "Ownership"; this.gridColumn19.FieldName = "OwnershipName"; this.gridColumn19.MinWidth = 75; this.gridColumn19.Name = "gridColumn19"; this.gridColumn19.OptionsColumn.AllowEdit = false; this.gridColumn19.OptionsColumn.AllowFocus = false; this.gridColumn19.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn19.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn19.OptionsColumn.AllowMove = false; this.gridColumn19.OptionsColumn.AllowShowHide = false; this.gridColumn19.OptionsColumn.AllowSize = false; this.gridColumn19.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn19.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn19.Visible = true; this.gridColumn19.VisibleIndex = 1; // // gridColumn20 // this.gridColumn20.Caption = "Type"; this.gridColumn20.FieldName = "InstitutionTypeName"; this.gridColumn20.MinWidth = 75; this.gridColumn20.Name = "gridColumn20"; this.gridColumn20.OptionsColumn.AllowEdit = false; this.gridColumn20.OptionsColumn.AllowFocus = false; this.gridColumn20.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn20.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn20.OptionsColumn.AllowMove = false; this.gridColumn20.OptionsColumn.AllowShowHide = false; this.gridColumn20.OptionsColumn.AllowSize = false; this.gridColumn20.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn20.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn20.Visible = true; this.gridColumn20.VisibleIndex = 2; // // gridColumn22 // this.gridColumn22.Caption = "Woreda"; this.gridColumn22.FieldName = "WoredaName"; this.gridColumn22.MinWidth = 150; this.gridColumn22.Name = "gridColumn22"; this.gridColumn22.OptionsColumn.AllowEdit = false; this.gridColumn22.OptionsColumn.AllowFocus = false; this.gridColumn22.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn22.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn22.OptionsColumn.AllowMove = false; this.gridColumn22.OptionsColumn.AllowShowHide = false; this.gridColumn22.OptionsColumn.AllowSize = false; this.gridColumn22.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn22.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn22.Visible = true; this.gridColumn22.VisibleIndex = 3; this.gridColumn22.Width = 150; // // gridColumn24 // this.gridColumn24.Caption = "Zone"; this.gridColumn24.FieldName = "ZoneName"; this.gridColumn24.MinWidth = 150; this.gridColumn24.Name = "gridColumn24"; this.gridColumn24.OptionsColumn.AllowEdit = false; this.gridColumn24.OptionsColumn.AllowFocus = false; this.gridColumn24.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn24.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn24.OptionsColumn.AllowMove = false; this.gridColumn24.OptionsColumn.AllowShowHide = false; this.gridColumn24.OptionsColumn.AllowSize = false; this.gridColumn24.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn24.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn24.Visible = true; this.gridColumn24.VisibleIndex = 4; this.gridColumn24.Width = 150; // // gridColumn25 // this.gridColumn25.Caption = "Region"; this.gridColumn25.FieldName = "RegionName"; this.gridColumn25.MinWidth = 75; this.gridColumn25.Name = "gridColumn25"; this.gridColumn25.OptionsColumn.AllowEdit = false; this.gridColumn25.OptionsColumn.AllowFocus = false; this.gridColumn25.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn25.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn25.OptionsColumn.AllowMove = false; this.gridColumn25.OptionsColumn.AllowShowHide = false; this.gridColumn25.OptionsColumn.AllowSize = false; this.gridColumn25.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn25.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn25.Visible = true; this.gridColumn25.VisibleIndex = 5; // // lkPeriod // this.lkPeriod.Location = new System.Drawing.Point(818, 107); this.lkPeriod.Name = "lkPeriod"; this.lkPeriod.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkPeriod.Properties.DisplayMember = "StartDate_EndDate"; this.lkPeriod.Properties.NullText = "Select Period"; this.lkPeriod.Properties.ShowFooter = false; this.lkPeriod.Properties.ValueMember = "PeriodID"; this.lkPeriod.Properties.View = this.gridView2; this.lkPeriod.Size = new System.Drawing.Size(211, 20); this.lkPeriod.TabIndex = 44; this.lkPeriod.EditValueChanging += new DevExpress.XtraEditors.Controls.ChangingEventHandler(this.lkPeriod_EditValueChanging); // // gridView2 // this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.lkColStartDate_EndDate}); this.gridView2.DetailHeight = 150; this.gridView2.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gridView2.Name = "gridView2"; this.gridView2.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridView2.OptionsView.ShowGroupPanel = false; // // lkColStartDate_EndDate // this.lkColStartDate_EndDate.Caption = "StartDate_EndDate"; this.lkColStartDate_EndDate.FieldName = "StartDate_EndDate"; this.lkColStartDate_EndDate.Name = "lkColStartDate_EndDate"; this.lkColStartDate_EndDate.Visible = true; this.lkColStartDate_EndDate.VisibleIndex = 0; // // lkRequisitionType // this.lkRequisitionType.Location = new System.Drawing.Point(78, 38); this.lkRequisitionType.Name = "lkRequisitionType"; this.lkRequisitionType.Properties.AllowMouseWheel = false; this.lkRequisitionType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkRequisitionType.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Description", "Requisiton Type")}); this.lkRequisitionType.Properties.DisplayMember = "Description"; this.lkRequisitionType.Properties.NullText = "Select Type"; this.lkRequisitionType.Properties.PopupWidth = 100; this.lkRequisitionType.Properties.ShowFooter = false; this.lkRequisitionType.Properties.ValueMember = "Value"; this.lkRequisitionType.Size = new System.Drawing.Size(186, 20); this.lkRequisitionType.TabIndex = 45; conditionValidationRule4.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule4.ErrorText = "This value is not valid"; this.dxValidation1stTab.SetValidationRule(this.lkRequisitionType, conditionValidationRule4); this.lkRequisitionType.EditValueChanged += new System.EventHandler(this.lkRequisitionType_EditValueChanged); this.lkRequisitionType.EditValueChanging += new DevExpress.XtraEditors.Controls.ChangingEventHandler(this.lkRequisitionType_EditValueChanging); // // btnCancelOne // this.btnCancelOne.Image = ((System.Drawing.Image)(resources.GetObject("btnCancelOne.Image"))); this.btnCancelOne.Location = new System.Drawing.Point(1201, 367); this.btnCancelOne.Name = "btnCancelOne"; this.btnCancelOne.Size = new System.Drawing.Size(142, 22); this.btnCancelOne.TabIndex = 20; this.btnCancelOne.Text = "Cancel"; this.btnCancelOne.Click += new System.EventHandler(this.btnCancelOne_Click); // // layoutControlItem24 // this.layoutControlItem24.Control = this.txtReceivedBy; this.layoutControlItem24.CustomizationFormText = "Received By"; this.layoutControlItem24.Location = new System.Drawing.Point(538, 517); this.layoutControlItem24.Name = "layoutControlItem24"; this.layoutControlItem24.Size = new System.Drawing.Size(250, 26); this.layoutControlItem24.Text = "Received By"; this.layoutControlItem24.TextSize = new System.Drawing.Size(120, 13); this.layoutControlItem24.TextToControlDistance = 5; // // layoutControlItem25 // this.layoutControlItem25.Control = this.txtRemark; this.layoutControlItem25.CustomizationFormText = "layoutControlItem25"; this.layoutControlItem25.Location = new System.Drawing.Point(231, 517); this.layoutControlItem25.Name = "layoutControlItem25"; this.layoutControlItem25.Size = new System.Drawing.Size(521, 26); this.layoutControlItem25.Text = "Remarks"; this.layoutControlItem25.TextSize = new System.Drawing.Size(120, 13); this.layoutControlItem25.TextToControlDistance = 5; // // layoutReload // this.layoutReload.Control = this.lblLoadRU; this.layoutReload.ControlAlignment = System.Drawing.ContentAlignment.MiddleCenter; this.layoutReload.CustomizationFormText = "layoutControlItem2"; this.layoutReload.FillControlToClientArea = false; this.layoutReload.Location = new System.Drawing.Point(1078, 0); this.layoutReload.Name = "layoutReload"; this.layoutReload.Size = new System.Drawing.Size(37, 48); this.layoutReload.Text = "layoutReload"; this.layoutReload.TextLocation = DevExpress.Utils.Locations.Default; this.layoutReload.TextSize = new System.Drawing.Size(0, 0); this.layoutReload.TextToControlDistance = 0; this.layoutReload.TextVisible = false; this.layoutReload.TrimClientAreaToControl = false; this.layoutReload.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; // // progressBarlayoutControlItem // this.progressBarlayoutControlItem.Control = this.progressBarControl; this.progressBarlayoutControlItem.CustomizationFormText = "progressBarlayoutControlItem"; this.progressBarlayoutControlItem.Location = new System.Drawing.Point(386, 366); this.progressBarlayoutControlItem.MinSize = new System.Drawing.Size(54, 18); this.progressBarlayoutControlItem.Name = "progressBarlayoutControlItem"; this.progressBarlayoutControlItem.Size = new System.Drawing.Size(966, 24); this.progressBarlayoutControlItem.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.progressBarlayoutControlItem.Text = "progressBarlayoutControlItem"; this.progressBarlayoutControlItem.TextSize = new System.Drawing.Size(0, 0); this.progressBarlayoutControlItem.TextToControlDistance = 0; this.progressBarlayoutControlItem.TextVisible = false; this.progressBarlayoutControlItem.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; // // layoutControlItem23 // this.layoutControlItem23.Control = this.txtTin; this.layoutControlItem23.CustomizationFormText = "TIN Number"; this.layoutControlItem23.Location = new System.Drawing.Point(430, 0); this.layoutControlItem23.MaxSize = new System.Drawing.Size(189, 22); this.layoutControlItem23.MinSize = new System.Drawing.Size(189, 22); this.layoutControlItem23.Name = "layoutControlItem23"; this.layoutControlItem23.Size = new System.Drawing.Size(189, 22); this.layoutControlItem23.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem23.Text = "TIN Number:"; this.layoutControlItem23.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem23.TextSize = new System.Drawing.Size(61, 13); this.layoutControlItem23.TextToControlDistance = 2; // // layoutControlItem22 // this.layoutControlItem22.Control = this.txtVatRegistration; this.layoutControlItem22.CustomizationFormText = "VAT Registration Number"; this.layoutControlItem22.Location = new System.Drawing.Point(552, 0); this.layoutControlItem22.MaxSize = new System.Drawing.Size(197, 22); this.layoutControlItem22.MinSize = new System.Drawing.Size(197, 22); this.layoutControlItem22.Name = "layoutControlItem22"; this.layoutControlItem22.Size = new System.Drawing.Size(197, 22); this.layoutControlItem22.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem22.Text = "VAT Number:"; this.layoutControlItem22.TextSize = new System.Drawing.Size(63, 13); this.layoutControlItem22.TextToControlDistance = 5; // // layoutControlItem21 // this.layoutControlItem21.Control = this.txtRegistrationNo; this.layoutControlItem21.CustomizationFormText = "License Number"; this.layoutControlItem21.Location = new System.Drawing.Point(723, 0); this.layoutControlItem21.MinSize = new System.Drawing.Size(135, 22); this.layoutControlItem21.Name = "layoutControlItem21"; this.layoutControlItem21.Size = new System.Drawing.Size(135, 22); this.layoutControlItem21.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem21.Text = "License Number:"; this.layoutControlItem21.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem21.TextSize = new System.Drawing.Size(79, 13); this.layoutControlItem21.TextToControlDistance = 2; // // layoutControlItem13 // this.layoutControlItem13.Control = this.txtRefNo; this.layoutControlItem13.CustomizationFormText = "Order Number"; this.layoutControlItem13.Location = new System.Drawing.Point(0, 0); this.layoutControlItem13.MaxSize = new System.Drawing.Size(252, 22); this.layoutControlItem13.MinSize = new System.Drawing.Size(252, 22); this.layoutControlItem13.Name = "layoutControlItem13"; this.layoutControlItem13.Size = new System.Drawing.Size(252, 22); this.layoutControlItem13.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem13.Text = "Order Number:"; this.layoutControlItem13.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem13.TextSize = new System.Drawing.Size(72, 13); this.layoutControlItem13.TextToControlDistance = 16; // // layoutControlGroup14 // this.layoutControlGroup14.CustomizationFormText = "Root"; this.layoutControlGroup14.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup14.GroupBordersVisible = false; this.layoutControlGroup14.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem29, this.layoutControlItem2, this.layoutControlItem30, this.layoutControlItem8, this.layoutControlItem19, this.layoutControlItem12, this.emptySpaceItem14, this.simpleSeparator2, this.LastVisitlayout, this.NoRequisitionlayout, this.layoutControlGroup2, this.layoutControlGroup5, this.emptySpaceItem5, this.simpleSeparator3, this.layoutControlGroup4, this.layoutControlItem18, this.layoutControlItem34, this.layoutControlItem35, this.emptySpaceItem9, this.layoutControlGroup3}); this.layoutControlGroup14.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup14.Name = "Root"; this.layoutControlGroup14.OptionsItemText.TextToControlDistance = 2; this.layoutControlGroup14.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 2, 2); this.layoutControlGroup14.Size = new System.Drawing.Size(1350, 393); this.layoutControlGroup14.Text = "Root"; this.layoutControlGroup14.TextVisible = false; // // layoutControlItem29 // this.layoutControlItem29.Control = this.gridItemsChoice; this.layoutControlItem29.CustomizationFormText = "layoutControlItem29"; this.layoutControlItem29.Location = new System.Drawing.Point(0, 118); this.layoutControlItem29.Name = "layoutControlItem29"; this.layoutControlItem29.Size = new System.Drawing.Size(422, 245); this.layoutControlItem29.Text = "layoutControlItem29"; this.layoutControlItem29.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem29.TextToControlDistance = 0; this.layoutControlItem29.TextVisible = false; // // layoutControlItem2 // this.layoutControlItem2.Control = this.xtraTabControl1; this.layoutControlItem2.CustomizationFormText = "layoutControlItem2"; this.layoutControlItem2.Location = new System.Drawing.Point(430, 141); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.layoutControlItem2.Size = new System.Drawing.Size(916, 222); this.layoutControlItem2.Text = "layoutControlItem2"; this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem2.TextToControlDistance = 0; this.layoutControlItem2.TextVisible = false; // // layoutControlItem30 // this.layoutControlItem30.Control = this.simpleButton1; this.layoutControlItem30.CustomizationFormText = "layoutControlItem30"; this.layoutControlItem30.Location = new System.Drawing.Point(759, 363); this.layoutControlItem30.MaxSize = new System.Drawing.Size(146, 26); this.layoutControlItem30.MinSize = new System.Drawing.Size(146, 26); this.layoutControlItem30.Name = "layoutControlItem30"; this.layoutControlItem30.Size = new System.Drawing.Size(146, 26); this.layoutControlItem30.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem30.Text = "layoutControlItem30"; this.layoutControlItem30.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem30.TextToControlDistance = 0; this.layoutControlItem30.TextVisible = false; // // layoutControlItem8 // this.layoutControlItem8.Control = this.btnSaveAndForward; this.layoutControlItem8.CustomizationFormText = "layoutControlItem8"; this.layoutControlItem8.Location = new System.Drawing.Point(1051, 363); this.layoutControlItem8.MaxSize = new System.Drawing.Size(146, 26); this.layoutControlItem8.MinSize = new System.Drawing.Size(146, 26); this.layoutControlItem8.Name = "layoutControlItem8"; this.layoutControlItem8.Size = new System.Drawing.Size(146, 26); this.layoutControlItem8.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem8.Text = "layoutControlItem8"; this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem8.TextToControlDistance = 0; this.layoutControlItem8.TextVisible = false; // // layoutControlItem19 // this.layoutControlItem19.Control = this.btnSaveOrder; this.layoutControlItem19.CustomizationFormText = "layoutControlItem19"; this.layoutControlItem19.Location = new System.Drawing.Point(905, 363); this.layoutControlItem19.MaxSize = new System.Drawing.Size(146, 26); this.layoutControlItem19.MinSize = new System.Drawing.Size(146, 26); this.layoutControlItem19.Name = "layoutControlItem19"; this.layoutControlItem19.Size = new System.Drawing.Size(146, 26); this.layoutControlItem19.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem19.Text = "layoutControlItem19"; this.layoutControlItem19.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem19.TextToControlDistance = 0; this.layoutControlItem19.TextVisible = false; // // layoutControlItem12 // this.layoutControlItem12.Control = this.btnCancelOne; this.layoutControlItem12.CustomizationFormText = "layoutControlItem12"; this.layoutControlItem12.Location = new System.Drawing.Point(1197, 363); this.layoutControlItem12.Name = "layoutControlItem12"; this.layoutControlItem12.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 5, 2, 2); this.layoutControlItem12.Size = new System.Drawing.Size(149, 26); this.layoutControlItem12.Text = "layoutControlItem12"; this.layoutControlItem12.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem12.TextToControlDistance = 0; this.layoutControlItem12.TextVisible = false; // // emptySpaceItem14 // this.emptySpaceItem14.AllowHotTrack = false; this.emptySpaceItem14.CustomizationFormText = "emptySpaceItem14"; this.emptySpaceItem14.Location = new System.Drawing.Point(0, 363); this.emptySpaceItem14.Name = "emptySpaceItem14"; this.emptySpaceItem14.Size = new System.Drawing.Size(759, 26); this.emptySpaceItem14.Text = "emptySpaceItem14"; this.emptySpaceItem14.TextSize = new System.Drawing.Size(0, 0); // // simpleSeparator2 // this.simpleSeparator2.AllowHotTrack = false; this.simpleSeparator2.CustomizationFormText = "simpleSeparator2"; this.simpleSeparator2.Location = new System.Drawing.Point(430, 17); this.simpleSeparator2.Name = "simpleSeparator2"; this.simpleSeparator2.Size = new System.Drawing.Size(916, 2); this.simpleSeparator2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.simpleSeparator2.Text = "simpleSeparator2"; // // LastVisitlayout // this.LastVisitlayout.AppearanceItemCaption.Options.UseTextOptions = true; this.LastVisitlayout.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.LastVisitlayout.Control = this.LastVisitlabel; this.LastVisitlayout.CustomizationFormText = "Last Visit:"; this.LastVisitlayout.Location = new System.Drawing.Point(992, 0); this.LastVisitlayout.MaxSize = new System.Drawing.Size(177, 17); this.LastVisitlayout.MinSize = new System.Drawing.Size(177, 17); this.LastVisitlayout.Name = "LastVisitlayout"; this.LastVisitlayout.Size = new System.Drawing.Size(177, 17); this.LastVisitlayout.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.LastVisitlayout.Text = " Last Visit:"; this.LastVisitlayout.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize; this.LastVisitlayout.TextSize = new System.Drawing.Size(52, 13); this.LastVisitlayout.TextToControlDistance = 2; // // NoRequisitionlayout // this.NoRequisitionlayout.Control = this.NoOfVisitLabel; this.NoRequisitionlayout.CustomizationFormText = " No of Requistion:"; this.NoRequisitionlayout.Location = new System.Drawing.Point(1169, 0); this.NoRequisitionlayout.MaxSize = new System.Drawing.Size(177, 17); this.NoRequisitionlayout.MinSize = new System.Drawing.Size(177, 17); this.NoRequisitionlayout.Name = "NoRequisitionlayout"; this.NoRequisitionlayout.Size = new System.Drawing.Size(177, 17); this.NoRequisitionlayout.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.NoRequisitionlayout.Text = "Last Requisitions:"; this.NoRequisitionlayout.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.NoRequisitionlayout.TextSize = new System.Drawing.Size(84, 13); this.NoRequisitionlayout.TextToControlDistance = 2; // // layoutControlGroup2 // this.layoutControlGroup2.CustomizationFormText = " "; this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem15, this.ShowStockOutCheckBoxLayout, this.layoutControlItem3, this.layoutControlItem4}); this.layoutControlGroup2.Location = new System.Drawing.Point(430, 19); this.layoutControlGroup2.Name = "layoutControlGroup2"; this.layoutControlGroup2.Size = new System.Drawing.Size(305, 120); this.layoutControlGroup2.Text = " "; this.layoutControlGroup2.TextVisible = false; // // layoutControlItem15 // this.layoutControlItem15.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem15.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem15.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem15.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem15.Control = this.lkWoreda; this.layoutControlItem15.CustomizationFormText = "Woreda"; this.layoutControlItem15.Location = new System.Drawing.Point(0, 48); this.layoutControlItem15.MaxSize = new System.Drawing.Size(281, 24); this.layoutControlItem15.MinSize = new System.Drawing.Size(281, 24); this.layoutControlItem15.Name = "layoutControlItem15"; this.layoutControlItem15.Size = new System.Drawing.Size(281, 24); this.layoutControlItem15.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem15.Text = "Woreda:"; this.layoutControlItem15.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem15.TextSize = new System.Drawing.Size(47, 13); this.layoutControlItem15.TextToControlDistance = 4; // // ShowStockOutCheckBoxLayout // this.ShowStockOutCheckBoxLayout.Control = this.ShowStockOutCheckBox; this.ShowStockOutCheckBoxLayout.CustomizationFormText = "ShowStockOutCheckBoxLayout"; this.ShowStockOutCheckBoxLayout.Location = new System.Drawing.Point(0, 72); this.ShowStockOutCheckBoxLayout.Name = "ShowStockOutCheckBoxLayout"; this.ShowStockOutCheckBoxLayout.Size = new System.Drawing.Size(281, 24); this.ShowStockOutCheckBoxLayout.Text = "ShowStockOutCheckBoxLayout"; this.ShowStockOutCheckBoxLayout.TextSize = new System.Drawing.Size(0, 0); this.ShowStockOutCheckBoxLayout.TextToControlDistance = 0; this.ShowStockOutCheckBoxLayout.TextVisible = false; // // layoutControlItem3 // this.layoutControlItem3.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem3.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem3.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem3.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem3.Control = this.lkRegion; this.layoutControlItem3.CustomizationFormText = "Region"; this.layoutControlItem3.Location = new System.Drawing.Point(0, 0); this.layoutControlItem3.MaxSize = new System.Drawing.Size(281, 24); this.layoutControlItem3.MinSize = new System.Drawing.Size(281, 24); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(281, 24); this.layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem3.Text = "Region:"; this.layoutControlItem3.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem3.TextSize = new System.Drawing.Size(42, 13); this.layoutControlItem3.TextToControlDistance = 9; // // layoutControlItem4 // this.layoutControlItem4.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem4.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem4.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem4.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem4.Control = this.lkZone; this.layoutControlItem4.CustomizationFormText = "Zone"; this.layoutControlItem4.Location = new System.Drawing.Point(0, 24); this.layoutControlItem4.MaxSize = new System.Drawing.Size(281, 24); this.layoutControlItem4.MinSize = new System.Drawing.Size(281, 24); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(281, 24); this.layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem4.Text = "Zone:"; this.layoutControlItem4.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem4.TextSize = new System.Drawing.Size(31, 13); this.layoutControlItem4.TextToControlDistance = 20; // // layoutControlGroup5 // this.layoutControlGroup5.CustomizationFormText = " "; this.layoutControlGroup5.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.RequisitionTypelayoutControlItem, this.layoutControlItem7, this.RangeLayout, this.layoutControlItem52, this.layoutControlItem31, this.emptySpaceItem1, this.emptySpaceItem7, this.layoutControlItem38}); this.layoutControlGroup5.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup5.Name = "layoutControlGroup5"; this.layoutControlGroup5.Size = new System.Drawing.Size(422, 118); this.layoutControlGroup5.Text = " "; this.layoutControlGroup5.TextVisible = false; // // RequisitionTypelayoutControlItem // this.RequisitionTypelayoutControlItem.AppearanceItemCaption.ForeColor = System.Drawing.Color.Black; this.RequisitionTypelayoutControlItem.AppearanceItemCaption.Options.UseForeColor = true; this.RequisitionTypelayoutControlItem.Control = this.lkRequisitionType; this.RequisitionTypelayoutControlItem.CustomizationFormText = "Type"; this.RequisitionTypelayoutControlItem.ImageToTextDistance = 1; this.RequisitionTypelayoutControlItem.Location = new System.Drawing.Point(0, 22); this.RequisitionTypelayoutControlItem.MaxSize = new System.Drawing.Size(252, 24); this.RequisitionTypelayoutControlItem.MinSize = new System.Drawing.Size(252, 24); this.RequisitionTypelayoutControlItem.Name = "RequisitionTypelayoutControlItem"; this.RequisitionTypelayoutControlItem.Size = new System.Drawing.Size(252, 24); this.RequisitionTypelayoutControlItem.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.RequisitionTypelayoutControlItem.Text = "Type:"; this.RequisitionTypelayoutControlItem.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.RequisitionTypelayoutControlItem.TextSize = new System.Drawing.Size(28, 13); this.RequisitionTypelayoutControlItem.TextToControlDistance = 34; // // layoutControlItem7 // this.layoutControlItem7.AppearanceItemCaption.ForeColor = System.Drawing.Color.Black; this.layoutControlItem7.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem7.Control = this.lkModes; this.layoutControlItem7.CustomizationFormText = "Mode:"; this.layoutControlItem7.Location = new System.Drawing.Point(0, 46); this.layoutControlItem7.MaxSize = new System.Drawing.Size(252, 24); this.layoutControlItem7.MinSize = new System.Drawing.Size(252, 24); this.layoutControlItem7.Name = "layoutControlItem7"; this.layoutControlItem7.Size = new System.Drawing.Size(252, 24); this.layoutControlItem7.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem7.Text = "Mode:"; this.layoutControlItem7.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem7.TextSize = new System.Drawing.Size(30, 13); this.layoutControlItem7.TextToControlDistance = 32; // // RangeLayout // this.RangeLayout.AppearanceItemCaption.ForeColor = System.Drawing.Color.Black; this.RangeLayout.AppearanceItemCaption.Options.UseForeColor = true; this.RangeLayout.Control = this.lkRange; this.RangeLayout.CustomizationFormText = "RangeLayout"; this.RangeLayout.Location = new System.Drawing.Point(252, 22); this.RangeLayout.MaxSize = new System.Drawing.Size(146, 24); this.RangeLayout.MinSize = new System.Drawing.Size(146, 24); this.RangeLayout.Name = "RangeLayout"; this.RangeLayout.Size = new System.Drawing.Size(146, 24); this.RangeLayout.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.RangeLayout.Text = "Range:"; this.RangeLayout.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.RangeLayout.TextSize = new System.Drawing.Size(35, 13); this.RangeLayout.TextToControlDistance = 5; // // layoutControlItem52 // this.layoutControlItem52.AppearanceItemCaption.ForeColor = System.Drawing.Color.Black; this.layoutControlItem52.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem52.Control = this.lkCategoires; this.layoutControlItem52.CustomizationFormText = "Categories"; this.layoutControlItem52.Location = new System.Drawing.Point(0, 70); this.layoutControlItem52.MaxSize = new System.Drawing.Size(252, 24); this.layoutControlItem52.MinSize = new System.Drawing.Size(252, 24); this.layoutControlItem52.Name = "layoutControlItem52"; this.layoutControlItem52.Size = new System.Drawing.Size(252, 24); this.layoutControlItem52.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem52.Text = "Commodity:"; this.layoutControlItem52.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem52.TextSize = new System.Drawing.Size(57, 13); this.layoutControlItem52.TextToControlDistance = 5; // // layoutControlItem31 // this.layoutControlItem31.AppearanceItemCaption.ForeColor = System.Drawing.Color.Black; this.layoutControlItem31.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem31.Control = this.txtItemName; this.layoutControlItem31.CustomizationFormText = "layoutControlItem31"; this.layoutControlItem31.Location = new System.Drawing.Point(252, 70); this.layoutControlItem31.MaxSize = new System.Drawing.Size(146, 24); this.layoutControlItem31.MinSize = new System.Drawing.Size(146, 24); this.layoutControlItem31.Name = "layoutControlItem31"; this.layoutControlItem31.Size = new System.Drawing.Size(146, 24); this.layoutControlItem31.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem31.Text = "Item:"; this.layoutControlItem31.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem31.TextSize = new System.Drawing.Size(26, 13); this.layoutControlItem31.TextToControlDistance = 14; // // emptySpaceItem1 // this.emptySpaceItem1.AllowHotTrack = false; this.emptySpaceItem1.CustomizationFormText = "emptySpaceItem1"; this.emptySpaceItem1.Location = new System.Drawing.Point(252, 46); this.emptySpaceItem1.MaxSize = new System.Drawing.Size(146, 24); this.emptySpaceItem1.MinSize = new System.Drawing.Size(146, 24); this.emptySpaceItem1.Name = "emptySpaceItem1"; this.emptySpaceItem1.Size = new System.Drawing.Size(146, 24); this.emptySpaceItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.emptySpaceItem1.Text = "emptySpaceItem1"; this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem7 // this.emptySpaceItem7.AllowHotTrack = false; this.emptySpaceItem7.CustomizationFormText = "emptySpaceItem7"; this.emptySpaceItem7.Location = new System.Drawing.Point(252, 0); this.emptySpaceItem7.MaxSize = new System.Drawing.Size(146, 22); this.emptySpaceItem7.MinSize = new System.Drawing.Size(146, 22); this.emptySpaceItem7.Name = "emptySpaceItem7"; this.emptySpaceItem7.Size = new System.Drawing.Size(146, 22); this.emptySpaceItem7.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.emptySpaceItem7.Text = "emptySpaceItem7"; this.emptySpaceItem7.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem38 // this.layoutControlItem38.Control = this.labelControl4; this.layoutControlItem38.CustomizationFormText = "Order Number: "; this.layoutControlItem38.Location = new System.Drawing.Point(0, 0); this.layoutControlItem38.Name = "layoutControlItem38"; this.layoutControlItem38.Size = new System.Drawing.Size(252, 22); this.layoutControlItem38.Text = "Order No: "; this.layoutControlItem38.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem38.TextSize = new System.Drawing.Size(51, 13); this.layoutControlItem38.TextToControlDistance = 8; // // emptySpaceItem5 // this.emptySpaceItem5.AllowHotTrack = false; this.emptySpaceItem5.CustomizationFormText = "emptySpaceItem5"; this.emptySpaceItem5.Location = new System.Drawing.Point(422, 0); this.emptySpaceItem5.MinSize = new System.Drawing.Size(8, 10); this.emptySpaceItem5.Name = "emptySpaceItem5"; this.emptySpaceItem5.Size = new System.Drawing.Size(8, 363); this.emptySpaceItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.emptySpaceItem5.Text = "emptySpaceItem5"; this.emptySpaceItem5.TextSize = new System.Drawing.Size(0, 0); // // simpleSeparator3 // this.simpleSeparator3.AllowHotTrack = false; this.simpleSeparator3.CustomizationFormText = "simpleSeparator3"; this.simpleSeparator3.Location = new System.Drawing.Point(430, 139); this.simpleSeparator3.Name = "simpleSeparator3"; this.simpleSeparator3.Size = new System.Drawing.Size(916, 2); this.simpleSeparator3.Text = "simpleSeparator3"; // // layoutControlGroup4 // this.layoutControlGroup4.CustomizationFormText = "layoutControlGroup4"; this.layoutControlGroup4.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem5, this.layoutControlItem20, this.layoutControlItem1, this.emptySpaceItem8}); this.layoutControlGroup4.Location = new System.Drawing.Point(1041, 19); this.layoutControlGroup4.Name = "layoutControlGroup4"; this.layoutControlGroup4.Size = new System.Drawing.Size(305, 120); this.layoutControlGroup4.Text = " "; this.layoutControlGroup4.TextVisible = false; // // layoutControlItem5 // this.layoutControlItem5.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem5.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem5.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem5.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem5.AppearanceItemCaption.Options.UseTextOptions = true; this.layoutControlItem5.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.layoutControlItem5.Control = this.txtContactPerson; this.layoutControlItem5.CustomizationFormText = "Contact Person"; this.layoutControlItem5.Location = new System.Drawing.Point(0, 24); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(281, 24); this.layoutControlItem5.Text = "Contact Person:"; this.layoutControlItem5.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem5.TextSize = new System.Drawing.Size(89, 13); this.layoutControlItem5.TextToControlDistance = 5; // // layoutControlItem20 // this.layoutControlItem20.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem20.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem20.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem20.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem20.Control = this.txtLetterNumber; this.layoutControlItem20.CustomizationFormText = "Letter Number"; this.layoutControlItem20.Location = new System.Drawing.Point(0, 48); this.layoutControlItem20.Name = "layoutControlItem20"; this.layoutControlItem20.Size = new System.Drawing.Size(281, 24); this.layoutControlItem20.Text = "Letter No:"; this.layoutControlItem20.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem20.TextSize = new System.Drawing.Size(55, 13); this.layoutControlItem20.TextToControlDistance = 39; // // layoutControlItem1 // this.layoutControlItem1.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem1.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem1.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem1.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem1.Control = this.lkPaymentType; this.layoutControlItem1.CustomizationFormText = "Payment Type"; this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(281, 24); this.layoutControlItem1.Text = "Payment:"; this.layoutControlItem1.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem1.TextSize = new System.Drawing.Size(54, 13); this.layoutControlItem1.TextToControlDistance = 39; // // emptySpaceItem8 // this.emptySpaceItem8.AllowHotTrack = false; this.emptySpaceItem8.CustomizationFormText = "emptySpaceItem8"; this.emptySpaceItem8.Location = new System.Drawing.Point(0, 72); this.emptySpaceItem8.Name = "emptySpaceItem8"; this.emptySpaceItem8.Size = new System.Drawing.Size(281, 24); this.emptySpaceItem8.Text = "emptySpaceItem8"; this.emptySpaceItem8.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem18 // this.layoutControlItem18.Control = this.labelControl1; this.layoutControlItem18.CustomizationFormText = "Tin Number:"; this.layoutControlItem18.Location = new System.Drawing.Point(459, 0); this.layoutControlItem18.MaxSize = new System.Drawing.Size(177, 17); this.layoutControlItem18.MinSize = new System.Drawing.Size(177, 17); this.layoutControlItem18.Name = "layoutControlItem18"; this.layoutControlItem18.Size = new System.Drawing.Size(177, 17); this.layoutControlItem18.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem18.Text = "Tin Number:"; this.layoutControlItem18.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem18.TextSize = new System.Drawing.Size(58, 13); this.layoutControlItem18.TextToControlDistance = 2; // // layoutControlItem34 // this.layoutControlItem34.Control = this.labelControl2; this.layoutControlItem34.CustomizationFormText = "VAT number: "; this.layoutControlItem34.Location = new System.Drawing.Point(636, 0); this.layoutControlItem34.MaxSize = new System.Drawing.Size(178, 17); this.layoutControlItem34.MinSize = new System.Drawing.Size(178, 17); this.layoutControlItem34.Name = "layoutControlItem34"; this.layoutControlItem34.Size = new System.Drawing.Size(178, 17); this.layoutControlItem34.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem34.Text = "VAT number: "; this.layoutControlItem34.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem34.TextSize = new System.Drawing.Size(65, 13); this.layoutControlItem34.TextToControlDistance = 2; // // layoutControlItem35 // this.layoutControlItem35.Control = this.labelControl3; this.layoutControlItem35.CustomizationFormText = "License Number:"; this.layoutControlItem35.Location = new System.Drawing.Point(814, 0); this.layoutControlItem35.MaxSize = new System.Drawing.Size(178, 17); this.layoutControlItem35.MinSize = new System.Drawing.Size(178, 17); this.layoutControlItem35.Name = "layoutControlItem35"; this.layoutControlItem35.Size = new System.Drawing.Size(178, 17); this.layoutControlItem35.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem35.Text = "License Number:"; this.layoutControlItem35.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem35.TextSize = new System.Drawing.Size(79, 13); this.layoutControlItem35.TextToControlDistance = 2; // // emptySpaceItem9 // this.emptySpaceItem9.AllowHotTrack = false; this.emptySpaceItem9.CustomizationFormText = "emptySpaceItem9"; this.emptySpaceItem9.Location = new System.Drawing.Point(430, 0); this.emptySpaceItem9.Name = "emptySpaceItem9"; this.emptySpaceItem9.Size = new System.Drawing.Size(29, 17); this.emptySpaceItem9.Text = "emptySpaceItem9"; this.emptySpaceItem9.TextSize = new System.Drawing.Size(0, 0); // // layoutControlGroup3 // this.layoutControlGroup3.CustomizationFormText = "layoutControlGroup3"; this.layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem11, this.lkPeriodlayout, this.layoutControlItem14, this.layoutForFacility}); this.layoutControlGroup3.Location = new System.Drawing.Point(735, 19); this.layoutControlGroup3.Name = "layoutControlGroup3"; this.layoutControlGroup3.Size = new System.Drawing.Size(306, 120); this.layoutControlGroup3.Text = " "; this.layoutControlGroup3.TextVisible = false; // // layoutControlItem11 // this.layoutControlItem11.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem11.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem11.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem11.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem11.Control = this.lkOwnership; this.layoutControlItem11.CustomizationFormText = "Ownership"; this.layoutControlItem11.Location = new System.Drawing.Point(0, 0); this.layoutControlItem11.Name = "layoutControlItem11"; this.layoutControlItem11.Size = new System.Drawing.Size(282, 24); this.layoutControlItem11.Text = "Ownership:"; this.layoutControlItem11.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem11.TextSize = new System.Drawing.Size(62, 13); this.layoutControlItem11.TextToControlDistance = 5; // // lkPeriodlayout // this.lkPeriodlayout.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.lkPeriodlayout.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.lkPeriodlayout.AppearanceItemCaption.Options.UseFont = true; this.lkPeriodlayout.AppearanceItemCaption.Options.UseForeColor = true; this.lkPeriodlayout.Control = this.lkPeriod; this.lkPeriodlayout.CustomizationFormText = "Period"; this.lkPeriodlayout.ImageToTextDistance = 1; this.lkPeriodlayout.Location = new System.Drawing.Point(0, 72); this.lkPeriodlayout.Name = "lkPeriodlayout"; this.lkPeriodlayout.Size = new System.Drawing.Size(282, 24); this.lkPeriodlayout.Text = "Period:"; this.lkPeriodlayout.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.lkPeriodlayout.TextSize = new System.Drawing.Size(39, 13); this.lkPeriodlayout.TextToControlDistance = 28; // // layoutControlItem14 // this.layoutControlItem14.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem14.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem14.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem14.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem14.Control = this.lkType; this.layoutControlItem14.CustomizationFormText = "Type"; this.layoutControlItem14.Location = new System.Drawing.Point(0, 24); this.layoutControlItem14.Name = "layoutControlItem14"; this.layoutControlItem14.Size = new System.Drawing.Size(282, 24); this.layoutControlItem14.Text = "Inst. Type:"; this.layoutControlItem14.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem14.TextSize = new System.Drawing.Size(60, 13); this.layoutControlItem14.TextToControlDistance = 7; // // layoutForFacility // this.layoutForFacility.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutForFacility.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutForFacility.AppearanceItemCaption.Options.UseFont = true; this.layoutForFacility.AppearanceItemCaption.Options.UseForeColor = true; this.layoutForFacility.Control = this.lkForFacility; this.layoutForFacility.CustomizationFormText = "For Facility"; this.layoutForFacility.Location = new System.Drawing.Point(0, 48); this.layoutForFacility.Name = "layoutForFacility"; this.layoutForFacility.Size = new System.Drawing.Size(282, 24); this.layoutForFacility.Text = "Facility:"; this.layoutForFacility.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutForFacility.TextSize = new System.Drawing.Size(43, 13); this.layoutForFacility.TextToControlDistance = 24; // // emptySpaceItem3 // this.emptySpaceItem3.AllowHotTrack = false; this.emptySpaceItem3.CustomizationFormText = "emptySpaceItem3"; this.emptySpaceItem3.Location = new System.Drawing.Point(297, 0); this.emptySpaceItem3.Name = "emptySpaceItem3"; this.emptySpaceItem3.Size = new System.Drawing.Size(368, 20); this.emptySpaceItem3.Text = "emptySpaceItem3"; this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0); // // popupMenu1 // this.popupMenu1.Name = "popupMenu1"; // // emptySpaceItem15 // this.emptySpaceItem15.AllowHotTrack = false; this.emptySpaceItem15.CustomizationFormText = "emptySpaceItem15"; this.emptySpaceItem15.Location = new System.Drawing.Point(0, 116); this.emptySpaceItem15.Name = "emptySpaceItem15"; this.emptySpaceItem15.Size = new System.Drawing.Size(717, 10); this.emptySpaceItem15.Text = "emptySpaceItem15"; this.emptySpaceItem15.TextSize = new System.Drawing.Size(0, 0); // // layoutControlGroup8 // this.layoutControlGroup8.CustomizationFormText = "layoutControlGroup8"; this.layoutControlGroup8.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup8.Name = "layoutControlGroup8"; this.layoutControlGroup8.OptionsItemText.TextToControlDistance = 5; this.layoutControlGroup8.Size = new System.Drawing.Size(717, 116); this.layoutControlGroup8.Text = "layoutControlGroup8"; // // layoutControlGroup9 // this.layoutControlGroup9.CustomizationFormText = "layoutControlGroup9"; this.layoutControlGroup9.Location = new System.Drawing.Point(0, 126); this.layoutControlGroup9.Name = "layoutControlGroup9"; this.layoutControlGroup9.OptionsItemText.TextToControlDistance = 5; this.layoutControlGroup9.Size = new System.Drawing.Size(717, 68); this.layoutControlGroup9.Text = "layoutControlGroup9"; // // layoutControlGroup10 // this.layoutControlGroup10.CustomizationFormText = "layoutControlGroup10"; this.layoutControlGroup10.Location = new System.Drawing.Point(0, 126); this.layoutControlGroup10.Name = "layoutControlGroup10"; this.layoutControlGroup10.OptionsItemText.TextToControlDistance = 5; this.layoutControlGroup10.Size = new System.Drawing.Size(717, 68); this.layoutControlGroup10.Text = "layoutControlGroup10"; // // emptySpaceItem10 // this.emptySpaceItem10.AllowHotTrack = false; this.emptySpaceItem10.CustomizationFormText = "emptySpaceItem10"; this.emptySpaceItem10.Location = new System.Drawing.Point(0, 0); this.emptySpaceItem10.Name = "emptySpaceItem10"; this.emptySpaceItem10.Size = new System.Drawing.Size(693, 10); this.emptySpaceItem10.Text = "emptySpaceItem10"; this.emptySpaceItem10.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem22 // this.emptySpaceItem22.AllowHotTrack = false; this.emptySpaceItem22.CustomizationFormText = "emptySpaceItem22"; this.emptySpaceItem22.Location = new System.Drawing.Point(85, 0); this.emptySpaceItem22.Name = "emptySpaceItem22"; this.emptySpaceItem22.Size = new System.Drawing.Size(119, 479); this.emptySpaceItem22.Text = "emptySpaceItem22"; this.emptySpaceItem22.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem23 // this.emptySpaceItem23.AllowHotTrack = false; this.emptySpaceItem23.CustomizationFormText = "emptySpaceItem23"; this.emptySpaceItem23.Location = new System.Drawing.Point(1179, 24); this.emptySpaceItem23.Name = "emptySpaceItem23"; this.emptySpaceItem23.Size = new System.Drawing.Size(10, 455); this.emptySpaceItem23.Text = "emptySpaceItem23"; this.emptySpaceItem23.TextSize = new System.Drawing.Size(0, 0); // // printingSystem1 // this.printingSystem1.Links.AddRange(new object[] { this.printableComponentLink1, this.printOrder}); // // printableComponentLink1 // // // // this.printableComponentLink1.ImageCollection.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("printableComponentLink1.ImageCollection.ImageStream"))); this.printableComponentLink1.Landscape = true; this.printableComponentLink1.Margins = new System.Drawing.Printing.Margins(20, 20, 20, 20); this.printableComponentLink1.PageHeaderFooter = new DevExpress.XtraPrinting.PageHeaderFooter(null, new DevExpress.XtraPrinting.PageFooterArea(new string[] { "[Time Printed]", "[Date Printed]", "[Page # of Pages #]"}, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))), DevExpress.XtraPrinting.BrickAlignment.Near)); this.printableComponentLink1.PaperKind = System.Drawing.Printing.PaperKind.A4; this.printableComponentLink1.PrintingSystem = this.printingSystem1; this.printableComponentLink1.PrintingSystemBase = this.printingSystem1; this.printableComponentLink1.RtfReportHeader = resources.GetString("printableComponentLink1.RtfReportHeader"); // // printOrder // // // // this.printOrder.ImageCollection.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("printOrder.ImageCollection.ImageStream"))); this.printOrder.Landscape = true; this.printOrder.PaperKind = System.Drawing.Printing.PaperKind.A4; this.printOrder.PrintingSystem = this.printingSystem1; this.printOrder.PrintingSystemBase = this.printingSystem1; // // layoutControlItem9 // this.layoutControlItem9.CustomizationFormText = "Type"; this.layoutControlItem9.Location = new System.Drawing.Point(387, 24); this.layoutControlItem9.Name = "layoutControlItem5"; this.layoutControlItem9.Size = new System.Drawing.Size(356, 24); this.layoutControlItem9.Text = "Facility Type"; this.layoutControlItem9.TextSize = new System.Drawing.Size(78, 13); this.layoutControlItem9.TextToControlDistance = 5; // // layoutControlItem10 // this.layoutControlItem10.CustomizationFormText = "Type"; this.layoutControlItem10.Location = new System.Drawing.Point(387, 24); this.layoutControlItem10.Name = "layoutControlItem5"; this.layoutControlItem10.Size = new System.Drawing.Size(356, 24); this.layoutControlItem10.Text = "Facility Type"; this.layoutControlItem10.TextSize = new System.Drawing.Size(78, 13); this.layoutControlItem10.TextToControlDistance = 5; // // layoutControlItem6 // this.layoutControlItem6.CustomizationFormText = "Woreda"; this.layoutControlItem6.Location = new System.Drawing.Point(0, 48); this.layoutControlItem6.Name = "layoutControlItem4"; this.layoutControlItem6.Size = new System.Drawing.Size(387, 24); this.layoutControlItem6.Text = "Woreda"; this.layoutControlItem6.TextSize = new System.Drawing.Size(78, 13); this.layoutControlItem6.TextToControlDistance = 5; // // layoutControlItem16 // this.layoutControlItem16.CustomizationFormText = "Ownership"; this.layoutControlItem16.Location = new System.Drawing.Point(387, 0); this.layoutControlItem16.Name = "layoutControlItem6"; this.layoutControlItem16.Size = new System.Drawing.Size(356, 24); this.layoutControlItem16.Text = "Ownership Type"; this.layoutControlItem16.TextSize = new System.Drawing.Size(78, 13); this.layoutControlItem16.TextToControlDistance = 5; // // layoutControlItem17 // this.layoutControlItem17.CustomizationFormText = "Type"; this.layoutControlItem17.Location = new System.Drawing.Point(387, 24); this.layoutControlItem17.Name = "layoutControlItem5"; this.layoutControlItem17.Size = new System.Drawing.Size(356, 24); this.layoutControlItem17.Text = "Facility Type"; this.layoutControlItem17.TextSize = new System.Drawing.Size(78, 13); this.layoutControlItem17.TextToControlDistance = 5; // // layoutControlItem26 // this.layoutControlItem26.CustomizationFormText = "Woreda"; this.layoutControlItem26.Location = new System.Drawing.Point(0, 48); this.layoutControlItem26.Name = "layoutControlItem4"; this.layoutControlItem26.Size = new System.Drawing.Size(387, 24); this.layoutControlItem26.Text = "Woreda"; this.layoutControlItem26.TextSize = new System.Drawing.Size(78, 13); this.layoutControlItem26.TextToControlDistance = 5; // // layoutControlItem27 // this.layoutControlItem27.CustomizationFormText = "Ownership"; this.layoutControlItem27.Location = new System.Drawing.Point(387, 0); this.layoutControlItem27.Name = "layoutControlItem6"; this.layoutControlItem27.Size = new System.Drawing.Size(356, 24); this.layoutControlItem27.Text = "Ownership Type"; this.layoutControlItem27.TextSize = new System.Drawing.Size(78, 13); this.layoutControlItem27.TextToControlDistance = 5; // // layoutControlItem28 // this.layoutControlItem28.CustomizationFormText = "Type"; this.layoutControlItem28.Location = new System.Drawing.Point(387, 24); this.layoutControlItem28.Name = "layoutControlItem5"; this.layoutControlItem28.Size = new System.Drawing.Size(356, 24); this.layoutControlItem28.Text = "Facility Type"; this.layoutControlItem28.TextSize = new System.Drawing.Size(78, 13); this.layoutControlItem28.TextToControlDistance = 5; // // simpleLabelItem13 // this.simpleLabelItem13.AllowHotTrack = false; this.simpleLabelItem13.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.simpleLabelItem13.AppearanceItemCaption.Options.UseFont = true; this.simpleLabelItem13.CustomizationFormText = "Insurance"; this.simpleLabelItem13.Location = new System.Drawing.Point(459, 85); this.simpleLabelItem13.Name = "simpleLabelItem13"; this.simpleLabelItem13.Size = new System.Drawing.Size(165, 17); this.simpleLabelItem13.Text = "Insurance:"; this.simpleLabelItem13.TextSize = new System.Drawing.Size(111, 13); // // simpleLabelItem1 // this.simpleLabelItem1.AllowHotTrack = false; this.simpleLabelItem1.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.simpleLabelItem1.AppearanceItemCaption.Options.UseFont = true; this.simpleLabelItem1.CustomizationFormText = "Insurance"; this.simpleLabelItem1.Location = new System.Drawing.Point(459, 85); this.simpleLabelItem1.Name = "simpleLabelItem13"; this.simpleLabelItem1.Size = new System.Drawing.Size(165, 17); this.simpleLabelItem1.Text = "Insurance:"; this.simpleLabelItem1.TextSize = new System.Drawing.Size(111, 13); // // simpleLabelItem2 // this.simpleLabelItem2.AllowHotTrack = false; this.simpleLabelItem2.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.simpleLabelItem2.AppearanceItemCaption.Options.UseFont = true; this.simpleLabelItem2.CustomizationFormText = "Insurance"; this.simpleLabelItem2.Location = new System.Drawing.Point(459, 85); this.simpleLabelItem2.Name = "simpleLabelItem13"; this.simpleLabelItem2.Size = new System.Drawing.Size(165, 17); this.simpleLabelItem2.Text = "Insurance:"; this.simpleLabelItem2.TextSize = new System.Drawing.Size(111, 13); // // gridColumn23 // this.gridColumn23.Caption = "Ownership Type"; this.gridColumn23.FieldName = "OwnershipName"; this.gridColumn23.Name = "gridColumn23"; this.gridColumn23.Visible = true; this.gridColumn23.VisibleIndex = 4; // // WishListForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1350, 393); this.Controls.Add(this.layoutControl4); this.Name = "WishListForm"; this.Text = "Order"; this.Load += new System.EventHandler(this.OrderForm_Load); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEditPack)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.boxSizedList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl4)).EndInit(); this.layoutControl4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.lkRange.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ShowStockOutCheckBox.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); this.xtraTabControl1.ResumeLayout(false); this.ItemSelectionPage.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.orderGrid)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridOrderView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ExpireDateEditor.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ExpireDateEditor)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEditQtyPerPack)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridRecieveView1)).EndInit(); this.VolumeMetricsPage.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.lkContainerTypes.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grdVolumeGrid)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grdVolumeGridView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem32)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem36)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem37)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem40)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem39)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem33)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.progressBarControl.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lkType.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lkOwnership.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lkWoreda.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtRemark.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtReceivedBy.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtTin.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtVatRegistration.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtRegistrationNo.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtLetterNumber.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtRefNo.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lkModes.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtContactPerson.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lkZone.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lkRegion.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lkCategoires.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtItemName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridItemsChoice)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridItemChoiceView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lkPaymentType.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lkForFacility.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridLookUpEdit1View)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lkPeriod.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lkRequisitionType.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutReload)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.progressBarlayoutControlItem)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem23)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem22)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup14)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem29)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem30)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem14)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleSeparator2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.LastVisitlayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.NoRequisitionlayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ShowStockOutCheckBoxLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.RequisitionTypelayoutControlItem)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.RangeLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem52)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem31)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem38)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleSeparator3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem18)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem34)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem35)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lkPeriodlayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutForFacility)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem15)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem22)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem23)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.printingSystem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.printableComponentLink1.ImageCollection)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.printOrder.ImageCollection)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidation1stTab)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem26)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem27)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem28)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem13)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem2)).EndInit(); this.ResumeLayout(false); }
/// <summary>Hàm cho phép khi chọn thì màu đỏ, Khi không chọn màu đen /// </summary> public static void RedCheckEdit(CheckEdit ck) { RedCheckEdit(ck, true); }
/// <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(ManageRequisitionForm)); this.boxSizedList = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); this.repositoryItemSpinEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit(); this.repositoryItemDateEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); this.repositoryItemButtonEdit4 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.lblIssueType = new DevExpress.XtraEditors.LabelControl(); this.lblNoOfReq = new DevExpress.XtraEditors.LabelControl(); this.lblLastVisit = new DevExpress.XtraEditors.LabelControl(); this.lblStatus = new DevExpress.XtraEditors.LabelControl(); this.lblRequestedDate = new DevExpress.XtraEditors.LabelControl(); this.lblRequestedBy = new DevExpress.XtraEditors.LabelControl(); this.lblRegion = new DevExpress.XtraEditors.LabelControl(); this.lblOwnership = new DevExpress.XtraEditors.LabelControl(); this.lblZone = new DevExpress.XtraEditors.LabelControl(); this.lblPaymentType = new DevExpress.XtraEditors.LabelControl(); this.lblWoreda = new DevExpress.XtraEditors.LabelControl(); this.lblMode = new DevExpress.XtraEditors.LabelControl(); this.textEdit1 = new DevExpress.XtraEditors.TextEdit(); this.btnCenterRequisition = new DevExpress.XtraEditors.SimpleButton(); this.btnDeleteRequisition = new DevExpress.XtraEditors.SimpleButton(); this.btnEditRequistion = new DevExpress.XtraEditors.SimpleButton(); this.btnSubmitWishlist = new DevExpress.XtraEditors.SimpleButton(); this.gridRequisitionDetails = new DevExpress.XtraGrid.GridControl(); this.gridReqisitionDetailsView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colStockCode = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn18 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn20 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSOH = new DevExpress.XtraGrid.Columns.GridColumn(); this.colExpired = new DevExpress.XtraGrid.Columns.GridColumn(); this.colDamaged = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridRequisitions = new DevExpress.XtraGrid.GridControl(); this.gridRequisitionListView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colDateRequested = new DevExpress.XtraGrid.Columns.GridColumn(); this.chkShowSubmitted = new DevExpress.XtraEditors.CheckEdit(); this.btnNewRequisition = new DevExpress.XtraEditors.SimpleButton(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem15 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutCenterRequisition = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem5 = new DevExpress.XtraLayout.EmptySpaceItem(); this.headerSection = new DevExpress.XtraLayout.LayoutControlGroup(); this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components); this.emptySpaceItem15 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlGroup8 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlGroup9 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlGroup10 = new DevExpress.XtraLayout.LayoutControlGroup(); this.emptySpaceItem10 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem22 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem23 = new DevExpress.XtraLayout.EmptySpaceItem(); this.printingSystem1 = new DevExpress.XtraPrinting.PrintingSystem(this.components); this.printableComponentLink1 = new DevExpress.XtraPrinting.PrintableComponentLink(this.components); this.printOrder = new DevExpress.XtraPrinting.PrintableComponentLink(this.components); this.dxValidation1stTab = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup5 = new DevExpress.XtraLayout.LayoutControlGroup(); this.lRequestedDate = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup6 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem19 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup7 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem18 = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)(this.boxSizedList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridRequisitionDetails)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridReqisitionDetailsView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridRequisitions)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridRequisitionListView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chkShowSubmitted.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutCenterRequisition)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.headerSection)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem15)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem22)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem23)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.printingSystem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.printableComponentLink1.ImageCollection)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.printOrder.ImageCollection)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidation1stTab)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lRequestedDate)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem18)).BeginInit(); this.SuspendLayout(); // // boxSizedList // this.boxSizedList.AutoHeight = false; this.boxSizedList.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.boxSizedList.DisplayMember = "Name"; this.boxSizedList.Name = "boxSizedList"; this.boxSizedList.ValueMember = "ID"; // // repositoryItemSpinEdit1 // this.repositoryItemSpinEdit1.AutoHeight = false; this.repositoryItemSpinEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.repositoryItemSpinEdit1.Name = "repositoryItemSpinEdit1"; // // repositoryItemDateEdit3 // this.repositoryItemDateEdit3.AutoHeight = false; this.repositoryItemDateEdit3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemDateEdit3.EditFormat.FormatString = "mm-DD-YYYY"; this.repositoryItemDateEdit3.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.repositoryItemDateEdit3.ExportMode = DevExpress.XtraEditors.Repository.ExportMode.DisplayText; this.repositoryItemDateEdit3.Name = "repositoryItemDateEdit3"; this.repositoryItemDateEdit3.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); // // repositoryItemButtonEdit4 // this.repositoryItemButtonEdit4.AutoHeight = false; this.repositoryItemButtonEdit4.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Plus)}); this.repositoryItemButtonEdit4.Name = "repositoryItemButtonEdit4"; this.repositoryItemButtonEdit4.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; // // layoutControl1 // this.layoutControl1.AllowCustomizationMenu = false; this.layoutControl1.Controls.Add(this.lblIssueType); this.layoutControl1.Controls.Add(this.lblNoOfReq); this.layoutControl1.Controls.Add(this.lblLastVisit); this.layoutControl1.Controls.Add(this.lblStatus); this.layoutControl1.Controls.Add(this.lblRequestedDate); this.layoutControl1.Controls.Add(this.lblRequestedBy); this.layoutControl1.Controls.Add(this.lblRegion); this.layoutControl1.Controls.Add(this.lblOwnership); this.layoutControl1.Controls.Add(this.lblZone); this.layoutControl1.Controls.Add(this.lblPaymentType); this.layoutControl1.Controls.Add(this.lblWoreda); this.layoutControl1.Controls.Add(this.lblMode); this.layoutControl1.Controls.Add(this.textEdit1); this.layoutControl1.Controls.Add(this.btnCenterRequisition); this.layoutControl1.Controls.Add(this.btnDeleteRequisition); this.layoutControl1.Controls.Add(this.btnEditRequistion); this.layoutControl1.Controls.Add(this.btnSubmitWishlist); this.layoutControl1.Controls.Add(this.gridRequisitionDetails); this.layoutControl1.Controls.Add(this.gridRequisitions); this.layoutControl1.Controls.Add(this.chkShowSubmitted); this.layoutControl1.Controls.Add(this.btnNewRequisition); 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(247, 171, 250, 350); this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(1119, 422); this.layoutControl1.TabIndex = 0; this.layoutControl1.Text = "layoutControl1"; // // lblIssueType // this.lblIssueType.Location = new System.Drawing.Point(926, 137); this.lblIssueType.Name = "lblIssueType"; this.lblIssueType.Size = new System.Drawing.Size(175, 16); this.lblIssueType.StyleController = this.layoutControl1; this.lblIssueType.TabIndex = 23; // // lblNoOfReq // this.lblNoOfReq.Location = new System.Drawing.Point(755, 137); this.lblNoOfReq.Name = "lblNoOfReq"; this.lblNoOfReq.Size = new System.Drawing.Size(108, 16); this.lblNoOfReq.StyleController = this.layoutControl1; this.lblNoOfReq.TabIndex = 22; // // lblLastVisit // this.lblLastVisit.Location = new System.Drawing.Point(755, 117); this.lblLastVisit.Name = "lblLastVisit"; this.lblLastVisit.Size = new System.Drawing.Size(108, 16); this.lblLastVisit.StyleController = this.layoutControl1; this.lblLastVisit.TabIndex = 21; // // lblStatus // this.lblStatus.Location = new System.Drawing.Point(926, 117); this.lblStatus.Name = "lblStatus"; this.lblStatus.Size = new System.Drawing.Size(175, 16); this.lblStatus.StyleController = this.layoutControl1; this.lblStatus.TabIndex = 20; // // lblRequestedDate // this.lblRequestedDate.Location = new System.Drawing.Point(511, 117); this.lblRequestedDate.Name = "lblRequestedDate"; this.lblRequestedDate.Size = new System.Drawing.Size(121, 16); this.lblRequestedDate.StyleController = this.layoutControl1; this.lblRequestedDate.TabIndex = 19; // // lblRequestedBy // this.lblRequestedBy.Location = new System.Drawing.Point(511, 137); this.lblRequestedBy.Name = "lblRequestedBy"; this.lblRequestedBy.Size = new System.Drawing.Size(121, 16); this.lblRequestedBy.StyleController = this.layoutControl1; this.lblRequestedBy.TabIndex = 18; // // lblRegion // this.lblRegion.Location = new System.Drawing.Point(946, 83); this.lblRegion.Name = "lblRegion"; this.lblRegion.Size = new System.Drawing.Size(155, 16); this.lblRegion.StyleController = this.layoutControl1; this.lblRegion.TabIndex = 17; // // lblOwnership // this.lblOwnership.Location = new System.Drawing.Point(946, 63); this.lblOwnership.Name = "lblOwnership"; this.lblOwnership.Size = new System.Drawing.Size(155, 16); this.lblOwnership.StyleController = this.layoutControl1; this.lblOwnership.TabIndex = 16; // // lblZone // this.lblZone.Location = new System.Drawing.Point(709, 83); this.lblZone.Name = "lblZone"; this.lblZone.Size = new System.Drawing.Size(166, 16); this.lblZone.StyleController = this.layoutControl1; this.lblZone.TabIndex = 15; // // lblPaymentType // this.lblPaymentType.Location = new System.Drawing.Point(708, 63); this.lblPaymentType.Name = "lblPaymentType"; this.lblPaymentType.Size = new System.Drawing.Size(167, 16); this.lblPaymentType.StyleController = this.layoutControl1; this.lblPaymentType.TabIndex = 14; // // lblWoreda // this.lblWoreda.Appearance.ForeColor = System.Drawing.Color.Black; this.lblWoreda.Location = new System.Drawing.Point(466, 83); this.lblWoreda.Name = "lblWoreda"; this.lblWoreda.Size = new System.Drawing.Size(179, 16); this.lblWoreda.StyleController = this.layoutControl1; this.lblWoreda.TabIndex = 13; // // lblMode // this.lblMode.Appearance.ForeColor = System.Drawing.Color.Black; this.lblMode.Location = new System.Drawing.Point(466, 63); this.lblMode.Name = "lblMode"; this.lblMode.Size = new System.Drawing.Size(179, 16); this.lblMode.StyleController = this.layoutControl1; this.lblMode.TabIndex = 12; // // textEdit1 // this.textEdit1.Location = new System.Drawing.Point(49, 61); this.textEdit1.Name = "textEdit1"; this.textEdit1.Size = new System.Drawing.Size(327, 20); this.textEdit1.StyleController = this.layoutControl1; this.textEdit1.TabIndex = 11; this.textEdit1.TextChanged += new System.EventHandler(this.textEdit1_TextChanged); // // btnCenterRequisition // this.btnCenterRequisition.AllowFocus = false; this.btnCenterRequisition.Enabled = false; this.btnCenterRequisition.Image = global::HCMIS.Desktop.Properties.Resources.New; this.btnCenterRequisition.Location = new System.Drawing.Point(971, 4); this.btnCenterRequisition.Name = "btnCenterRequisition"; this.btnCenterRequisition.Size = new System.Drawing.Size(144, 22); this.btnCenterRequisition.StyleController = this.layoutControl1; this.btnCenterRequisition.TabIndex = 5; this.btnCenterRequisition.Text = "Center"; this.btnCenterRequisition.Visible = false; this.btnCenterRequisition.Click += new System.EventHandler(this.simpleButton1_Click); // // btnDeleteRequisition // this.btnDeleteRequisition.Image = global::HCMIS.Desktop.Properties.Resources.disk; this.btnDeleteRequisition.Location = new System.Drawing.Point(681, 396); this.btnDeleteRequisition.Name = "btnDeleteRequisition"; this.btnDeleteRequisition.RightToLeft = System.Windows.Forms.RightToLeft.No; this.btnDeleteRequisition.Size = new System.Drawing.Size(142, 22); this.btnDeleteRequisition.StyleController = this.layoutControl1; this.btnDeleteRequisition.TabIndex = 10; this.btnDeleteRequisition.Text = "Submit"; this.btnDeleteRequisition.Click += new System.EventHandler(this.btnSubmitWishlist_Click); // // btnEditRequistion // this.btnEditRequistion.Image = global::HCMIS.Desktop.Properties.Resources.Edit2; this.btnEditRequistion.Location = new System.Drawing.Point(827, 396); this.btnEditRequistion.Name = "btnEditRequistion"; this.btnEditRequistion.RightToLeft = System.Windows.Forms.RightToLeft.No; this.btnEditRequistion.Size = new System.Drawing.Size(142, 22); this.btnEditRequistion.StyleController = this.layoutControl1; this.btnEditRequistion.TabIndex = 9; this.btnEditRequistion.Text = "Edit"; this.btnEditRequistion.Click += new System.EventHandler(this.btnEditRequistion_Click); // // btnSubmitWishlist // this.btnSubmitWishlist.Image = global::HCMIS.Desktop.Properties.Resources.cross; this.btnSubmitWishlist.Location = new System.Drawing.Point(973, 396); this.btnSubmitWishlist.Name = "btnSubmitWishlist"; this.btnSubmitWishlist.Size = new System.Drawing.Size(142, 22); this.btnSubmitWishlist.StyleController = this.layoutControl1; this.btnSubmitWishlist.TabIndex = 8; this.btnSubmitWishlist.Text = "Cancel"; this.btnSubmitWishlist.Click += new System.EventHandler(this.btnDeleteRequisition_Click); // // gridRequisitionDetails // this.gridRequisitionDetails.Location = new System.Drawing.Point(400, 171); this.gridRequisitionDetails.MainView = this.gridReqisitionDetailsView; this.gridRequisitionDetails.Name = "gridRequisitionDetails"; this.gridRequisitionDetails.Size = new System.Drawing.Size(715, 221); this.gridRequisitionDetails.TabIndex = 7; this.gridRequisitionDetails.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridReqisitionDetailsView}); this.gridRequisitionDetails.Click += new System.EventHandler(this.gridRequisitionDetails_Click); // // gridReqisitionDetailsView // this.gridReqisitionDetailsView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colStockCode, this.gridColumn18, this.gridColumn19, this.gridColumn20, this.colSOH, this.colExpired, this.colDamaged}); this.gridReqisitionDetailsView.GridControl = this.gridRequisitionDetails; this.gridReqisitionDetailsView.IndicatorWidth = 40; this.gridReqisitionDetailsView.Name = "gridReqisitionDetailsView"; this.gridReqisitionDetailsView.OptionsBehavior.Editable = false; this.gridReqisitionDetailsView.OptionsMenu.EnableColumnMenu = false; this.gridReqisitionDetailsView.OptionsMenu.EnableFooterMenu = false; this.gridReqisitionDetailsView.OptionsMenu.EnableGroupPanelMenu = false; this.gridReqisitionDetailsView.OptionsMenu.ShowAutoFilterRowItem = false; this.gridReqisitionDetailsView.OptionsMenu.ShowDateTimeGroupIntervalItems = false; this.gridReqisitionDetailsView.OptionsMenu.ShowGroupSortSummaryItems = false; this.gridReqisitionDetailsView.OptionsMenu.ShowSplitItem = false; this.gridReqisitionDetailsView.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridReqisitionDetailsView.OptionsView.ShowGroupPanel = false; this.gridReqisitionDetailsView.CustomDrawRowIndicator += new DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventHandler(this.gridListView_CustomDrawRowIndicator); // // colStockCode // this.colStockCode.Caption = "Stock Code"; this.colStockCode.FieldName = "StockCode"; this.colStockCode.Name = "colStockCode"; this.colStockCode.OptionsColumn.AllowEdit = false; this.colStockCode.OptionsColumn.AllowFocus = false; this.colStockCode.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.colStockCode.OptionsColumn.AllowIncrementalSearch = false; this.colStockCode.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colStockCode.OptionsColumn.AllowMove = false; this.colStockCode.OptionsColumn.AllowShowHide = false; this.colStockCode.OptionsColumn.AllowSize = false; this.colStockCode.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.colStockCode.OptionsColumn.FixedWidth = true; this.colStockCode.OptionsColumn.ShowInCustomizationForm = false; this.colStockCode.OptionsColumn.ShowInExpressionEditor = false; this.colStockCode.OptionsFilter.AllowAutoFilter = false; this.colStockCode.OptionsFilter.AllowFilter = false; this.colStockCode.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.colStockCode.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.colStockCode.OptionsFilter.ImmediateUpdateAutoFilter = false; this.colStockCode.Visible = true; this.colStockCode.VisibleIndex = 0; // // gridColumn18 // this.gridColumn18.Caption = "Item"; this.gridColumn18.FieldName = "FullItemName"; this.gridColumn18.Name = "gridColumn18"; this.gridColumn18.OptionsColumn.AllowEdit = false; this.gridColumn18.OptionsColumn.AllowFocus = false; this.gridColumn18.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn18.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn18.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn18.OptionsColumn.AllowMove = false; this.gridColumn18.OptionsColumn.AllowShowHide = false; this.gridColumn18.OptionsColumn.AllowSize = false; this.gridColumn18.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn18.OptionsColumn.FixedWidth = true; this.gridColumn18.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn18.OptionsColumn.ShowInExpressionEditor = false; this.gridColumn18.OptionsFilter.AllowAutoFilter = false; this.gridColumn18.OptionsFilter.AllowFilter = false; this.gridColumn18.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn18.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn18.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn18.Visible = true; this.gridColumn18.VisibleIndex = 1; this.gridColumn18.Width = 297; // // gridColumn19 // this.gridColumn19.Caption = "Unit"; this.gridColumn19.FieldName = "UnitText"; this.gridColumn19.Name = "gridColumn19"; this.gridColumn19.OptionsColumn.AllowEdit = false; this.gridColumn19.OptionsColumn.AllowFocus = false; this.gridColumn19.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn19.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn19.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn19.OptionsColumn.AllowMove = false; this.gridColumn19.OptionsColumn.AllowShowHide = false; this.gridColumn19.OptionsColumn.AllowSize = false; this.gridColumn19.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn19.OptionsColumn.FixedWidth = true; this.gridColumn19.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn19.OptionsColumn.ShowInExpressionEditor = false; this.gridColumn19.OptionsFilter.AllowAutoFilter = false; this.gridColumn19.OptionsFilter.AllowFilter = false; this.gridColumn19.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn19.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn19.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn19.Visible = true; this.gridColumn19.VisibleIndex = 2; this.gridColumn19.Width = 59; // // gridColumn20 // this.gridColumn20.Caption = "Quantity"; this.gridColumn20.DisplayFormat.FormatString = "#,###.##"; this.gridColumn20.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.gridColumn20.FieldName = "Quantity"; this.gridColumn20.Name = "gridColumn20"; this.gridColumn20.OptionsColumn.AllowEdit = false; this.gridColumn20.OptionsColumn.AllowFocus = false; this.gridColumn20.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn20.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn20.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn20.OptionsColumn.AllowMove = false; this.gridColumn20.OptionsColumn.AllowShowHide = false; this.gridColumn20.OptionsColumn.AllowSize = false; this.gridColumn20.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn20.OptionsColumn.FixedWidth = true; this.gridColumn20.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn20.OptionsColumn.ShowInExpressionEditor = false; this.gridColumn20.OptionsFilter.AllowAutoFilter = false; this.gridColumn20.OptionsFilter.AllowFilter = false; this.gridColumn20.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn20.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn20.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn20.Visible = true; this.gridColumn20.VisibleIndex = 6; this.gridColumn20.Width = 40; // // colSOH // this.colSOH.Caption = "SOH"; this.colSOH.DisplayFormat.FormatString = "#,###.##"; this.colSOH.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.colSOH.FieldName = "StockOnHand"; this.colSOH.Name = "colSOH"; this.colSOH.OptionsColumn.AllowEdit = false; this.colSOH.OptionsColumn.AllowFocus = false; this.colSOH.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.colSOH.OptionsColumn.AllowIncrementalSearch = false; this.colSOH.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colSOH.OptionsColumn.AllowMove = false; this.colSOH.OptionsColumn.AllowShowHide = false; this.colSOH.OptionsColumn.AllowSize = false; this.colSOH.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.colSOH.OptionsColumn.FixedWidth = true; this.colSOH.OptionsColumn.ShowInCustomizationForm = false; this.colSOH.OptionsColumn.ShowInExpressionEditor = false; this.colSOH.OptionsFilter.AllowAutoFilter = false; this.colSOH.OptionsFilter.AllowFilter = false; this.colSOH.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.colSOH.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.colSOH.OptionsFilter.ImmediateUpdateAutoFilter = false; this.colSOH.Visible = true; this.colSOH.VisibleIndex = 3; this.colSOH.Width = 40; // // colExpired // this.colExpired.Caption = "Expired"; this.colExpired.DisplayFormat.FormatString = "#,###.##"; this.colExpired.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.colExpired.FieldName = "ExpiredStock"; this.colExpired.Name = "colExpired"; this.colExpired.OptionsColumn.AllowEdit = false; this.colExpired.OptionsColumn.AllowFocus = false; this.colExpired.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.colExpired.OptionsColumn.AllowIncrementalSearch = false; this.colExpired.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colExpired.OptionsColumn.AllowMove = false; this.colExpired.OptionsColumn.AllowShowHide = false; this.colExpired.OptionsColumn.AllowSize = false; this.colExpired.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.colExpired.OptionsColumn.FixedWidth = true; this.colExpired.OptionsColumn.ShowInCustomizationForm = false; this.colExpired.OptionsColumn.ShowInExpressionEditor = false; this.colExpired.OptionsFilter.AllowAutoFilter = false; this.colExpired.OptionsFilter.AllowFilter = false; this.colExpired.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.colExpired.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.colExpired.OptionsFilter.ImmediateUpdateAutoFilter = false; this.colExpired.Visible = true; this.colExpired.VisibleIndex = 4; this.colExpired.Width = 40; // // colDamaged // this.colDamaged.Caption = "Damaged"; this.colDamaged.DisplayFormat.FormatString = "#,###.##"; this.colDamaged.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.colDamaged.FieldName = "DamagedStock"; this.colDamaged.Name = "colDamaged"; this.colDamaged.OptionsColumn.AllowEdit = false; this.colDamaged.OptionsColumn.AllowFocus = false; this.colDamaged.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.colDamaged.OptionsColumn.AllowIncrementalSearch = false; this.colDamaged.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colDamaged.OptionsColumn.AllowMove = false; this.colDamaged.OptionsColumn.AllowShowHide = false; this.colDamaged.OptionsColumn.AllowSize = false; this.colDamaged.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.colDamaged.OptionsColumn.FixedWidth = true; this.colDamaged.OptionsColumn.ShowInCustomizationForm = false; this.colDamaged.OptionsColumn.ShowInExpressionEditor = false; this.colDamaged.OptionsFilter.AllowAutoFilter = false; this.colDamaged.OptionsFilter.AllowFilter = false; this.colDamaged.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.colDamaged.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.colDamaged.OptionsFilter.ImmediateUpdateAutoFilter = false; this.colDamaged.Visible = true; this.colDamaged.VisibleIndex = 5; this.colDamaged.Width = 40; // // gridRequisitions // this.gridRequisitions.Location = new System.Drawing.Point(4, 120); this.gridRequisitions.MainView = this.gridRequisitionListView; this.gridRequisitions.Name = "gridRequisitions"; this.gridRequisitions.Size = new System.Drawing.Size(384, 272); this.gridRequisitions.TabIndex = 6; this.gridRequisitions.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridRequisitionListView}); // // gridRequisitionListView // this.gridRequisitionListView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn15, this.gridColumn16, this.gridColumn1, this.colDateRequested}); this.gridRequisitionListView.GridControl = this.gridRequisitions; this.gridRequisitionListView.IndicatorWidth = 40; this.gridRequisitionListView.Name = "gridRequisitionListView"; this.gridRequisitionListView.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False; this.gridRequisitionListView.OptionsMenu.EnableColumnMenu = false; this.gridRequisitionListView.OptionsMenu.EnableFooterMenu = false; this.gridRequisitionListView.OptionsMenu.EnableGroupPanelMenu = false; this.gridRequisitionListView.OptionsMenu.ShowAutoFilterRowItem = false; this.gridRequisitionListView.OptionsMenu.ShowDateTimeGroupIntervalItems = false; this.gridRequisitionListView.OptionsMenu.ShowGroupSortSummaryItems = false; this.gridRequisitionListView.OptionsMenu.ShowSplitItem = false; this.gridRequisitionListView.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridRequisitionListView.OptionsView.ShowFilterPanelMode = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.Never; this.gridRequisitionListView.OptionsView.ShowGroupPanel = false; this.gridRequisitionListView.CustomDrawRowIndicator += new DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventHandler(this.gridListView_CustomDrawRowIndicator); this.gridRequisitionListView.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridRequisitionListView_FocusedRowChanged); this.gridRequisitionListView.Click += new System.EventHandler(this.gridRequisitionListView_Click); // // gridColumn15 // this.gridColumn15.Caption = "Ref No"; this.gridColumn15.FieldName = "RefNo"; this.gridColumn15.Name = "gridColumn15"; this.gridColumn15.OptionsColumn.AllowEdit = false; this.gridColumn15.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn15.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn15.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn15.OptionsColumn.AllowMove = false; this.gridColumn15.OptionsColumn.AllowShowHide = false; this.gridColumn15.OptionsColumn.AllowSize = false; this.gridColumn15.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn15.OptionsColumn.FixedWidth = true; this.gridColumn15.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn15.OptionsColumn.ShowInExpressionEditor = false; this.gridColumn15.OptionsFilter.AllowAutoFilter = false; this.gridColumn15.OptionsFilter.AllowFilter = false; this.gridColumn15.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn15.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn15.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn15.Visible = true; this.gridColumn15.VisibleIndex = 0; this.gridColumn15.Width = 50; // // gridColumn16 // this.gridColumn16.Caption = "Facility"; this.gridColumn16.FieldName = "Name"; this.gridColumn16.Name = "gridColumn16"; this.gridColumn16.OptionsColumn.AllowEdit = false; this.gridColumn16.OptionsColumn.AllowFocus = false; this.gridColumn16.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn16.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn16.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn16.OptionsColumn.AllowMove = false; this.gridColumn16.OptionsColumn.AllowShowHide = false; this.gridColumn16.OptionsColumn.AllowSize = false; this.gridColumn16.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn16.OptionsColumn.FixedWidth = true; this.gridColumn16.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn16.OptionsColumn.ShowInExpressionEditor = false; this.gridColumn16.OptionsFilter.AllowAutoFilter = false; this.gridColumn16.OptionsFilter.AllowFilter = false; this.gridColumn16.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn16.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn16.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn16.Visible = true; this.gridColumn16.VisibleIndex = 1; this.gridColumn16.Width = 194; // // gridColumn1 // this.gridColumn1.Caption = "Status"; this.gridColumn1.FieldName = "Status"; 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.AllowMove = false; this.gridColumn1.OptionsColumn.AllowShowHide = false; this.gridColumn1.OptionsColumn.AllowSize = false; this.gridColumn1.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn1.OptionsColumn.FixedWidth = true; this.gridColumn1.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn1.OptionsColumn.ShowInExpressionEditor = false; this.gridColumn1.OptionsFilter.AllowAutoFilter = false; this.gridColumn1.OptionsFilter.AllowFilter = false; this.gridColumn1.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn1.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn1.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 2; // // colDateRequested // this.colDateRequested.Caption = "Requested"; this.colDateRequested.FieldName = "DateRequested"; this.colDateRequested.Name = "colDateRequested"; this.colDateRequested.OptionsColumn.AllowEdit = false; this.colDateRequested.OptionsColumn.AllowFocus = false; this.colDateRequested.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.colDateRequested.OptionsColumn.AllowIncrementalSearch = false; this.colDateRequested.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colDateRequested.OptionsColumn.AllowMove = false; this.colDateRequested.OptionsColumn.AllowShowHide = false; this.colDateRequested.OptionsColumn.AllowSize = false; this.colDateRequested.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.colDateRequested.OptionsColumn.FixedWidth = true; this.colDateRequested.OptionsColumn.ShowInCustomizationForm = false; this.colDateRequested.OptionsColumn.ShowInExpressionEditor = false; this.colDateRequested.OptionsFilter.AllowAutoFilter = false; this.colDateRequested.OptionsFilter.AllowFilter = false; this.colDateRequested.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.colDateRequested.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.colDateRequested.OptionsFilter.ImmediateUpdateAutoFilter = false; this.colDateRequested.Visible = true; this.colDateRequested.VisibleIndex = 3; // // chkShowSubmitted // this.chkShowSubmitted.Location = new System.Drawing.Point(16, 85); this.chkShowSubmitted.Name = "chkShowSubmitted"; this.chkShowSubmitted.Properties.Caption = "Processed "; this.chkShowSubmitted.Size = new System.Drawing.Size(163, 19); this.chkShowSubmitted.StyleController = this.layoutControl1; this.chkShowSubmitted.TabIndex = 5; this.chkShowSubmitted.CheckedChanged += new System.EventHandler(this.chkShowSubmitted_CheckedChanged); // // btnNewRequisition // this.btnNewRequisition.Image = global::HCMIS.Desktop.Properties.Resources.New; this.btnNewRequisition.Location = new System.Drawing.Point(4, 4); this.btnNewRequisition.Name = "btnNewRequisition"; this.btnNewRequisition.Size = new System.Drawing.Size(142, 22); this.btnNewRequisition.StyleController = this.layoutControl1; this.btnNewRequisition.TabIndex = 4; this.btnNewRequisition.Text = "New"; this.btnNewRequisition.Click += new System.EventHandler(this.btnNewRequisition_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.layoutControlItem11, this.layoutControlItem14, this.layoutControlItem15, this.layoutControlItem16, this.layoutControlItem17, this.layoutControlItem9, this.layoutCenterRequisition, this.emptySpaceItem2, this.emptySpaceItem1, this.layoutControlGroup2, this.headerSection, this.emptySpaceItem3}); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "Root"; this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 2, 2); this.layoutControlGroup1.Size = new System.Drawing.Size(1119, 422); this.layoutControlGroup1.Text = "Root"; this.layoutControlGroup1.TextVisible = false; // // layoutControlItem11 // this.layoutControlItem11.Control = this.gridRequisitions; this.layoutControlItem11.CustomizationFormText = "layoutControlItem11"; this.layoutControlItem11.Location = new System.Drawing.Point(0, 116); this.layoutControlItem11.Name = "layoutControlItem11"; this.layoutControlItem11.Size = new System.Drawing.Size(388, 276); this.layoutControlItem11.Text = "layoutControlItem11"; this.layoutControlItem11.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem11.TextToControlDistance = 0; this.layoutControlItem11.TextVisible = false; // // layoutControlItem14 // this.layoutControlItem14.Control = this.gridRequisitionDetails; this.layoutControlItem14.CustomizationFormText = "layoutControlItem14"; this.layoutControlItem14.Location = new System.Drawing.Point(396, 167); this.layoutControlItem14.MinSize = new System.Drawing.Size(104, 24); this.layoutControlItem14.Name = "layoutControlItem14"; this.layoutControlItem14.Size = new System.Drawing.Size(719, 225); this.layoutControlItem14.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem14.Text = "layoutControlItem14"; this.layoutControlItem14.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem14.TextToControlDistance = 0; this.layoutControlItem14.TextVisible = false; // // layoutControlItem15 // this.layoutControlItem15.Control = this.btnSubmitWishlist; this.layoutControlItem15.CustomizationFormText = "layoutControlItem15"; this.layoutControlItem15.Location = new System.Drawing.Point(969, 392); this.layoutControlItem15.MaxSize = new System.Drawing.Size(146, 26); this.layoutControlItem15.MinSize = new System.Drawing.Size(146, 26); this.layoutControlItem15.Name = "layoutControlItem15"; this.layoutControlItem15.Size = new System.Drawing.Size(146, 26); this.layoutControlItem15.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem15.Text = "layoutControlItem15"; this.layoutControlItem15.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem15.TextToControlDistance = 0; this.layoutControlItem15.TextVisible = false; // // layoutControlItem16 // this.layoutControlItem16.Control = this.btnEditRequistion; this.layoutControlItem16.CustomizationFormText = "layoutControlItem16"; this.layoutControlItem16.Location = new System.Drawing.Point(823, 392); this.layoutControlItem16.MaxSize = new System.Drawing.Size(146, 26); this.layoutControlItem16.MinSize = new System.Drawing.Size(146, 26); this.layoutControlItem16.Name = "layoutControlItem16"; this.layoutControlItem16.Size = new System.Drawing.Size(146, 26); this.layoutControlItem16.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem16.Text = "layoutControlItem16"; this.layoutControlItem16.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem16.TextToControlDistance = 0; this.layoutControlItem16.TextVisible = false; // // layoutControlItem17 // this.layoutControlItem17.Control = this.btnDeleteRequisition; this.layoutControlItem17.CustomizationFormText = "layoutControlItem17"; this.layoutControlItem17.Location = new System.Drawing.Point(677, 392); this.layoutControlItem17.MaxSize = new System.Drawing.Size(146, 26); this.layoutControlItem17.MinSize = new System.Drawing.Size(146, 26); this.layoutControlItem17.Name = "layoutControlItem17"; this.layoutControlItem17.Size = new System.Drawing.Size(146, 26); this.layoutControlItem17.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem17.Text = "layoutControlItem17"; this.layoutControlItem17.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem17.TextToControlDistance = 0; this.layoutControlItem17.TextVisible = false; // // layoutControlItem9 // this.layoutControlItem9.Control = this.btnNewRequisition; this.layoutControlItem9.CustomizationFormText = "layoutControlItem9"; this.layoutControlItem9.Location = new System.Drawing.Point(0, 0); this.layoutControlItem9.MaxSize = new System.Drawing.Size(146, 26); this.layoutControlItem9.MinSize = new System.Drawing.Size(146, 26); this.layoutControlItem9.Name = "layoutControlItem9"; this.layoutControlItem9.Size = new System.Drawing.Size(146, 26); this.layoutControlItem9.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem9.Text = "layoutControlItem9"; this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem9.TextToControlDistance = 0; this.layoutControlItem9.TextVisible = false; // // layoutCenterRequisition // this.layoutCenterRequisition.Control = this.btnCenterRequisition; this.layoutCenterRequisition.CustomizationFormText = "layoutControlItem1"; this.layoutCenterRequisition.Location = new System.Drawing.Point(967, 0); this.layoutCenterRequisition.MinSize = new System.Drawing.Size(67, 26); this.layoutCenterRequisition.Name = "layoutCenterRequisition"; this.layoutCenterRequisition.Size = new System.Drawing.Size(148, 26); this.layoutCenterRequisition.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutCenterRequisition.Text = "layoutCenterRequisition"; this.layoutCenterRequisition.TextSize = new System.Drawing.Size(0, 0); this.layoutCenterRequisition.TextToControlDistance = 0; this.layoutCenterRequisition.TextVisible = false; this.layoutCenterRequisition.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; // // emptySpaceItem2 // this.emptySpaceItem2.AllowHotTrack = false; this.emptySpaceItem2.CustomizationFormText = "emptySpaceItem2"; this.emptySpaceItem2.Location = new System.Drawing.Point(0, 392); this.emptySpaceItem2.MaxSize = new System.Drawing.Size(0, 26); this.emptySpaceItem2.MinSize = new System.Drawing.Size(10, 26); this.emptySpaceItem2.Name = "emptySpaceItem2"; this.emptySpaceItem2.Size = new System.Drawing.Size(677, 26); this.emptySpaceItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.emptySpaceItem2.Text = "emptySpaceItem2"; this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem1 // this.emptySpaceItem1.AllowHotTrack = false; this.emptySpaceItem1.CustomizationFormText = "emptySpaceItem1"; this.emptySpaceItem1.Location = new System.Drawing.Point(146, 0); this.emptySpaceItem1.Name = "emptySpaceItem1"; this.emptySpaceItem1.Size = new System.Drawing.Size(821, 26); this.emptySpaceItem1.Text = "emptySpaceItem1"; this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); // // layoutControlGroup2 // this.layoutControlGroup2.CustomizationFormText = "Filter"; this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1, this.layoutControlItem10, this.emptySpaceItem5}); this.layoutControlGroup2.Location = new System.Drawing.Point(0, 26); this.layoutControlGroup2.Name = "layoutControlGroup2"; this.layoutControlGroup2.Size = new System.Drawing.Size(388, 90); this.layoutControlGroup2.Text = "Filter"; // // layoutControlItem1 // this.layoutControlItem1.AppearanceItemCaption.ForeColor = System.Drawing.Color.Black; this.layoutControlItem1.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem1.Control = this.textEdit1; this.layoutControlItem1.CustomizationFormText = "Filter:"; this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(364, 24); this.layoutControlItem1.Text = "Filter:"; this.layoutControlItem1.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem1.TextSize = new System.Drawing.Size(28, 13); this.layoutControlItem1.TextToControlDistance = 5; // // layoutControlItem10 // this.layoutControlItem10.Control = this.chkShowSubmitted; this.layoutControlItem10.CustomizationFormText = "layoutControlItem10"; this.layoutControlItem10.Location = new System.Drawing.Point(0, 24); this.layoutControlItem10.MinSize = new System.Drawing.Size(79, 23); this.layoutControlItem10.Name = "layoutControlItem10"; this.layoutControlItem10.Size = new System.Drawing.Size(167, 23); this.layoutControlItem10.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem10.Text = "layoutControlItem10"; this.layoutControlItem10.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem10.TextToControlDistance = 0; this.layoutControlItem10.TextVisible = false; // // emptySpaceItem5 // this.emptySpaceItem5.AllowHotTrack = false; this.emptySpaceItem5.CustomizationFormText = "emptySpaceItem5"; this.emptySpaceItem5.Location = new System.Drawing.Point(167, 24); this.emptySpaceItem5.MaxSize = new System.Drawing.Size(0, 23); this.emptySpaceItem5.MinSize = new System.Drawing.Size(10, 23); this.emptySpaceItem5.Name = "emptySpaceItem5"; this.emptySpaceItem5.Size = new System.Drawing.Size(197, 23); this.emptySpaceItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.emptySpaceItem5.Text = "emptySpaceItem5"; this.emptySpaceItem5.TextSize = new System.Drawing.Size(0, 0); // // headerSection // this.headerSection.AppearanceGroup.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.headerSection.AppearanceGroup.Options.UseFont = true; this.headerSection.CustomizationFormText = " "; this.headerSection.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlGroup3, this.layoutControlGroup5, this.layoutControlGroup6, this.layoutControlGroup7}); this.headerSection.Location = new System.Drawing.Point(396, 26); this.headerSection.Name = "headerSection"; this.headerSection.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); this.headerSection.Size = new System.Drawing.Size(719, 141); this.headerSection.Text = " "; // // emptySpaceItem3 // this.emptySpaceItem3.AllowHotTrack = false; this.emptySpaceItem3.CustomizationFormText = "emptySpaceItem3"; this.emptySpaceItem3.Location = new System.Drawing.Point(388, 26); this.emptySpaceItem3.MaxSize = new System.Drawing.Size(8, 0); this.emptySpaceItem3.MinSize = new System.Drawing.Size(8, 24); this.emptySpaceItem3.Name = "emptySpaceItem3"; this.emptySpaceItem3.OptionsCustomization.AllowDrag = DevExpress.XtraLayout.ItemDragDropMode.Disable; this.emptySpaceItem3.OptionsCustomization.AllowDrop = DevExpress.XtraLayout.ItemDragDropMode.Disable; this.emptySpaceItem3.Size = new System.Drawing.Size(8, 366); this.emptySpaceItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.emptySpaceItem3.Text = "emptySpaceItem3"; this.emptySpaceItem3.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize; this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0); // // popupMenu1 // this.popupMenu1.Name = "popupMenu1"; // // emptySpaceItem15 // this.emptySpaceItem15.AllowHotTrack = false; this.emptySpaceItem15.CustomizationFormText = "emptySpaceItem15"; this.emptySpaceItem15.Location = new System.Drawing.Point(0, 116); this.emptySpaceItem15.Name = "emptySpaceItem15"; this.emptySpaceItem15.Size = new System.Drawing.Size(717, 10); this.emptySpaceItem15.Text = "emptySpaceItem15"; this.emptySpaceItem15.TextSize = new System.Drawing.Size(0, 0); // // layoutControlGroup8 // this.layoutControlGroup8.CustomizationFormText = "layoutControlGroup8"; this.layoutControlGroup8.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup8.Name = "layoutControlGroup8"; this.layoutControlGroup8.OptionsItemText.TextToControlDistance = 5; this.layoutControlGroup8.Size = new System.Drawing.Size(717, 116); this.layoutControlGroup8.Text = "layoutControlGroup8"; // // layoutControlGroup9 // this.layoutControlGroup9.CustomizationFormText = "layoutControlGroup9"; this.layoutControlGroup9.Location = new System.Drawing.Point(0, 126); this.layoutControlGroup9.Name = "layoutControlGroup9"; this.layoutControlGroup9.OptionsItemText.TextToControlDistance = 5; this.layoutControlGroup9.Size = new System.Drawing.Size(717, 68); this.layoutControlGroup9.Text = "layoutControlGroup9"; // // layoutControlGroup10 // this.layoutControlGroup10.CustomizationFormText = "layoutControlGroup10"; this.layoutControlGroup10.Location = new System.Drawing.Point(0, 126); this.layoutControlGroup10.Name = "layoutControlGroup10"; this.layoutControlGroup10.OptionsItemText.TextToControlDistance = 5; this.layoutControlGroup10.Size = new System.Drawing.Size(717, 68); this.layoutControlGroup10.Text = "layoutControlGroup10"; // // emptySpaceItem10 // this.emptySpaceItem10.AllowHotTrack = false; this.emptySpaceItem10.CustomizationFormText = "emptySpaceItem10"; this.emptySpaceItem10.Location = new System.Drawing.Point(0, 0); this.emptySpaceItem10.Name = "emptySpaceItem10"; this.emptySpaceItem10.Size = new System.Drawing.Size(693, 10); this.emptySpaceItem10.Text = "emptySpaceItem10"; this.emptySpaceItem10.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem22 // this.emptySpaceItem22.AllowHotTrack = false; this.emptySpaceItem22.CustomizationFormText = "emptySpaceItem22"; this.emptySpaceItem22.Location = new System.Drawing.Point(85, 0); this.emptySpaceItem22.Name = "emptySpaceItem22"; this.emptySpaceItem22.Size = new System.Drawing.Size(119, 479); this.emptySpaceItem22.Text = "emptySpaceItem22"; this.emptySpaceItem22.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem23 // this.emptySpaceItem23.AllowHotTrack = false; this.emptySpaceItem23.CustomizationFormText = "emptySpaceItem23"; this.emptySpaceItem23.Location = new System.Drawing.Point(1179, 24); this.emptySpaceItem23.Name = "emptySpaceItem23"; this.emptySpaceItem23.Size = new System.Drawing.Size(10, 455); this.emptySpaceItem23.Text = "emptySpaceItem23"; this.emptySpaceItem23.TextSize = new System.Drawing.Size(0, 0); // // printingSystem1 // this.printingSystem1.Links.AddRange(new object[] { this.printableComponentLink1, this.printOrder}); // // printableComponentLink1 // // // // this.printableComponentLink1.ImageCollection.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("printableComponentLink1.ImageCollection.ImageStream"))); this.printableComponentLink1.Landscape = true; this.printableComponentLink1.Margins = new System.Drawing.Printing.Margins(20, 20, 20, 20); this.printableComponentLink1.PageHeaderFooter = new DevExpress.XtraPrinting.PageHeaderFooter(null, new DevExpress.XtraPrinting.PageFooterArea(new string[] { "[Time Printed]", "[Date Printed]", "[Page # of Pages #]"}, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))), DevExpress.XtraPrinting.BrickAlignment.Near)); this.printableComponentLink1.PaperKind = System.Drawing.Printing.PaperKind.A4; this.printableComponentLink1.PrintingSystem = this.printingSystem1; this.printableComponentLink1.PrintingSystemBase = this.printingSystem1; this.printableComponentLink1.RtfReportHeader = resources.GetString("printableComponentLink1.RtfReportHeader"); // // printOrder // // // // this.printOrder.ImageCollection.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("printOrder.ImageCollection.ImageStream"))); this.printOrder.Landscape = true; this.printOrder.PaperKind = System.Drawing.Printing.PaperKind.A4; this.printOrder.PrintingSystem = this.printingSystem1; this.printOrder.PrintingSystemBase = this.printingSystem1; // // layoutControlGroup3 // this.layoutControlGroup3.CustomizationFormText = "layoutControlGroup3"; this.layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem3, this.layoutControlItem2, this.layoutControlItem4, this.layoutControlItem5, this.layoutControlItem6, this.layoutControlItem7}); this.layoutControlGroup3.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup3.Name = "layoutControlGroup3"; this.layoutControlGroup3.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); this.layoutControlGroup3.Size = new System.Drawing.Size(705, 54); this.layoutControlGroup3.Text = "layoutControlGroup3"; this.layoutControlGroup3.TextVisible = false; // // layoutControlItem3 // this.layoutControlItem3.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem3.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem3.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem3.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem3.Control = this.lblWoreda; this.layoutControlItem3.CustomizationFormText = "Woreda:"; this.layoutControlItem3.Location = new System.Drawing.Point(0, 20); this.layoutControlItem3.MaxSize = new System.Drawing.Size(0, 20); this.layoutControlItem3.MinSize = new System.Drawing.Size(67, 20); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(235, 20); this.layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem3.Text = "Woreda:"; this.layoutControlItem3.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem3.TextSize = new System.Drawing.Size(47, 13); this.layoutControlItem3.TextToControlDistance = 5; // // layoutControlItem2 // this.layoutControlItem2.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem2.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem2.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem2.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem2.Control = this.lblMode; this.layoutControlItem2.CustomizationFormText = "Mode:"; this.layoutControlItem2.Location = new System.Drawing.Point(0, 0); this.layoutControlItem2.MaxSize = new System.Drawing.Size(0, 20); this.layoutControlItem2.MinSize = new System.Drawing.Size(67, 20); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(235, 20); this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem2.Text = "Mode:"; this.layoutControlItem2.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem2.TextSize = new System.Drawing.Size(34, 13); this.layoutControlItem2.TextToControlDistance = 18; // // layoutControlItem4 // this.layoutControlItem4.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem4.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem4.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem4.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem4.Control = this.lblPaymentType; this.layoutControlItem4.CustomizationFormText = "Payment Type:"; this.layoutControlItem4.Location = new System.Drawing.Point(235, 0); this.layoutControlItem4.MinSize = new System.Drawing.Size(67, 17); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(230, 20); this.layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem4.Text = "Payment:"; this.layoutControlItem4.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem4.TextSize = new System.Drawing.Size(54, 13); this.layoutControlItem4.TextToControlDistance = 5; // // layoutControlItem5 // this.layoutControlItem5.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem5.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem5.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem5.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem5.Control = this.lblZone; this.layoutControlItem5.CustomizationFormText = "Zone:"; this.layoutControlItem5.Location = new System.Drawing.Point(235, 20); this.layoutControlItem5.MinSize = new System.Drawing.Size(67, 17); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(230, 20); this.layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem5.Text = "Zone:"; this.layoutControlItem5.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem5.TextSize = new System.Drawing.Size(31, 13); this.layoutControlItem5.TextToControlDistance = 29; // // layoutControlItem6 // this.layoutControlItem6.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem6.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem6.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem6.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem6.Control = this.lblOwnership; this.layoutControlItem6.CustomizationFormText = "Ownership:"; this.layoutControlItem6.Location = new System.Drawing.Point(465, 0); this.layoutControlItem6.MinSize = new System.Drawing.Size(67, 17); this.layoutControlItem6.Name = "layoutControlItem6"; this.layoutControlItem6.Size = new System.Drawing.Size(226, 20); this.layoutControlItem6.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem6.Text = "Ownership:"; this.layoutControlItem6.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem6.TextSize = new System.Drawing.Size(62, 13); this.layoutControlItem6.TextToControlDistance = 5; // // layoutControlItem7 // this.layoutControlItem7.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem7.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem7.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem7.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem7.Control = this.lblRegion; this.layoutControlItem7.CustomizationFormText = "Region:"; this.layoutControlItem7.Location = new System.Drawing.Point(465, 20); this.layoutControlItem7.MinSize = new System.Drawing.Size(67, 17); this.layoutControlItem7.Name = "layoutControlItem7"; this.layoutControlItem7.Size = new System.Drawing.Size(226, 20); this.layoutControlItem7.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem7.Text = "Region:"; this.layoutControlItem7.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem7.TextSize = new System.Drawing.Size(42, 13); this.layoutControlItem7.TextToControlDistance = 25; // // layoutControlGroup5 // this.layoutControlGroup5.CustomizationFormText = "layoutControlGroup5"; this.layoutControlGroup5.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.lRequestedDate, this.layoutControlItem8}); this.layoutControlGroup5.Location = new System.Drawing.Point(0, 54); this.layoutControlGroup5.Name = "layoutControlGroup5"; this.layoutControlGroup5.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); this.layoutControlGroup5.Size = new System.Drawing.Size(236, 54); this.layoutControlGroup5.Text = "layoutControlGroup5"; this.layoutControlGroup5.TextVisible = false; // // lRequestedDate // this.lRequestedDate.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.lRequestedDate.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.lRequestedDate.AppearanceItemCaption.Options.UseFont = true; this.lRequestedDate.AppearanceItemCaption.Options.UseForeColor = true; this.lRequestedDate.Control = this.lblRequestedDate; this.lRequestedDate.CustomizationFormText = "Requested Date:"; this.lRequestedDate.Location = new System.Drawing.Point(0, 0); this.lRequestedDate.MaxSize = new System.Drawing.Size(0, 20); this.lRequestedDate.MinSize = new System.Drawing.Size(67, 20); this.lRequestedDate.Name = "lRequestedDate"; this.lRequestedDate.Size = new System.Drawing.Size(222, 20); this.lRequestedDate.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.lRequestedDate.Text = "Requested Date:"; this.lRequestedDate.TextSize = new System.Drawing.Size(94, 13); // // layoutControlItem8 // this.layoutControlItem8.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem8.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem8.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem8.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem8.Control = this.lblRequestedBy; this.layoutControlItem8.CustomizationFormText = "Requested By:"; this.layoutControlItem8.Location = new System.Drawing.Point(0, 20); this.layoutControlItem8.MaxSize = new System.Drawing.Size(0, 20); this.layoutControlItem8.MinSize = new System.Drawing.Size(67, 20); this.layoutControlItem8.Name = "layoutControlItem8"; this.layoutControlItem8.Size = new System.Drawing.Size(222, 20); this.layoutControlItem8.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem8.Text = "Requested By:"; this.layoutControlItem8.TextSize = new System.Drawing.Size(94, 13); // // layoutControlGroup6 // this.layoutControlGroup6.CustomizationFormText = "layoutControlGroup6"; this.layoutControlGroup6.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem12, this.layoutControlItem19}); this.layoutControlGroup6.Location = new System.Drawing.Point(467, 54); this.layoutControlGroup6.Name = "layoutControlGroup6"; this.layoutControlGroup6.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); this.layoutControlGroup6.Size = new System.Drawing.Size(238, 54); this.layoutControlGroup6.Text = "layoutControlGroup6"; this.layoutControlGroup6.TextVisible = false; // // layoutControlItem12 // this.layoutControlItem12.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem12.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem12.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem12.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem12.Control = this.lblStatus; this.layoutControlItem12.CustomizationFormText = "Status:"; this.layoutControlItem12.Location = new System.Drawing.Point(0, 0); this.layoutControlItem12.MinSize = new System.Drawing.Size(67, 17); this.layoutControlItem12.Name = "layoutControlItem12"; this.layoutControlItem12.Size = new System.Drawing.Size(224, 20); this.layoutControlItem12.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem12.Text = "Status:"; this.layoutControlItem12.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem12.TextSize = new System.Drawing.Size(40, 13); this.layoutControlItem12.TextToControlDistance = 5; // // layoutControlItem19 // this.layoutControlItem19.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem19.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem19.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem19.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem19.Control = this.lblIssueType; this.layoutControlItem19.CustomizationFormText = "Type:"; this.layoutControlItem19.Location = new System.Drawing.Point(0, 20); this.layoutControlItem19.MinSize = new System.Drawing.Size(67, 17); this.layoutControlItem19.Name = "layoutControlItem19"; this.layoutControlItem19.Size = new System.Drawing.Size(224, 20); this.layoutControlItem19.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem19.Text = "Type:"; this.layoutControlItem19.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem19.TextSize = new System.Drawing.Size(31, 13); this.layoutControlItem19.TextToControlDistance = 14; // // layoutControlGroup7 // this.layoutControlGroup7.CustomizationFormText = "layoutControlGroup7"; this.layoutControlGroup7.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem13, this.layoutControlItem18}); this.layoutControlGroup7.Location = new System.Drawing.Point(236, 54); this.layoutControlGroup7.Name = "layoutControlGroup7"; this.layoutControlGroup7.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); this.layoutControlGroup7.Size = new System.Drawing.Size(231, 54); this.layoutControlGroup7.Text = "layoutControlGroup7"; this.layoutControlGroup7.TextVisible = false; // // layoutControlItem13 // this.layoutControlItem13.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem13.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem13.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem13.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem13.Control = this.lblLastVisit; this.layoutControlItem13.CustomizationFormText = "Last Visit:"; this.layoutControlItem13.Location = new System.Drawing.Point(0, 0); this.layoutControlItem13.MinSize = new System.Drawing.Size(67, 17); this.layoutControlItem13.Name = "layoutControlItem13"; this.layoutControlItem13.Size = new System.Drawing.Size(217, 20); this.layoutControlItem13.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem13.Text = "Last Visit:"; this.layoutControlItem13.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem13.TextSize = new System.Drawing.Size(54, 13); this.layoutControlItem13.TextToControlDistance = 51; // // layoutControlItem18 // this.layoutControlItem18.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem18.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem18.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem18.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem18.Control = this.lblNoOfReq; this.layoutControlItem18.CustomizationFormText = "No. of Requisition:"; this.layoutControlItem18.Location = new System.Drawing.Point(0, 20); this.layoutControlItem18.MinSize = new System.Drawing.Size(67, 17); this.layoutControlItem18.Name = "layoutControlItem18"; this.layoutControlItem18.Size = new System.Drawing.Size(217, 20); this.layoutControlItem18.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem18.Text = "Past Requisitions:"; this.layoutControlItem18.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem18.TextSize = new System.Drawing.Size(100, 13); this.layoutControlItem18.TextToControlDistance = 5; // // ManageRequisitionForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1119, 422); this.Controls.Add(this.layoutControl1); this.Name = "ManageRequisitionForm"; this.Text = "Order"; this.Load += new System.EventHandler(this.OrderForm_Load); ((System.ComponentModel.ISupportInitialize)(this.boxSizedList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridRequisitionDetails)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridReqisitionDetailsView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridRequisitions)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridRequisitionListView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chkShowSubmitted.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutCenterRequisition)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.headerSection)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem15)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem22)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem23)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.printingSystem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.printableComponentLink1.ImageCollection)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.printOrder.ImageCollection)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidation1stTab)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lRequestedDate)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem18)).EndInit(); this.ResumeLayout(false); }
private void GetckField(ref string strSQL, CheckEdit ceField, ComboBoxEdit cbeField, ComboBoxEdit cbeFieldRule, TextEdit teField) { string strname = ""; int index = 0; if (ceField.Checked) { index = cbeField.SelectedIndex; if (cbeFieldRule.Text == "包含") { strSQL = strSQL + " and ID in ( select RecordId from WF_TableFieldValue where 1=1" + " and WorkTaskId='安规电子档案' and WorkTaskInsId='安规电子档案' " + " and FieldName='" + ((ListItem)cbeField.SelectedItem).ValueMember + "' and ControlValue like '%" + teField.Text + "%'" + ") "; } else if (cbeFieldRule.Text == "不包含") { strSQL = strSQL + " and ID not in ( select RecordId from WF_TableFieldValue where 1=1" + " and WorkTaskId='安规电子档案' and WorkTaskInsId='安规电子档案' " + " and FieldName='" + ((ListItem)cbeField.SelectedItem).ValueMember + "' and ControlValue like '%" + teField.Text + "%'" + " ) "; } } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> protected void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPhieuXacNhanLamViecQL)); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.MainBar = new DevExpress.XtraBars.Bar(); this.barButtonItemAdd = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemXem = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemDelete = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemUpdate = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemPrint = new DevExpress.XtraBars.BarButtonItem(); this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components); this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemDuyet = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemK_Duyet = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem1 = new DevExpress.XtraBars.BarSubItem(); this.barButtonItemSearch = new DevExpress.XtraBars.BarButtonItem(); this.popupMenuFilter = new DevExpress.XtraBars.PopupMenu(this.components); this.barCheckItemFilter = new DevExpress.XtraBars.BarCheckItem(); this.barButtonItemClose = 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.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemCommit = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemNoCommit = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem(); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); this.gridControlMaster = new DevExpress.XtraGrid.GridControl(); this.gridViewMaster = new DevExpress.XtraGrid.Views.Grid.PLGridView(); this.ColMaster_ID = new DevExpress.XtraGrid.Columns.GridColumn(); this.ColMaster_NhanVien = new DevExpress.XtraGrid.Columns.GridColumn(); this.ColMasterNgay = new DevExpress.XtraGrid.Columns.GridColumn(); this.ColMaster_TG_Tu = new DevExpress.XtraGrid.Columns.GridColumn(); this.ColMaster_TG_Den = new DevExpress.XtraGrid.Columns.GridColumn(); this.ColMaster_NoiDung = new DevExpress.XtraGrid.Columns.GridColumn(); this.CoMaster_LoaiXacNhan = new DevExpress.XtraGrid.Columns.GridColumn(); this.cotThoiGianCN = new DevExpress.XtraGrid.Columns.GridColumn(); this.xtraTabControlDetail = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPageDetail = new DevExpress.XtraTab.XtraTabPage(); this.gridControlDetail = new DevExpress.XtraGrid.GridControl(); this.gridViewDetail = new DevExpress.XtraGrid.Views.Grid.PLGridView(); this.popupControlContainerFilter = new DevExpress.XtraBars.PopupControlContainer(this.components); this.ngayLamViec = new ProtocolVN.Framework.Win.Office.PLDateSelection(); this.chkCus = new DevExpress.XtraEditors.CheckEdit(); this.chkCompany = new DevExpress.XtraEditors.CheckEdit(); this.DuyetSelect = new ProtocolVN.Framework.Win.PLDuyetCheckbox(); this.plLabel6 = new System.Windows.Forms.PLLabel(); this.plLabel1 = new System.Windows.Forms.PLLabel(); this.plTreeSelectItem1 = new ProtocolVN.Framework.Win.PLDMTreeGroupElement(); this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); this.NhanVien = new ProtocolVN.Framework.Win.PLDMTreeGroup(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).BeginInit(); this.xtraTabControlDetail.SuspendLayout(); this.xtraTabPageDetail.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).BeginInit(); this.popupControlContainerFilter.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chkCus.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chkCompany.Properties)).BeginInit(); this.SuspendLayout(); // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.MainBar}); 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.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barButtonItemAdd, this.barButtonItemDelete, this.barButtonItemUpdate, this.barButtonItemPrint, this.barStaticItem1, this.barButtonItem1, this.barButtonItem2, this.barButtonItemCommit, this.barButtonItemNoCommit, this.barSubItem1, this.barButtonItemXem, this.barButtonItemSearch, this.barButtonItemClose, this.barCheckItemFilter, this.barButtonItem3, this.barButtonItem4, this.barButtonItem5, this.barButtonItemDuyet, this.barButtonItemK_Duyet}); this.barManager1.MaxItemId = 37; // // MainBar // this.MainBar.BarName = "MainBar"; this.MainBar.DockCol = 0; this.MainBar.DockRow = 0; this.MainBar.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.MainBar.FloatLocation = new System.Drawing.Point(39, 133); this.MainBar.FloatSize = new System.Drawing.Size(72, 73); this.MainBar.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.Caption, this.barButtonItemAdd, "&Thêm"), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemXem), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDelete), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemUpdate), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemPrint, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDuyet, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemK_Duyet), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem1, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemSearch, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemClose, true)}); this.MainBar.OptionsBar.AllowQuickCustomization = false; this.MainBar.OptionsBar.DrawDragBorder = false; this.MainBar.OptionsBar.RotateWhenVertical = false; this.MainBar.OptionsBar.UseWholeRow = true; this.MainBar.Text = "Custom 1"; // // barButtonItemAdd // this.barButtonItemAdd.Caption = "Thêm"; this.barButtonItemAdd.Id = 0; this.barButtonItemAdd.Name = "barButtonItemAdd"; this.barButtonItemAdd.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemXem // this.barButtonItemXem.Caption = "X&em"; this.barButtonItemXem.Id = 24; this.barButtonItemXem.Name = "barButtonItemXem"; this.barButtonItemXem.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemDelete // this.barButtonItemDelete.Caption = "&Xóa"; this.barButtonItemDelete.Id = 1; this.barButtonItemDelete.Name = "barButtonItemDelete"; this.barButtonItemDelete.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemUpdate // this.barButtonItemUpdate.Caption = "&Sửa"; this.barButtonItemUpdate.Id = 2; this.barButtonItemUpdate.Name = "barButtonItemUpdate"; this.barButtonItemUpdate.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemPrint // this.barButtonItemPrint.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItemPrint.Caption = "&In"; this.barButtonItemPrint.DropDownControl = this.popupMenu1; this.barButtonItemPrint.Id = 3; this.barButtonItemPrint.Name = "barButtonItemPrint"; this.barButtonItemPrint.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // popupMenu1 // this.popupMenu1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4)}); this.popupMenu1.Manager = this.barManager1; this.popupMenu1.Name = "popupMenu1"; // // barButtonItem4 // this.barButtonItem4.Caption = "Xem t&rước"; this.barButtonItem4.Id = 33; this.barButtonItem4.Name = "barButtonItem4"; // // barButtonItemDuyet // this.barButtonItemDuyet.Caption = "&Duyệt"; this.barButtonItemDuyet.Id = 35; this.barButtonItemDuyet.Name = "barButtonItemDuyet"; // // barButtonItemK_Duyet // this.barButtonItemK_Duyet.Caption = "&Không duyệt"; this.barButtonItemK_Duyet.Id = 36; this.barButtonItemK_Duyet.Name = "barButtonItemK_Duyet"; // // barSubItem1 // this.barSubItem1.Caption = "&Nghiệp vụ"; this.barSubItem1.Id = 20; this.barSubItem1.Name = "barSubItem1"; this.barSubItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemSearch // this.barButtonItemSearch.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItemSearch.Caption = "Tì&m kiếm"; this.barButtonItemSearch.DropDownControl = this.popupMenuFilter; this.barButtonItemSearch.Id = 27; this.barButtonItemSearch.Name = "barButtonItemSearch"; this.barButtonItemSearch.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // popupMenuFilter // this.popupMenuFilter.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barCheckItemFilter)}); this.popupMenuFilter.Manager = this.barManager1; this.popupMenuFilter.Name = "popupMenuFilter"; // // barCheckItemFilter // this.barCheckItemFilter.Caption = "Điề&u kiện tìm kiếm"; this.barCheckItemFilter.Checked = true; this.barCheckItemFilter.Id = 29; this.barCheckItemFilter.Name = "barCheckItemFilter"; this.barCheckItemFilter.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemClose // this.barButtonItemClose.Caption = "Đón&g"; this.barButtonItemClose.Id = 28; this.barButtonItemClose.Name = "barButtonItemClose"; this.barButtonItemClose.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barDockControlTop // this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Size = new System.Drawing.Size(912, 24); // // barDockControlBottom // this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 497); this.barDockControlBottom.Size = new System.Drawing.Size(912, 0); // // barDockControlLeft // 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, 473); // // barDockControlRight // this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(912, 24); this.barDockControlRight.Size = new System.Drawing.Size(0, 473); // // barStaticItem1 // this.barStaticItem1.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None; this.barStaticItem1.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.barStaticItem1.Id = 13; this.barStaticItem1.Name = "barStaticItem1"; this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near; this.barStaticItem1.Width = 100; // // barButtonItem1 // this.barButtonItem1.Caption = "barButtonItem1"; this.barButtonItem1.Id = 14; this.barButtonItem1.Name = "barButtonItem1"; // // barButtonItem2 // this.barButtonItem2.Caption = "barButtonItem2"; this.barButtonItem2.Id = 15; this.barButtonItem2.Name = "barButtonItem2"; // // barButtonItemCommit // this.barButtonItemCommit.Caption = "&Duyệt"; this.barButtonItemCommit.Id = 17; this.barButtonItemCommit.Name = "barButtonItemCommit"; this.barButtonItemCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemNoCommit // this.barButtonItemNoCommit.Caption = "&Không duyệt"; this.barButtonItemNoCommit.Id = 18; this.barButtonItemNoCommit.Name = "barButtonItemNoCommit"; this.barButtonItemNoCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItem3 // this.barButtonItem3.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItem3.Caption = "In"; this.barButtonItem3.Id = 30; this.barButtonItem3.Name = "barButtonItem3"; // // barButtonItem5 // this.barButtonItem5.Caption = "barButtonItem5"; this.barButtonItem5.Id = 34; this.barButtonItem5.Name = "barButtonItem5"; // // splitContainerControl1 // this.splitContainerControl1.Collapsed = true; this.splitContainerControl1.CollapsePanel = DevExpress.XtraEditors.SplitCollapsePanel.Panel2; this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerControl1.Horizontal = false; this.splitContainerControl1.Location = new System.Drawing.Point(0, 92); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.gridControlMaster); this.splitContainerControl1.Panel1.Text = "splitContainerControl1_Panel1"; this.splitContainerControl1.Panel2.CaptionLocation = DevExpress.Utils.Locations.Left; this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControlDetail); this.splitContainerControl1.Panel2.ShowCaption = true; this.splitContainerControl1.Panel2.Text = "splitContainerControl1_Panel2"; this.splitContainerControl1.Size = new System.Drawing.Size(912, 405); this.splitContainerControl1.SplitterPosition = 175; this.splitContainerControl1.TabIndex = 4; this.splitContainerControl1.Text = "splitContainerControl1"; // // gridControlMaster // this.gridControlMaster.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlMaster.BackgroundImage"))); this.gridControlMaster.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.gridControlMaster.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControlMaster.Location = new System.Drawing.Point(0, 0); this.gridControlMaster.MainView = this.gridViewMaster; this.gridControlMaster.Name = "gridControlMaster"; this.gridControlMaster.Size = new System.Drawing.Size(912, 399); this.gridControlMaster.TabIndex = 7; this.gridControlMaster.TabStop = false; this.gridControlMaster.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewMaster}); // // gridViewMaster // this.gridViewMaster.Appearance.GroupPanel.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Inch); this.gridViewMaster.Appearance.GroupPanel.Options.UseFont = true; this.gridViewMaster.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gridViewMaster.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewMaster.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.ColMaster_ID, this.ColMaster_NhanVien, this.ColMasterNgay, this.ColMaster_TG_Tu, this.ColMaster_TG_Den, this.ColMaster_NoiDung, this.CoMaster_LoaiXacNhan, this.cotThoiGianCN}); this.gridViewMaster.GridControl = this.gridControlMaster; this.gridViewMaster.GroupCount = 1; this.gridViewMaster.GroupPanelText = "DANH SÁCH XÁC NHẬN LÀM VIỆC"; this.gridViewMaster.IndicatorWidth = 40; this.gridViewMaster.Name = "gridViewMaster"; this.gridViewMaster.OptionsBehavior.AutoExpandAllGroups = true; this.gridViewMaster.OptionsLayout.Columns.AddNewColumns = false; this.gridViewMaster.OptionsNavigation.AutoFocusNewRow = true; this.gridViewMaster.OptionsNavigation.EnterMoveNextColumn = true; this.gridViewMaster.OptionsPrint.UsePrintStyles = true; this.gridViewMaster.OptionsSelection.MultiSelect = true; this.gridViewMaster.OptionsView.EnableAppearanceEvenRow = true; this.gridViewMaster.OptionsView.EnableAppearanceOddRow = true; this.gridViewMaster.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; this.gridViewMaster.OptionsView.ShowGroupedColumns = true; this.gridViewMaster.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.ColMasterNgay, DevExpress.Data.ColumnSortOrder.Descending)}); // // ColMaster_ID // this.ColMaster_ID.Caption = "ID"; this.ColMaster_ID.Name = "ColMaster_ID"; this.ColMaster_ID.Width = 23; // // ColMaster_NhanVien // this.ColMaster_NhanVien.Caption = "Nhân viên"; this.ColMaster_NhanVien.Name = "ColMaster_NhanVien"; this.ColMaster_NhanVien.OptionsColumn.AllowEdit = false; this.ColMaster_NhanVien.OptionsColumn.AllowFocus = false; this.ColMaster_NhanVien.Visible = true; this.ColMaster_NhanVien.VisibleIndex = 0; this.ColMaster_NhanVien.Width = 60; // // ColMasterNgay // this.ColMasterNgay.Caption = "Ngày làm việc"; this.ColMasterNgay.Name = "ColMasterNgay"; this.ColMasterNgay.OptionsColumn.AllowEdit = false; this.ColMasterNgay.OptionsColumn.AllowFocus = false; this.ColMasterNgay.Visible = true; this.ColMasterNgay.VisibleIndex = 1; this.ColMasterNgay.Width = 91; // // ColMaster_TG_Tu // this.ColMaster_TG_Tu.Caption = "Từ (hh:mm)"; this.ColMaster_TG_Tu.Name = "ColMaster_TG_Tu"; this.ColMaster_TG_Tu.OptionsColumn.AllowEdit = false; this.ColMaster_TG_Tu.OptionsColumn.AllowFocus = false; this.ColMaster_TG_Tu.Visible = true; this.ColMaster_TG_Tu.VisibleIndex = 2; this.ColMaster_TG_Tu.Width = 68; // // ColMaster_TG_Den // this.ColMaster_TG_Den.Caption = "Đến (hh:mm)"; this.ColMaster_TG_Den.Name = "ColMaster_TG_Den"; this.ColMaster_TG_Den.OptionsColumn.AllowEdit = false; this.ColMaster_TG_Den.OptionsColumn.AllowFocus = false; this.ColMaster_TG_Den.Visible = true; this.ColMaster_TG_Den.VisibleIndex = 3; // // ColMaster_NoiDung // this.ColMaster_NoiDung.Caption = "Nội dung"; this.ColMaster_NoiDung.Name = "ColMaster_NoiDung"; this.ColMaster_NoiDung.Visible = true; this.ColMaster_NoiDung.VisibleIndex = 5; this.ColMaster_NoiDung.Width = 54; // // CoMaster_LoaiXacNhan // this.CoMaster_LoaiXacNhan.Caption = "Loại làm việc"; this.CoMaster_LoaiXacNhan.Name = "CoMaster_LoaiXacNhan"; this.CoMaster_LoaiXacNhan.OptionsColumn.AllowEdit = false; this.CoMaster_LoaiXacNhan.OptionsColumn.AllowFocus = false; this.CoMaster_LoaiXacNhan.Visible = true; this.CoMaster_LoaiXacNhan.VisibleIndex = 4; this.CoMaster_LoaiXacNhan.Width = 72; // // cotThoiGianCN // this.cotThoiGianCN.Caption = "Thời gian cập nhật"; this.cotThoiGianCN.Name = "cotThoiGianCN"; this.cotThoiGianCN.Visible = true; this.cotThoiGianCN.VisibleIndex = 6; this.cotThoiGianCN.Width = 100; // // xtraTabControlDetail // this.xtraTabControlDetail.Dock = System.Windows.Forms.DockStyle.Fill; this.xtraTabControlDetail.Location = new System.Drawing.Point(0, 0); this.xtraTabControlDetail.Name = "xtraTabControlDetail"; this.xtraTabControlDetail.SelectedTabPage = this.xtraTabPageDetail; this.xtraTabControlDetail.Size = new System.Drawing.Size(0, 0); this.xtraTabControlDetail.TabIndex = 0; this.xtraTabControlDetail.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPageDetail}); this.xtraTabControlDetail.TabStop = false; // // xtraTabPageDetail // this.xtraTabPageDetail.Controls.Add(this.gridControlDetail); this.xtraTabPageDetail.Name = "xtraTabPageDetail"; this.xtraTabPageDetail.Size = new System.Drawing.Size(0, 0); this.xtraTabPageDetail.Text = "Chi tiết"; // // gridControlDetail // this.gridControlDetail.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlDetail.BackgroundImage"))); this.gridControlDetail.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.gridControlDetail.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControlDetail.Location = new System.Drawing.Point(0, 0); this.gridControlDetail.MainView = this.gridViewDetail; this.gridControlDetail.Name = "gridControlDetail"; this.gridControlDetail.Size = new System.Drawing.Size(0, 0); this.gridControlDetail.TabIndex = 113; this.gridControlDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewDetail}); // // gridViewDetail // this.gridViewDetail.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gridViewDetail.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewDetail.GridControl = this.gridControlDetail; this.gridViewDetail.GroupPanelText = "Phí dịch vụ"; this.gridViewDetail.IndicatorWidth = 40; this.gridViewDetail.Name = "gridViewDetail"; this.gridViewDetail.OptionsBehavior.AutoExpandAllGroups = true; this.gridViewDetail.OptionsLayout.Columns.AddNewColumns = false; this.gridViewDetail.OptionsNavigation.AutoFocusNewRow = true; this.gridViewDetail.OptionsNavigation.EnterMoveNextColumn = true; this.gridViewDetail.OptionsPrint.UsePrintStyles = true; this.gridViewDetail.OptionsView.EnableAppearanceEvenRow = true; this.gridViewDetail.OptionsView.EnableAppearanceOddRow = true; this.gridViewDetail.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; this.gridViewDetail.OptionsView.ShowFooter = true; this.gridViewDetail.OptionsView.ShowGroupedColumns = true; // // popupControlContainerFilter // this.popupControlContainerFilter.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.popupControlContainerFilter.Controls.Add(this.NhanVien); this.popupControlContainerFilter.Controls.Add(this.ngayLamViec); this.popupControlContainerFilter.Controls.Add(this.chkCus); this.popupControlContainerFilter.Controls.Add(this.chkCompany); this.popupControlContainerFilter.Controls.Add(this.DuyetSelect); this.popupControlContainerFilter.Controls.Add(this.plLabel6); this.popupControlContainerFilter.Controls.Add(this.plLabel1); this.popupControlContainerFilter.Controls.Add(this.plTreeSelectItem1); this.popupControlContainerFilter.Dock = System.Windows.Forms.DockStyle.Top; this.popupControlContainerFilter.Location = new System.Drawing.Point(0, 24); this.popupControlContainerFilter.Manager = this.barManager1; this.popupControlContainerFilter.Name = "popupControlContainerFilter"; this.popupControlContainerFilter.Size = new System.Drawing.Size(912, 68); this.popupControlContainerFilter.TabIndex = 0; this.popupControlContainerFilter.Visible = false; // // ngayLamViec // this.ngayLamViec.Caption = "Năm 2010 và 2011"; this.ngayLamViec.Default = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear; this.ngayLamViec.FirstFrom = new System.DateTime(2010, 1, 1, 0, 0, 0, 0); this.ngayLamViec.FirstTo = new System.DateTime(2011, 12, 31, 0, 0, 0, 0); this.ngayLamViec.FromDate = new System.DateTime(2010, 1, 1, 0, 0, 0, 0); this.ngayLamViec.Location = new System.Drawing.Point(356, 10); this.ngayLamViec.Name = "ngayLamViec"; this.ngayLamViec.ReturnType = ProtocolVN.Framework.Win.Trial.TimeType.Date; this.ngayLamViec.SecondFrom = new System.DateTime(2010, 1, 1, 0, 0, 0, 0); this.ngayLamViec.SecondTo = new System.DateTime(2011, 12, 31, 0, 0, 0, 0); this.ngayLamViec.SelectedType = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear; this.ngayLamViec.Size = new System.Drawing.Size(225, 21); this.ngayLamViec.TabIndex = 1; this.ngayLamViec.ToDate = new System.DateTime(2011, 12, 31, 0, 0, 0, 0); this.ngayLamViec.Types = ((ProtocolVN.Framework.Win.Trial.SelectionTypes)(((((((((ProtocolVN.Framework.Win.Trial.SelectionTypes.OneDate | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneMonth) | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneQuarter) | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneYear) | ProtocolVN.Framework.Win.Trial.SelectionTypes.SixMonths) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromDateToDate) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromMonthToMonth) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromQuarterToQuarter) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear))); // // chkCus // this.chkCus.Location = new System.Drawing.Point(151, 37); this.chkCus.Name = "chkCus"; this.chkCus.Properties.Caption = "Công tác ngoài"; this.chkCus.Size = new System.Drawing.Size(106, 19); this.chkCus.TabIndex = 3; // // chkCompany // this.chkCompany.Location = new System.Drawing.Point(64, 37); this.chkCompany.MenuManager = this.barManager1; this.chkCompany.Name = "chkCompany"; this.chkCompany.Properties.Caption = "Tại công ty"; this.chkCompany.Size = new System.Drawing.Size(81, 19); this.chkCompany.TabIndex = 2; // // DuyetSelect // this.DuyetSelect.Location = new System.Drawing.Point(347, 38); this.DuyetSelect.Name = "DuyetSelect"; this.DuyetSelect.Size = new System.Drawing.Size(216, 24); this.DuyetSelect.TabIndex = 4; // // plLabel6 // this.plLabel6.Location = new System.Drawing.Point(284, 15); this.plLabel6.Name = "plLabel6"; this.plLabel6.Size = new System.Drawing.Size(66, 13); this.plLabel6.TabIndex = 203; this.plLabel6.Text = "Ngày làm việc"; this.plLabel6.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL; // // plLabel1 // this.plLabel1.Location = new System.Drawing.Point(12, 15); this.plLabel1.Name = "plLabel1"; this.plLabel1.Size = new System.Drawing.Size(48, 13); this.plLabel1.TabIndex = 202; this.plLabel1.Text = "Nhân viên"; this.plLabel1.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL; // // plTreeSelectItem1 // this.plTreeSelectItem1.Location = new System.Drawing.Point(605, -20); this.plTreeSelectItem1.Name = "plTreeSelectItem1"; this.plTreeSelectItem1.Size = new System.Drawing.Size(167, 20); this.plTreeSelectItem1.TabIndex = 193; this.plTreeSelectItem1.ZZZWidthFactor = 2F; // // gridColumn8 // this.gridColumn8.Caption = "VAT"; this.gridColumn8.Name = "gridColumn8"; this.gridColumn8.Visible = true; this.gridColumn8.VisibleIndex = 5; // // gridColumn6 // this.gridColumn6.Caption = "VAT"; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 5; this.gridColumn6.Width = 96; // // NhanVien // this.NhanVien.Location = new System.Drawing.Point(66, 12); this.NhanVien.Name = "NhanVien"; this.NhanVien.Size = new System.Drawing.Size(212, 20); this.NhanVien.TabIndex = 0; // // frmPhieuXacNhanLamViecQL // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(912, 497); this.Controls.Add(this.splitContainerControl1); this.Controls.Add(this.popupControlContainerFilter); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "frmPhieuXacNhanLamViecQL"; this.Text = "Xác nhận làm việc"; ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).EndInit(); this.xtraTabControlDetail.ResumeLayout(false); this.xtraTabPageDetail.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).EndInit(); this.popupControlContainerFilter.ResumeLayout(false); this.popupControlContainerFilter.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.chkCus.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chkCompany.Properties)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { DevExpress.XtraBars.Ribbon.GalleryItemGroup galleryItemGroup1 = new DevExpress.XtraBars.Ribbon.GalleryItemGroup(); DevExpress.XtraBars.Ribbon.GalleryItemGroup galleryItemGroup2 = new DevExpress.XtraBars.Ribbon.GalleryItemGroup(); DevExpress.XtraBars.Ribbon.GalleryItemGroup galleryItemGroup3 = new DevExpress.XtraBars.Ribbon.GalleryItemGroup(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl(); this.btnNewTerminal = new DevExpress.XtraBars.BarButtonItem(); this.btnNewTerminal2 = new DevExpress.XtraBars.BarButtonItem(); this.btnNewTerminal3 = new DevExpress.XtraBars.BarButtonItem(); this.btnStart = new DevExpress.XtraBars.BarButtonItem(); this.btnStop = new DevExpress.XtraBars.BarButtonItem(); this.btnClear = new DevExpress.XtraBars.BarButtonItem(); this.txtUsername = new DevExpress.XtraBars.BarEditItem(); this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.txtPassword = new DevExpress.XtraBars.BarEditItem(); this.repositoryItemTextEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.btnLogin = new DevExpress.XtraBars.BarButtonItem(); this.btnChangePassword = new DevExpress.XtraBars.BarButtonItem(); this.btnLogout = new DevExpress.XtraBars.BarButtonItem(); this.lblSystemTime = new DevExpress.XtraBars.BarStaticItem(); this.lblTotalTransaction = new DevExpress.XtraBars.BarStaticItem(); this.lblTotalTerminal = new DevExpress.XtraBars.BarStaticItem(); this.barEditItem1 = new DevExpress.XtraBars.BarEditItem(); this.repositoryItemPopupContainerEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit(); this.ribbonGalleryBarItem1 = new DevExpress.XtraBars.RibbonGalleryBarItem(); this.barButtonGroup1 = new DevExpress.XtraBars.BarButtonGroup(); this.barButtonGroup2 = new DevExpress.XtraBars.BarButtonGroup(); this.skinGalleryBarItem = new DevExpress.XtraBars.RibbonGalleryBarItem(); this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroup3 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup5 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonStatusBar1 = new DevExpress.XtraBars.Ribbon.RibbonStatusBar(); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); this.grdTransaction = new DevExpress.XtraGrid.GridControl(); this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn7 = 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.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn(); this.panelControl3 = new DevExpress.XtraEditors.PanelControl(); this.panelControl4 = new DevExpress.XtraEditors.PanelControl(); this.xtraTabPage3 = new DevExpress.XtraTab.XtraTabPage(); this.btnStatement = new DevExpress.XtraEditors.SimpleButton(); this.btnBetList = new DevExpress.XtraEditors.SimpleButton(); this.cbeSignatureTemplate = new DevExpress.XtraEditors.ComboBoxEdit(); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.webBrowser2 = new System.Windows.Forms.WebBrowser(); this.splitter1 = new System.Windows.Forms.Splitter(); this.webBrowser1 = new System.Windows.Forms.WebBrowser(); this.xtraTabPage5 = new DevExpress.XtraTab.XtraTabPage(); this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); this.textEdit4 = new DevExpress.XtraEditors.MemoEdit(); this.chkSCloud = new DevExpress.XtraEditors.CheckEdit(); this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton(); this.textEdit3 = new DevExpress.XtraEditors.TextEdit(); this.textEdit2 = new DevExpress.XtraEditors.TextEdit(); this.textEdit1 = new DevExpress.XtraEditors.TextEdit(); this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.chkRCloud = new DevExpress.XtraEditors.CheckEdit(); this.btnSignMeIn = new DevExpress.XtraEditors.SimpleButton(); this.txtServerIP = new DevExpress.XtraEditors.TextEdit(); this.txtServerUserName = new DevExpress.XtraEditors.TextEdit(); this.txtServerPassword = new DevExpress.XtraEditors.TextEdit(); this.pictureEdit1 = new DevExpress.XtraEditors.PictureEdit(); this.xtraTabControl2 = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); this.xtraTabPage4 = new DevExpress.XtraTab.XtraTabPage(); this.ribbonPageGroup4 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); this.xtraTabControl1.SuspendLayout(); this.xtraTabPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdTransaction)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit(); this.xtraTabPage3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.cbeSignatureTemplate.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); this.xtraTabPage5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); this.panelControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.textEdit4.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chkSCloud.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textEdit3.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chkRCloud.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtServerIP.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtServerUserName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtServerPassword.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl2)).BeginInit(); this.xtraTabControl2.SuspendLayout(); this.SuspendLayout(); // // ribbonControl1 // this.ribbonControl1.ApplicationButtonText = null; // // // this.ribbonControl1.ExpandCollapseItem.Id = 0; this.ribbonControl1.ExpandCollapseItem.Name = ""; this.ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.ribbonControl1.ExpandCollapseItem, this.btnNewTerminal, this.btnNewTerminal2, this.btnNewTerminal3, this.btnStart, this.btnStop, this.btnClear, this.txtUsername, this.txtPassword, this.btnLogin, this.btnChangePassword, this.btnLogout, this.lblSystemTime, this.lblTotalTransaction, this.lblTotalTerminal, this.barEditItem1, this.ribbonGalleryBarItem1, this.barButtonGroup1, this.barButtonGroup2, this.skinGalleryBarItem}); this.ribbonControl1.Location = new System.Drawing.Point(0, 0); this.ribbonControl1.MaxItemId = 22; this.ribbonControl1.Name = "ribbonControl1"; this.ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { this.ribbonPage1}); this.ribbonControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemTextEdit1, this.repositoryItemTextEdit2, this.repositoryItemPopupContainerEdit1}); this.ribbonControl1.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.Office2010; this.ribbonControl1.SelectedPage = this.ribbonPage1; this.ribbonControl1.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False; this.ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide; this.ribbonControl1.ShowToolbarCustomizeItem = false; this.ribbonControl1.Size = new System.Drawing.Size(1056, 125); this.ribbonControl1.StatusBar = this.ribbonStatusBar1; this.ribbonControl1.Toolbar.ShowCustomizeItem = false; // // btnNewTerminal // this.btnNewTerminal.Caption = "ibet-3in1"; this.btnNewTerminal.Enabled = false; this.btnNewTerminal.Id = 1; this.btnNewTerminal.LargeGlyph = global::iBet.App.Properties.Resources.i4; this.btnNewTerminal.Name = "btnNewTerminal"; this.btnNewTerminal.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnNewTerminal_ItemClick); // // btnNewTerminal2 // this.btnNewTerminal2.Caption = "ibet-sbo"; this.btnNewTerminal2.Enabled = false; this.btnNewTerminal2.Id = 13; this.btnNewTerminal2.LargeGlyph = global::iBet.App.Properties.Resources.i9; this.btnNewTerminal2.Name = "btnNewTerminal2"; this.btnNewTerminal2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnNewTerminal2_ItemClick); // // btnNewTerminal3 // this.btnNewTerminal3.Caption = "Follow Sub"; this.btnNewTerminal3.Enabled = false; this.btnNewTerminal3.Id = 14; this.btnNewTerminal3.LargeGlyph = global::iBet.App.Properties.Resources.i10; this.btnNewTerminal3.Name = "btnNewTerminal3"; this.btnNewTerminal3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnNewTerminal3_ItemClick); // // btnStart // this.btnStart.Caption = "Start"; this.btnStart.Enabled = false; this.btnStart.Id = 2; this.btnStart.LargeGlyph = global::iBet.App.Properties.Resources.i5; this.btnStart.Name = "btnStart"; this.btnStart.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnStart_ItemClick); // // btnStop // this.btnStop.Caption = "Stop"; this.btnStop.Enabled = false; this.btnStop.Id = 3; this.btnStop.LargeGlyph = global::iBet.App.Properties.Resources.i6; this.btnStop.Name = "btnStop"; this.btnStop.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnStop_ItemClick); // // btnClear // this.btnClear.Caption = "Clear"; this.btnClear.Enabled = false; this.btnClear.Glyph = global::iBet.App.Properties.Resources.i7; this.btnClear.Id = 4; this.btnClear.LargeGlyph = global::iBet.App.Properties.Resources.i7; this.btnClear.Name = "btnClear"; this.btnClear.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnClear_ItemClick); // // txtUsername // this.txtUsername.Caption = "Username"; this.txtUsername.Edit = this.repositoryItemTextEdit1; this.txtUsername.Id = 5; this.txtUsername.Name = "txtUsername"; this.txtUsername.Width = 150; // // repositoryItemTextEdit1 // this.repositoryItemTextEdit1.AutoHeight = false; this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1"; // // txtPassword // this.txtPassword.Caption = "Password "; this.txtPassword.Edit = this.repositoryItemTextEdit2; this.txtPassword.Id = 6; this.txtPassword.Name = "txtPassword"; this.txtPassword.Width = 150; // // repositoryItemTextEdit2 // this.repositoryItemTextEdit2.AutoHeight = false; this.repositoryItemTextEdit2.Name = "repositoryItemTextEdit2"; this.repositoryItemTextEdit2.PasswordChar = '*'; // // btnLogin // this.btnLogin.Caption = "Login"; this.btnLogin.Id = 7; this.btnLogin.LargeGlyph = global::iBet.App.Properties.Resources.i1; this.btnLogin.Name = "btnLogin"; this.btnLogin.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnLogin_ItemClick); // // btnChangePassword // this.btnChangePassword.Caption = "Change Password"; this.btnChangePassword.Enabled = false; this.btnChangePassword.Id = 8; this.btnChangePassword.LargeGlyph = global::iBet.App.Properties.Resources.i3; this.btnChangePassword.Name = "btnChangePassword"; this.btnChangePassword.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnChangePassword_ItemClick); // // btnLogout // this.btnLogout.Caption = "Logout"; this.btnLogout.Enabled = false; this.btnLogout.Id = 9; this.btnLogout.LargeGlyph = global::iBet.App.Properties.Resources.i2; this.btnLogout.Name = "btnLogout"; this.btnLogout.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnLogout_ItemClick); // // lblSystemTime // this.lblSystemTime.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.lblSystemTime.Id = 10; this.lblSystemTime.Name = "lblSystemTime"; this.lblSystemTime.TextAlignment = System.Drawing.StringAlignment.Near; // // lblTotalTransaction // this.lblTotalTransaction.Caption = "Total transaction(s): 0"; this.lblTotalTransaction.Id = 11; this.lblTotalTransaction.Name = "lblTotalTransaction"; this.lblTotalTransaction.TextAlignment = System.Drawing.StringAlignment.Near; // // lblTotalTerminal // this.lblTotalTerminal.Caption = "Total Terminal(s): 0"; this.lblTotalTerminal.Id = 12; this.lblTotalTerminal.Name = "lblTotalTerminal"; this.lblTotalTerminal.TextAlignment = System.Drawing.StringAlignment.Near; // // barEditItem1 // this.barEditItem1.Caption = "barEditItem1"; this.barEditItem1.Edit = this.repositoryItemPopupContainerEdit1; this.barEditItem1.Id = 15; this.barEditItem1.Name = "barEditItem1"; // // repositoryItemPopupContainerEdit1 // this.repositoryItemPopupContainerEdit1.AutoHeight = false; this.repositoryItemPopupContainerEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemPopupContainerEdit1.Name = "repositoryItemPopupContainerEdit1"; // // ribbonGalleryBarItem1 // this.ribbonGalleryBarItem1.Caption = "ribbonGalleryBarItem1"; this.ribbonGalleryBarItem1.Id = 17; this.ribbonGalleryBarItem1.Name = "ribbonGalleryBarItem1"; // // barButtonGroup1 // this.barButtonGroup1.Caption = "barButtonGroup1"; this.barButtonGroup1.Id = 18; this.barButtonGroup1.Name = "barButtonGroup1"; // // barButtonGroup2 // this.barButtonGroup2.Caption = "barButtonGroup2"; this.barButtonGroup2.Id = 19; this.barButtonGroup2.Name = "barButtonGroup2"; // // skinGalleryBarItem // this.skinGalleryBarItem.Caption = "skinGalleryBarItem"; // // skinGalleryBarItem // this.skinGalleryBarItem.Gallery.AllowHoverImages = true; this.skinGalleryBarItem.Gallery.FixedHoverImageSize = false; galleryItemGroup1.Caption = "Standard"; galleryItemGroup2.Caption = "Bonus"; galleryItemGroup2.Visible = false; galleryItemGroup3.Caption = "Office"; galleryItemGroup3.Visible = false; this.skinGalleryBarItem.Gallery.Groups.AddRange(new DevExpress.XtraBars.Ribbon.GalleryItemGroup[] { galleryItemGroup1, galleryItemGroup2, galleryItemGroup3}); this.skinGalleryBarItem.Gallery.ImageSize = new System.Drawing.Size(58, 43); this.skinGalleryBarItem.Gallery.ItemCheckMode = DevExpress.XtraBars.Ribbon.Gallery.ItemCheckMode.SingleRadio; this.skinGalleryBarItem.Id = 1; this.skinGalleryBarItem.Name = "skinGalleryBarItem"; // // ribbonPage1 // this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroup3, this.ribbonPageGroup1, this.ribbonPageGroup2, this.ribbonPageGroup5}); this.ribbonPage1.Name = "ribbonPage1"; this.ribbonPage1.Text = "Terminal"; // // ribbonPageGroup3 // this.ribbonPageGroup3.ItemLinks.Add(this.txtUsername); this.ribbonPageGroup3.ItemLinks.Add(this.txtPassword); this.ribbonPageGroup3.ItemLinks.Add(this.btnLogin); this.ribbonPageGroup3.ItemLinks.Add(this.btnChangePassword); this.ribbonPageGroup3.ItemLinks.Add(this.btnLogout); this.ribbonPageGroup3.Name = "ribbonPageGroup3"; this.ribbonPageGroup3.ShowCaptionButton = false; this.ribbonPageGroup3.Text = "Authentication"; // // ribbonPageGroup1 // this.ribbonPageGroup1.ItemLinks.Add(this.btnNewTerminal); this.ribbonPageGroup1.ItemLinks.Add(this.btnNewTerminal2); this.ribbonPageGroup1.ItemLinks.Add(this.btnNewTerminal3); this.ribbonPageGroup1.ItemLinks.Add(this.btnStart); this.ribbonPageGroup1.ItemLinks.Add(this.btnStop); this.ribbonPageGroup1.Name = "ribbonPageGroup1"; this.ribbonPageGroup1.ShowCaptionButton = false; this.ribbonPageGroup1.Text = "Terminal"; // // ribbonPageGroup2 // this.ribbonPageGroup2.ItemLinks.Add(this.btnClear); this.ribbonPageGroup2.Name = "ribbonPageGroup2"; this.ribbonPageGroup2.ShowCaptionButton = false; this.ribbonPageGroup2.Text = "Tracking"; // // ribbonPageGroup5 // this.ribbonPageGroup5.ItemLinks.Add(this.skinGalleryBarItem); this.ribbonPageGroup5.Name = "ribbonPageGroup5"; this.ribbonPageGroup5.Text = "Skins"; // // ribbonStatusBar1 // this.ribbonStatusBar1.ItemLinks.Add(this.lblSystemTime); this.ribbonStatusBar1.ItemLinks.Add(this.lblTotalTerminal); this.ribbonStatusBar1.ItemLinks.Add(this.lblTotalTransaction); this.ribbonStatusBar1.Location = new System.Drawing.Point(0, 617); this.ribbonStatusBar1.Name = "ribbonStatusBar1"; this.ribbonStatusBar1.Ribbon = this.ribbonControl1; this.ribbonStatusBar1.Size = new System.Drawing.Size(1056, 31); // // splitContainerControl1 // this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerControl1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2; this.splitContainerControl1.Horizontal = false; this.splitContainerControl1.Location = new System.Drawing.Point(0, 125); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.xtraTabControl1); this.splitContainerControl1.Panel1.Text = "Panel1"; this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControl2); this.splitContainerControl1.Panel2.Text = "Panel2"; this.splitContainerControl1.Size = new System.Drawing.Size(1056, 492); this.splitContainerControl1.SplitterPosition = 44; this.splitContainerControl1.TabIndex = 1; this.splitContainerControl1.Text = "splitContainerControl1"; // // xtraTabControl1 // 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.xtraTabPage1; this.xtraTabControl1.Size = new System.Drawing.Size(1056, 443); this.xtraTabControl1.TabIndex = 0; this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPage1, this.xtraTabPage3, this.xtraTabPage5}); // // xtraTabPage1 // this.xtraTabPage1.Controls.Add(this.grdTransaction); this.xtraTabPage1.Controls.Add(this.panelControl3); this.xtraTabPage1.Controls.Add(this.panelControl4); this.xtraTabPage1.Name = "xtraTabPage1"; this.xtraTabPage1.Size = new System.Drawing.Size(1050, 417); this.xtraTabPage1.Text = "Transactions"; // // grdTransaction // this.grdTransaction.Dock = System.Windows.Forms.DockStyle.Fill; this.grdTransaction.EmbeddedNavigator.ShowToolTips = false; this.grdTransaction.Location = new System.Drawing.Point(0, 0); this.grdTransaction.MainView = this.gridView2; this.grdTransaction.Name = "grdTransaction"; this.grdTransaction.Size = new System.Drawing.Size(1050, 417); this.grdTransaction.TabIndex = 7; this.grdTransaction.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView2}); // // gridView2 // this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.gridColumn8, this.gridColumn2, this.gridColumn3, this.gridColumn6, this.gridColumn4, this.gridColumn5, this.gridColumn7, this.gridColumn10, this.gridColumn11, this.gridColumn12, this.gridColumn9, this.gridColumn14, this.gridColumn15, this.gridColumn13}); this.gridView2.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gridView2.GridControl = this.grdTransaction; this.gridView2.Name = "gridView2"; this.gridView2.OptionsBehavior.Editable = false; this.gridView2.OptionsCustomization.AllowGroup = false; this.gridView2.OptionsMenu.EnableColumnMenu = false; this.gridView2.OptionsMenu.EnableFooterMenu = false; this.gridView2.OptionsMenu.EnableGroupPanelMenu = false; this.gridView2.OptionsView.HeaderFilterButtonShowMode = DevExpress.XtraEditors.Controls.FilterButtonShowMode.Button; this.gridView2.OptionsView.ShowAutoFilterRow = true; this.gridView2.OptionsView.ShowGroupPanel = false; this.gridView2.OptionsView.ShowPreview = true; this.gridView2.PreviewFieldName = "Note"; this.gridView2.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowForFocusedRow; this.gridView2.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gridColumn13, DevExpress.Data.ColumnSortOrder.Descending)}); // // gridColumn1 // this.gridColumn1.Caption = "ID"; this.gridColumn1.FieldName = "ID"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.OptionsColumn.AllowFocus = false; this.gridColumn1.OptionsColumn.AllowMove = false; this.gridColumn1.OptionsColumn.AllowSize = false; this.gridColumn1.OptionsColumn.FixedWidth = true; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; this.gridColumn1.Width = 30; // // gridColumn8 // this.gridColumn8.Caption = "Account Pair"; this.gridColumn8.FieldName = "AccountPair"; this.gridColumn8.Name = "gridColumn8"; this.gridColumn8.OptionsColumn.AllowFocus = false; this.gridColumn8.OptionsColumn.FixedWidth = true; this.gridColumn8.Visible = true; this.gridColumn8.VisibleIndex = 1; this.gridColumn8.Width = 120; // // gridColumn2 // this.gridColumn2.Caption = "Home Team"; this.gridColumn2.FieldName = "HomeTeamName"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.OptionsColumn.AllowFocus = false; this.gridColumn2.UnboundType = DevExpress.Data.UnboundColumnType.String; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 2; this.gridColumn2.Width = 107; // // gridColumn3 // this.gridColumn3.Caption = "Away Team"; this.gridColumn3.FieldName = "AwayTeamName"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.OptionsColumn.AllowFocus = false; this.gridColumn3.UnboundType = DevExpress.Data.UnboundColumnType.String; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 3; this.gridColumn3.Width = 119; // // gridColumn6 // this.gridColumn6.Caption = "Type"; this.gridColumn6.FieldName = "OddType"; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.OptionsColumn.AllowFocus = false; this.gridColumn6.OptionsColumn.FixedWidth = true; this.gridColumn6.UnboundType = DevExpress.Data.UnboundColumnType.String; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 4; this.gridColumn6.Width = 150; // // gridColumn4 // this.gridColumn4.Caption = "Odd"; this.gridColumn4.FieldName = "OddKindValue"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.OptionsColumn.AllowFocus = false; this.gridColumn4.OptionsColumn.FixedWidth = true; this.gridColumn4.UnboundType = DevExpress.Data.UnboundColumnType.String; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 5; this.gridColumn4.Width = 60; // // gridColumn5 // this.gridColumn5.Caption = "Value"; this.gridColumn5.FieldName = "OddValue"; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.OptionsColumn.AllowFocus = false; this.gridColumn5.OptionsColumn.FixedWidth = true; this.gridColumn5.UnboundType = DevExpress.Data.UnboundColumnType.String; this.gridColumn5.Visible = true; this.gridColumn5.VisibleIndex = 6; this.gridColumn5.Width = 60; // // gridColumn7 // this.gridColumn7.Caption = "Stake"; this.gridColumn7.FieldName = "Stake"; this.gridColumn7.Name = "gridColumn7"; this.gridColumn7.OptionsColumn.AllowFocus = false; this.gridColumn7.OptionsColumn.FixedWidth = true; this.gridColumn7.UnboundType = DevExpress.Data.UnboundColumnType.String; this.gridColumn7.Visible = true; this.gridColumn7.VisibleIndex = 7; this.gridColumn7.Width = 60; // // gridColumn10 // this.gridColumn10.Caption = "I"; this.gridColumn10.FieldName = "IBETTrade"; this.gridColumn10.Name = "gridColumn10"; this.gridColumn10.OptionsColumn.AllowFocus = false; this.gridColumn10.OptionsColumn.FixedWidth = true; this.gridColumn10.UnboundType = DevExpress.Data.UnboundColumnType.Boolean; this.gridColumn10.Visible = true; this.gridColumn10.VisibleIndex = 8; this.gridColumn10.Width = 30; // // gridColumn11 // this.gridColumn11.Caption = "3"; this.gridColumn11.FieldName = "THREEIN1Trade"; this.gridColumn11.Name = "gridColumn11"; this.gridColumn11.OptionsColumn.AllowFocus = false; this.gridColumn11.OptionsColumn.FixedWidth = true; this.gridColumn11.UnboundType = DevExpress.Data.UnboundColumnType.Boolean; this.gridColumn11.Visible = true; this.gridColumn11.VisibleIndex = 9; this.gridColumn11.Width = 30; // // gridColumn12 // this.gridColumn12.Caption = "3 Re"; this.gridColumn12.FieldName = "THREEIN1ReTrade"; this.gridColumn12.Name = "gridColumn12"; this.gridColumn12.OptionsColumn.AllowFocus = false; this.gridColumn12.OptionsColumn.FixedWidth = true; this.gridColumn12.UnboundType = DevExpress.Data.UnboundColumnType.Boolean; this.gridColumn12.Visible = true; this.gridColumn12.VisibleIndex = 11; this.gridColumn12.Width = 30; // // gridColumn9 // this.gridColumn9.Caption = "I Re"; this.gridColumn9.FieldName = "IBETReTrade"; this.gridColumn9.Name = "gridColumn9"; this.gridColumn9.OptionsColumn.AllowFocus = false; this.gridColumn9.OptionsColumn.FixedWidth = true; this.gridColumn9.Visible = true; this.gridColumn9.VisibleIndex = 12; this.gridColumn9.Width = 30; // // gridColumn14 // this.gridColumn14.Caption = "B"; this.gridColumn14.FieldName = "SBOBETTrade"; this.gridColumn14.Name = "gridColumn14"; this.gridColumn14.OptionsColumn.AllowFocus = false; this.gridColumn14.OptionsColumn.FixedWidth = true; this.gridColumn14.UnboundType = DevExpress.Data.UnboundColumnType.Boolean; this.gridColumn14.Visible = true; this.gridColumn14.VisibleIndex = 10; this.gridColumn14.Width = 30; // // gridColumn15 // this.gridColumn15.Caption = "B Re"; this.gridColumn15.FieldName = "SBOBETReTrade"; this.gridColumn15.Name = "gridColumn15"; this.gridColumn15.OptionsColumn.AllowFocus = false; this.gridColumn15.OptionsColumn.FixedWidth = true; this.gridColumn15.UnboundType = DevExpress.Data.UnboundColumnType.Boolean; this.gridColumn15.Visible = true; this.gridColumn15.VisibleIndex = 13; this.gridColumn15.Width = 30; // // gridColumn13 // this.gridColumn13.Caption = "DateTime"; this.gridColumn13.DisplayFormat.FormatString = "dd/MM/yyyy hh:mm:ss"; this.gridColumn13.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.gridColumn13.FieldName = "DateTime"; this.gridColumn13.Name = "gridColumn13"; this.gridColumn13.OptionsColumn.AllowFocus = false; this.gridColumn13.OptionsColumn.FixedWidth = true; this.gridColumn13.SortMode = DevExpress.XtraGrid.ColumnSortMode.Value; this.gridColumn13.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Count)}); this.gridColumn13.UnboundType = DevExpress.Data.UnboundColumnType.DateTime; this.gridColumn13.Visible = true; this.gridColumn13.VisibleIndex = 14; this.gridColumn13.Width = 150; // // panelControl3 // this.panelControl3.Location = new System.Drawing.Point(0, 0); this.panelControl3.Name = "panelControl3"; this.panelControl3.Size = new System.Drawing.Size(200, 100); this.panelControl3.TabIndex = 8; // // panelControl4 // this.panelControl4.Location = new System.Drawing.Point(0, 0); this.panelControl4.Name = "panelControl4"; this.panelControl4.Size = new System.Drawing.Size(200, 100); this.panelControl4.TabIndex = 9; // // xtraTabPage3 // this.xtraTabPage3.Controls.Add(this.btnStatement); this.xtraTabPage3.Controls.Add(this.btnBetList); this.xtraTabPage3.Controls.Add(this.cbeSignatureTemplate); this.xtraTabPage3.Controls.Add(this.panelControl1); this.xtraTabPage3.Name = "xtraTabPage3"; this.xtraTabPage3.Size = new System.Drawing.Size(1050, 417); this.xtraTabPage3.Text = "Bet List - Statement"; // // btnStatement // this.btnStatement.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnStatement.Location = new System.Drawing.Point(295, 391); this.btnStatement.Name = "btnStatement"; this.btnStatement.Size = new System.Drawing.Size(99, 23); this.btnStatement.TabIndex = 7; this.btnStatement.Text = "Statement"; this.btnStatement.Click += new System.EventHandler(this.btnStatement_Click); // // btnBetList // this.btnBetList.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnBetList.Location = new System.Drawing.Point(198, 391); this.btnBetList.Name = "btnBetList"; this.btnBetList.Size = new System.Drawing.Size(91, 23); this.btnBetList.TabIndex = 6; this.btnBetList.Text = "Refresh"; this.btnBetList.Click += new System.EventHandler(this.btnRefresh_Click); // // cbeSignatureTemplate // this.cbeSignatureTemplate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.cbeSignatureTemplate.EditValue = "Select account pair"; this.cbeSignatureTemplate.Location = new System.Drawing.Point(3, 394); this.cbeSignatureTemplate.Name = "cbeSignatureTemplate"; this.cbeSignatureTemplate.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; this.cbeSignatureTemplate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.cbeSignatureTemplate.Properties.DropDownRows = 10; this.cbeSignatureTemplate.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; this.cbeSignatureTemplate.Size = new System.Drawing.Size(189, 20); this.cbeSignatureTemplate.TabIndex = 5; // // 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.webBrowser2); this.panelControl1.Controls.Add(this.splitter1); this.panelControl1.Controls.Add(this.webBrowser1); this.panelControl1.Location = new System.Drawing.Point(2, 3); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(1044, 382); this.panelControl1.TabIndex = 3; // // webBrowser2 // this.webBrowser2.Dock = System.Windows.Forms.DockStyle.Fill; this.webBrowser2.Location = new System.Drawing.Point(364, 2); this.webBrowser2.MinimumSize = new System.Drawing.Size(20, 20); this.webBrowser2.Name = "webBrowser2"; this.webBrowser2.Size = new System.Drawing.Size(678, 378); this.webBrowser2.TabIndex = 2; this.webBrowser2.Url = new System.Uri("", System.UriKind.Relative); // // splitter1 // this.splitter1.Location = new System.Drawing.Point(361, 2); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(3, 378); this.splitter1.TabIndex = 1; this.splitter1.TabStop = false; // // webBrowser1 // this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Left; this.webBrowser1.Location = new System.Drawing.Point(2, 2); this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20); this.webBrowser1.Name = "webBrowser1"; this.webBrowser1.Size = new System.Drawing.Size(359, 378); this.webBrowser1.TabIndex = 0; this.webBrowser1.Url = new System.Uri("", System.UriKind.Relative); // // xtraTabPage5 // this.xtraTabPage5.Controls.Add(this.panelControl2); this.xtraTabPage5.Name = "xtraTabPage5"; this.xtraTabPage5.Size = new System.Drawing.Size(1050, 417); this.xtraTabPage5.Text = "Settings"; // // panelControl2 // this.panelControl2.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.panelControl2.Controls.Add(this.textEdit4); this.panelControl2.Controls.Add(this.chkSCloud); this.panelControl2.Controls.Add(this.simpleButton2); this.panelControl2.Controls.Add(this.textEdit3); this.panelControl2.Controls.Add(this.textEdit2); this.panelControl2.Controls.Add(this.textEdit1); this.panelControl2.Controls.Add(this.simpleButton1); this.panelControl2.Controls.Add(this.label4); this.panelControl2.Controls.Add(this.label3); this.panelControl2.Controls.Add(this.label2); this.panelControl2.Controls.Add(this.label1); this.panelControl2.Controls.Add(this.chkRCloud); this.panelControl2.Controls.Add(this.btnSignMeIn); this.panelControl2.Controls.Add(this.txtServerIP); this.panelControl2.Controls.Add(this.txtServerUserName); this.panelControl2.Controls.Add(this.txtServerPassword); this.panelControl2.Controls.Add(this.pictureEdit1); this.panelControl2.Location = new System.Drawing.Point(3, 3); this.panelControl2.Name = "panelControl2"; this.panelControl2.Size = new System.Drawing.Size(1044, 497); this.panelControl2.TabIndex = 0; // // textEdit4 // this.textEdit4.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.textEdit4.Location = new System.Drawing.Point(244, 5); this.textEdit4.Name = "textEdit4"; this.textEdit4.Size = new System.Drawing.Size(408, 406); this.textEdit4.TabIndex = 18; // // chkSCloud // this.chkSCloud.EditValue = true; this.chkSCloud.Location = new System.Drawing.Point(13, 27); this.chkSCloud.Name = "chkSCloud"; this.chkSCloud.Properties.Caption = "S cloud"; this.chkSCloud.Size = new System.Drawing.Size(86, 19); this.chkSCloud.TabIndex = 17; // // simpleButton2 // this.simpleButton2.Location = new System.Drawing.Point(130, 307); this.simpleButton2.Name = "simpleButton2"; this.simpleButton2.Size = new System.Drawing.Size(97, 23); this.simpleButton2.TabIndex = 16; this.simpleButton2.Text = "Set"; this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click); // // textEdit3 // this.textEdit3.EditValue = "0"; this.textEdit3.Location = new System.Drawing.Point(94, 216); this.textEdit3.Name = "textEdit3"; this.textEdit3.Size = new System.Drawing.Size(142, 20); this.textEdit3.TabIndex = 15; // // textEdit2 // this.textEdit2.Location = new System.Drawing.Point(94, 268); this.textEdit2.Name = "textEdit2"; this.textEdit2.Size = new System.Drawing.Size(142, 20); this.textEdit2.TabIndex = 14; // // textEdit1 // this.textEdit1.Location = new System.Drawing.Point(94, 241); this.textEdit1.Name = "textEdit1"; this.textEdit1.Size = new System.Drawing.Size(142, 20); this.textEdit1.TabIndex = 13; // // simpleButton1 // this.simpleButton1.Location = new System.Drawing.Point(18, 307); this.simpleButton1.Name = "simpleButton1"; this.simpleButton1.Size = new System.Drawing.Size(97, 23); this.simpleButton1.TabIndex = 12; this.simpleButton1.Text = "Get"; this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click); // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(12, 176); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(0, 13); this.label4.TabIndex = 11; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(11, 140); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(53, 13); this.label3.TabIndex = 10; this.label3.Text = "Password"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(11, 113); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(55, 13); this.label2.TabIndex = 9; this.label2.Text = "Username"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(11, 86); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(81, 13); this.label1.TabIndex = 8; this.label1.Text = "Server Address"; // // chkRCloud // this.chkRCloud.EditValue = true; this.chkRCloud.Location = new System.Drawing.Point(12, 53); this.chkRCloud.Name = "chkRCloud"; this.chkRCloud.Properties.Caption = "R cloud"; this.chkRCloud.Size = new System.Drawing.Size(86, 19); this.chkRCloud.TabIndex = 7; this.chkRCloud.CheckedChanged += new System.EventHandler(this.chbCloud_CheckedChanged); // // btnSignMeIn // this.btnSignMeIn.Location = new System.Drawing.Point(154, 171); this.btnSignMeIn.Name = "btnSignMeIn"; this.btnSignMeIn.Size = new System.Drawing.Size(75, 23); this.btnSignMeIn.TabIndex = 3; this.btnSignMeIn.Text = "Sign me in"; this.btnSignMeIn.Click += new System.EventHandler(this.btnSignMeIn_Click); // // txtServerIP // this.txtServerIP.EditValue = "115.84.178.100"; this.txtServerIP.Location = new System.Drawing.Point(95, 83); this.txtServerIP.Name = "txtServerIP"; this.txtServerIP.Size = new System.Drawing.Size(142, 20); this.txtServerIP.TabIndex = 4; // // txtServerUserName // this.txtServerUserName.EditValue = "tuns"; this.txtServerUserName.Location = new System.Drawing.Point(95, 110); this.txtServerUserName.Name = "txtServerUserName"; this.txtServerUserName.Size = new System.Drawing.Size(142, 20); this.txtServerUserName.TabIndex = 5; // // txtServerPassword // this.txtServerPassword.EditValue = "anhkomuonradi"; this.txtServerPassword.Location = new System.Drawing.Point(95, 137); this.txtServerPassword.Name = "txtServerPassword"; this.txtServerPassword.Properties.UseSystemPasswordChar = true; this.txtServerPassword.Size = new System.Drawing.Size(142, 20); this.txtServerPassword.TabIndex = 6; // // pictureEdit1 // this.pictureEdit1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.pictureEdit1.EditValue = ((object)(resources.GetObject("pictureEdit1.EditValue"))); this.pictureEdit1.Location = new System.Drawing.Point(658, 5); this.pictureEdit1.Name = "pictureEdit1"; this.pictureEdit1.Properties.AllowFocused = false; 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.Properties.PictureAlignment = System.Drawing.ContentAlignment.TopLeft; this.pictureEdit1.Properties.ShowMenu = false; this.pictureEdit1.Size = new System.Drawing.Size(382, 448); this.pictureEdit1.TabIndex = 2; // // xtraTabControl2 // this.xtraTabControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.xtraTabControl2.Location = new System.Drawing.Point(0, 0); this.xtraTabControl2.Name = "xtraTabControl2"; this.xtraTabControl2.SelectedTabPage = this.xtraTabPage2; this.xtraTabControl2.Size = new System.Drawing.Size(1056, 44); this.xtraTabControl2.TabIndex = 1; this.xtraTabControl2.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPage2, this.xtraTabPage4}); // // xtraTabPage2 // this.xtraTabPage2.Name = "xtraTabPage2"; this.xtraTabPage2.Size = new System.Drawing.Size(1050, 18); this.xtraTabPage2.Text = "Waiting list"; // // xtraTabPage4 // this.xtraTabPage4.Name = "xtraTabPage4"; this.xtraTabPage4.Size = new System.Drawing.Size(1050, 18); this.xtraTabPage4.Text = "Clones monitor"; // // ribbonPageGroup4 // this.ribbonPageGroup4.ItemLinks.Add(this.btnClear); this.ribbonPageGroup4.Name = "ribbonPageGroup4"; this.ribbonPageGroup4.ShowCaptionButton = false; this.ribbonPageGroup4.Text = "Tracking"; // // MainForm // this.AutoHideRibbon = false; this.ClientSize = new System.Drawing.Size(1056, 648); this.Controls.Add(this.splitContainerControl1); this.Controls.Add(this.ribbonStatusBar1); this.Controls.Add(this.ribbonControl1); this.Icon = global::iBet.App.Properties.Resources.BetBrokerLogo; this.Name = "MainForm"; this.Ribbon = this.ribbonControl1; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StatusBar = this.ribbonStatusBar1; this.Text = "Bet Broker"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); this.xtraTabControl1.ResumeLayout(false); this.xtraTabPage1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grdTransaction)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit(); this.xtraTabPage3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.cbeSignatureTemplate.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); this.xtraTabPage5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); this.panelControl2.ResumeLayout(false); this.panelControl2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.textEdit4.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chkSCloud.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textEdit3.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chkRCloud.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtServerIP.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtServerUserName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtServerPassword.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl2)).EndInit(); this.xtraTabControl2.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.gridColumn23 = new DevExpress.XtraGrid.Columns.GridColumn(); this.iNew = new DevExpress.XtraBars.BarButtonItem(); this.iNew2 = new DevExpress.XtraBars.BarButtonItem(); this.iNewR = new DevExpress.XtraBars.BarButtonItem(); this.iNewR2IB = new DevExpress.XtraBars.BarButtonItem(); this.iLoadStrategy = new DevExpress.XtraBars.BarButtonItem(); this.pmNew = new DevExpress.XtraBars.PopupMenu(this.components); this.pmNewR = new DevExpress.XtraBars.PopupMenu(this.components); this.ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl(); this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem(); this.barStaticItem2 = new DevExpress.XtraBars.BarStaticItem(); this.barStaticItem3 = new DevExpress.XtraBars.BarStaticItem(); this.btnSbobetGetInfo = new DevExpress.XtraBars.BarButtonItem(); this.lblSbobetCurrentCredit = new DevExpress.XtraBars.BarStaticItem(); this.lblSbobetTotalMatch = new DevExpress.XtraBars.BarStaticItem(); this.lblSbobetLastUpdate = new DevExpress.XtraBars.BarStaticItem(); this.barStaticItem7 = new DevExpress.XtraBars.BarStaticItem(); this.barStaticItem8 = new DevExpress.XtraBars.BarStaticItem(); this.barStaticItem9 = new DevExpress.XtraBars.BarStaticItem(); this.lblIbetCurrentCredit = new DevExpress.XtraBars.BarStaticItem(); this.lblIbetTotalMatch = new DevExpress.XtraBars.BarStaticItem(); this.lblIbetLastUpdate = new DevExpress.XtraBars.BarStaticItem(); this.btnIbetGetInfo = new DevExpress.XtraBars.BarButtonItem(); this.lblStatus = new DevExpress.XtraBars.BarStaticItem(); this.lblSameMatch = new DevExpress.XtraBars.BarStaticItem(); this.lblLastUpdate = new DevExpress.XtraBars.BarStaticItem(); this.btnStart = new DevExpress.XtraBars.BarButtonItem(); this.btnStop = new DevExpress.XtraBars.BarButtonItem(); this.btnClear = new DevExpress.XtraBars.BarButtonItem(); this.btnSnapShot = new DevExpress.XtraBars.BarButtonItem(); this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.rpgIbet = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.rpgSbobet = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup3 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup4 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup5 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPageMatches = new DevExpress.XtraTab.XtraTabPage(); this.grdSameMatch = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn21 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn22 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn18 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn(); this.xtraTabPageBetList1 = new DevExpress.XtraTab.XtraTabPage(); this.girdBetList1 = new DevExpress.XtraGrid.GridControl(); this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn33 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn24 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn25 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn28 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn29 = 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.xtraTabPageBetList2 = new DevExpress.XtraTab.XtraTabPage(); this.xtraTabControl2 = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPage4 = new DevExpress.XtraTab.XtraTabPage(); this.groupControl2 = new DevExpress.XtraEditors.GroupControl(); this.checkEdit2 = new DevExpress.XtraEditors.CheckEdit(); this.labelControl12 = new DevExpress.XtraEditors.LabelControl(); this.labelControl11 = new DevExpress.XtraEditors.LabelControl(); this.checkEdit18 = new DevExpress.XtraEditors.CheckEdit(); this.checkEdit17 = new DevExpress.XtraEditors.CheckEdit(); this.spinEdit4 = new DevExpress.XtraEditors.SpinEdit(); this.checkEdit1 = new DevExpress.XtraEditors.CheckEdit(); this.spinEdit3 = new DevExpress.XtraEditors.SpinEdit(); this.labelControl13 = new DevExpress.XtraEditors.LabelControl(); this.spinEdit2 = new DevExpress.XtraEditors.SpinEdit(); this.spinEdit1 = new DevExpress.XtraEditors.SpinEdit(); this.txtTransactionTimeSpan = new DevExpress.XtraEditors.SpinEdit(); this.labelControl10 = new DevExpress.XtraEditors.LabelControl(); this.txtMaxTimePerHalf = new DevExpress.XtraEditors.SpinEdit(); this.labelControl7 = new DevExpress.XtraEditors.LabelControl(); this.chbAllowHalftime = new DevExpress.XtraEditors.CheckEdit(); this.groupControl1 = new DevExpress.XtraEditors.GroupControl(); this.checkEdit15 = new DevExpress.XtraEditors.CheckEdit(); this.checkEdit14 = new DevExpress.XtraEditors.CheckEdit(); this.checkEdit13 = new DevExpress.XtraEditors.CheckEdit(); this.btnSetUpdateInterval = new DevExpress.XtraEditors.SimpleButton(); this.txtSBOBETUpdateInterval = new DevExpress.XtraEditors.SpinEdit(); this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); this.txtIBETUpdateInterval = new DevExpress.XtraEditors.SpinEdit(); this.labelControl4 = new DevExpress.XtraEditors.LabelControl(); this.groupControl5 = new DevExpress.XtraEditors.GroupControl(); this.chbHighRevenueBoost = new DevExpress.XtraEditors.CheckEdit(); this.txtAddValue = new DevExpress.XtraEditors.SpinEdit(); this.txtLowestOddValue = new DevExpress.XtraEditors.SpinEdit(); this.labelControl9 = new DevExpress.XtraEditors.LabelControl(); this.txtOddValueDifferenet = new DevExpress.XtraEditors.SpinEdit(); this.checkEdit6 = new DevExpress.XtraEditors.CheckEdit(); this.checkEdit5 = new DevExpress.XtraEditors.CheckEdit(); this.labelControl18 = new DevExpress.XtraEditors.LabelControl(); this.labelControl8 = new DevExpress.XtraEditors.LabelControl(); this.checkEdit7 = new DevExpress.XtraEditors.CheckEdit(); this.checkEdit12 = new DevExpress.XtraEditors.CheckEdit(); this.checkEdit11 = new DevExpress.XtraEditors.CheckEdit(); this.checkEdit10 = new DevExpress.XtraEditors.CheckEdit(); this.checkEdit9 = new DevExpress.XtraEditors.CheckEdit(); this.checkEdit8 = new DevExpress.XtraEditors.CheckEdit(); this.checkEdit4 = new DevExpress.XtraEditors.CheckEdit(); this.checkEdit3 = new DevExpress.XtraEditors.CheckEdit(); this.groupControl4 = new DevExpress.XtraEditors.GroupControl(); this.txtSBOBETFixedStake = new DevExpress.XtraEditors.SpinEdit(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.txtStake = new DevExpress.XtraEditors.MemoEdit(); this.chbRandomStake = new DevExpress.XtraEditors.CheckEdit(); this.txtIBETFixedStake = new DevExpress.XtraEditors.SpinEdit(); this.labelControl6 = new DevExpress.XtraEditors.LabelControl(); this.groupControl6 = new DevExpress.XtraEditors.GroupControl(); this.chkListAllowedMatch = new DevExpress.XtraEditors.CheckedListBoxControl(); this.xtraTabPage5 = new DevExpress.XtraTab.XtraTabPage(); this.grdTransaction = new DevExpress.XtraGrid.GridControl(); this.gridView2 = 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.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn5 = 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(); this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn20 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn(); this.panelControl5 = new DevExpress.XtraEditors.PanelControl(); this.panelControl4 = new DevExpress.XtraEditors.PanelControl(); this.label1 = new System.Windows.Forms.Label(); this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); this.panelControl3 = new DevExpress.XtraEditors.PanelControl(); this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.labelControl5 = new DevExpress.XtraEditors.LabelControl(); this.panelControl9 = new DevExpress.XtraEditors.PanelControl(); this.panelControl10 = new DevExpress.XtraEditors.PanelControl(); this.btnIBETGO2 = new DevExpress.XtraEditors.SimpleButton(); this.txtIBETAddress2 = new DevExpress.XtraEditors.TextEdit(); this.xtraTabPage9 = new DevExpress.XtraTab.XtraTabPage(); ((System.ComponentModel.ISupportInitialize)(this.pmNew)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pmNewR)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); this.xtraTabControl1.SuspendLayout(); this.xtraTabPageMatches.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdSameMatch)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); this.xtraTabPageBetList1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.girdBetList1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl2)).BeginInit(); this.xtraTabControl2.SuspendLayout(); this.xtraTabPage4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit(); this.groupControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit2.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit18.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit17.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEdit4.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEdit3.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEdit2.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtTransactionTimeSpan.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtMaxTimePerHalf.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chbAllowHalftime.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit(); this.groupControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit15.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit14.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit13.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtSBOBETUpdateInterval.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtIBETUpdateInterval.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl5)).BeginInit(); this.groupControl5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chbHighRevenueBoost.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtAddValue.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtLowestOddValue.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtOddValueDifferenet.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit6.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit5.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit7.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit12.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit11.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit10.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit9.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit8.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit4.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit3.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl4)).BeginInit(); this.groupControl4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtSBOBETFixedStake.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtStake.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chbRandomStake.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtIBETFixedStake.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl6)).BeginInit(); this.groupControl6.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chkListAllowedMatch)).BeginInit(); this.xtraTabPage5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdTransaction)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl10)).BeginInit(); this.panelControl10.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtIBETAddress2.Properties)).BeginInit(); this.xtraTabPage9.SuspendLayout(); this.SuspendLayout(); // // gridColumn23 // this.gridColumn23.Caption = "Kick Off"; this.gridColumn23.FieldName = "KickOffTime"; this.gridColumn23.Name = "gridColumn23"; this.gridColumn23.Visible = true; this.gridColumn23.VisibleIndex = 8; this.gridColumn23.Width = 150; // // iNew // this.iNew.Caption = "Open Website"; this.iNew.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f"); this.iNew.Description = "Open Website"; this.iNew.Enabled = false; this.iNew.Hint = "Open main web"; this.iNew.Id = 0; this.iNew.ImageIndex = 6; this.iNew.LargeImageIndex = 0; this.iNew.Name = "iNew"; this.iNew.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnViewIbetWeb); // // iNew2 // this.iNew2.Caption = "Open 2nd Website"; this.iNew2.CategoryGuid = new System.Guid("1b511317-d784-42ba-b4ed-0d2a746d6c1f"); this.iNew2.Description = "Open 2nd Website"; this.iNew2.Enabled = false; this.iNew2.Hint = "Open main web"; this.iNew2.Id = 0; this.iNew2.ImageIndex = 6; this.iNew2.LargeImageIndex = 0; this.iNew2.Name = "iNew2"; this.iNew2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnViewIbet2Web); // // iNewR // this.iNewR.Caption = "Open Website"; this.iNewR.CategoryGuid = new System.Guid("ab511317-d784-42ba-b4ed-0d2a746d6c1f"); this.iNewR.Description = "Open Website"; this.iNewR.Enabled = false; this.iNewR.Hint = "Open main web"; this.iNewR.Id = 0; this.iNewR.ImageIndex = 6; this.iNewR.LargeImageIndex = 0; this.iNewR.Name = "iNewR"; this.iNewR.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnViewSboWeb); // // iNewR2IB // this.iNewR2IB.Caption = "Login to 2nd IBET"; this.iNewR2IB.CategoryGuid = new System.Guid("ab511317-d784-42ba-b4ed-0d2a746d6c1f"); this.iNewR2IB.Description = "2nd IB"; this.iNewR2IB.Enabled = false; this.iNewR2IB.Hint = "2nd IB"; this.iNewR2IB.Id = 0; this.iNewR2IB.ImageIndex = 6; this.iNewR2IB.LargeImageIndex = 0; this.iNewR2IB.Name = "iNewR2IB"; this.iNewR2IB.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnLoginIbet2); // // iLoadStrategy // this.iLoadStrategy.Caption = "Load Strategy"; this.iLoadStrategy.Description = "Load Strategy"; this.iLoadStrategy.Enabled = false; this.iLoadStrategy.Hint = "Best Strategy"; this.iLoadStrategy.Id = 0; this.iLoadStrategy.ImageIndex = 6; this.iLoadStrategy.LargeImageIndex = 0; this.iLoadStrategy.Name = "iLoadStrategy"; this.iLoadStrategy.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnLoadStrategy); // // pmNew // this.pmNew.ItemLinks.Add(this.iNew); this.pmNew.ItemLinks.Add(this.iLoadStrategy); this.pmNew.ItemLinks.Add(this.iNewR2IB); this.pmNew.ItemLinks.Add(this.iNew2); this.pmNew.Name = "pmNew"; // // pmNewR // this.pmNewR.ItemLinks.Add(this.iNewR); this.pmNewR.Name = "pmNewR"; // // ribbonControl1 // this.ribbonControl1.ApplicationButtonText = null; // // // this.ribbonControl1.ExpandCollapseItem.Id = 0; this.ribbonControl1.ExpandCollapseItem.Name = ""; this.ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.ribbonControl1.ExpandCollapseItem, this.barStaticItem1, this.barStaticItem2, this.barStaticItem3, this.btnSbobetGetInfo, this.lblSbobetCurrentCredit, this.lblSbobetTotalMatch, this.lblSbobetLastUpdate, this.barStaticItem7, this.barStaticItem8, this.barStaticItem9, this.lblIbetCurrentCredit, this.lblIbetTotalMatch, this.lblIbetLastUpdate, this.btnIbetGetInfo, this.iNew, this.iNew2, this.iNewR, this.iNewR2IB, this.iLoadStrategy, this.lblStatus, this.lblSameMatch, this.lblLastUpdate, this.btnStart, this.btnStop, this.btnClear, this.btnSnapShot}); this.ribbonControl1.Location = new System.Drawing.Point(0, 0); this.ribbonControl1.MaxItemId = 23; this.ribbonControl1.Name = "ribbonControl1"; this.ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { this.ribbonPage1}); this.ribbonControl1.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.Office2010; this.ribbonControl1.SelectedPage = this.ribbonPage1; this.ribbonControl1.ShowCategoryInCaption = false; this.ribbonControl1.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False; this.ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide; this.ribbonControl1.ShowToolbarCustomizeItem = false; this.ribbonControl1.Size = new System.Drawing.Size(1130, 125); this.ribbonControl1.Toolbar.ShowCustomizeItem = false; // // barStaticItem1 // this.barStaticItem1.Caption = "Current Credit:"; this.barStaticItem1.Id = 1; this.barStaticItem1.Name = "barStaticItem1"; this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near; // // barStaticItem2 // this.barStaticItem2.Caption = "Total Match:"; this.barStaticItem2.Id = 2; this.barStaticItem2.Name = "barStaticItem2"; this.barStaticItem2.TextAlignment = System.Drawing.StringAlignment.Near; // // barStaticItem3 // this.barStaticItem3.Caption = "Last Update:"; this.barStaticItem3.Id = 3; this.barStaticItem3.Name = "barStaticItem3"; this.barStaticItem3.TextAlignment = System.Drawing.StringAlignment.Near; // // btnSbobetGetInfo // this.btnSbobetGetInfo.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.btnSbobetGetInfo.Caption = "Log In"; this.btnSbobetGetInfo.DropDownControl = this.pmNewR; this.btnSbobetGetInfo.Id = 4; this.btnSbobetGetInfo.LargeGlyph = global::iBet.App.Properties.Resources.i8; this.btnSbobetGetInfo.Name = "btnSbobetGetInfo"; this.btnSbobetGetInfo.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnSbobetGetInfo_ItemClick); // // lblSbobetCurrentCredit // this.lblSbobetCurrentCredit.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblSbobetCurrentCredit.Appearance.Options.UseFont = true; this.lblSbobetCurrentCredit.Caption = "-"; this.lblSbobetCurrentCredit.Id = 5; this.lblSbobetCurrentCredit.Name = "lblSbobetCurrentCredit"; this.lblSbobetCurrentCredit.TextAlignment = System.Drawing.StringAlignment.Far; this.lblSbobetCurrentCredit.Width = 135; // // lblSbobetTotalMatch // this.lblSbobetTotalMatch.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblSbobetTotalMatch.Appearance.Options.UseFont = true; this.lblSbobetTotalMatch.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None; this.lblSbobetTotalMatch.Caption = "-"; this.lblSbobetTotalMatch.Id = 6; this.lblSbobetTotalMatch.Name = "lblSbobetTotalMatch"; this.lblSbobetTotalMatch.TextAlignment = System.Drawing.StringAlignment.Far; this.lblSbobetTotalMatch.Width = 135; // // lblSbobetLastUpdate // this.lblSbobetLastUpdate.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblSbobetLastUpdate.Appearance.Options.UseFont = true; this.lblSbobetLastUpdate.Caption = "-"; this.lblSbobetLastUpdate.Id = 8; this.lblSbobetLastUpdate.Name = "lblSbobetLastUpdate"; this.lblSbobetLastUpdate.TextAlignment = System.Drawing.StringAlignment.Far; this.lblSbobetLastUpdate.Width = 135; // // barStaticItem7 // this.barStaticItem7.Caption = "Current Credit:"; this.barStaticItem7.Id = 9; this.barStaticItem7.Name = "barStaticItem7"; this.barStaticItem7.TextAlignment = System.Drawing.StringAlignment.Near; // // barStaticItem8 // this.barStaticItem8.Caption = "Total Match:"; this.barStaticItem8.Id = 10; this.barStaticItem8.Name = "barStaticItem8"; this.barStaticItem8.TextAlignment = System.Drawing.StringAlignment.Near; // // barStaticItem9 // this.barStaticItem9.Caption = "Last Update:"; this.barStaticItem9.Id = 11; this.barStaticItem9.Name = "barStaticItem9"; this.barStaticItem9.TextAlignment = System.Drawing.StringAlignment.Near; // // lblIbetCurrentCredit // this.lblIbetCurrentCredit.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblIbetCurrentCredit.Appearance.Options.UseFont = true; this.lblIbetCurrentCredit.Caption = "-"; this.lblIbetCurrentCredit.Id = 12; this.lblIbetCurrentCredit.Name = "lblIbetCurrentCredit"; this.lblIbetCurrentCredit.TextAlignment = System.Drawing.StringAlignment.Far; this.lblIbetCurrentCredit.Width = 135; // // lblIbetTotalMatch // this.lblIbetTotalMatch.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblIbetTotalMatch.Appearance.Options.UseFont = true; this.lblIbetTotalMatch.Caption = "-"; this.lblIbetTotalMatch.Id = 13; this.lblIbetTotalMatch.Name = "lblIbetTotalMatch"; this.lblIbetTotalMatch.TextAlignment = System.Drawing.StringAlignment.Far; this.lblIbetTotalMatch.Width = 135; // // lblIbetLastUpdate // this.lblIbetLastUpdate.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblIbetLastUpdate.Appearance.Options.UseFont = true; this.lblIbetLastUpdate.Caption = "-"; this.lblIbetLastUpdate.Id = 14; this.lblIbetLastUpdate.Name = "lblIbetLastUpdate"; this.lblIbetLastUpdate.TextAlignment = System.Drawing.StringAlignment.Far; this.lblIbetLastUpdate.Width = 135; // // btnIbetGetInfo // this.btnIbetGetInfo.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.btnIbetGetInfo.Caption = "Log In"; this.btnIbetGetInfo.DropDownControl = this.pmNew; this.btnIbetGetInfo.Id = 15; this.btnIbetGetInfo.LargeGlyph = global::iBet.App.Properties.Resources.i8; this.btnIbetGetInfo.Name = "btnIbetGetInfo"; this.btnIbetGetInfo.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem2_ItemClick); // // lblStatus // this.lblStatus.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblStatus.Appearance.Options.UseFont = true; this.lblStatus.Caption = "STOPPED"; this.lblStatus.Id = 16; this.lblStatus.Name = "lblStatus"; this.lblStatus.TextAlignment = System.Drawing.StringAlignment.Center; this.lblStatus.Width = 135; // // lblSameMatch // this.lblSameMatch.Caption = "Total Same Match: -"; this.lblSameMatch.Id = 17; this.lblSameMatch.Name = "lblSameMatch"; this.lblSameMatch.TextAlignment = System.Drawing.StringAlignment.Center; this.lblSameMatch.Width = 135; // // lblLastUpdate // this.lblLastUpdate.Caption = "-"; this.lblLastUpdate.Id = 18; this.lblLastUpdate.Name = "lblLastUpdate"; this.lblLastUpdate.TextAlignment = System.Drawing.StringAlignment.Center; this.lblLastUpdate.Width = 135; // // btnStart // this.btnStart.Caption = "Start"; this.btnStart.Enabled = false; this.btnStart.Id = 19; this.btnStart.LargeGlyph = global::iBet.App.Properties.Resources.i5; this.btnStart.Name = "btnStart"; this.btnStart.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnStart_ItemClick); // // btnStop // this.btnStop.Caption = "Stop"; this.btnStop.Enabled = false; this.btnStop.Id = 20; this.btnStop.LargeGlyph = global::iBet.App.Properties.Resources.i6; this.btnStop.Name = "btnStop"; this.btnStop.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnStop_ItemClick); // // btnClear // this.btnClear.Caption = "Clear"; this.btnClear.Enabled = false; this.btnClear.Id = 21; this.btnClear.LargeGlyph = global::iBet.App.Properties.Resources.i7; this.btnClear.Name = "btnClear"; this.btnClear.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnClear_ItemClick); // // btnSnapShot // this.btnSnapShot.Caption = "Snap Shot"; this.btnSnapShot.Enabled = false; this.btnSnapShot.Id = 21; this.btnSnapShot.LargeGlyph = global::iBet.App.Properties.Resources.i11; this.btnSnapShot.Name = "btnSnapShot"; this.btnSnapShot.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnSnapShot_ItemClick); // // ribbonPage1 // this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.rpgIbet, this.rpgSbobet, this.ribbonPageGroup3, this.ribbonPageGroup4, this.ribbonPageGroup5}); this.ribbonPage1.Name = "ribbonPage1"; this.ribbonPage1.Text = "ribbonPage1"; // // rpgIbet // this.rpgIbet.ItemLinks.Add(this.barStaticItem7); this.rpgIbet.ItemLinks.Add(this.barStaticItem8); this.rpgIbet.ItemLinks.Add(this.barStaticItem9); this.rpgIbet.ItemLinks.Add(this.lblIbetCurrentCredit); this.rpgIbet.ItemLinks.Add(this.lblIbetTotalMatch); this.rpgIbet.ItemLinks.Add(this.lblIbetLastUpdate); this.rpgIbet.ItemLinks.Add(this.btnIbetGetInfo); this.rpgIbet.Name = "rpgIbet"; this.rpgIbet.ShowCaptionButton = false; this.rpgIbet.Text = "IBET"; // // rpgSbobet // this.rpgSbobet.ItemLinks.Add(this.barStaticItem1); this.rpgSbobet.ItemLinks.Add(this.barStaticItem2); this.rpgSbobet.ItemLinks.Add(this.barStaticItem3); this.rpgSbobet.ItemLinks.Add(this.lblSbobetCurrentCredit); this.rpgSbobet.ItemLinks.Add(this.lblSbobetTotalMatch); this.rpgSbobet.ItemLinks.Add(this.lblSbobetLastUpdate); this.rpgSbobet.ItemLinks.Add(this.btnSbobetGetInfo); this.rpgSbobet.Name = "rpgSbobet"; this.rpgSbobet.ShowCaptionButton = false; this.rpgSbobet.Text = "SBOBET"; // // ribbonPageGroup3 // this.ribbonPageGroup3.ItemLinks.Add(this.lblStatus); this.ribbonPageGroup3.ItemLinks.Add(this.lblSameMatch); this.ribbonPageGroup3.ItemLinks.Add(this.lblLastUpdate); this.ribbonPageGroup3.ItemLinks.Add(this.btnStart); this.ribbonPageGroup3.ItemLinks.Add(this.btnStop); this.ribbonPageGroup3.Name = "ribbonPageGroup3"; this.ribbonPageGroup3.ShowCaptionButton = false; this.ribbonPageGroup3.Text = "Status"; // // ribbonPageGroup4 // this.ribbonPageGroup4.ItemLinks.Add(this.btnClear); this.ribbonPageGroup4.Name = "ribbonPageGroup4"; this.ribbonPageGroup4.ShowCaptionButton = false; this.ribbonPageGroup4.Text = "Transaction"; // // ribbonPageGroup5 // this.ribbonPageGroup5.ItemLinks.Add(this.btnSnapShot); this.ribbonPageGroup5.Name = "ribbonPageGroup5"; this.ribbonPageGroup5.ShowCaptionButton = false; this.ribbonPageGroup5.Text = "Match Data"; // // splitContainerControl1 // this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerControl1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2; this.splitContainerControl1.Horizontal = false; this.splitContainerControl1.Location = new System.Drawing.Point(0, 125); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.xtraTabControl1); this.splitContainerControl1.Panel1.Text = "Panel1"; this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControl2); this.splitContainerControl1.Panel2.Text = "Panel2"; this.splitContainerControl1.Size = new System.Drawing.Size(1130, 553); this.splitContainerControl1.SplitterPosition = 275; this.splitContainerControl1.TabIndex = 1; this.splitContainerControl1.Text = "splitContainerControl1"; // // xtraTabControl1 // 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.xtraTabPageMatches; this.xtraTabControl1.Size = new System.Drawing.Size(1130, 273); this.xtraTabControl1.TabIndex = 0; this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPageMatches, this.xtraTabPageBetList1, this.xtraTabPageBetList2}); // // xtraTabPageMatches // this.xtraTabPageMatches.Controls.Add(this.grdSameMatch); this.xtraTabPageMatches.Name = "xtraTabPageMatches"; this.xtraTabPageMatches.Size = new System.Drawing.Size(1124, 247); this.xtraTabPageMatches.Text = "Live Match"; // // grdSameMatch // this.grdSameMatch.Dock = System.Windows.Forms.DockStyle.Fill; this.grdSameMatch.Location = new System.Drawing.Point(0, 0); this.grdSameMatch.MainView = this.gridView1; this.grdSameMatch.Name = "grdSameMatch"; this.grdSameMatch.Size = new System.Drawing.Size(1124, 247); this.grdSameMatch.TabIndex = 3; this.grdSameMatch.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1}); // // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn15, this.gridColumn16, this.gridColumn21, this.gridColumn22, this.gridColumn14, this.gridColumn17, this.gridColumn18, this.gridColumn19, this.gridColumn23}); this.gridView1.GridControl = this.grdSameMatch; this.gridView1.Name = "gridView1"; this.gridView1.OptionsBehavior.Editable = false; this.gridView1.OptionsCustomization.AllowGroup = false; this.gridView1.OptionsDetail.AllowZoomDetail = false; this.gridView1.OptionsDetail.EnableMasterViewMode = false; this.gridView1.OptionsDetail.ShowDetailTabs = false; this.gridView1.OptionsDetail.SmartDetailExpand = false; this.gridView1.OptionsView.ShowAutoFilterRow = true; this.gridView1.OptionsView.ShowGroupPanel = false; this.gridView1.OptionsView.ShowPreview = true; this.gridView1.PreviewFieldName = "LeagueName"; this.gridView1.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gridColumn23, DevExpress.Data.ColumnSortOrder.Ascending)}); this.gridView1.RowCellStyle += new DevExpress.XtraGrid.Views.Grid.RowCellStyleEventHandler(this.gridView1_RowCellStyle); // // gridColumn15 // this.gridColumn15.Caption = "Home Team"; this.gridColumn15.FieldName = "HomeTeamName"; this.gridColumn15.Name = "gridColumn15"; this.gridColumn15.Visible = true; this.gridColumn15.VisibleIndex = 0; this.gridColumn15.Width = 367; // // gridColumn16 // this.gridColumn16.Caption = "Away Team"; this.gridColumn16.FieldName = "AwayTeamName"; this.gridColumn16.Name = "gridColumn16"; this.gridColumn16.Visible = true; this.gridColumn16.VisibleIndex = 1; this.gridColumn16.Width = 368; // // gridColumn21 // this.gridColumn21.Caption = "HScore"; this.gridColumn21.FieldName = "HomeScore"; this.gridColumn21.Name = "gridColumn21"; this.gridColumn21.Visible = true; this.gridColumn21.VisibleIndex = 2; // // gridColumn22 // this.gridColumn22.Caption = "AScore"; this.gridColumn22.FieldName = "AwayScore"; this.gridColumn22.Name = "gridColumn22"; this.gridColumn22.Visible = true; this.gridColumn22.VisibleIndex = 3; // // gridColumn14 // this.gridColumn14.Caption = "Odd Count"; this.gridColumn14.FieldName = "OddCount"; this.gridColumn14.Name = "gridColumn14"; this.gridColumn14.OptionsColumn.FixedWidth = true; this.gridColumn14.Visible = true; this.gridColumn14.VisibleIndex = 4; this.gridColumn14.Width = 70; // // gridColumn17 // this.gridColumn17.Caption = "Half"; this.gridColumn17.FieldName = "Half"; this.gridColumn17.Name = "gridColumn17"; this.gridColumn17.OptionsColumn.FixedWidth = true; this.gridColumn17.Visible = true; this.gridColumn17.VisibleIndex = 5; this.gridColumn17.Width = 40; // // gridColumn18 // this.gridColumn18.Caption = "Min"; this.gridColumn18.FieldName = "Minute"; this.gridColumn18.Name = "gridColumn18"; this.gridColumn18.OptionsColumn.FixedWidth = true; this.gridColumn18.SortMode = DevExpress.XtraGrid.ColumnSortMode.Value; this.gridColumn18.Visible = true; this.gridColumn18.VisibleIndex = 6; this.gridColumn18.Width = 40; // // gridColumn19 // this.gridColumn19.Caption = "HT"; this.gridColumn19.FieldName = "IsHalfTime"; this.gridColumn19.Name = "gridColumn19"; this.gridColumn19.OptionsColumn.FixedWidth = true; this.gridColumn19.UnboundType = DevExpress.Data.UnboundColumnType.Boolean; this.gridColumn19.Visible = true; this.gridColumn19.VisibleIndex = 7; this.gridColumn19.Width = 40; // // xtraTabPageBetList1 // this.xtraTabPageBetList1.Controls.Add(this.girdBetList1); this.xtraTabPageBetList1.Name = "xtraTabPageBetList1"; this.xtraTabPageBetList1.Size = new System.Drawing.Size(1124, 247); this.xtraTabPageBetList1.Text = "Bet List 1"; // // girdBetList1 // this.girdBetList1.Dock = System.Windows.Forms.DockStyle.Fill; this.girdBetList1.Location = new System.Drawing.Point(0, 0); this.girdBetList1.MainView = this.gridView3; this.girdBetList1.Name = "girdBetList1"; this.girdBetList1.Size = new System.Drawing.Size(1124, 247); this.girdBetList1.TabIndex = 4; this.girdBetList1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView3}); // // gridView3 // this.gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn33, this.gridColumn24, this.gridColumn25, this.gridColumn28, this.gridColumn29, this.gridColumn30, this.gridColumn31, this.gridColumn32}); this.gridView3.GridControl = this.girdBetList1; this.gridView3.Name = "gridView3"; this.gridView3.OptionsBehavior.Editable = false; this.gridView3.OptionsCustomization.AllowGroup = false; this.gridView3.OptionsDetail.AllowZoomDetail = false; this.gridView3.OptionsDetail.EnableMasterViewMode = false; this.gridView3.OptionsDetail.ShowDetailTabs = false; this.gridView3.OptionsDetail.SmartDetailExpand = false; this.gridView3.OptionsView.ShowAutoFilterRow = true; this.gridView3.OptionsView.ShowGroupPanel = false; this.gridView3.OptionsView.ShowPreview = true; this.gridView3.PreviewFieldName = "LeagueName"; this.gridView3.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gridColumn32, DevExpress.Data.ColumnSortOrder.Ascending)}); // // gridColumn33 // this.gridColumn33.Caption = "RefID"; this.gridColumn33.FieldName = "ID"; this.gridColumn33.Name = "gridColumn33"; this.gridColumn33.Visible = true; this.gridColumn33.VisibleIndex = 0; this.gridColumn33.Width = 69; // // gridColumn24 // this.gridColumn24.Caption = "Home Team"; this.gridColumn24.FieldName = "Home"; this.gridColumn24.Name = "gridColumn24"; this.gridColumn24.Visible = true; this.gridColumn24.VisibleIndex = 1; this.gridColumn24.Width = 300; // // gridColumn25 // this.gridColumn25.Caption = "Away Team"; this.gridColumn25.FieldName = "Away"; this.gridColumn25.Name = "gridColumn25"; this.gridColumn25.Visible = true; this.gridColumn25.VisibleIndex = 2; this.gridColumn25.Width = 300; // // gridColumn28 // this.gridColumn28.Caption = "Choose"; this.gridColumn28.FieldName = "Choice"; this.gridColumn28.Name = "gridColumn28"; this.gridColumn28.OptionsColumn.FixedWidth = true; this.gridColumn28.Visible = true; this.gridColumn28.VisibleIndex = 3; this.gridColumn28.Width = 70; // // gridColumn29 // this.gridColumn29.Caption = "Odd"; this.gridColumn29.FieldName = "Handicap"; this.gridColumn29.Name = "gridColumn29"; this.gridColumn29.OptionsColumn.FixedWidth = true; this.gridColumn29.Visible = true; this.gridColumn29.VisibleIndex = 4; this.gridColumn29.Width = 40; // // gridColumn30 // this.gridColumn30.Caption = "Odd Value"; this.gridColumn30.FieldName = "OddsValue"; this.gridColumn30.Name = "gridColumn30"; this.gridColumn30.OptionsColumn.FixedWidth = true; this.gridColumn30.SortMode = DevExpress.XtraGrid.ColumnSortMode.Value; this.gridColumn30.Visible = true; this.gridColumn30.VisibleIndex = 5; this.gridColumn30.Width = 60; // // gridColumn31 // this.gridColumn31.Caption = "Stake"; this.gridColumn31.FieldName = "Stake"; this.gridColumn31.Name = "gridColumn31"; this.gridColumn31.OptionsColumn.FixedWidth = true; this.gridColumn31.UnboundType = DevExpress.Data.UnboundColumnType.String; this.gridColumn31.Visible = true; this.gridColumn31.VisibleIndex = 6; this.gridColumn31.Width = 40; // // gridColumn32 // this.gridColumn32.Caption = "Bet Time"; this.gridColumn32.FieldName = "BetTime"; this.gridColumn32.Name = "gridColumn32"; this.gridColumn32.Visible = true; this.gridColumn32.VisibleIndex = 7; this.gridColumn32.Width = 227; // // xtraTabPageBetList2 // this.xtraTabPageBetList2.Name = "xtraTabPageBetList2"; this.xtraTabPageBetList2.Size = new System.Drawing.Size(1124, 247); this.xtraTabPageBetList2.Text = "Bet List 2"; // // xtraTabControl2 // this.xtraTabControl2.Appearance.BackColor = System.Drawing.Color.Transparent; this.xtraTabControl2.Appearance.Options.UseBackColor = true; this.xtraTabControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.xtraTabControl2.Location = new System.Drawing.Point(0, 0); this.xtraTabControl2.Name = "xtraTabControl2"; this.xtraTabControl2.SelectedTabPage = this.xtraTabPage4; this.xtraTabControl2.Size = new System.Drawing.Size(1130, 275); this.xtraTabControl2.TabIndex = 1; this.xtraTabControl2.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPage4, this.xtraTabPage5}); // // xtraTabPage4 // this.xtraTabPage4.Controls.Add(this.groupControl2); this.xtraTabPage4.Controls.Add(this.groupControl1); this.xtraTabPage4.Controls.Add(this.groupControl5); this.xtraTabPage4.Controls.Add(this.groupControl4); this.xtraTabPage4.Controls.Add(this.groupControl6); this.xtraTabPage4.Name = "xtraTabPage4"; this.xtraTabPage4.Size = new System.Drawing.Size(1124, 249); this.xtraTabPage4.Text = "Settings"; // // groupControl2 // this.groupControl2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupControl2.Controls.Add(this.checkEdit2); this.groupControl2.Controls.Add(this.labelControl12); this.groupControl2.Controls.Add(this.labelControl11); this.groupControl2.Controls.Add(this.checkEdit18); this.groupControl2.Controls.Add(this.checkEdit17); this.groupControl2.Controls.Add(this.spinEdit4); this.groupControl2.Controls.Add(this.checkEdit1); this.groupControl2.Controls.Add(this.spinEdit3); this.groupControl2.Controls.Add(this.labelControl13); this.groupControl2.Controls.Add(this.spinEdit2); this.groupControl2.Controls.Add(this.spinEdit1); this.groupControl2.Controls.Add(this.txtTransactionTimeSpan); this.groupControl2.Controls.Add(this.labelControl10); this.groupControl2.Controls.Add(this.txtMaxTimePerHalf); this.groupControl2.Controls.Add(this.labelControl7); this.groupControl2.Controls.Add(this.chbAllowHalftime); this.groupControl2.Location = new System.Drawing.Point(209, 3); this.groupControl2.Name = "groupControl2"; this.groupControl2.Size = new System.Drawing.Size(200, 243); this.groupControl2.TabIndex = 14; this.groupControl2.Text = "Time Settings"; // // checkEdit2 // this.checkEdit2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.checkEdit2.Location = new System.Drawing.Point(135, 191); this.checkEdit2.Name = "checkEdit2"; this.checkEdit2.Properties.Caption = "O/U"; this.checkEdit2.Size = new System.Drawing.Size(60, 19); this.checkEdit2.TabIndex = 24; this.checkEdit2.CheckedChanged += new System.EventHandler(this.checkEdit2_CheckedChanged); // // labelControl12 // this.labelControl12.Location = new System.Drawing.Point(7, 140); this.labelControl12.Name = "labelControl12"; this.labelControl12.Size = new System.Drawing.Size(56, 13); this.labelControl12.TabIndex = 23; this.labelControl12.Text = "Flush Half 2"; // // labelControl11 // this.labelControl11.Location = new System.Drawing.Point(7, 112); this.labelControl11.Name = "labelControl11"; this.labelControl11.Size = new System.Drawing.Size(56, 13); this.labelControl11.TabIndex = 22; this.labelControl11.Text = "Flush Half 1"; // // checkEdit18 // this.checkEdit18.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.checkEdit18.EditValue = true; this.checkEdit18.Location = new System.Drawing.Point(69, 191); this.checkEdit18.Name = "checkEdit18"; this.checkEdit18.Properties.Caption = "Half 2"; this.checkEdit18.Size = new System.Drawing.Size(60, 19); this.checkEdit18.TabIndex = 21; // // checkEdit17 // this.checkEdit17.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.checkEdit17.EditValue = true; this.checkEdit17.Location = new System.Drawing.Point(5, 191); this.checkEdit17.Name = "checkEdit17"; this.checkEdit17.Properties.Caption = "Half 1"; this.checkEdit17.Size = new System.Drawing.Size(58, 19); this.checkEdit17.TabIndex = 20; // // spinEdit4 // this.spinEdit4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.spinEdit4.EditValue = new decimal(new int[] { 2, 0, 0, 131072}); this.spinEdit4.Location = new System.Drawing.Point(85, 166); this.spinEdit4.Name = "spinEdit4"; this.spinEdit4.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.spinEdit4.Properties.Increment = new decimal(new int[] { 1, 0, 0, 131072}); this.spinEdit4.Size = new System.Drawing.Size(52, 20); this.spinEdit4.TabIndex = 17; // // checkEdit1 // this.checkEdit1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.checkEdit1.EditValue = true; this.checkEdit1.Location = new System.Drawing.Point(5, 166); this.checkEdit1.Name = "checkEdit1"; this.checkEdit1.Properties.Caption = "Take Profit"; this.checkEdit1.Size = new System.Drawing.Size(77, 19); this.checkEdit1.TabIndex = 16; // // spinEdit3 // this.spinEdit3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.spinEdit3.EditValue = new decimal(new int[] { 15, 0, 0, 131072}); this.spinEdit3.Location = new System.Drawing.Point(143, 166); this.spinEdit3.Name = "spinEdit3"; this.spinEdit3.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.spinEdit3.Properties.Increment = new decimal(new int[] { 1, 0, 0, -2147352576}); this.spinEdit3.Properties.MinValue = new decimal(new int[] { 2, 0, 0, -2147352576}); this.spinEdit3.Size = new System.Drawing.Size(52, 20); this.spinEdit3.TabIndex = 15; // // labelControl13 // this.labelControl13.Location = new System.Drawing.Point(5, 169); this.labelControl13.Name = "labelControl13"; this.labelControl13.Size = new System.Drawing.Size(0, 13); this.labelControl13.TabIndex = 14; // // spinEdit2 // this.spinEdit2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.spinEdit2.EditValue = new decimal(new int[] { 32, 0, 0, 0}); this.spinEdit2.Location = new System.Drawing.Point(123, 137); this.spinEdit2.Name = "spinEdit2"; this.spinEdit2.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.spinEdit2.Properties.IsFloatValue = false; this.spinEdit2.Properties.Mask.EditMask = "N00"; this.spinEdit2.Size = new System.Drawing.Size(72, 20); this.spinEdit2.TabIndex = 13; // // spinEdit1 // this.spinEdit1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.spinEdit1.EditValue = new decimal(new int[] { 32, 0, 0, 0}); this.spinEdit1.Location = new System.Drawing.Point(123, 109); this.spinEdit1.Name = "spinEdit1"; this.spinEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.spinEdit1.Properties.IsFloatValue = false; this.spinEdit1.Properties.Mask.EditMask = "N00"; this.spinEdit1.Size = new System.Drawing.Size(72, 20); this.spinEdit1.TabIndex = 11; // // txtTransactionTimeSpan // this.txtTransactionTimeSpan.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtTransactionTimeSpan.EditValue = new decimal(new int[] { 10, 0, 0, 0}); this.txtTransactionTimeSpan.Location = new System.Drawing.Point(123, 80); this.txtTransactionTimeSpan.Name = "txtTransactionTimeSpan"; this.txtTransactionTimeSpan.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.txtTransactionTimeSpan.Properties.IsFloatValue = false; this.txtTransactionTimeSpan.Properties.Mask.EditMask = "N00"; this.txtTransactionTimeSpan.Size = new System.Drawing.Size(72, 20); this.txtTransactionTimeSpan.TabIndex = 9; // // labelControl10 // this.labelControl10.Location = new System.Drawing.Point(5, 81); this.labelControl10.Name = "labelControl10"; this.labelControl10.Size = new System.Drawing.Size(112, 13); this.labelControl10.TabIndex = 8; this.labelControl10.Text = "Transaction Time Span:"; // // txtMaxTimePerHalf // this.txtMaxTimePerHalf.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtMaxTimePerHalf.EditValue = new decimal(new int[] { 40, 0, 0, 0}); this.txtMaxTimePerHalf.Location = new System.Drawing.Point(123, 50); this.txtMaxTimePerHalf.Name = "txtMaxTimePerHalf"; this.txtMaxTimePerHalf.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.txtMaxTimePerHalf.Properties.IsFloatValue = false; this.txtMaxTimePerHalf.Properties.Mask.EditMask = "N00"; this.txtMaxTimePerHalf.Size = new System.Drawing.Size(72, 20); this.txtMaxTimePerHalf.TabIndex = 7; // // labelControl7 // this.labelControl7.Location = new System.Drawing.Point(5, 53); this.labelControl7.Name = "labelControl7"; this.labelControl7.Size = new System.Drawing.Size(90, 13); this.labelControl7.TabIndex = 6; this.labelControl7.Text = "Max Time Per Half:"; // // chbAllowHalftime // this.chbAllowHalftime.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.chbAllowHalftime.EditValue = true; this.chbAllowHalftime.Location = new System.Drawing.Point(5, 26); this.chbAllowHalftime.Name = "chbAllowHalftime"; this.chbAllowHalftime.Properties.Caption = "Allow Halftime"; this.chbAllowHalftime.Size = new System.Drawing.Size(102, 19); this.chbAllowHalftime.TabIndex = 5; // // groupControl1 // this.groupControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupControl1.Controls.Add(this.checkEdit15); this.groupControl1.Controls.Add(this.checkEdit14); this.groupControl1.Controls.Add(this.checkEdit13); this.groupControl1.Controls.Add(this.btnSetUpdateInterval); this.groupControl1.Controls.Add(this.txtSBOBETUpdateInterval); this.groupControl1.Controls.Add(this.labelControl3); this.groupControl1.Controls.Add(this.txtIBETUpdateInterval); this.groupControl1.Controls.Add(this.labelControl4); this.groupControl1.Location = new System.Drawing.Point(415, 3); this.groupControl1.Name = "groupControl1"; this.groupControl1.Size = new System.Drawing.Size(200, 243); this.groupControl1.TabIndex = 13; this.groupControl1.Text = "Data Settings"; // // checkEdit15 // this.checkEdit15.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.checkEdit15.Location = new System.Drawing.Point(5, 151); this.checkEdit15.Name = "checkEdit15"; this.checkEdit15.Properties.Caption = "Scanner mode: Pure odd sms"; this.checkEdit15.Size = new System.Drawing.Size(190, 19); this.checkEdit15.TabIndex = 30; // // checkEdit14 // this.checkEdit14.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.checkEdit14.EditValue = true; this.checkEdit14.Location = new System.Drawing.Point(5, 128); this.checkEdit14.Name = "checkEdit14"; this.checkEdit14.Properties.Caption = "Receive odd from community"; this.checkEdit14.Size = new System.Drawing.Size(190, 19); this.checkEdit14.TabIndex = 29; // // checkEdit13 // this.checkEdit13.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.checkEdit13.EditValue = true; this.checkEdit13.Location = new System.Drawing.Point(5, 104); this.checkEdit13.Name = "checkEdit13"; this.checkEdit13.Properties.Caption = "Submit odd to community"; this.checkEdit13.Size = new System.Drawing.Size(190, 19); this.checkEdit13.TabIndex = 28; // // btnSetUpdateInterval // this.btnSetUpdateInterval.Location = new System.Drawing.Point(59, 77); this.btnSetUpdateInterval.Name = "btnSetUpdateInterval"; this.btnSetUpdateInterval.Size = new System.Drawing.Size(136, 23); this.btnSetUpdateInterval.TabIndex = 6; this.btnSetUpdateInterval.Text = "Set Update Interval"; this.btnSetUpdateInterval.Click += new System.EventHandler(this.btnSetUpdateInterval_Click); // // txtSBOBETUpdateInterval // this.txtSBOBETUpdateInterval.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtSBOBETUpdateInterval.EditValue = new decimal(new int[] { 12, 0, 0, 0}); this.txtSBOBETUpdateInterval.Location = new System.Drawing.Point(132, 51); this.txtSBOBETUpdateInterval.Name = "txtSBOBETUpdateInterval"; this.txtSBOBETUpdateInterval.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.txtSBOBETUpdateInterval.Properties.IsFloatValue = false; this.txtSBOBETUpdateInterval.Properties.Mask.EditMask = "N00"; this.txtSBOBETUpdateInterval.Size = new System.Drawing.Size(63, 20); this.txtSBOBETUpdateInterval.TabIndex = 5; this.txtSBOBETUpdateInterval.EditValueChanged += new System.EventHandler(this.txtSBOBETUpdateInterval_EditValueChanged); // // labelControl3 // this.labelControl3.Location = new System.Drawing.Point(5, 54); this.labelControl3.Name = "labelControl3"; this.labelControl3.Size = new System.Drawing.Size(121, 13); this.labelControl3.TabIndex = 4; this.labelControl3.Text = "SBOBET Update Interval:"; // // txtIBETUpdateInterval // this.txtIBETUpdateInterval.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtIBETUpdateInterval.EditValue = new decimal(new int[] { 12, 0, 0, 0}); this.txtIBETUpdateInterval.Location = new System.Drawing.Point(132, 25); this.txtIBETUpdateInterval.Name = "txtIBETUpdateInterval"; this.txtIBETUpdateInterval.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.txtIBETUpdateInterval.Properties.IsFloatValue = false; this.txtIBETUpdateInterval.Properties.Mask.EditMask = "N00"; this.txtIBETUpdateInterval.Size = new System.Drawing.Size(63, 20); this.txtIBETUpdateInterval.TabIndex = 1; this.txtIBETUpdateInterval.EditValueChanged += new System.EventHandler(this.txtIBETUpdateInterval_EditValueChanged); // // labelControl4 // this.labelControl4.Location = new System.Drawing.Point(5, 28); this.labelControl4.Name = "labelControl4"; this.labelControl4.Size = new System.Drawing.Size(105, 13); this.labelControl4.TabIndex = 0; this.labelControl4.Text = "IBET Update Interval:"; // // groupControl5 // this.groupControl5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupControl5.Controls.Add(this.chbHighRevenueBoost); this.groupControl5.Controls.Add(this.txtAddValue); this.groupControl5.Controls.Add(this.txtLowestOddValue); this.groupControl5.Controls.Add(this.labelControl9); this.groupControl5.Controls.Add(this.txtOddValueDifferenet); this.groupControl5.Controls.Add(this.checkEdit6); this.groupControl5.Controls.Add(this.checkEdit5); this.groupControl5.Controls.Add(this.labelControl18); this.groupControl5.Controls.Add(this.labelControl8); this.groupControl5.Controls.Add(this.checkEdit7); this.groupControl5.Controls.Add(this.checkEdit12); this.groupControl5.Controls.Add(this.checkEdit11); this.groupControl5.Controls.Add(this.checkEdit10); this.groupControl5.Controls.Add(this.checkEdit9); this.groupControl5.Controls.Add(this.checkEdit8); this.groupControl5.Controls.Add(this.checkEdit4); this.groupControl5.Controls.Add(this.checkEdit3); this.groupControl5.Location = new System.Drawing.Point(3, 3); this.groupControl5.Name = "groupControl5"; this.groupControl5.Size = new System.Drawing.Size(200, 243); this.groupControl5.TabIndex = 13; this.groupControl5.Text = "Trading Settings"; // // chbHighRevenueBoost // this.chbHighRevenueBoost.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.chbHighRevenueBoost.Location = new System.Drawing.Point(5, 172); this.chbHighRevenueBoost.Name = "chbHighRevenueBoost"; this.chbHighRevenueBoost.Properties.Caption = "Top Class"; this.chbHighRevenueBoost.Size = new System.Drawing.Size(90, 19); this.chbHighRevenueBoost.TabIndex = 13; // // txtAddValue // this.txtAddValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtAddValue.EditValue = new decimal(new int[] { 4, 0, 0, 0}); this.txtAddValue.Location = new System.Drawing.Point(110, 148); this.txtAddValue.Name = "txtAddValue"; this.txtAddValue.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.txtAddValue.Size = new System.Drawing.Size(85, 20); this.txtAddValue.TabIndex = 22; // // txtLowestOddValue // this.txtLowestOddValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtLowestOddValue.EditValue = new decimal(new int[] { 5, 0, 0, 65536}); this.txtLowestOddValue.Location = new System.Drawing.Point(110, 121); this.txtLowestOddValue.Name = "txtLowestOddValue"; this.txtLowestOddValue.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.txtLowestOddValue.Properties.Increment = new decimal(new int[] { 1, 0, 0, 65536}); this.txtLowestOddValue.Properties.MaxValue = new decimal(new int[] { 1, 0, 0, 131072}); this.txtLowestOddValue.Properties.MinValue = new decimal(new int[] { 1, 0, 0, 131072}); this.txtLowestOddValue.Size = new System.Drawing.Size(85, 20); this.txtLowestOddValue.TabIndex = 12; // // labelControl9 // this.labelControl9.Location = new System.Drawing.Point(5, 123); this.labelControl9.Name = "labelControl9"; this.labelControl9.Size = new System.Drawing.Size(90, 13); this.labelControl9.TabIndex = 11; this.labelControl9.Text = "Lowest Odd Value:"; // // txtOddValueDifferenet // this.txtOddValueDifferenet.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtOddValueDifferenet.EditValue = new decimal(new int[] { 1, 0, 0, -2147352576}); this.txtOddValueDifferenet.Location = new System.Drawing.Point(110, 94); this.txtOddValueDifferenet.Name = "txtOddValueDifferenet"; this.txtOddValueDifferenet.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.txtOddValueDifferenet.Properties.Increment = new decimal(new int[] { 1, 0, 0, -2147352576}); this.txtOddValueDifferenet.Properties.MinValue = new decimal(new int[] { 2, 0, 0, -2147352576}); this.txtOddValueDifferenet.Size = new System.Drawing.Size(85, 20); this.txtOddValueDifferenet.TabIndex = 10; // // checkEdit6 // this.checkEdit6.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.checkEdit6.EditValue = true; this.checkEdit6.Location = new System.Drawing.Point(108, 51); this.checkEdit6.Name = "checkEdit6"; this.checkEdit6.Properties.Caption = "Non-Live"; this.checkEdit6.Size = new System.Drawing.Size(77, 19); this.checkEdit6.TabIndex = 8; // // checkEdit5 // this.checkEdit5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.checkEdit5.EditValue = true; this.checkEdit5.Location = new System.Drawing.Point(5, 72); this.checkEdit5.Name = "checkEdit5"; this.checkEdit5.Properties.Caption = "Live"; this.checkEdit5.Size = new System.Drawing.Size(52, 19); this.checkEdit5.TabIndex = 7; // // labelControl18 // this.labelControl18.Location = new System.Drawing.Point(5, 150); this.labelControl18.Name = "labelControl18"; this.labelControl18.Size = new System.Drawing.Size(95, 13); this.labelControl18.TabIndex = 29; this.labelControl18.Text = "Min of |Won-Lose|: "; // // labelControl8 // this.labelControl8.Location = new System.Drawing.Point(5, 97); this.labelControl8.Name = "labelControl8"; this.labelControl8.Size = new System.Drawing.Size(99, 13); this.labelControl8.TabIndex = 9; this.labelControl8.Text = "Odd Value Different:"; // // checkEdit7 // this.checkEdit7.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.checkEdit7.Location = new System.Drawing.Point(108, 221); this.checkEdit7.Name = "checkEdit7"; this.checkEdit7.Properties.Caption = "Over 92/90"; this.checkEdit7.Size = new System.Drawing.Size(83, 19); this.checkEdit7.TabIndex = 9; // // checkEdit12 // this.checkEdit12.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.checkEdit12.Location = new System.Drawing.Point(108, 196); this.checkEdit12.Name = "checkEdit12"; this.checkEdit12.Properties.Caption = "Under Equal"; this.checkEdit12.Size = new System.Drawing.Size(83, 19); this.checkEdit12.TabIndex = 23; // // checkEdit11 // this.checkEdit11.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.checkEdit11.Location = new System.Drawing.Point(5, 221); this.checkEdit11.Name = "checkEdit11"; this.checkEdit11.Properties.Caption = "Over 1.75"; this.checkEdit11.Size = new System.Drawing.Size(95, 19); this.checkEdit11.TabIndex = 19; // // checkEdit10 // this.checkEdit10.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.checkEdit10.Location = new System.Drawing.Point(5, 47); this.checkEdit10.Name = "checkEdit10"; this.checkEdit10.Properties.Caption = "Matches List"; this.checkEdit10.Size = new System.Drawing.Size(90, 19); this.checkEdit10.TabIndex = 19; // // checkEdit9 // this.checkEdit9.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.checkEdit9.Location = new System.Drawing.Point(108, 172); this.checkEdit9.Name = "checkEdit9"; this.checkEdit9.Properties.Caption = "Odd Down"; this.checkEdit9.Size = new System.Drawing.Size(76, 19); this.checkEdit9.TabIndex = 19; // // checkEdit8 // this.checkEdit8.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.checkEdit8.Location = new System.Drawing.Point(5, 196); this.checkEdit8.Name = "checkEdit8"; this.checkEdit8.Properties.Caption = "Over Equal"; this.checkEdit8.Size = new System.Drawing.Size(95, 19); this.checkEdit8.TabIndex = 14; // // checkEdit4 // this.checkEdit4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.checkEdit4.EditValue = true; this.checkEdit4.Location = new System.Drawing.Point(108, 25); this.checkEdit4.Name = "checkEdit4"; this.checkEdit4.Properties.Caption = "Over/Under"; this.checkEdit4.Size = new System.Drawing.Size(87, 19); this.checkEdit4.TabIndex = 6; // // checkEdit3 // this.checkEdit3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.checkEdit3.EditValue = true; this.checkEdit3.Location = new System.Drawing.Point(5, 26); this.checkEdit3.Name = "checkEdit3"; this.checkEdit3.Properties.Caption = "Handicap"; this.checkEdit3.Size = new System.Drawing.Size(90, 19); this.checkEdit3.TabIndex = 5; // // groupControl4 // this.groupControl4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupControl4.Controls.Add(this.txtSBOBETFixedStake); this.groupControl4.Controls.Add(this.labelControl2); this.groupControl4.Controls.Add(this.txtStake); this.groupControl4.Controls.Add(this.chbRandomStake); this.groupControl4.Controls.Add(this.txtIBETFixedStake); this.groupControl4.Controls.Add(this.labelControl6); this.groupControl4.Location = new System.Drawing.Point(621, 3); this.groupControl4.Name = "groupControl4"; this.groupControl4.Size = new System.Drawing.Size(200, 243); this.groupControl4.TabIndex = 12; this.groupControl4.Text = "Stake Settings"; // // txtSBOBETFixedStake // this.txtSBOBETFixedStake.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtSBOBETFixedStake.EditValue = new decimal(new int[] { 25, 0, 0, 0}); this.txtSBOBETFixedStake.Location = new System.Drawing.Point(112, 51); this.txtSBOBETFixedStake.Name = "txtSBOBETFixedStake"; this.txtSBOBETFixedStake.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.txtSBOBETFixedStake.Properties.IsFloatValue = false; this.txtSBOBETFixedStake.Properties.Mask.EditMask = "N00"; this.txtSBOBETFixedStake.Size = new System.Drawing.Size(83, 20); this.txtSBOBETFixedStake.TabIndex = 5; // // labelControl2 // this.labelControl2.Location = new System.Drawing.Point(5, 54); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(101, 13); this.labelControl2.TabIndex = 4; this.labelControl2.Text = "SBOBET Fixed Stake:"; // // txtStake // this.txtStake.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.txtStake.EditValue = "10\r\n20\r\n15\r\n5"; this.txtStake.Location = new System.Drawing.Point(5, 103); this.txtStake.Name = "txtStake"; this.txtStake.Size = new System.Drawing.Size(190, 135); this.txtStake.TabIndex = 3; // // chbRandomStake // this.chbRandomStake.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.chbRandomStake.EditValue = true; this.chbRandomStake.Location = new System.Drawing.Point(3, 78); this.chbRandomStake.Name = "chbRandomStake"; this.chbRandomStake.Properties.Caption = "Random Stake"; this.chbRandomStake.Size = new System.Drawing.Size(192, 19); this.chbRandomStake.TabIndex = 2; this.chbRandomStake.CheckedChanged += new System.EventHandler(this.chbRandomStake_CheckedChanged); // // txtIBETFixedStake // this.txtIBETFixedStake.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtIBETFixedStake.EditValue = new decimal(new int[] { 25, 0, 0, 0}); this.txtIBETFixedStake.Location = new System.Drawing.Point(112, 25); this.txtIBETFixedStake.Name = "txtIBETFixedStake"; this.txtIBETFixedStake.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.txtIBETFixedStake.Properties.IsFloatValue = false; this.txtIBETFixedStake.Properties.Mask.EditMask = "N00"; this.txtIBETFixedStake.Size = new System.Drawing.Size(83, 20); this.txtIBETFixedStake.TabIndex = 1; // // labelControl6 // this.labelControl6.Location = new System.Drawing.Point(5, 28); this.labelControl6.Name = "labelControl6"; this.labelControl6.Size = new System.Drawing.Size(85, 13); this.labelControl6.TabIndex = 0; this.labelControl6.Text = "IBET Fixed Stake:"; // // groupControl6 // this.groupControl6.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupControl6.Controls.Add(this.chkListAllowedMatch); this.groupControl6.Location = new System.Drawing.Point(827, 3); this.groupControl6.Name = "groupControl6"; this.groupControl6.Size = new System.Drawing.Size(293, 243); this.groupControl6.TabIndex = 19; this.groupControl6.Text = "Allowed Betting Matches"; // // chkListAllowedMatch // this.chkListAllowedMatch.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.chkListAllowedMatch.CheckOnClick = true; this.chkListAllowedMatch.HighlightedItemStyle = DevExpress.XtraEditors.HighlightStyle.Skinned; this.chkListAllowedMatch.ItemHeight = 16; this.chkListAllowedMatch.Location = new System.Drawing.Point(5, 25); this.chkListAllowedMatch.Name = "chkListAllowedMatch"; this.chkListAllowedMatch.Size = new System.Drawing.Size(283, 213); this.chkListAllowedMatch.TabIndex = 20; // // xtraTabPage5 // this.xtraTabPage5.Controls.Add(this.grdTransaction); this.xtraTabPage5.Name = "xtraTabPage5"; this.xtraTabPage5.Size = new System.Drawing.Size(1124, 249); this.xtraTabPage5.Text = "Live Transaction"; // // grdTransaction // this.grdTransaction.Dock = System.Windows.Forms.DockStyle.Fill; this.grdTransaction.Location = new System.Drawing.Point(0, 0); this.grdTransaction.MainView = this.gridView2; this.grdTransaction.Name = "grdTransaction"; this.grdTransaction.Size = new System.Drawing.Size(1124, 249); this.grdTransaction.TabIndex = 3; this.grdTransaction.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView2}); // // gridView2 // this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.gridColumn2, this.gridColumn3, this.gridColumn6, this.gridColumn4, this.gridColumn5, this.gridColumn7, this.gridColumn8, this.gridColumn9, this.gridColumn10, this.gridColumn11, this.gridColumn12, this.gridColumn20, this.gridColumn13}); this.gridView2.GridControl = this.grdTransaction; this.gridView2.Name = "gridView2"; this.gridView2.OptionsBehavior.Editable = false; this.gridView2.OptionsCustomization.AllowGroup = false; this.gridView2.OptionsView.AutoCalcPreviewLineCount = true; this.gridView2.OptionsView.ShowAutoFilterRow = true; this.gridView2.OptionsView.ShowFooter = true; this.gridView2.OptionsView.ShowGroupPanel = false; this.gridView2.OptionsView.ShowPreview = true; this.gridView2.PreviewFieldName = "Note"; this.gridView2.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gridColumn13, DevExpress.Data.ColumnSortOrder.Descending)}); // // gridColumn1 // this.gridColumn1.Caption = "ID"; this.gridColumn1.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.gridColumn1.FieldName = "ID"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.OptionsColumn.FixedWidth = true; this.gridColumn1.UnboundType = DevExpress.Data.UnboundColumnType.Integer; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; this.gridColumn1.Width = 50; // // gridColumn2 // this.gridColumn2.Caption = "Home Team"; this.gridColumn2.FieldName = "HomeTeamName"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.UnboundType = DevExpress.Data.UnboundColumnType.String; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 1; this.gridColumn2.Width = 20; // // gridColumn3 // this.gridColumn3.Caption = "Away Team"; this.gridColumn3.FieldName = "AwayTeamName"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.UnboundType = DevExpress.Data.UnboundColumnType.String; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 2; this.gridColumn3.Width = 20; // // gridColumn6 // this.gridColumn6.Caption = "Type"; this.gridColumn6.FieldName = "OddType"; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.OptionsColumn.FixedWidth = true; this.gridColumn6.UnboundType = DevExpress.Data.UnboundColumnType.String; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 3; this.gridColumn6.Width = 180; // // gridColumn4 // this.gridColumn4.Caption = "Odd"; this.gridColumn4.FieldName = "OddKindValue"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.OptionsColumn.FixedWidth = true; this.gridColumn4.UnboundType = DevExpress.Data.UnboundColumnType.String; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 4; // // gridColumn5 // this.gridColumn5.Caption = "Value"; this.gridColumn5.FieldName = "OddValue"; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.OptionsColumn.FixedWidth = true; this.gridColumn5.UnboundType = DevExpress.Data.UnboundColumnType.String; this.gridColumn5.Visible = true; this.gridColumn5.VisibleIndex = 5; this.gridColumn5.Width = 80; // // gridColumn7 // this.gridColumn7.Caption = "Stake"; this.gridColumn7.FieldName = "Stake"; this.gridColumn7.Name = "gridColumn7"; this.gridColumn7.OptionsColumn.FixedWidth = true; this.gridColumn7.UnboundType = DevExpress.Data.UnboundColumnType.String; this.gridColumn7.Visible = true; this.gridColumn7.VisibleIndex = 6; this.gridColumn7.Width = 100; // // gridColumn8 // this.gridColumn8.Caption = "I Allow"; this.gridColumn8.FieldName = "IBETAllow"; this.gridColumn8.Name = "gridColumn8"; this.gridColumn8.OptionsColumn.FixedWidth = true; this.gridColumn8.UnboundType = DevExpress.Data.UnboundColumnType.Boolean; this.gridColumn8.Visible = true; this.gridColumn8.VisibleIndex = 7; this.gridColumn8.Width = 50; // // gridColumn9 // this.gridColumn9.Caption = "B Allow"; this.gridColumn9.FieldName = "SBOBETAllow"; this.gridColumn9.Name = "gridColumn9"; this.gridColumn9.OptionsColumn.FixedWidth = true; this.gridColumn9.UnboundType = DevExpress.Data.UnboundColumnType.Boolean; this.gridColumn9.Visible = true; this.gridColumn9.VisibleIndex = 8; this.gridColumn9.Width = 50; // // gridColumn10 // this.gridColumn10.Caption = "I Trade"; this.gridColumn10.FieldName = "IBETTrade"; this.gridColumn10.Name = "gridColumn10"; this.gridColumn10.OptionsColumn.FixedWidth = true; this.gridColumn10.UnboundType = DevExpress.Data.UnboundColumnType.Boolean; this.gridColumn10.Visible = true; this.gridColumn10.VisibleIndex = 9; this.gridColumn10.Width = 50; // // gridColumn11 // this.gridColumn11.Caption = "B Trade"; this.gridColumn11.FieldName = "SBOBETTrade"; this.gridColumn11.Name = "gridColumn11"; this.gridColumn11.OptionsColumn.FixedWidth = true; this.gridColumn11.UnboundType = DevExpress.Data.UnboundColumnType.Boolean; this.gridColumn11.Visible = true; this.gridColumn11.VisibleIndex = 10; this.gridColumn11.Width = 50; // // gridColumn12 // this.gridColumn12.Caption = "B Retrade"; this.gridColumn12.FieldName = "SBOBETReTrade"; this.gridColumn12.Name = "gridColumn12"; this.gridColumn12.OptionsColumn.FixedWidth = true; this.gridColumn12.UnboundType = DevExpress.Data.UnboundColumnType.Boolean; this.gridColumn12.Visible = true; this.gridColumn12.VisibleIndex = 11; this.gridColumn12.Width = 50; // // gridColumn20 // this.gridColumn20.Caption = "I Retrade"; this.gridColumn20.FieldName = "IBETReTrade"; this.gridColumn20.Name = "gridColumn20"; this.gridColumn20.OptionsColumn.FixedWidth = true; this.gridColumn20.UnboundType = DevExpress.Data.UnboundColumnType.Boolean; this.gridColumn20.Visible = true; this.gridColumn20.VisibleIndex = 12; this.gridColumn20.Width = 50; // // gridColumn13 // this.gridColumn13.Caption = "DateTime"; this.gridColumn13.DisplayFormat.FormatString = "dd/MM/yyyy hh:mm:ss"; this.gridColumn13.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.gridColumn13.FieldName = "DateTime"; this.gridColumn13.Name = "gridColumn13"; this.gridColumn13.OptionsColumn.FixedWidth = true; this.gridColumn13.SortMode = DevExpress.XtraGrid.ColumnSortMode.Value; this.gridColumn13.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Count)}); this.gridColumn13.UnboundType = DevExpress.Data.UnboundColumnType.DateTime; this.gridColumn13.Visible = true; this.gridColumn13.VisibleIndex = 13; this.gridColumn13.Width = 130; // // panelControl5 // this.panelControl5.Location = new System.Drawing.Point(0, 0); this.panelControl5.Name = "panelControl5"; this.panelControl5.Size = new System.Drawing.Size(200, 100); this.panelControl5.TabIndex = 0; // // panelControl4 // this.panelControl4.Location = new System.Drawing.Point(0, 0); this.panelControl4.Name = "panelControl4"; this.panelControl4.Size = new System.Drawing.Size(200, 100); this.panelControl4.TabIndex = 0; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(2, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(50, 13); this.label1.TabIndex = 9; this.label1.Text = "Address:"; // // xtraTabPage2 // this.xtraTabPage2.Name = "xtraTabPage2"; this.xtraTabPage2.Size = new System.Drawing.Size(0, 0); // // panelControl3 // this.panelControl3.Location = new System.Drawing.Point(0, 0); this.panelControl3.Name = "panelControl3"; this.panelControl3.Size = new System.Drawing.Size(200, 100); this.panelControl3.TabIndex = 0; // // panelControl2 // this.panelControl2.Location = new System.Drawing.Point(0, 0); this.panelControl2.Name = "panelControl2"; this.panelControl2.Size = new System.Drawing.Size(200, 100); this.panelControl2.TabIndex = 0; // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(0, 0); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(75, 14); this.labelControl1.TabIndex = 0; // // labelControl5 // this.labelControl5.Location = new System.Drawing.Point(5, 9); this.labelControl5.Name = "labelControl5"; this.labelControl5.Size = new System.Drawing.Size(43, 13); this.labelControl5.TabIndex = 6; this.labelControl5.Text = "Address:"; // // panelControl9 // this.panelControl9.Location = new System.Drawing.Point(0, 0); this.panelControl9.Name = "panelControl9"; this.panelControl9.Size = new System.Drawing.Size(200, 100); this.panelControl9.TabIndex = 0; // // panelControl10 // this.panelControl10.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panelControl10.Controls.Add(this.btnIBETGO2); this.panelControl10.Controls.Add(this.txtIBETAddress2); this.panelControl10.Controls.Add(this.labelControl5); this.panelControl10.Location = new System.Drawing.Point(3, 3); this.panelControl10.Name = "panelControl10"; this.panelControl10.Size = new System.Drawing.Size(987, 29); this.panelControl10.TabIndex = 2; // // btnIBETGO2 // this.btnIBETGO2.Location = new System.Drawing.Point(0, 0); this.btnIBETGO2.Name = "btnIBETGO2"; this.btnIBETGO2.Size = new System.Drawing.Size(75, 23); this.btnIBETGO2.TabIndex = 0; // // txtIBETAddress2 // this.txtIBETAddress2.Location = new System.Drawing.Point(0, 0); this.txtIBETAddress2.Name = "txtIBETAddress2"; this.txtIBETAddress2.Size = new System.Drawing.Size(100, 20); this.txtIBETAddress2.TabIndex = 1; // // xtraTabPage9 // this.xtraTabPage9.Controls.Add(this.panelControl9); this.xtraTabPage9.Controls.Add(this.panelControl10); this.xtraTabPage9.Name = "xtraTabPage9"; this.xtraTabPage9.Size = new System.Drawing.Size(993, 276); this.xtraTabPage9.Text = "ibet Test"; // // TerminalFormIBETSBO // this.ClientSize = new System.Drawing.Size(1130, 678); this.Controls.Add(this.splitContainerControl1); this.Controls.Add(this.ribbonControl1); this.Icon = global::iBet.App.Properties.Resources._2; this.Name = "TerminalFormIBETSBO"; this.Ribbon = this.ribbonControl1; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "IBET vs SBOBET"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.TerminalFormIBETSBO_FormClosing); ((System.ComponentModel.ISupportInitialize)(this.pmNew)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pmNewR)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); this.xtraTabControl1.ResumeLayout(false); this.xtraTabPageMatches.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grdSameMatch)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); this.xtraTabPageBetList1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.girdBetList1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl2)).EndInit(); this.xtraTabControl2.ResumeLayout(false); this.xtraTabPage4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit(); this.groupControl2.ResumeLayout(false); this.groupControl2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit2.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit18.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit17.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEdit4.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEdit3.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEdit2.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtTransactionTimeSpan.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtMaxTimePerHalf.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chbAllowHalftime.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit(); this.groupControl1.ResumeLayout(false); this.groupControl1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit15.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit14.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit13.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtSBOBETUpdateInterval.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtIBETUpdateInterval.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl5)).EndInit(); this.groupControl5.ResumeLayout(false); this.groupControl5.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.chbHighRevenueBoost.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtAddValue.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtLowestOddValue.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtOddValueDifferenet.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit6.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit5.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit7.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit12.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit11.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit10.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit9.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit8.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit4.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit3.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl4)).EndInit(); this.groupControl4.ResumeLayout(false); this.groupControl4.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtSBOBETFixedStake.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtStake.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chbRandomStake.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtIBETFixedStake.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl6)).EndInit(); this.groupControl6.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.chkListAllowedMatch)).EndInit(); this.xtraTabPage5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grdTransaction)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl10)).EndInit(); this.panelControl10.ResumeLayout(false); this.panelControl10.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtIBETAddress2.Properties)).EndInit(); this.xtraTabPage9.ResumeLayout(false); this.ResumeLayout(false); }
private void SetActive(CheckEdit check) { check.Properties.Appearance.ForeColor = System.Drawing.Color.GreenYellow; //button.Checked = true; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> protected void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmNghiPhepQL)); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.MainBar = new DevExpress.XtraBars.Bar(); this.barButtonItemAdd = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemXem = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemDelete = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemUpdate = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemPrint = new DevExpress.XtraBars.BarButtonItem(); this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components); this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemDuyet = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemK_Duyet = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem1 = new DevExpress.XtraBars.BarSubItem(); this.barButtonItemSearch = new DevExpress.XtraBars.BarButtonItem(); this.popupMenuFilter = new DevExpress.XtraBars.PopupMenu(this.components); this.barCheckItemFilter = new DevExpress.XtraBars.BarCheckItem(); this.barButtonItemClose = 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.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemCommit = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemNoCommit = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); this.gridControlMaster = new DevExpress.XtraGrid.GridControl(); this.gridViewMaster = new DevExpress.XtraGrid.Views.Grid.PLGridView(); this.ID = new DevExpress.XtraGrid.Columns.GridColumn(); this.Cot_NVID = new DevExpress.XtraGrid.Columns.GridColumn(); this.Cot_TenNV = new DevExpress.XtraGrid.Columns.GridColumn(); this.Cot_NgayLamViec = new DevExpress.XtraGrid.Columns.GridColumn(); this.Cot_GioBatDau = new DevExpress.XtraGrid.Columns.GridColumn(); this.Cot_GioKetThuc = new DevExpress.XtraGrid.Columns.GridColumn(); this.CotTG_LV = new DevExpress.XtraGrid.Columns.GridColumn(); this.Cot_Cham_Cong = new DevExpress.XtraGrid.Columns.GridColumn(); this.Cot_N_Bs = new DevExpress.XtraGrid.Columns.GridColumn(); this.Cot_N_BC = new DevExpress.XtraGrid.Columns.GridColumn(); this.Loai_NP = new DevExpress.XtraGrid.Columns.GridColumn(); this.Cot_Ly_Do = new DevExpress.XtraGrid.Columns.GridColumn(); this.cotThoiGianCN = new DevExpress.XtraGrid.Columns.GridColumn(); this.xtraTabControlDetail = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPageDetail = new DevExpress.XtraTab.XtraTabPage(); this.gridControlDetail = new DevExpress.XtraGrid.GridControl(); this.gridViewDetail = new DevExpress.XtraGrid.Views.Grid.PLGridView(); this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.repositoryItemImageComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox(); this.popupControlContainerFilter = new DevExpress.XtraBars.PopupControlContainer(this.components); this.NhanVien = new ProtocolVN.Framework.Win.PLDMTreeGroup(); this.ngayLamViec = new ProtocolVN.Framework.Win.Office.PLDateSelection(); this.checkNghi_Nam = new DevExpress.XtraEditors.CheckEdit(); this.chkNghi_KLuong = new DevExpress.XtraEditors.CheckEdit(); this.DuyetSelect = new ProtocolVN.Framework.Win.PLDuyetCheckbox(); this.label4 = new System.Windows.Forms.PLLabel(); this.label1 = new System.Windows.Forms.PLLabel(); this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).BeginInit(); this.xtraTabControlDetail.SuspendLayout(); this.xtraTabPageDetail.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).BeginInit(); this.popupControlContainerFilter.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.checkNghi_Nam.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chkNghi_KLuong.Properties)).BeginInit(); this.SuspendLayout(); // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.MainBar}); 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.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barButtonItemAdd, this.barButtonItemDelete, this.barButtonItemUpdate, this.barButtonItemPrint, this.barStaticItem1, this.barButtonItem1, this.barButtonItem2, this.barButtonItemCommit, this.barButtonItemNoCommit, this.barSubItem1, this.barButtonItemXem, this.barButtonItemSearch, this.barButtonItemClose, this.barCheckItemFilter, this.barButtonItem3, this.barButtonItem4, this.barButtonItemDuyet, this.barButtonItemK_Duyet}); this.barManager1.MaxItemId = 37; // // MainBar // this.MainBar.BarName = "MainBar"; this.MainBar.DockCol = 0; this.MainBar.DockRow = 0; this.MainBar.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.MainBar.FloatLocation = new System.Drawing.Point(39, 133); this.MainBar.FloatSize = new System.Drawing.Size(72, 73); this.MainBar.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.Caption, this.barButtonItemAdd, "&Thêm"), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemXem), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDelete), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemUpdate), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemPrint, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDuyet, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemK_Duyet), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem1, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemSearch), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemClose, true)}); this.MainBar.OptionsBar.AllowQuickCustomization = false; this.MainBar.OptionsBar.DrawDragBorder = false; this.MainBar.OptionsBar.RotateWhenVertical = false; this.MainBar.OptionsBar.UseWholeRow = true; this.MainBar.Text = "Custom 1"; // // barButtonItemAdd // this.barButtonItemAdd.Caption = "Thêm"; this.barButtonItemAdd.Id = 0; this.barButtonItemAdd.Name = "barButtonItemAdd"; this.barButtonItemAdd.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemXem // this.barButtonItemXem.Caption = "X&em"; this.barButtonItemXem.Id = 24; this.barButtonItemXem.Name = "barButtonItemXem"; this.barButtonItemXem.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemDelete // this.barButtonItemDelete.Caption = "&Xóa"; this.barButtonItemDelete.Id = 1; this.barButtonItemDelete.Name = "barButtonItemDelete"; this.barButtonItemDelete.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemUpdate // this.barButtonItemUpdate.Caption = "&Sửa"; this.barButtonItemUpdate.Id = 2; this.barButtonItemUpdate.Name = "barButtonItemUpdate"; this.barButtonItemUpdate.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemPrint // this.barButtonItemPrint.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItemPrint.Caption = "&In"; this.barButtonItemPrint.DropDownControl = this.popupMenu1; this.barButtonItemPrint.Id = 3; this.barButtonItemPrint.Name = "barButtonItemPrint"; this.barButtonItemPrint.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // popupMenu1 // this.popupMenu1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4)}); this.popupMenu1.Manager = this.barManager1; this.popupMenu1.Name = "popupMenu1"; // // barButtonItem4 // this.barButtonItem4.Caption = "Xem t&rước"; this.barButtonItem4.Id = 33; this.barButtonItem4.Name = "barButtonItem4"; // // barButtonItemDuyet // this.barButtonItemDuyet.Caption = "&Duyệt"; this.barButtonItemDuyet.Id = 35; this.barButtonItemDuyet.Name = "barButtonItemDuyet"; // // barButtonItemK_Duyet // this.barButtonItemK_Duyet.Caption = "&Không duyệt"; this.barButtonItemK_Duyet.Id = 36; this.barButtonItemK_Duyet.Name = "barButtonItemK_Duyet"; // // barSubItem1 // this.barSubItem1.Caption = "&Nghiệp vụ"; this.barSubItem1.Id = 20; this.barSubItem1.Name = "barSubItem1"; this.barSubItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemSearch // this.barButtonItemSearch.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItemSearch.Caption = "Tì&m kiếm"; this.barButtonItemSearch.DropDownControl = this.popupMenuFilter; this.barButtonItemSearch.Id = 27; this.barButtonItemSearch.Name = "barButtonItemSearch"; this.barButtonItemSearch.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // popupMenuFilter // this.popupMenuFilter.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barCheckItemFilter)}); this.popupMenuFilter.Manager = this.barManager1; this.popupMenuFilter.Name = "popupMenuFilter"; // // barCheckItemFilter // this.barCheckItemFilter.Caption = "Điề&u kiện tìm kiếm"; this.barCheckItemFilter.Checked = true; this.barCheckItemFilter.Id = 29; this.barCheckItemFilter.Name = "barCheckItemFilter"; this.barCheckItemFilter.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemClose // this.barButtonItemClose.Caption = "Đón&g"; this.barButtonItemClose.Id = 28; this.barButtonItemClose.Name = "barButtonItemClose"; this.barButtonItemClose.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barDockControlTop // this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Size = new System.Drawing.Size(804, 24); // // barDockControlBottom // this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 497); this.barDockControlBottom.Size = new System.Drawing.Size(804, 0); // // barDockControlLeft // 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, 473); // // barDockControlRight // this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(804, 24); this.barDockControlRight.Size = new System.Drawing.Size(0, 473); // // barStaticItem1 // this.barStaticItem1.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None; this.barStaticItem1.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.barStaticItem1.Id = 13; this.barStaticItem1.Name = "barStaticItem1"; this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near; this.barStaticItem1.Width = 100; // // barButtonItem1 // this.barButtonItem1.Caption = "barButtonItem1"; this.barButtonItem1.Id = 14; this.barButtonItem1.Name = "barButtonItem1"; // // barButtonItem2 // this.barButtonItem2.Caption = "barButtonItem2"; this.barButtonItem2.Id = 15; this.barButtonItem2.Name = "barButtonItem2"; // // barButtonItemCommit // this.barButtonItemCommit.Caption = "&Duyệt"; this.barButtonItemCommit.Id = 17; this.barButtonItemCommit.Name = "barButtonItemCommit"; this.barButtonItemCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemNoCommit // this.barButtonItemNoCommit.Caption = "&Không duyệt"; this.barButtonItemNoCommit.Id = 18; this.barButtonItemNoCommit.Name = "barButtonItemNoCommit"; this.barButtonItemNoCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItem3 // this.barButtonItem3.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItem3.Caption = "In"; this.barButtonItem3.Id = 30; this.barButtonItem3.Name = "barButtonItem3"; // // splitContainerControl1 // this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerControl1.Horizontal = false; this.splitContainerControl1.Location = new System.Drawing.Point(0, 90); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.gridControlMaster); this.splitContainerControl1.Panel1.Text = "splitContainerControl1_Panel1"; this.splitContainerControl1.Panel2.CaptionLocation = DevExpress.Utils.Locations.Left; this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControlDetail); this.splitContainerControl1.Panel2.ShowCaption = true; this.splitContainerControl1.Panel2.Text = "splitContainerControl1_Panel2"; this.splitContainerControl1.Size = new System.Drawing.Size(804, 407); this.splitContainerControl1.SplitterPosition = 196; this.splitContainerControl1.TabIndex = 4; this.splitContainerControl1.Text = "splitContainerControl1"; // // gridControlMaster // this.gridControlMaster.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlMaster.BackgroundImage"))); this.gridControlMaster.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.gridControlMaster.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControlMaster.Location = new System.Drawing.Point(0, 0); this.gridControlMaster.MainView = this.gridViewMaster; this.gridControlMaster.Name = "gridControlMaster"; this.gridControlMaster.Size = new System.Drawing.Size(804, 196); this.gridControlMaster.TabIndex = 0; this.gridControlMaster.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewMaster}); // // gridViewMaster // this.gridViewMaster.Appearance.GroupPanel.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Inch); this.gridViewMaster.Appearance.GroupPanel.Options.UseFont = true; this.gridViewMaster.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gridViewMaster.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewMaster.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.ID, this.Cot_NVID, this.Cot_TenNV, this.Cot_NgayLamViec, this.Cot_GioBatDau, this.Cot_GioKetThuc, this.CotTG_LV, this.Cot_Cham_Cong, this.Cot_N_Bs, this.Cot_N_BC, this.Loai_NP, this.Cot_Ly_Do, this.cotThoiGianCN}); this.gridViewMaster.GridControl = this.gridControlMaster; this.gridViewMaster.GroupCount = 1; this.gridViewMaster.GroupPanelText = "DANH SÁCH NGHỈ PHÉP"; this.gridViewMaster.IndicatorWidth = 40; this.gridViewMaster.Name = "gridViewMaster"; this.gridViewMaster.NewItemRowText = "Nhập dữ liệu mới tại đây"; this.gridViewMaster.OptionsFilter.UseNewCustomFilterDialog = true; this.gridViewMaster.OptionsLayout.Columns.AddNewColumns = false; this.gridViewMaster.OptionsNavigation.AutoFocusNewRow = true; this.gridViewMaster.OptionsNavigation.EnterMoveNextColumn = true; this.gridViewMaster.OptionsPrint.UsePrintStyles = true; this.gridViewMaster.OptionsSelection.MultiSelect = true; this.gridViewMaster.OptionsView.EnableAppearanceEvenRow = true; this.gridViewMaster.OptionsView.EnableAppearanceOddRow = true; this.gridViewMaster.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; this.gridViewMaster.OptionsView.ShowFooter = true; this.gridViewMaster.OptionsView.ShowGroupedColumns = true; this.gridViewMaster.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.Cot_NgayLamViec, DevExpress.Data.ColumnSortOrder.Descending)}); // // ID // this.ID.Caption = "ID"; this.ID.Name = "ID"; this.ID.Width = 23; // // Cot_NVID // this.Cot_NVID.Caption = "NV_ID"; this.Cot_NVID.Name = "Cot_NVID"; this.Cot_NVID.Width = 42; // // Cot_TenNV // this.Cot_TenNV.Caption = "Nhân viên"; this.Cot_TenNV.Name = "Cot_TenNV"; this.Cot_TenNV.Visible = true; this.Cot_TenNV.VisibleIndex = 0; this.Cot_TenNV.Width = 60; // // Cot_NgayLamViec // this.Cot_NgayLamViec.Caption = "Ngày nghỉ phép"; this.Cot_NgayLamViec.Name = "Cot_NgayLamViec"; this.Cot_NgayLamViec.Visible = true; this.Cot_NgayLamViec.VisibleIndex = 2; this.Cot_NgayLamViec.Width = 100; // // Cot_GioBatDau // this.Cot_GioBatDau.Caption = "Giờ bắt đầu"; this.Cot_GioBatDau.Name = "Cot_GioBatDau"; this.Cot_GioBatDau.Width = 67; // // Cot_GioKetThuc // this.Cot_GioKetThuc.Caption = "Giờ kết thúc"; this.Cot_GioKetThuc.Name = "Cot_GioKetThuc"; this.Cot_GioKetThuc.Width = 69; // // CotTG_LV // this.CotTG_LV.Caption = "Thời gian làm việc (giờ : phút)"; this.CotTG_LV.Name = "CotTG_LV"; this.CotTG_LV.SummaryItem.DisplayFormat = "Thời gian: {0:#.##0}"; this.CotTG_LV.SummaryItem.FieldName = "TG"; this.CotTG_LV.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum; this.CotTG_LV.Width = 153; // // Cot_Cham_Cong // this.Cot_Cham_Cong.Caption = "Đã chấm công"; this.Cot_Cham_Cong.Name = "Cot_Cham_Cong"; this.Cot_Cham_Cong.Width = 80; // // Cot_N_Bs // this.Cot_N_Bs.Caption = "Nghỉ buổi sáng"; this.Cot_N_Bs.Name = "Cot_N_Bs"; this.Cot_N_Bs.SummaryItem.DisplayFormat = "{0:#.###} (buổi)"; this.Cot_N_Bs.SummaryItem.FieldName = "IS_NGHI_BUOI_SANG"; this.Cot_N_Bs.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum; this.Cot_N_Bs.Visible = true; this.Cot_N_Bs.VisibleIndex = 1; this.Cot_N_Bs.Width = 82; // // Cot_N_BC // this.Cot_N_BC.Caption = "Nghỉ buổi chiều"; this.Cot_N_BC.Name = "Cot_N_BC"; this.Cot_N_BC.SummaryItem.DisplayFormat = "{0:#.###} (buổi)"; this.Cot_N_BC.SummaryItem.FieldName = "IS_NGHI_BUOI_CHIEU"; this.Cot_N_BC.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum; this.Cot_N_BC.Visible = true; this.Cot_N_BC.VisibleIndex = 3; this.Cot_N_BC.Width = 84; // // Loai_NP // this.Loai_NP.Caption = "Loại nghỉ phép"; this.Loai_NP.Name = "Loai_NP"; this.Loai_NP.Visible = true; this.Loai_NP.VisibleIndex = 4; this.Loai_NP.Width = 81; // // Cot_Ly_Do // this.Cot_Ly_Do.Caption = "Lý do"; this.Cot_Ly_Do.Name = "Cot_Ly_Do"; this.Cot_Ly_Do.Visible = true; this.Cot_Ly_Do.VisibleIndex = 5; this.Cot_Ly_Do.Width = 38; // // cotThoiGianCN // this.cotThoiGianCN.Caption = "Thời gian cập nhật"; this.cotThoiGianCN.Name = "cotThoiGianCN"; this.cotThoiGianCN.Visible = true; this.cotThoiGianCN.VisibleIndex = 6; this.cotThoiGianCN.Width = 100; // // xtraTabControlDetail // this.xtraTabControlDetail.Dock = System.Windows.Forms.DockStyle.Fill; this.xtraTabControlDetail.Location = new System.Drawing.Point(0, 0); this.xtraTabControlDetail.Name = "xtraTabControlDetail"; this.xtraTabControlDetail.SelectedTabPage = this.xtraTabPageDetail; this.xtraTabControlDetail.Size = new System.Drawing.Size(804, 205); this.xtraTabControlDetail.TabIndex = 0; this.xtraTabControlDetail.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPageDetail}); // // xtraTabPageDetail // this.xtraTabPageDetail.Controls.Add(this.gridControlDetail); this.xtraTabPageDetail.Name = "xtraTabPageDetail"; this.xtraTabPageDetail.Size = new System.Drawing.Size(797, 176); this.xtraTabPageDetail.Text = "Chi tiết"; // // gridControlDetail // this.gridControlDetail.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlDetail.BackgroundImage"))); this.gridControlDetail.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.gridControlDetail.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControlDetail.Location = new System.Drawing.Point(0, 0); this.gridControlDetail.MainView = this.gridViewDetail; this.gridControlDetail.Name = "gridControlDetail"; this.gridControlDetail.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemButtonEdit1, this.repositoryItemImageComboBox1}); this.gridControlDetail.Size = new System.Drawing.Size(797, 176); this.gridControlDetail.TabIndex = 0; this.gridControlDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewDetail}); // // gridViewDetail // this.gridViewDetail.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gridViewDetail.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewDetail.GridControl = this.gridControlDetail; this.gridViewDetail.IndicatorWidth = 40; this.gridViewDetail.Name = "gridViewDetail"; this.gridViewDetail.NewItemRowText = "Nhập dữ liệu mới tại đây"; this.gridViewDetail.OptionsFilter.UseNewCustomFilterDialog = true; this.gridViewDetail.OptionsLayout.Columns.AddNewColumns = false; this.gridViewDetail.OptionsNavigation.AutoFocusNewRow = true; this.gridViewDetail.OptionsNavigation.EnterMoveNextColumn = true; this.gridViewDetail.OptionsPrint.UsePrintStyles = true; this.gridViewDetail.OptionsView.EnableAppearanceEvenRow = true; this.gridViewDetail.OptionsView.EnableAppearanceOddRow = true; this.gridViewDetail.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; this.gridViewDetail.OptionsView.ShowGroupedColumns = true; this.gridViewDetail.OptionsView.ShowGroupPanel = false; // // repositoryItemButtonEdit1 // this.repositoryItemButtonEdit1.AutoHeight = false; this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; // // repositoryItemImageComboBox1 // this.repositoryItemImageComboBox1.AutoHeight = false; this.repositoryItemImageComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemImageComboBox1.Name = "repositoryItemImageComboBox1"; // // popupControlContainerFilter // this.popupControlContainerFilter.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.popupControlContainerFilter.Controls.Add(this.NhanVien); this.popupControlContainerFilter.Controls.Add(this.ngayLamViec); this.popupControlContainerFilter.Controls.Add(this.checkNghi_Nam); this.popupControlContainerFilter.Controls.Add(this.chkNghi_KLuong); this.popupControlContainerFilter.Controls.Add(this.DuyetSelect); this.popupControlContainerFilter.Controls.Add(this.label4); this.popupControlContainerFilter.Controls.Add(this.label1); this.popupControlContainerFilter.Dock = System.Windows.Forms.DockStyle.Top; this.popupControlContainerFilter.Location = new System.Drawing.Point(0, 24); this.popupControlContainerFilter.Manager = this.barManager1; this.popupControlContainerFilter.Name = "popupControlContainerFilter"; this.popupControlContainerFilter.Size = new System.Drawing.Size(804, 66); this.popupControlContainerFilter.TabIndex = 0; this.popupControlContainerFilter.Visible = false; // // NhanVien // this.NhanVien.Location = new System.Drawing.Point(66, 9); this.NhanVien.Name = "NhanVien"; this.NhanVien.Size = new System.Drawing.Size(212, 20); this.NhanVien.TabIndex = 0; // // ngayLamViec // this.ngayLamViec.Caption = "Năm 2010 và 2011"; this.ngayLamViec.Default = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear; this.ngayLamViec.FirstFrom = new System.DateTime(2010, 1, 1, 0, 0, 0, 0); this.ngayLamViec.FirstTo = new System.DateTime(2011, 12, 31, 0, 0, 0, 0); this.ngayLamViec.FromDate = new System.DateTime(2010, 1, 1, 0, 0, 0, 0); this.ngayLamViec.Location = new System.Drawing.Point(365, 9); this.ngayLamViec.Name = "ngayLamViec"; this.ngayLamViec.ReturnType = ProtocolVN.Framework.Win.Trial.TimeType.Date; this.ngayLamViec.SecondFrom = new System.DateTime(2010, 1, 1, 0, 0, 0, 0); this.ngayLamViec.SecondTo = new System.DateTime(2011, 12, 31, 0, 0, 0, 0); this.ngayLamViec.SelectedType = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear; this.ngayLamViec.Size = new System.Drawing.Size(225, 21); this.ngayLamViec.TabIndex = 1; this.ngayLamViec.ToDate = new System.DateTime(2011, 12, 31, 0, 0, 0, 0); this.ngayLamViec.Types = ((ProtocolVN.Framework.Win.Trial.SelectionTypes)(((((((((ProtocolVN.Framework.Win.Trial.SelectionTypes.OneDate | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneMonth) | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneQuarter) | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneYear) | ProtocolVN.Framework.Win.Trial.SelectionTypes.SixMonths) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromDateToDate) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromMonthToMonth) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromQuarterToQuarter) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear))); // // checkNghi_Nam // this.checkNghi_Nam.Location = new System.Drawing.Point(159, 36); this.checkNghi_Nam.MenuManager = this.barManager1; this.checkNghi_Nam.Name = "checkNghi_Nam"; this.checkNghi_Nam.Properties.Caption = "Phép năm"; this.checkNghi_Nam.Size = new System.Drawing.Size(87, 19); this.checkNghi_Nam.TabIndex = 3; // // chkNghi_KLuong // this.chkNghi_KLuong.Location = new System.Drawing.Point(64, 36); this.chkNghi_KLuong.MenuManager = this.barManager1; this.chkNghi_KLuong.Name = "chkNghi_KLuong"; this.chkNghi_KLuong.Properties.Caption = "Không lương"; this.chkNghi_KLuong.Size = new System.Drawing.Size(89, 19); this.chkNghi_KLuong.TabIndex = 2; // // DuyetSelect // this.DuyetSelect.Location = new System.Drawing.Point(356, 36); this.DuyetSelect.Name = "DuyetSelect"; this.DuyetSelect.Size = new System.Drawing.Size(216, 24); this.DuyetSelect.TabIndex = 5; // // label4 // this.label4.Location = new System.Drawing.Point(284, 14); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(75, 13); this.label4.TabIndex = 2; this.label4.Text = "Ngày nghỉ phép"; this.label4.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL; // // label1 // this.label1.Location = new System.Drawing.Point(12, 14); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(48, 13); this.label1.TabIndex = 5; this.label1.Text = "Nhân viên"; this.label1.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL; // // gridColumn8 // this.gridColumn8.Caption = "VAT"; this.gridColumn8.Name = "gridColumn8"; this.gridColumn8.Visible = true; this.gridColumn8.VisibleIndex = 5; // // gridColumn6 // this.gridColumn6.Caption = "VAT"; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 5; this.gridColumn6.Width = 96; // // frmNghiPhepQL // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(804, 497); this.Controls.Add(this.splitContainerControl1); this.Controls.Add(this.popupControlContainerFilter); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "frmNghiPhepQL"; this.Text = "Theo dõi nghỉ phép"; this.Load += new System.EventHandler(this.frmTimeInOutQL_Load); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).EndInit(); this.xtraTabControlDetail.ResumeLayout(false); this.xtraTabPageDetail.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).EndInit(); this.popupControlContainerFilter.ResumeLayout(false); this.popupControlContainerFilter.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.checkNghi_Nam.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chkNghi_KLuong.Properties)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> protected void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPhieuTamUngQL)); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.MainBar = new DevExpress.XtraBars.Bar(); this.barButtonItemAdd = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemXem = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemDelete = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemUpdate = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemPrint = new DevExpress.XtraBars.BarButtonItem(); this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components); this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemDuyet = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemKoDuyet = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemCommit = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemNoCommit = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem1 = new DevExpress.XtraBars.BarSubItem(); this.barButtonItemSearch = new DevExpress.XtraBars.BarButtonItem(); this.popupMenuFilter = new DevExpress.XtraBars.PopupMenu(this.components); this.barCheckItemFilter = new DevExpress.XtraBars.BarCheckItem(); this.barButtonItemClose = 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.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem(); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); this.gridControlMaster = new DevExpress.XtraGrid.GridControl(); this.gridViewMaster = new DevExpress.XtraGrid.Views.Grid.PLGridView(); this.colID = new DevExpress.XtraGrid.Columns.GridColumn(); this.colMaphieu = new DevExpress.XtraGrid.Columns.GridColumn(); this.colNguoiDeNghi = new DevExpress.XtraGrid.Columns.GridColumn(); this.colNgayXinTamUng = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSoTien = new DevExpress.XtraGrid.Columns.GridColumn(); this.colLyDo = new DevExpress.XtraGrid.Columns.GridColumn(); this.colNguoiDuyet = new DevExpress.XtraGrid.Columns.GridColumn(); this.colGhichu = new DevExpress.XtraGrid.Columns.GridColumn(); this.colThangTamUng = new DevExpress.XtraGrid.Columns.GridColumn(); this.colQuaLuong = new DevExpress.XtraGrid.Columns.GridColumn(); this.colKetChuyen = new DevExpress.XtraGrid.Columns.GridColumn(); this.xtraTabControlDetail = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPageDetail = new DevExpress.XtraTab.XtraTabPage(); this.gridControlDetail = new DevExpress.XtraGrid.GridControl(); this.gridViewDetail = new DevExpress.XtraGrid.Views.Grid.PLGridView(); this.popupControlContainerFilter = new DevExpress.XtraBars.PopupControlContainer(this.components); this.NhanVien = new ProtocolVN.Framework.Win.PLDMTreeGroup(); this.chkEditQuaLuong = new DevExpress.XtraEditors.CheckEdit(); this.chkEditKetChuyen = new DevExpress.XtraEditors.CheckEdit(); this.dateThangNamDen = new ProtocolVN.Framework.Win.PLMonthYearTimeEdit(); this.plLabel2 = new System.Windows.Forms.PLLabel(); this.dateThangNam = new ProtocolVN.Framework.Win.PLMonthYearTimeEdit(); this.plLabel1 = new System.Windows.Forms.PLLabel(); this.DuyetSelect = new ProtocolVN.Framework.Win.PLDuyetCheckbox(); this.labelControl11 = new System.Windows.Forms.PLLabel(); this.plTreeSelectItem1 = new ProtocolVN.Framework.Win.PLDMTreeGroupElement(); this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).BeginInit(); this.xtraTabControlDetail.SuspendLayout(); this.xtraTabPageDetail.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).BeginInit(); this.popupControlContainerFilter.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chkEditQuaLuong.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chkEditKetChuyen.Properties)).BeginInit(); this.SuspendLayout(); // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.MainBar}); 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.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barButtonItemAdd, this.barButtonItemDelete, this.barButtonItemUpdate, this.barButtonItemPrint, this.barStaticItem1, this.barButtonItem1, this.barButtonItem2, this.barButtonItemCommit, this.barButtonItemNoCommit, this.barSubItem1, this.barButtonItemXem, this.barButtonItemSearch, this.barButtonItemClose, this.barCheckItemFilter, this.barButtonItem3, this.barButtonItem4, this.barButtonItem5, this.barButtonItemDuyet, this.barButtonItemKoDuyet}); this.barManager1.MaxItemId = 37; // // MainBar // this.MainBar.BarName = "MainBar"; this.MainBar.DockCol = 0; this.MainBar.DockRow = 0; this.MainBar.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.MainBar.FloatLocation = new System.Drawing.Point(39, 133); this.MainBar.FloatSize = new System.Drawing.Size(72, 73); this.MainBar.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.Caption, this.barButtonItemAdd, "&Thêm"), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemXem), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDelete), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemUpdate), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemPrint, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDuyet, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemKoDuyet), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemCommit), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemNoCommit), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem1, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemSearch, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemClose, true)}); this.MainBar.OptionsBar.AllowQuickCustomization = false; this.MainBar.OptionsBar.DrawDragBorder = false; this.MainBar.OptionsBar.RotateWhenVertical = false; this.MainBar.OptionsBar.UseWholeRow = true; this.MainBar.Text = "Custom 1"; // // barButtonItemAdd // this.barButtonItemAdd.Caption = "Thêm"; this.barButtonItemAdd.Id = 0; this.barButtonItemAdd.Name = "barButtonItemAdd"; this.barButtonItemAdd.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemXem // this.barButtonItemXem.Caption = "X&em"; this.barButtonItemXem.Id = 24; this.barButtonItemXem.Name = "barButtonItemXem"; this.barButtonItemXem.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemDelete // this.barButtonItemDelete.Caption = "&Xóa"; this.barButtonItemDelete.Id = 1; this.barButtonItemDelete.Name = "barButtonItemDelete"; this.barButtonItemDelete.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemUpdate // this.barButtonItemUpdate.Caption = "&Sửa"; this.barButtonItemUpdate.Id = 2; this.barButtonItemUpdate.Name = "barButtonItemUpdate"; this.barButtonItemUpdate.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemPrint // this.barButtonItemPrint.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItemPrint.Caption = "&In"; this.barButtonItemPrint.DropDownControl = this.popupMenu1; this.barButtonItemPrint.Id = 3; this.barButtonItemPrint.Name = "barButtonItemPrint"; this.barButtonItemPrint.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // popupMenu1 // this.popupMenu1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4)}); this.popupMenu1.Manager = this.barManager1; this.popupMenu1.Name = "popupMenu1"; // // barButtonItem4 // this.barButtonItem4.Caption = "Xem t&rước"; this.barButtonItem4.Id = 33; this.barButtonItem4.Name = "barButtonItem4"; // // barButtonItemDuyet // this.barButtonItemDuyet.Caption = "&Duyệt"; this.barButtonItemDuyet.Id = 35; this.barButtonItemDuyet.Name = "barButtonItemDuyet"; this.barButtonItemDuyet.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.barButtonItemDuyet.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemDuyet_ItemClick); // // barButtonItemKoDuyet // this.barButtonItemKoDuyet.Caption = "&Không duyệt"; this.barButtonItemKoDuyet.Id = 36; this.barButtonItemKoDuyet.Name = "barButtonItemKoDuyet"; this.barButtonItemKoDuyet.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.barButtonItemKoDuyet.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemKoDuyet_ItemClick); // // barButtonItemCommit // this.barButtonItemCommit.Caption = "&Duyệt"; this.barButtonItemCommit.Id = 17; this.barButtonItemCommit.Name = "barButtonItemCommit"; this.barButtonItemCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemNoCommit // this.barButtonItemNoCommit.Caption = "&Không duyệt"; this.barButtonItemNoCommit.Id = 18; this.barButtonItemNoCommit.Name = "barButtonItemNoCommit"; this.barButtonItemNoCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barSubItem1 // this.barSubItem1.Caption = "&Nghiệp vụ"; this.barSubItem1.Id = 20; this.barSubItem1.Name = "barSubItem1"; this.barSubItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemSearch // this.barButtonItemSearch.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItemSearch.Caption = "Tì&m kiếm"; this.barButtonItemSearch.DropDownControl = this.popupMenuFilter; this.barButtonItemSearch.Id = 27; this.barButtonItemSearch.Name = "barButtonItemSearch"; this.barButtonItemSearch.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // popupMenuFilter // this.popupMenuFilter.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barCheckItemFilter)}); this.popupMenuFilter.Manager = this.barManager1; this.popupMenuFilter.Name = "popupMenuFilter"; // // barCheckItemFilter // this.barCheckItemFilter.Caption = "Điề&u kiện tìm kiếm"; this.barCheckItemFilter.Checked = true; this.barCheckItemFilter.Id = 29; this.barCheckItemFilter.Name = "barCheckItemFilter"; this.barCheckItemFilter.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemClose // this.barButtonItemClose.Caption = "Đón&g"; this.barButtonItemClose.Id = 28; this.barButtonItemClose.Name = "barButtonItemClose"; this.barButtonItemClose.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barDockControlTop // this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Size = new System.Drawing.Size(912, 24); // // barDockControlBottom // this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 497); this.barDockControlBottom.Size = new System.Drawing.Size(912, 0); // // barDockControlLeft // 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, 473); // // barDockControlRight // this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(912, 24); this.barDockControlRight.Size = new System.Drawing.Size(0, 473); // // barStaticItem1 // this.barStaticItem1.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None; this.barStaticItem1.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.barStaticItem1.Id = 13; this.barStaticItem1.Name = "barStaticItem1"; this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near; this.barStaticItem1.Width = 100; // // barButtonItem1 // this.barButtonItem1.Caption = "barButtonItem1"; this.barButtonItem1.Id = 14; this.barButtonItem1.Name = "barButtonItem1"; // // barButtonItem2 // this.barButtonItem2.Caption = "barButtonItem2"; this.barButtonItem2.Id = 15; this.barButtonItem2.Name = "barButtonItem2"; // // barButtonItem3 // this.barButtonItem3.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItem3.Caption = "In"; this.barButtonItem3.Id = 30; this.barButtonItem3.Name = "barButtonItem3"; // // barButtonItem5 // this.barButtonItem5.Caption = "barButtonItem5"; this.barButtonItem5.Id = 34; this.barButtonItem5.Name = "barButtonItem5"; // // splitContainerControl1 // this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerControl1.Horizontal = false; this.splitContainerControl1.Location = new System.Drawing.Point(0, 88); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.gridControlMaster); this.splitContainerControl1.Panel1.Text = "splitContainerControl1_Panel1"; this.splitContainerControl1.Panel2.CaptionLocation = DevExpress.Utils.Locations.Left; this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControlDetail); this.splitContainerControl1.Panel2.ShowCaption = true; this.splitContainerControl1.Panel2.Text = "splitContainerControl1_Panel2"; this.splitContainerControl1.Size = new System.Drawing.Size(912, 409); this.splitContainerControl1.SplitterPosition = 175; this.splitContainerControl1.TabIndex = 4; this.splitContainerControl1.Text = "splitContainerControl1"; // // gridControlMaster // this.gridControlMaster.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlMaster.BackgroundImage"))); this.gridControlMaster.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.gridControlMaster.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControlMaster.Location = new System.Drawing.Point(0, 0); this.gridControlMaster.MainView = this.gridViewMaster; this.gridControlMaster.Name = "gridControlMaster"; this.gridControlMaster.Size = new System.Drawing.Size(912, 175); this.gridControlMaster.TabIndex = 0; this.gridControlMaster.TabStop = false; this.gridControlMaster.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewMaster}); // // gridViewMaster // this.gridViewMaster.Appearance.GroupPanel.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Inch); this.gridViewMaster.Appearance.GroupPanel.Options.UseFont = true; this.gridViewMaster.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gridViewMaster.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewMaster.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colID, this.colMaphieu, this.colNguoiDeNghi, this.colNgayXinTamUng, this.colSoTien, this.colLyDo, this.colNguoiDuyet, this.colGhichu, this.colThangTamUng, this.colQuaLuong, this.colKetChuyen}); this.gridViewMaster.GridControl = this.gridControlMaster; this.gridViewMaster.GroupCount = 1; this.gridViewMaster.GroupPanelText = "DANH SÁCH TẠM ỨNG "; this.gridViewMaster.IndicatorWidth = 40; this.gridViewMaster.Name = "gridViewMaster"; this.gridViewMaster.OptionsLayout.Columns.AddNewColumns = false; this.gridViewMaster.OptionsNavigation.AutoFocusNewRow = true; this.gridViewMaster.OptionsNavigation.EnterMoveNextColumn = true; this.gridViewMaster.OptionsPrint.UsePrintStyles = true; this.gridViewMaster.OptionsSelection.MultiSelect = true; this.gridViewMaster.OptionsView.EnableAppearanceEvenRow = true; this.gridViewMaster.OptionsView.EnableAppearanceOddRow = true; this.gridViewMaster.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; this.gridViewMaster.OptionsView.ShowGroupedColumns = true; this.gridViewMaster.OptionsView.ShowGroupPanel = false; this.gridViewMaster.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colThangTamUng, DevExpress.Data.ColumnSortOrder.Ascending)}); // // colID // this.colID.Caption = "ID"; this.colID.Name = "colID"; this.colID.Width = 23; // // colMaphieu // this.colMaphieu.Caption = "Mã phiếu"; this.colMaphieu.Name = "colMaphieu"; this.colMaphieu.Visible = true; this.colMaphieu.VisibleIndex = 0; this.colMaphieu.Width = 55; // // colNguoiDeNghi // this.colNguoiDeNghi.Caption = "Người tạm ứng"; this.colNguoiDeNghi.MinWidth = 126; this.colNguoiDeNghi.Name = "colNguoiDeNghi"; this.colNguoiDeNghi.Visible = true; this.colNguoiDeNghi.VisibleIndex = 1; this.colNguoiDeNghi.Width = 126; // // colNgayXinTamUng // this.colNgayXinTamUng.Caption = "Ngày đề nghị"; this.colNgayXinTamUng.MinWidth = 126; this.colNgayXinTamUng.Name = "colNgayXinTamUng"; this.colNgayXinTamUng.Visible = true; this.colNgayXinTamUng.VisibleIndex = 2; this.colNgayXinTamUng.Width = 126; // // colSoTien // this.colSoTien.Caption = "Số tiền (VNĐ)"; this.colSoTien.MinWidth = 126; this.colSoTien.Name = "colSoTien"; this.colSoTien.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum; this.colSoTien.Visible = true; this.colSoTien.VisibleIndex = 3; this.colSoTien.Width = 126; // // colLyDo // this.colLyDo.Caption = "Lý do"; this.colLyDo.MinWidth = 126; this.colLyDo.Name = "colLyDo"; this.colLyDo.Visible = true; this.colLyDo.VisibleIndex = 4; this.colLyDo.Width = 126; // // colNguoiDuyet // this.colNguoiDuyet.Caption = "Người duyệt"; this.colNguoiDuyet.Name = "colNguoiDuyet"; this.colNguoiDuyet.Width = 71; // // colGhichu // this.colGhichu.Caption = "Ghi chú"; this.colGhichu.Name = "colGhichu"; this.colGhichu.Width = 47; // // colThangTamUng // this.colThangTamUng.Caption = "Tháng tạm ứng"; this.colThangTamUng.Name = "colThangTamUng"; this.colThangTamUng.Width = 98; // // colQuaLuong // this.colQuaLuong.Caption = "Kết chuyển qua lương"; this.colQuaLuong.Name = "colQuaLuong"; this.colQuaLuong.Width = 117; // // colKetChuyen // this.colKetChuyen.Caption = "Kết chuyển từ lương"; this.colKetChuyen.Name = "colKetChuyen"; this.colKetChuyen.Width = 110; // // xtraTabControlDetail // this.xtraTabControlDetail.Dock = System.Windows.Forms.DockStyle.Fill; this.xtraTabControlDetail.Location = new System.Drawing.Point(0, 0); this.xtraTabControlDetail.Name = "xtraTabControlDetail"; this.xtraTabControlDetail.SelectedTabPage = this.xtraTabPageDetail; this.xtraTabControlDetail.Size = new System.Drawing.Size(912, 228); this.xtraTabControlDetail.TabIndex = 0; this.xtraTabControlDetail.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPageDetail}); this.xtraTabControlDetail.TabStop = false; // // xtraTabPageDetail // this.xtraTabPageDetail.Controls.Add(this.gridControlDetail); this.xtraTabPageDetail.Name = "xtraTabPageDetail"; this.xtraTabPageDetail.Size = new System.Drawing.Size(905, 199); this.xtraTabPageDetail.Text = "Chi tiết"; // // gridControlDetail // this.gridControlDetail.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlDetail.BackgroundImage"))); this.gridControlDetail.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.gridControlDetail.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControlDetail.Location = new System.Drawing.Point(0, 0); this.gridControlDetail.MainView = this.gridViewDetail; this.gridControlDetail.Name = "gridControlDetail"; this.gridControlDetail.Size = new System.Drawing.Size(905, 199); this.gridControlDetail.TabIndex = 113; this.gridControlDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewDetail}); // // gridViewDetail // this.gridViewDetail.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gridViewDetail.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewDetail.GridControl = this.gridControlDetail; this.gridViewDetail.GroupPanelText = "Phí dịch vụ"; this.gridViewDetail.IndicatorWidth = 40; this.gridViewDetail.Name = "gridViewDetail"; this.gridViewDetail.OptionsBehavior.AutoExpandAllGroups = true; this.gridViewDetail.OptionsLayout.Columns.AddNewColumns = false; this.gridViewDetail.OptionsNavigation.AutoFocusNewRow = true; this.gridViewDetail.OptionsNavigation.EnterMoveNextColumn = true; this.gridViewDetail.OptionsPrint.UsePrintStyles = true; this.gridViewDetail.OptionsView.EnableAppearanceEvenRow = true; this.gridViewDetail.OptionsView.EnableAppearanceOddRow = true; this.gridViewDetail.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; this.gridViewDetail.OptionsView.ShowFooter = true; this.gridViewDetail.OptionsView.ShowGroupedColumns = true; // // popupControlContainerFilter // this.popupControlContainerFilter.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.popupControlContainerFilter.Controls.Add(this.NhanVien); this.popupControlContainerFilter.Controls.Add(this.chkEditQuaLuong); this.popupControlContainerFilter.Controls.Add(this.chkEditKetChuyen); this.popupControlContainerFilter.Controls.Add(this.dateThangNamDen); this.popupControlContainerFilter.Controls.Add(this.plLabel2); this.popupControlContainerFilter.Controls.Add(this.dateThangNam); this.popupControlContainerFilter.Controls.Add(this.plLabel1); this.popupControlContainerFilter.Controls.Add(this.DuyetSelect); this.popupControlContainerFilter.Controls.Add(this.labelControl11); this.popupControlContainerFilter.Controls.Add(this.plTreeSelectItem1); this.popupControlContainerFilter.Dock = System.Windows.Forms.DockStyle.Top; this.popupControlContainerFilter.Location = new System.Drawing.Point(0, 24); this.popupControlContainerFilter.Manager = this.barManager1; this.popupControlContainerFilter.Name = "popupControlContainerFilter"; this.popupControlContainerFilter.Size = new System.Drawing.Size(912, 64); this.popupControlContainerFilter.TabIndex = 0; this.popupControlContainerFilter.Visible = false; // // NhanVien // this.NhanVien.Location = new System.Drawing.Point(436, 8); this.NhanVien.Name = "NhanVien"; this.NhanVien.Size = new System.Drawing.Size(216, 20); this.NhanVien.TabIndex = 2; // // chkEditQuaLuong // this.chkEditQuaLuong.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkEditQuaLuong.Location = new System.Drawing.Point(768, 33); this.chkEditQuaLuong.MenuManager = this.barManager1; this.chkEditQuaLuong.Name = "chkEditQuaLuong"; this.chkEditQuaLuong.Properties.Caption = "Kết chuyển qua lương"; this.chkEditQuaLuong.Size = new System.Drawing.Size(133, 19); this.chkEditQuaLuong.TabIndex = 210; // // chkEditKetChuyen // this.chkEditKetChuyen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkEditKetChuyen.Location = new System.Drawing.Point(768, 8); this.chkEditKetChuyen.MenuManager = this.barManager1; this.chkEditKetChuyen.Name = "chkEditKetChuyen"; this.chkEditKetChuyen.Properties.Caption = "Kết chuyển từ lương"; this.chkEditKetChuyen.Size = new System.Drawing.Size(126, 19); this.chkEditKetChuyen.TabIndex = 209; // // dateThangNamDen // this.dateThangNamDen.Location = new System.Drawing.Point(232, 8); this.dateThangNamDen.Name = "dateThangNamDen"; this.dateThangNamDen.Size = new System.Drawing.Size(97, 25); this.dateThangNamDen.TabIndex = 1; // // plLabel2 // this.plLabel2.Location = new System.Drawing.Point(208, 11); this.plLabel2.Name = "plLabel2"; this.plLabel2.Size = new System.Drawing.Size(18, 13); this.plLabel2.TabIndex = 208; this.plLabel2.Text = "đến"; this.plLabel2.ToolTip = "Dữ liệu bắt buộc nhập"; this.plLabel2.ZZZType = System.Windows.Forms.PLLabel.LabelType.REQUIRED; // // dateThangNam // this.dateThangNam.Location = new System.Drawing.Point(105, 8); this.dateThangNam.Name = "dateThangNam"; this.dateThangNam.Size = new System.Drawing.Size(97, 25); this.dateThangNam.TabIndex = 0; // // plLabel1 // this.plLabel1.Location = new System.Drawing.Point(12, 11); this.plLabel1.Name = "plLabel1"; this.plLabel1.Size = new System.Drawing.Size(87, 13); this.plLabel1.TabIndex = 206; this.plLabel1.Text = "Tháng tạm ứng từ"; this.plLabel1.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL; // // DuyetSelect // this.DuyetSelect.Location = new System.Drawing.Point(428, 34); this.DuyetSelect.Name = "DuyetSelect"; this.DuyetSelect.Size = new System.Drawing.Size(216, 24); this.DuyetSelect.TabIndex = 3; // // labelControl11 // this.labelControl11.Location = new System.Drawing.Point(359, 11); this.labelControl11.Name = "labelControl11"; this.labelControl11.Size = new System.Drawing.Size(71, 13); this.labelControl11.TabIndex = 195; this.labelControl11.Text = "Người tạm ứng"; this.labelControl11.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL; // // plTreeSelectItem1 // this.plTreeSelectItem1.Location = new System.Drawing.Point(605, -20); this.plTreeSelectItem1.Name = "plTreeSelectItem1"; this.plTreeSelectItem1.Size = new System.Drawing.Size(167, 20); this.plTreeSelectItem1.TabIndex = 193; this.plTreeSelectItem1.ZZZWidthFactor = 2F; // // gridColumn8 // this.gridColumn8.Caption = "VAT"; this.gridColumn8.Name = "gridColumn8"; this.gridColumn8.Visible = true; this.gridColumn8.VisibleIndex = 5; // // gridColumn6 // this.gridColumn6.Caption = "VAT"; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 5; this.gridColumn6.Width = 96; // // frmPhieuTamUngQL // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(912, 497); this.Controls.Add(this.splitContainerControl1); this.Controls.Add(this.popupControlContainerFilter); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "frmPhieuTamUngQL"; this.Text = "Quản lý tạm ứng"; ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).EndInit(); this.xtraTabControlDetail.ResumeLayout(false); this.xtraTabPageDetail.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).EndInit(); this.popupControlContainerFilter.ResumeLayout(false); this.popupControlContainerFilter.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.chkEditQuaLuong.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chkEditKetChuyen.Properties)).EndInit(); this.ResumeLayout(false); }
public void BindControls() { if (Questionnaire == null) MessageBox.Show("Questionnaire must be bind with JSON first.", "MultipleChoice Component"); isLoaded = false; this.layoutControlGroupQuestion1.Clear(); Settings oSettings = Questionnaire.Form.Settings; m_DynamicControls = new List<DynamicControl>(); // layoutControlGroupQuestion1 this.layoutControlGroupQuestion1.Name = "layoutControlGroupQuestion" + Guid.NewGuid().ToString(); this.layoutControlGroupQuestion1.AppearanceGroup.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlGroupQuestion1.AppearanceGroup.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; this.layoutControlGroupQuestion1.AppearanceGroup.Options.UseFont = true; this.layoutControlGroupQuestion1.ExpandButtonVisible = false; this.layoutControlGroupQuestion1.GroupBordersVisible = true; this.layoutControlGroupQuestion1.TextVisible = false; this.layoutControlGroupQuestion1.Padding = new DevExpress.XtraLayout.Utils.Padding(1, 1,1, 1); this.layoutControlGroupQuestion1.ShowInCustomizationForm = false; //this.layoutControlGroupQuestion1.Size = new System.Drawing.Size(417, 64); //this.layoutControlGroupQuestion1.Text = oSettings.Label + " " + oSettings.QuestionText; this.layoutControlGroupQuestion1.BeginUpdate(); #region Footer this.layoutControlItem1 = new LayoutControlItem(); this.layoutControlItem1.Name = "layoutControlItem" + Guid.NewGuid().ToString(); //bool isCustomerOwnershipOnly = false; //if (oSettings.CustomerOwnership && oSettings.BVOwnership) // isCustomerOwnershipOnly = true; //ctlFooter = new Footer() { // IsAccountLevel = oSettings.DataBindings.account_level, // IsCustomerOwnershipOnly = isCustomerOwnershipOnly, // HelpText = oSettings.QuestionHelp, // LanguageCode = oSettings.DataBindings.language_code //}; ctlFooter = new Footer() { IsAccountLevel = oSettings.DataBindings.account_level, IsCustomerOwned = oSettings.CustomerOwnership, IsBrightvisionOwned = oSettings.BVOwnership, HelpText = oSettings.QuestionHelp, LanguageCode = oSettings.DataBindings.language_code, QuestionText = oSettings.Label + " " + oSettings.QuestionText }; ctlFooter.InitializeFooter(); ctlFooter.Dock = DockStyle.Fill; ctlFooter.Height = 20; this.layoutControlItem1.Control = ctlFooter; this.layoutControlItem1.ShowInCustomizationForm = false; this.layoutControlItem1.TextVisible = false; this.layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.layoutControlItem1.MinSize = new Size(0, 24); this.layoutControlItem1.MaxSize = new Size(0, 24); this.layoutControlItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click); this.layoutControlItem1.SizeConstraintsType = SizeConstraintsType.Custom; this.layoutControlGroupQuestion1.AddItem(this.layoutControlItem1); #endregion IList<AnswerOption> answeroptionList = Questionnaire.Form.Settings.AnswerOptions; IMultipleChoice answeroption = null; List<MultipleChoiceValue> mcvalueList = null; int iAnswerOptions = answeroptionList.Count; int numCols = 1; int numRows = 1; LayoutControlItem refColItem = null, prevItem = null, lastItem = null; List<LayoutControlItem> listItems = null; int idx = 0; int refColItemWidth = 0; for (int x = 0; x < iAnswerOptions; ++x) { answeroption = answeroptionList[x] as IMultipleChoice; simpleLabelItemValidation = new SimpleLabelItem(); simpleLabelItemValidation.AppearanceItemCaption.BackColor = Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); simpleLabelItemValidation.Name = Guid.NewGuid().ToString(); simpleLabelItemValidation.TextAlignMode = TextAlignModeItem.CustomSize; simpleLabelItemValidation.TextSize = new Size(212, 15); simpleLabelItemValidation.Text = " Please check at least one item below."; simpleLabelItemValidation.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; this.layoutControlGroupQuestion1.AddItem(simpleLabelItemValidation); mcvalueList = answeroption.MultipleChoiceValues; numCols = answeroption.MultipleChoiceColumns; numRows = Convert.ToInt16(Math.Ceiling(Convert.ToDouble(mcvalueList.Count) / Convert.ToDouble(numCols))); listItems = new List<LayoutControlItem>(); for (int i = 1; i <= numCols; ++i) { for (int q = 1; q <= numRows && idx < mcvalueList.Count ; ++q) { if (i > 1 && q == 1) { lastItem = refColItem; } if (q == 1) { refColItem = new LayoutControlItem(); refColItem.Padding = new DevExpress.XtraLayout.Utils.Padding(0); refColItem.Spacing = new DevExpress.XtraLayout.Utils.Padding(0); //add checkedit this.checkEdit1 = new CheckEdit(); this.checkEdit1.Tag = new MultiplechoiceData() { ParentPositionIndex = "IndexPosition" + x.ToString(), PositionIndex = "IndexPosition" + idx, ControlContainer = refColItem }; this.checkEdit1.Text = mcvalueList[idx].TextPrefix; this.checkEdit1.Checked = mcvalueList[idx].Checked; this.checkEdit1.Name = "checkEdit" + Guid.NewGuid().ToString(); //this.checkEdit1.StyleController = this.StyleController; this.checkEdit1.AutoSizeInLayoutControl = true; checkEdit1.CheckedChanged += new EventHandler(checkEdit1_CheckedChanged); m_DynamicControls.Add(new DynamicControl() { Control = this.checkEdit1, Name = this.checkEdit1.Name, DefaultValue = this.checkEdit1.Checked, TextPrefix = this.checkEdit1.Text }); refColItem.Name = "layoutControlItem" + Guid.NewGuid().ToString(); refColItem.Control = this.checkEdit1; refColItem.TextVisible = false; refColItem.MinSize = new Size(0, 17); refColItem.MaxSize = new Size(0, 17); refColItem.SizeConstraintsType = SizeConstraintsType.Custom; refColItem.Click += new EventHandler(layoutControlGroupQuestion1_Click); refColItem.AllowAutoAlignment = true; if (refColItemWidth < this.checkEdit1.Width) refColItemWidth = this.checkEdit1.Width; if (i > 1) { layoutControlGroupQuestion1.AddItem(refColItem, lastItem, DevExpress.XtraLayout.Utils.InsertType.Right); } else { layoutControlGroupQuestion1.AddItem(refColItem); } listItems.Add(refColItem); } else { this.layoutControlItem1 = new LayoutControlItem(); this.layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0); this.layoutControlItem1.Spacing = new DevExpress.XtraLayout.Utils.Padding(0); //add checkedit this.checkEdit1 = new CheckEdit(); this.checkEdit1.Tag = new MultiplechoiceData() { ParentPositionIndex = "IndexPosition" + x.ToString(), PositionIndex = "IndexPosition" + idx, ControlContainer = layoutControlItem1 }; this.checkEdit1.Text = mcvalueList[idx].TextPrefix; this.checkEdit1.Checked = mcvalueList[idx].Checked; this.checkEdit1.Name = "checkEdit" + Guid.NewGuid().ToString(); this.checkEdit1.StyleController = this.StyleController; checkEdit1.CheckedChanged += new EventHandler(checkEdit1_CheckedChanged); m_DynamicControls.Add(new DynamicControl() { Control = this.checkEdit1, Name = this.checkEdit1.Name, DefaultValue = this.checkEdit1.Checked, TextPrefix = this.checkEdit1.Text }); this.layoutControlItem1.Name = "layoutControlItem" + Guid.NewGuid().ToString(); this.layoutControlItem1.Control = this.checkEdit1; this.layoutControlItem1.TextVisible = false; this.layoutControlItem1.MinSize = new Size(0, 17); this.layoutControlItem1.MaxSize = new Size(0, 17); this.layoutControlItem1.SizeConstraintsType = SizeConstraintsType.Custom; this.layoutControlItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click); if (q > 1 && i==1) { this.layoutControlGroupQuestion1.AddItem(this.layoutControlItem1); } else { if ((idx-numRows) >= 0) { this.layoutControlGroupQuestion1.AddItem(this.layoutControlItem1, listItems[idx - numRows], DevExpress.XtraLayout.Utils.InsertType.Right); } } listItems.Add(this.layoutControlItem1); prevItem = this.layoutControlItem1; } idx++; } } idx = 0; //EmptySpaceItem esitem = new EmptySpaceItem(); //esitem.Size = new Size(100,20); //this.layoutControlGroupQuestion1.AddItem(esitem); foreach (OtherChoice oChoice in answeroption.OtherChoices) { if (oChoice.Enabled) { //if (!string.IsNullOrEmpty(oChoice.TextPrefix)) { // // simpleLabelItem1 // this.simpleLabelItem1 = new DevExpress.XtraLayout.SimpleLabelItem(); // this.simpleLabelItem1.Name = "simpleLabelItem" + Guid.NewGuid().ToString(); // //this.simpleLabelItem1.ShowInCustomizationForm = false; // //this.simpleLabelItem1.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; // this.simpleLabelItem1.Text = oChoice.TextPrefix; // //newSize = new System.Drawing.Size(100, 20); // newSize = new System.Drawing.Size(20, 20); // this.simpleLabelItem1.SizeConstraintsType = SizeConstraintsType.Custom; // this.simpleLabelItem1.MaxSize = newSize; // this.simpleLabelItem1.MinSize = newSize; // this.simpleLabelItem1.Size = newSize; // this.simpleLabelItem1.AppearanceItemCaption.BackColor = System.Drawing.Color.Transparent; // this.simpleLabelItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click); // this.layoutControlGroupQuestion1.AddItem(this.simpleLabelItem1); //} else { // this.simpleLabelItem1 = null; //} // layoutControlItem1 this.layoutControlItem1 = new LayoutControlItem(); //add textEdit1 to layout this.memoEdit1 = new MemoEdit(); this.memoEdit1.Tag = new MultiplechoiceData() { ParentPositionIndex = "IndexPosition" + x.ToString(), PositionIndex = "IndexPosition" + idx.ToString(), ControlContainer = layoutControlItem1, Required = oChoice.Required, HasValue = !string.IsNullOrWhiteSpace(oChoice.DefaultInputValue) ? true : false, ChoiceOption = oChoice }; this.memoEdit1.Name = "textEdit" + Guid.NewGuid().ToString(); this.memoEdit1.Properties.ScrollBars = ScrollBars.None; this.memoEdit1.StyleController = this.StyleController; //set value string _DefaultValue = string.Empty; if (oChoice.DefaultInputValue != null) { _DefaultValue = oChoice.DefaultInputValue.Trim(); this.memoEdit1.Text = oChoice.DefaultInputValue.Trim(); oChoice.InputValue = oChoice.DefaultInputValue.Trim(); } m_DynamicControls.Add(new DynamicControl() { Control = this.memoEdit1, Name = this.memoEdit1.Name, DefaultTextValue = _DefaultValue, TextPrefix = oChoice.TextPrefix }); memoEdit1.TextChanged += new EventHandler(textEdit1_TextChanged); memoEdit1.Resize += new EventHandler(memoEdit1_Resize); memoEdit1.Click += new EventHandler(layoutControlGroupQuestion1_Click); this.layoutControlItem1.Name = "layoutControlItem" + Guid.NewGuid().ToString(); this.layoutControlItem1.Control = this.memoEdit1; if (!string.IsNullOrEmpty(oChoice.TextPrefix)) { this.layoutControlItem1.Text = oChoice.TextPrefix; this.layoutControlItem1.TextVisible = true; this.layoutControlItem1.TextLocation = DevExpress.Utils.Locations.Top; this.layoutControlItem1.MaxSize = new Size(0, 41); this.layoutControlItem1.MinSize = new Size(0, 41); } else { this.layoutControlItem1.TextVisible = false; this.layoutControlItem1.MaxSize = new Size(0, 24); this.layoutControlItem1.MinSize = new Size(0, 24); } this.layoutControlItem1.SizeConstraintsType = SizeConstraintsType.Custom; this.layoutControlItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click); this.layoutControlGroupQuestion1.AddItem(this.layoutControlItem1); idx++; } } } //string prioText = oSettings.Priority; //if (oSettings.CustomerOwnership && oSettings.BVOwnership) { // prioText += "(Cust+BV)"; //} else if (oSettings.CustomerOwnership) { // prioText += "(Cust)"; //} else if (oSettings.BVOwnership) { // prioText += "(BV)"; //} //if (oSettings.PlotDoneStatus.Trim().ToLower() == "done") { // prioText += " Done"; //} // simpleLabelItem1 //this.simpleLabelItem1 = new DevExpress.XtraLayout.SimpleLabelItem(); //this.simpleLabelItem1.Name = "simpleLabelItem" + Guid.NewGuid().ToString(); //this.simpleLabelItem1.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); //this.simpleLabelItem1.AppearanceItemCaption.Options.UseTextOptions = true; //this.simpleLabelItem1.ShowInCustomizationForm = false; //this.simpleLabelItem1.Text = prioText; //this.simpleLabelItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click); //this.layoutControlGroupQuestion1.AddItem(this.simpleLabelItem1); //if (!string.IsNullOrEmpty(oSettings.QuestionHelp)) { // // LabelControl1 help // this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); // this.labelControl1.Name = "labelControl" + Guid.NewGuid().ToString(); // this.labelControl1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); // this.labelControl1.Appearance.Options.UseTextOptions = true; // this.labelControl1.Text = "Help"; // this.labelControl1.ToolTip = oSettings.QuestionHelp.Trim(); // //apply tooltip controller from parent // if (this.ToolTipController != null && this.ToolTipController.DefaultController != null) { // this.labelControl1.ToolTipController = ToolTipController.DefaultController; // } // this.labelControl1.Click += new EventHandler(layoutControlGroupQuestion1_Click); // //layoutControlItem1 // this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); // this.layoutControlItem1.Name = "layoutControlItem" + Guid.NewGuid().ToString(); // this.layoutControlItem1.Control = this.labelControl1; // this.layoutControlItem1.TextVisible = false; // this.layoutControlItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click); // this.layoutControlGroupQuestion1.AddItem(this.layoutControlItem1, this.simpleLabelItem1, DevExpress.XtraLayout.Utils.InsertType.Right); //} this.layoutControlGroupQuestion1.Click += new EventHandler(layoutControlGroupQuestion1_Click); /* * https://brightvision.jira.com/browse/PLATFORM-2440 */ for (int i = 0; i < this.layoutControlGroupQuestion1.Items.Count; i++) { ((LayoutControlItem)this.layoutControlGroupQuestion1.Items[i]).ControlMinSize = new Size(refColItemWidth, 17); } this.layoutControlGroupQuestion1.EndUpdate(); Image bg = BGImage(this); if (bg != null) { this.layoutControlGroupQuestion1.BackgroundImage = bg; this.layoutControlGroupQuestion1.BackgroundImageVisible = true; } if (this.memoEdit1 != null) this.BackColor = this.memoEdit1.BackColor; this.ControlGroup = this.layoutControlGroupQuestion1; this.ControlGroup.Tag = this; isLoaded = true; }
private void InitializeComponent() { this.label5 = new Label(); this.label1 = new Label(); this.lblPL = new Label(); this.cmbPrintSets = new ComboBoxEdit(); this.numPageIndex = new SpinEdit(); this.label2 = new Label(); this.cmbDataForms = new ComboBoxEdit(); this.gcDataControls = new GridControl(); this.gvDataControls = new GridView(); this.chkDel = new CheckEdit(); this.cmbPrintSets.Properties.BeginInit(); this.numPageIndex.Properties.BeginInit(); this.cmbDataForms.Properties.BeginInit(); this.gcDataControls.BeginInit(); this.gvDataControls.BeginInit(); this.chkDel.Properties.BeginInit(); base.SuspendLayout(); this.label5.Location = new Point(13, 0x3b); this.label5.Name = "label5"; this.label5.Size = new Size(0x26, 80); this.label5.TabIndex = 4; this.label5.Text = "表单控件权限"; this.label1.AutoSize = true; this.label1.Location = new Point(0x1d2, 8); this.label1.Name = "label1"; this.label1.Size = new Size(0x1f, 14); this.label1.TabIndex = 13; this.label1.Text = "页面"; this.lblPL.AutoSize = true; this.lblPL.Location = new Point(13, 0x23); this.lblPL.Name = "lblPL"; this.lblPL.Size = new Size(0x1f, 14); this.lblPL.TabIndex = 15; this.lblPL.Text = "报表"; this.cmbPrintSets.Location = new Point(50, 0x20); this.cmbPrintSets.Name = "cmbPrintSets"; this.cmbPrintSets.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) }); this.cmbPrintSets.Size = new Size(0x191, 0x15); this.cmbPrintSets.TabIndex = 0x10; int[] bits = new int[4]; this.numPageIndex.EditValue = new decimal(bits); this.numPageIndex.Location = new Point(0x1f7, 5); this.numPageIndex.Name = "numPageIndex"; this.numPageIndex.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton() }); this.numPageIndex.Size = new Size(0x5e, 0x15); this.numPageIndex.TabIndex = 0x11; this.label2.AutoSize = true; this.label2.Location = new Point(13, 8); this.label2.Name = "label2"; this.label2.Size = new Size(0x1f, 14); this.label2.TabIndex = 0x12; this.label2.Text = "表单"; this.cmbDataForms.Location = new Point(50, 5); this.cmbDataForms.Name = "cmbDataForms"; this.cmbDataForms.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) }); this.cmbDataForms.Size = new Size(0x191, 0x15); this.cmbDataForms.TabIndex = 0x13; this.gcDataControls.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.gcDataControls.EmbeddedNavigator.Name = ""; this.gcDataControls.Location = new Point(50, 0x3b); this.gcDataControls.MainView = this.gvDataControls; this.gcDataControls.Name = "gcDataControls"; this.gcDataControls.Size = new Size(0x243, 0x15d); this.gcDataControls.TabIndex = 0x16; this.gcDataControls.ViewCollection.AddRange(new BaseView[] { this.gvDataControls }); this.gvDataControls.GridControl = this.gcDataControls; this.gvDataControls.Name = "gvDataControls"; this.gvDataControls.OptionsSelection.MultiSelect = true; this.gvDataControls.OptionsView.ShowGroupedColumns = true; this.chkDel.Location = new Point(0x1d3, 0x20); this.chkDel.Name = "chkDel"; this.chkDel.Properties.Caption = "能否删除"; this.chkDel.RightToLeft = RightToLeft.No; this.chkDel.Size = new Size(0x4b, 0x13); this.chkDel.TabIndex = 0x17; base.Controls.Add(this.chkDel); base.Controls.Add(this.gcDataControls); base.Controls.Add(this.cmbDataForms); base.Controls.Add(this.label2); base.Controls.Add(this.numPageIndex); base.Controls.Add(this.cmbPrintSets); base.Controls.Add(this.lblPL); base.Controls.Add(this.label1); base.Controls.Add(this.label5); base.Location = new Point(4, 0x15); this.LookAndFeel.UseDefaultLookAndFeel = false; base.Name = "TabPageForSetFormPermission"; base.Size = new Size(0x278, 0x1a0); this.cmbPrintSets.Properties.EndInit(); this.numPageIndex.Properties.EndInit(); this.cmbDataForms.Properties.EndInit(); this.gcDataControls.EndInit(); this.gvDataControls.EndInit(); this.chkDel.Properties.EndInit(); base.ResumeLayout(false); base.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(InvoiceForm)); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.boxSizedList = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); this.repositoryItemSpinEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit(); this.repositoryItemDateEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); this.repositoryItemButtonEdit4 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.layoutControl3 = new DevExpress.XtraLayout.LayoutControl(); this.lblPicklistPrintedDate = new DevExpress.XtraEditors.LabelControl(); this.lblPicklistConfirmedBy = new DevExpress.XtraEditors.LabelControl(); this.lblAppDate = new DevExpress.XtraEditors.LabelControl(); this.lblIssueStatus = new DevExpress.XtraEditors.LabelControl(); this.lblIssueTypes = new DevExpress.XtraEditors.LabelControl(); this.lblissuedDate = new DevExpress.XtraEditors.LabelControl(); this.lblPaymentType = new DevExpress.XtraEditors.LabelControl(); this.lblApprovedBy = new DevExpress.XtraEditors.LabelControl(); this.lblIssuedBy = new DevExpress.XtraEditors.LabelControl(); this.lblRefNo = new DevExpress.XtraEditors.LabelControl(); this.lblApprovedDate = new DevExpress.XtraEditors.LabelControl(); this.lblInstitutionType = new DevExpress.XtraEditors.LabelControl(); this.lblRegion = new DevExpress.XtraEditors.LabelControl(); this.lblZone = new DevExpress.XtraEditors.LabelControl(); this.lblWoreda = new DevExpress.XtraEditors.LabelControl(); this.lblOwnership = new DevExpress.XtraEditors.LabelControl(); this.lblMode = new DevExpress.XtraEditors.LabelControl(); this.chkIncludeInsurance = new DevExpress.XtraEditors.CheckEdit(); this.btnReturnToApprovalStep = new DevExpress.XtraEditors.SimpleButton(); this.txtFacilityNameFilter = new DevExpress.XtraEditors.TextEdit(); this.gridOutstandingPickLists = new DevExpress.XtraGrid.GridControl(); this.gridOutstandingPickListView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn48 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn49 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn46 = new DevExpress.XtraGrid.Columns.GridColumn(); this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); this.btnConfirmIssue1 = new DevExpress.XtraEditors.SimpleButton(); this.btnCancelIssue = new DevExpress.XtraEditors.SimpleButton(); this.txtConfirmOrderNumber = new DevExpress.XtraEditors.TextEdit(); this.txtConfirmApprovedBy = new DevExpress.XtraEditors.TextEdit(); this.txtConfirmFromStore = new DevExpress.XtraEditors.TextEdit(); this.txtConfirmRequestedBy = new DevExpress.XtraEditors.TextEdit(); this.dtIssuedDate = new CalendarLib.DateTimePickerEx(); this.txtRemarks = new DevExpress.XtraEditors.MemoEdit(); this.txtIssueRefNo = new DevExpress.XtraEditors.TextEdit(); this.gridOutstandingPicklistDetail = new DevExpress.XtraGrid.GridControl(); this.gridViewConfirmation = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn76 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn22 = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemMemoEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit(); this.gridColumn23 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn35 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn36 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn37 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn38 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn39 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn40 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSKUPicked = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemTextEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.colBUPicked = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn47 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colCost = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn60 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn62 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn50 = new DevExpress.XtraGrid.Columns.GridColumn(); this.txtIssuedBy = new DevExpress.XtraEditors.TextEdit(); this.lkMode = new DevExpress.XtraEditors.LookUpEdit(); this.lkPaymentType = new DevExpress.XtraEditors.LookUpEdit(); this.layoutControlItem18 = new DevExpress.XtraLayout.LayoutControlItem(); this.tabbedControlGroup1 = new DevExpress.XtraLayout.TabbedControlGroup(); this.layoutControlGroup11 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem26 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem25 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem20 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem21 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem27 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem22 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem15 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup7 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlGroup12 = new DevExpress.XtraLayout.LayoutControlGroup(); this.HeaderSection = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem23 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem24 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem30 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup4 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem31 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem32 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem28 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem29 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup13 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem19 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem42 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem43 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutSupplimentaryOrder = new DevExpress.XtraLayout.LayoutControlItem(); this.lcOutstandingPicklists = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem50 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup5 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(); this.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(); this.emptySpaceItem15 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlGroup8 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlGroup9 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlGroup10 = new DevExpress.XtraLayout.LayoutControlGroup(); this.emptySpaceItem10 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem22 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem23 = new DevExpress.XtraLayout.EmptySpaceItem(); this.printingSystem1 = new DevExpress.XtraPrinting.PrintingSystem(); this.printableComponentLink1 = new DevExpress.XtraPrinting.PrintableComponentLink(); this.printOrder = new DevExpress.XtraPrinting.PrintableComponentLink(); ((System.ComponentModel.ISupportInitialize)(this.boxSizedList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl3)).BeginInit(); this.layoutControl3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chkIncludeInsurance.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtFacilityNameFilter.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridOutstandingPickLists)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridOutstandingPickListView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtConfirmOrderNumber.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtConfirmApprovedBy.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtConfirmFromStore.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtConfirmRequestedBy.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtRemarks.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtIssueRefNo.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridOutstandingPicklistDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewConfirmation)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtIssuedBy.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lkMode.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lkPaymentType.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem18)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem26)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem27)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem22)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup12)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.HeaderSection)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem23)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem30)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem31)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem32)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem28)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem29)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup13)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem42)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem43)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutSupplimentaryOrder)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lcOutstandingPicklists)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem50)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem15)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem22)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem23)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.printingSystem1)).BeginInit(); this.SuspendLayout(); // // boxSizedList // this.boxSizedList.AutoHeight = false; this.boxSizedList.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.boxSizedList.DisplayMember = "Name"; this.boxSizedList.Name = "boxSizedList"; this.boxSizedList.ValueMember = "ID"; // // repositoryItemSpinEdit1 // this.repositoryItemSpinEdit1.AutoHeight = false; this.repositoryItemSpinEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.repositoryItemSpinEdit1.Name = "repositoryItemSpinEdit1"; // // repositoryItemDateEdit3 // this.repositoryItemDateEdit3.AutoHeight = false; this.repositoryItemDateEdit3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemDateEdit3.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.repositoryItemDateEdit3.EditFormat.FormatString = "mm-DD-YYYY"; this.repositoryItemDateEdit3.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.repositoryItemDateEdit3.ExportMode = DevExpress.XtraEditors.Repository.ExportMode.DisplayText; this.repositoryItemDateEdit3.Name = "repositoryItemDateEdit3"; // // repositoryItemButtonEdit4 // this.repositoryItemButtonEdit4.AutoHeight = false; this.repositoryItemButtonEdit4.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Plus)}); this.repositoryItemButtonEdit4.Name = "repositoryItemButtonEdit4"; this.repositoryItemButtonEdit4.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; // // layoutControl3 // this.layoutControl3.AllowCustomizationMenu = false; this.layoutControl3.Controls.Add(this.lblPicklistPrintedDate); this.layoutControl3.Controls.Add(this.lblPicklistConfirmedBy); this.layoutControl3.Controls.Add(this.lblAppDate); this.layoutControl3.Controls.Add(this.lblIssueStatus); this.layoutControl3.Controls.Add(this.lblIssueTypes); this.layoutControl3.Controls.Add(this.lblissuedDate); this.layoutControl3.Controls.Add(this.lblPaymentType); this.layoutControl3.Controls.Add(this.lblApprovedBy); this.layoutControl3.Controls.Add(this.lblIssuedBy); this.layoutControl3.Controls.Add(this.lblRefNo); this.layoutControl3.Controls.Add(this.lblApprovedDate); this.layoutControl3.Controls.Add(this.lblInstitutionType); this.layoutControl3.Controls.Add(this.lblRegion); this.layoutControl3.Controls.Add(this.lblZone); this.layoutControl3.Controls.Add(this.lblWoreda); this.layoutControl3.Controls.Add(this.lblOwnership); this.layoutControl3.Controls.Add(this.lblMode); this.layoutControl3.Controls.Add(this.chkIncludeInsurance); this.layoutControl3.Controls.Add(this.btnReturnToApprovalStep); this.layoutControl3.Controls.Add(this.txtFacilityNameFilter); this.layoutControl3.Controls.Add(this.gridOutstandingPickLists); this.layoutControl3.Controls.Add(this.simpleButton1); this.layoutControl3.Controls.Add(this.btnConfirmIssue1); this.layoutControl3.Controls.Add(this.btnCancelIssue); this.layoutControl3.Controls.Add(this.txtConfirmOrderNumber); this.layoutControl3.Controls.Add(this.txtConfirmApprovedBy); this.layoutControl3.Controls.Add(this.txtConfirmFromStore); this.layoutControl3.Controls.Add(this.txtConfirmRequestedBy); this.layoutControl3.Controls.Add(this.dtIssuedDate); this.layoutControl3.Controls.Add(this.txtRemarks); this.layoutControl3.Controls.Add(this.txtIssueRefNo); this.layoutControl3.Controls.Add(this.gridOutstandingPicklistDetail); this.layoutControl3.Controls.Add(this.txtIssuedBy); this.layoutControl3.Controls.Add(this.lkMode); this.layoutControl3.Controls.Add(this.lkPaymentType); this.layoutControl3.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl3.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem18, this.tabbedControlGroup1, this.layoutControlItem26, this.layoutControlItem25, this.layoutControlItem20, this.layoutControlItem17, this.layoutControlItem21, this.layoutControlItem27, this.layoutControlItem22, this.layoutControlItem1, this.layoutControlItem12, this.layoutControlItem15}); this.layoutControl3.Location = new System.Drawing.Point(0, 0); this.layoutControl3.Margin = new System.Windows.Forms.Padding(0); this.layoutControl3.Name = "layoutControl3"; this.layoutControl3.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(330, 260, 250, 350); this.layoutControl3.Root = this.layoutControlGroup7; this.layoutControl3.Size = new System.Drawing.Size(1123, 575); this.layoutControl3.TabIndex = 37; this.layoutControl3.Text = "layoutControl3"; // // lblPicklistPrintedDate // this.lblPicklistPrintedDate.Location = new System.Drawing.Point(823, 104); this.lblPicklistPrintedDate.Name = "lblPicklistPrintedDate"; this.lblPicklistPrintedDate.Size = new System.Drawing.Size(91, 16); this.lblPicklistPrintedDate.StyleController = this.layoutControl3; this.lblPicklistPrintedDate.TabIndex = 63; // // lblPicklistConfirmedBy // this.lblPicklistConfirmedBy.Location = new System.Drawing.Point(823, 124); this.lblPicklistConfirmedBy.Name = "lblPicklistConfirmedBy"; this.lblPicklistConfirmedBy.Size = new System.Drawing.Size(91, 16); this.lblPicklistConfirmedBy.StyleController = this.layoutControl3; this.lblPicklistConfirmedBy.TabIndex = 62; // // lblAppDate // this.lblAppDate.Location = new System.Drawing.Point(622, 104); this.lblAppDate.Name = "lblAppDate"; this.lblAppDate.Size = new System.Drawing.Size(91, 16); this.lblAppDate.StyleController = this.layoutControl3; this.lblAppDate.TabIndex = 61; // // lblIssueStatus // this.lblIssueStatus.Location = new System.Drawing.Point(977, 104); this.lblIssueStatus.Name = "lblIssueStatus"; this.lblIssueStatus.Size = new System.Drawing.Size(135, 16); this.lblIssueStatus.StyleController = this.layoutControl3; this.lblIssueStatus.TabIndex = 60; // // lblIssueTypes // this.lblIssueTypes.Location = new System.Drawing.Point(977, 124); this.lblIssueTypes.Name = "lblIssueTypes"; this.lblIssueTypes.Size = new System.Drawing.Size(135, 16); this.lblIssueTypes.StyleController = this.layoutControl3; this.lblIssueTypes.TabIndex = 59; // // lblissuedDate // this.lblissuedDate.Location = new System.Drawing.Point(424, 104); this.lblissuedDate.Name = "lblissuedDate"; this.lblissuedDate.Size = new System.Drawing.Size(87, 16); this.lblissuedDate.StyleController = this.layoutControl3; this.lblissuedDate.TabIndex = 58; // // lblPaymentType // this.lblPaymentType.Location = new System.Drawing.Point(384, 50); this.lblPaymentType.Name = "lblPaymentType"; this.lblPaymentType.Size = new System.Drawing.Size(139, 16); this.lblPaymentType.StyleController = this.layoutControl3; this.lblPaymentType.TabIndex = 57; // // lblApprovedBy // this.lblApprovedBy.Location = new System.Drawing.Point(622, 124); this.lblApprovedBy.Name = "lblApprovedBy"; this.lblApprovedBy.Size = new System.Drawing.Size(91, 16); this.lblApprovedBy.StyleController = this.layoutControl3; this.lblApprovedBy.TabIndex = 56; // // lblIssuedBy // this.lblIssuedBy.Location = new System.Drawing.Point(424, 124); this.lblIssuedBy.Name = "lblIssuedBy"; this.lblIssuedBy.Size = new System.Drawing.Size(87, 16); this.lblIssuedBy.StyleController = this.layoutControl3; this.lblIssuedBy.TabIndex = 55; // // lblRefNo // this.lblRefNo.Location = new System.Drawing.Point(594, 50); this.lblRefNo.Name = "lblRefNo"; this.lblRefNo.Size = new System.Drawing.Size(132, 16); this.lblRefNo.StyleController = this.layoutControl3; this.lblRefNo.TabIndex = 54; // // lblApprovedDate // this.lblApprovedDate.Location = new System.Drawing.Point(854, 104); this.lblApprovedDate.Name = "lblApprovedDate"; this.lblApprovedDate.Size = new System.Drawing.Size(58, 16); this.lblApprovedDate.StyleController = this.layoutControl3; this.lblApprovedDate.TabIndex = 53; // // lblInstitutionType // this.lblInstitutionType.Location = new System.Drawing.Point(795, 50); this.lblInstitutionType.Name = "lblInstitutionType"; this.lblInstitutionType.Size = new System.Drawing.Size(317, 16); this.lblInstitutionType.StyleController = this.layoutControl3; this.lblInstitutionType.TabIndex = 52; // // lblRegion // this.lblRegion.Location = new System.Drawing.Point(795, 70); this.lblRegion.Name = "lblRegion"; this.lblRegion.Size = new System.Drawing.Size(317, 16); this.lblRegion.StyleController = this.layoutControl3; this.lblRegion.TabIndex = 51; // // lblZone // this.lblZone.Location = new System.Drawing.Point(594, 70); this.lblZone.Name = "lblZone"; this.lblZone.Size = new System.Drawing.Size(132, 16); this.lblZone.StyleController = this.layoutControl3; this.lblZone.TabIndex = 50; // // lblWoreda // this.lblWoreda.Location = new System.Drawing.Point(384, 70); this.lblWoreda.Name = "lblWoreda"; this.lblWoreda.Size = new System.Drawing.Size(139, 16); this.lblWoreda.StyleController = this.layoutControl3; this.lblWoreda.TabIndex = 49; // // lblOwnership // this.lblOwnership.Location = new System.Drawing.Point(594, 30); this.lblOwnership.Name = "lblOwnership"; this.lblOwnership.Size = new System.Drawing.Size(518, 16); this.lblOwnership.StyleController = this.layoutControl3; this.lblOwnership.TabIndex = 48; // // lblMode // this.lblMode.Location = new System.Drawing.Point(384, 30); this.lblMode.Name = "lblMode"; this.lblMode.Size = new System.Drawing.Size(139, 16); this.lblMode.StyleController = this.layoutControl3; this.lblMode.TabIndex = 47; // // chkIncludeInsurance // this.chkIncludeInsurance.Location = new System.Drawing.Point(318, 151); this.chkIncludeInsurance.Name = "chkIncludeInsurance"; this.chkIncludeInsurance.Properties.Caption = "Include Insurance"; this.chkIncludeInsurance.Size = new System.Drawing.Size(801, 19); this.chkIncludeInsurance.StyleController = this.layoutControl3; this.chkIncludeInsurance.TabIndex = 45; // // btnReturnToApprovalStep // this.btnReturnToApprovalStep.Image = global::HCMIS.Desktop.Properties.Resources.Undo; this.btnReturnToApprovalStep.Location = new System.Drawing.Point(685, 549); this.btnReturnToApprovalStep.Name = "btnReturnToApprovalStep"; this.btnReturnToApprovalStep.Size = new System.Drawing.Size(142, 22); this.btnReturnToApprovalStep.StyleController = this.layoutControl3; this.btnReturnToApprovalStep.TabIndex = 39; this.btnReturnToApprovalStep.Text = "Return to SDO"; this.btnReturnToApprovalStep.Click += new System.EventHandler(this.btnReturnToApprovalStep_Click); // // txtFacilityNameFilter // this.txtFacilityNameFilter.Location = new System.Drawing.Point(50, 62); this.txtFacilityNameFilter.Name = "txtFacilityNameFilter"; this.txtFacilityNameFilter.Size = new System.Drawing.Size(243, 20); this.txtFacilityNameFilter.StyleController = this.layoutControl3; this.txtFacilityNameFilter.TabIndex = 44; this.txtFacilityNameFilter.EditValueChanged += new System.EventHandler(this.txtFacilityNameFilter_EditValueChanged); // // gridOutstandingPickLists // this.gridOutstandingPickLists.Location = new System.Drawing.Point(5, 98); this.gridOutstandingPickLists.MainView = this.gridOutstandingPickListView; this.gridOutstandingPickLists.Name = "gridOutstandingPickLists"; this.gridOutstandingPickLists.Size = new System.Drawing.Size(300, 448); this.gridOutstandingPickLists.TabIndex = 0; this.gridOutstandingPickLists.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridOutstandingPickListView}); // // gridOutstandingPickListView // this.gridOutstandingPickListView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn48, this.gridColumn49, this.gridColumn46}); this.gridOutstandingPickListView.GridControl = this.gridOutstandingPickLists; this.gridOutstandingPickListView.GroupCount = 1; this.gridOutstandingPickListView.Name = "gridOutstandingPickListView"; this.gridOutstandingPickListView.OptionsBehavior.Editable = false; this.gridOutstandingPickListView.OptionsCustomization.AllowColumnMoving = false; this.gridOutstandingPickListView.OptionsCustomization.AllowColumnResizing = false; this.gridOutstandingPickListView.OptionsCustomization.AllowSort = false; this.gridOutstandingPickListView.OptionsMenu.EnableColumnMenu = false; this.gridOutstandingPickListView.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridOutstandingPickListView.OptionsSelection.UseIndicatorForSelection = false; this.gridOutstandingPickListView.OptionsView.ShowFilterPanelMode = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.Never; this.gridOutstandingPickListView.OptionsView.ShowGroupPanel = false; this.gridOutstandingPickListView.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gridColumn46, DevExpress.Data.ColumnSortOrder.Ascending)}); this.gridOutstandingPickListView.RowClick += new DevExpress.XtraGrid.Views.Grid.RowClickEventHandler(this.OnOutstandingPicklistSelected); // // gridColumn48 // this.gridColumn48.Caption = "Referance Number"; this.gridColumn48.FieldName = "RefNo"; this.gridColumn48.Name = "gridColumn48"; this.gridColumn48.OptionsColumn.AllowEdit = false; this.gridColumn48.OptionsColumn.AllowFocus = false; this.gridColumn48.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn48.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn48.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn48.OptionsColumn.AllowMove = false; this.gridColumn48.OptionsColumn.AllowShowHide = false; this.gridColumn48.OptionsColumn.AllowSize = false; this.gridColumn48.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn48.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn48.OptionsColumn.ShowInExpressionEditor = false; this.gridColumn48.OptionsFilter.AllowAutoFilter = false; this.gridColumn48.OptionsFilter.AllowFilter = false; this.gridColumn48.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn48.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn48.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn48.OptionsFilter.ImmediateUpdatePopupDateFilterOnCheck = DevExpress.Utils.DefaultBoolean.False; this.gridColumn48.OptionsFilter.ImmediateUpdatePopupDateFilterOnDateChange = DevExpress.Utils.DefaultBoolean.False; this.gridColumn48.Visible = true; this.gridColumn48.VisibleIndex = 0; // // gridColumn49 // this.gridColumn49.Caption = "Requested By"; this.gridColumn49.FieldName = "RequestedBy"; this.gridColumn49.Name = "gridColumn49"; this.gridColumn49.OptionsColumn.AllowEdit = false; this.gridColumn49.OptionsColumn.AllowFocus = false; this.gridColumn49.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn49.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn49.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn49.OptionsColumn.AllowMove = false; this.gridColumn49.OptionsColumn.AllowShowHide = false; this.gridColumn49.OptionsColumn.AllowSize = false; this.gridColumn49.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn49.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn49.OptionsColumn.ShowInExpressionEditor = false; this.gridColumn49.OptionsFilter.AllowAutoFilter = false; this.gridColumn49.OptionsFilter.AllowFilter = false; this.gridColumn49.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn49.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn49.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn49.OptionsFilter.ImmediateUpdatePopupDateFilterOnCheck = DevExpress.Utils.DefaultBoolean.False; this.gridColumn49.OptionsFilter.ImmediateUpdatePopupDateFilterOnDateChange = DevExpress.Utils.DefaultBoolean.False; this.gridColumn49.Visible = true; this.gridColumn49.VisibleIndex = 1; this.gridColumn49.Width = 159; // // gridColumn46 // this.gridColumn46.Caption = "Route"; this.gridColumn46.FieldName = "RouteName"; this.gridColumn46.Name = "gridColumn46"; this.gridColumn46.OptionsColumn.AllowEdit = false; this.gridColumn46.OptionsColumn.AllowFocus = false; this.gridColumn46.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn46.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn46.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn46.OptionsColumn.AllowMove = false; this.gridColumn46.OptionsColumn.AllowShowHide = false; this.gridColumn46.OptionsColumn.AllowSize = false; this.gridColumn46.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn46.OptionsColumn.ShowInCustomizationForm = false; this.gridColumn46.OptionsColumn.ShowInExpressionEditor = false; this.gridColumn46.OptionsFilter.AllowAutoFilter = false; this.gridColumn46.OptionsFilter.AllowFilter = false; this.gridColumn46.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn46.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn46.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn46.OptionsFilter.ImmediateUpdatePopupDateFilterOnCheck = DevExpress.Utils.DefaultBoolean.False; this.gridColumn46.OptionsFilter.ImmediateUpdatePopupDateFilterOnDateChange = DevExpress.Utils.DefaultBoolean.False; this.gridColumn46.Visible = true; this.gridColumn46.VisibleIndex = 2; // // simpleButton1 // this.simpleButton1.Location = new System.Drawing.Point(539, 549); this.simpleButton1.Name = "simpleButton1"; this.simpleButton1.Size = new System.Drawing.Size(142, 22); this.simpleButton1.StyleController = this.layoutControl3; this.simpleButton1.TabIndex = 43; this.simpleButton1.Text = "Supplimentary PickList"; // // btnConfirmIssue1 // this.btnConfirmIssue1.Image = ((System.Drawing.Image)(resources.GetObject("btnConfirmIssue1.Image"))); this.btnConfirmIssue1.Location = new System.Drawing.Point(831, 549); this.btnConfirmIssue1.Name = "btnConfirmIssue1"; this.btnConfirmIssue1.Size = new System.Drawing.Size(142, 22); this.btnConfirmIssue1.StyleController = this.layoutControl3; this.btnConfirmIssue1.TabIndex = 42; this.btnConfirmIssue1.Text = "Confirm Issue"; this.btnConfirmIssue1.Click += new System.EventHandler(this.btnConfirmIssue_Click); // // btnCancelIssue // this.btnCancelIssue.Image = ((System.Drawing.Image)(resources.GetObject("btnCancelIssue.Image"))); this.btnCancelIssue.Location = new System.Drawing.Point(977, 549); this.btnCancelIssue.Name = "btnCancelIssue"; this.btnCancelIssue.Size = new System.Drawing.Size(142, 22); this.btnCancelIssue.StyleController = this.layoutControl3; this.btnCancelIssue.TabIndex = 41; this.btnCancelIssue.Text = "Cancel"; this.btnCancelIssue.Click += new System.EventHandler(this.btnCancelIssue_Click); // // txtConfirmOrderNumber // this.txtConfirmOrderNumber.Enabled = false; this.txtConfirmOrderNumber.Location = new System.Drawing.Point(378, 119); this.txtConfirmOrderNumber.Name = "txtConfirmOrderNumber"; this.txtConfirmOrderNumber.Size = new System.Drawing.Size(217, 20); this.txtConfirmOrderNumber.StyleController = this.layoutControl3; this.txtConfirmOrderNumber.TabIndex = 40; // // txtConfirmApprovedBy // this.txtConfirmApprovedBy.Enabled = false; this.txtConfirmApprovedBy.Location = new System.Drawing.Point(938, 100); this.txtConfirmApprovedBy.Name = "txtConfirmApprovedBy"; this.txtConfirmApprovedBy.Size = new System.Drawing.Size(50, 20); this.txtConfirmApprovedBy.StyleController = this.layoutControl3; this.txtConfirmApprovedBy.TabIndex = 39; // // txtConfirmFromStore // this.txtConfirmFromStore.Enabled = false; this.txtConfirmFromStore.Location = new System.Drawing.Point(527, 54); this.txtConfirmFromStore.Name = "txtConfirmFromStore"; this.txtConfirmFromStore.Size = new System.Drawing.Size(201, 20); this.txtConfirmFromStore.StyleController = this.layoutControl3; this.txtConfirmFromStore.TabIndex = 38; // // txtConfirmRequestedBy // this.txtConfirmRequestedBy.Enabled = false; this.txtConfirmRequestedBy.Location = new System.Drawing.Point(378, 167); this.txtConfirmRequestedBy.Name = "txtConfirmRequestedBy"; this.txtConfirmRequestedBy.Size = new System.Drawing.Size(217, 20); this.txtConfirmRequestedBy.StyleController = this.layoutControl3; this.txtConfirmRequestedBy.TabIndex = 37; // // dtIssuedDate // this.dtIssuedDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.dtIssuedDate.CalendarFont = new System.Drawing.Font("Nyala", 13F); this.dtIssuedDate.CalendarForeColor = System.Drawing.Color.Black; this.dtIssuedDate.DayOfWeekCharacters = 1; this.dtIssuedDate.Enabled = false; this.dtIssuedDate.ForeColor = System.Drawing.Color.Black; this.dtIssuedDate.Location = new System.Drawing.Point(590, 104); this.dtIssuedDate.MinDateTime = new System.DateTime(2002, 1, 12, 0, 0, 0, 0); this.dtIssuedDate.Name = "dtIssuedDate"; this.dtIssuedDate.PopUpFontSize = 10F; this.dtIssuedDate.Size = new System.Drawing.Size(120, 36); this.dtIssuedDate.TabIndex = 28; this.dtIssuedDate.Value = new System.DateTime(2012, 1, 12, 0, 0, 0, 0); // // txtRemarks // this.txtRemarks.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.txtRemarks.Location = new System.Drawing.Point(343, 447); this.txtRemarks.Name = "txtRemarks"; this.txtRemarks.Size = new System.Drawing.Size(235, 124); this.txtRemarks.StyleController = this.layoutControl3; this.txtRemarks.TabIndex = 32; // // txtIssueRefNo // this.txtIssueRefNo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtIssueRefNo.Enabled = false; this.txtIssueRefNo.Location = new System.Drawing.Point(378, 100); this.txtIssueRefNo.Name = "txtIssueRefNo"; this.txtIssueRefNo.Size = new System.Drawing.Size(50, 20); this.txtIssueRefNo.StyleController = this.layoutControl3; this.txtIssueRefNo.TabIndex = 34; // // gridOutstandingPicklistDetail // this.gridOutstandingPicklistDetail.Location = new System.Drawing.Point(318, 174); this.gridOutstandingPicklistDetail.MainView = this.gridViewConfirmation; this.gridOutstandingPicklistDetail.Margin = new System.Windows.Forms.Padding(0); this.gridOutstandingPicklistDetail.Name = "gridOutstandingPicklistDetail"; this.gridOutstandingPicklistDetail.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemMemoEdit3, this.repositoryItemTextEdit2}); this.gridOutstandingPicklistDetail.Size = new System.Drawing.Size(801, 371); this.gridOutstandingPicklistDetail.TabIndex = 13; this.gridOutstandingPicklistDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewConfirmation}); this.gridOutstandingPicklistDetail.DoubleClick += new System.EventHandler(this.gridOutstandingPicklistDetail_DoubleClick); // // gridViewConfirmation // this.gridViewConfirmation.Appearance.GroupFooter.BackColor = System.Drawing.Color.White; this.gridViewConfirmation.Appearance.GroupFooter.BackColor2 = System.Drawing.Color.White; this.gridViewConfirmation.Appearance.GroupFooter.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.gridViewConfirmation.Appearance.GroupFooter.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; this.gridViewConfirmation.Appearance.GroupFooter.Options.UseBackColor = true; this.gridViewConfirmation.Appearance.GroupFooter.Options.UseBorderColor = true; this.gridViewConfirmation.Appearance.GroupFooter.Options.UseTextOptions = true; this.gridViewConfirmation.Appearance.GroupFooter.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewConfirmation.Appearance.GroupRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.gridViewConfirmation.Appearance.GroupRow.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold); this.gridViewConfirmation.Appearance.GroupRow.ForeColor = System.Drawing.Color.Black; this.gridViewConfirmation.Appearance.GroupRow.Options.UseBackColor = true; this.gridViewConfirmation.Appearance.GroupRow.Options.UseFont = true; this.gridViewConfirmation.Appearance.GroupRow.Options.UseForeColor = true; this.gridViewConfirmation.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn76, this.gridColumn22, this.gridColumn23, this.gridColumn35, this.gridColumn36, this.gridColumn37, this.gridColumn38, this.gridColumn39, this.gridColumn40, this.colSKUPicked, this.colBUPicked, this.gridColumn47, this.colCost, this.gridColumn60, this.gridColumn62, this.gridColumn50}); this.gridViewConfirmation.GridControl = this.gridOutstandingPicklistDetail; this.gridViewConfirmation.GroupCount = 1; this.gridViewConfirmation.Name = "gridViewConfirmation"; this.gridViewConfirmation.OptionsBehavior.AutoExpandAllGroups = true; this.gridViewConfirmation.OptionsCustomization.AllowColumnMoving = false; this.gridViewConfirmation.OptionsCustomization.AllowColumnResizing = false; this.gridViewConfirmation.OptionsDetail.AllowExpandEmptyDetails = true; this.gridViewConfirmation.OptionsMenu.EnableColumnMenu = false; this.gridViewConfirmation.OptionsView.AllowCellMerge = true; this.gridViewConfirmation.OptionsView.GroupFooterShowMode = DevExpress.XtraGrid.Views.Grid.GroupFooterShowMode.Hidden; this.gridViewConfirmation.OptionsView.RowAutoHeight = true; this.gridViewConfirmation.OptionsView.ShowFilterPanelMode = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.Never; this.gridViewConfirmation.OptionsView.ShowFooter = true; this.gridViewConfirmation.OptionsView.ShowGroupPanel = false; this.gridViewConfirmation.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gridColumn22, DevExpress.Data.ColumnSortOrder.Ascending)}); this.gridViewConfirmation.CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.gridView2_CellValueChanged); // // gridColumn76 // this.gridColumn76.Caption = "Unit"; this.gridColumn76.FieldName = "Unit"; this.gridColumn76.Name = "gridColumn76"; this.gridColumn76.OptionsColumn.AllowEdit = false; this.gridColumn76.OptionsColumn.AllowFocus = false; this.gridColumn76.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn76.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn76.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn76.OptionsColumn.AllowMove = false; this.gridColumn76.OptionsColumn.AllowShowHide = false; this.gridColumn76.OptionsColumn.AllowSize = false; this.gridColumn76.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn76.OptionsFilter.AllowAutoFilter = false; this.gridColumn76.OptionsFilter.AllowFilter = false; this.gridColumn76.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn76.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn76.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn76.OptionsFilter.ImmediateUpdatePopupDateFilterOnCheck = DevExpress.Utils.DefaultBoolean.False; this.gridColumn76.Visible = true; this.gridColumn76.VisibleIndex = 4; // // gridColumn22 // this.gridColumn22.AppearanceCell.BackColor = System.Drawing.Color.WhiteSmoke; this.gridColumn22.AppearanceCell.Options.UseBackColor = true; this.gridColumn22.Caption = "Item"; this.gridColumn22.ColumnEdit = this.repositoryItemMemoEdit3; this.gridColumn22.FieldName = "FullItemName"; this.gridColumn22.Name = "gridColumn22"; this.gridColumn22.OptionsColumn.AllowEdit = false; this.gridColumn22.OptionsColumn.AllowFocus = false; this.gridColumn22.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn22.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn22.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn22.OptionsColumn.AllowMove = false; this.gridColumn22.OptionsColumn.AllowShowHide = false; this.gridColumn22.OptionsColumn.AllowSize = false; this.gridColumn22.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn22.OptionsFilter.AllowAutoFilter = false; this.gridColumn22.OptionsFilter.AllowFilter = false; this.gridColumn22.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn22.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn22.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn22.OptionsFilter.ImmediateUpdatePopupDateFilterOnCheck = DevExpress.Utils.DefaultBoolean.False; this.gridColumn22.Width = 84; // // repositoryItemMemoEdit3 // this.repositoryItemMemoEdit3.Name = "repositoryItemMemoEdit3"; // // gridColumn23 // this.gridColumn23.AppearanceCell.BackColor = System.Drawing.Color.WhiteSmoke; this.gridColumn23.AppearanceCell.Options.UseBackColor = true; this.gridColumn23.Caption = "Manufacturer"; this.gridColumn23.FieldName = "ManufacturerName"; this.gridColumn23.Name = "gridColumn23"; this.gridColumn23.OptionsColumn.AllowEdit = false; this.gridColumn23.OptionsColumn.AllowFocus = false; this.gridColumn23.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn23.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn23.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn23.OptionsColumn.AllowMove = false; this.gridColumn23.OptionsColumn.AllowShowHide = false; this.gridColumn23.OptionsColumn.AllowSize = false; this.gridColumn23.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn23.OptionsFilter.AllowAutoFilter = false; this.gridColumn23.OptionsFilter.AllowFilter = false; this.gridColumn23.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn23.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn23.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn23.OptionsFilter.ImmediateUpdatePopupDateFilterOnCheck = DevExpress.Utils.DefaultBoolean.False; this.gridColumn23.Visible = true; this.gridColumn23.VisibleIndex = 0; this.gridColumn23.Width = 103; // // gridColumn35 // this.gridColumn35.AppearanceCell.BackColor = System.Drawing.Color.WhiteSmoke; this.gridColumn35.AppearanceCell.Options.UseBackColor = true; this.gridColumn35.Caption = "Pack Size"; this.gridColumn35.FieldName = "BoxSizeDisplay"; this.gridColumn35.Name = "gridColumn35"; this.gridColumn35.OptionsColumn.AllowEdit = false; this.gridColumn35.OptionsColumn.AllowFocus = false; this.gridColumn35.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn35.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn35.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn35.OptionsColumn.AllowMove = false; this.gridColumn35.OptionsColumn.AllowShowHide = false; this.gridColumn35.OptionsColumn.AllowSize = false; this.gridColumn35.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn35.OptionsFilter.AllowAutoFilter = false; this.gridColumn35.OptionsFilter.AllowFilter = false; this.gridColumn35.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn35.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn35.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn35.OptionsFilter.ImmediateUpdatePopupDateFilterOnCheck = DevExpress.Utils.DefaultBoolean.False; this.gridColumn35.Width = 120; // // gridColumn36 // this.gridColumn36.AppearanceCell.BackColor = System.Drawing.Color.WhiteSmoke; this.gridColumn36.AppearanceCell.Options.UseBackColor = true; this.gridColumn36.Caption = "Packs To Pick"; this.gridColumn36.DisplayFormat.FormatString = "#,###.##"; this.gridColumn36.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.gridColumn36.FieldName = "SKUTOPICK"; this.gridColumn36.Name = "gridColumn36"; this.gridColumn36.OptionsColumn.AllowEdit = false; this.gridColumn36.OptionsColumn.AllowFocus = false; this.gridColumn36.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn36.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn36.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn36.OptionsColumn.AllowMove = false; this.gridColumn36.OptionsColumn.AllowShowHide = false; this.gridColumn36.OptionsColumn.AllowSize = false; this.gridColumn36.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn36.OptionsFilter.AllowAutoFilter = false; this.gridColumn36.OptionsFilter.AllowFilter = false; this.gridColumn36.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn36.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn36.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn36.OptionsFilter.ImmediateUpdatePopupDateFilterOnCheck = DevExpress.Utils.DefaultBoolean.False; this.gridColumn36.Visible = true; this.gridColumn36.VisibleIndex = 5; this.gridColumn36.Width = 101; // // gridColumn37 // this.gridColumn37.AppearanceCell.BackColor = System.Drawing.Color.WhiteSmoke; this.gridColumn37.AppearanceCell.Options.UseBackColor = true; this.gridColumn37.Caption = "Batch"; this.gridColumn37.FieldName = "BatchNumber"; this.gridColumn37.Name = "gridColumn37"; this.gridColumn37.OptionsColumn.AllowEdit = false; this.gridColumn37.OptionsColumn.AllowFocus = false; this.gridColumn37.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn37.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn37.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn37.OptionsColumn.AllowMove = false; this.gridColumn37.OptionsColumn.AllowShowHide = false; this.gridColumn37.OptionsColumn.AllowSize = false; this.gridColumn37.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn37.OptionsFilter.AllowAutoFilter = false; this.gridColumn37.OptionsFilter.AllowFilter = false; this.gridColumn37.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn37.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn37.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn37.OptionsFilter.ImmediateUpdatePopupDateFilterOnCheck = DevExpress.Utils.DefaultBoolean.False; this.gridColumn37.Visible = true; this.gridColumn37.VisibleIndex = 1; this.gridColumn37.Width = 67; // // gridColumn38 // this.gridColumn38.AppearanceCell.BackColor = System.Drawing.Color.WhiteSmoke; this.gridColumn38.AppearanceCell.Options.UseBackColor = true; this.gridColumn38.Caption = "Expiry Date"; this.gridColumn38.ColumnEdit = this.repositoryItemDateEdit3; this.gridColumn38.DisplayFormat.FormatString = "MMM/d/yyyy"; this.gridColumn38.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.gridColumn38.FieldName = "ExpireDate"; this.gridColumn38.Name = "gridColumn38"; this.gridColumn38.OptionsColumn.AllowEdit = false; this.gridColumn38.OptionsColumn.AllowFocus = false; this.gridColumn38.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn38.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn38.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn38.OptionsColumn.AllowMove = false; this.gridColumn38.OptionsColumn.AllowShowHide = false; this.gridColumn38.OptionsColumn.AllowSize = false; this.gridColumn38.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn38.OptionsFilter.AllowAutoFilter = false; this.gridColumn38.OptionsFilter.AllowFilter = false; this.gridColumn38.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn38.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn38.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn38.OptionsFilter.ImmediateUpdatePopupDateFilterOnCheck = DevExpress.Utils.DefaultBoolean.False; this.gridColumn38.Visible = true; this.gridColumn38.VisibleIndex = 2; this.gridColumn38.Width = 99; // // gridColumn39 // this.gridColumn39.ColumnEdit = this.repositoryItemButtonEdit4; this.gridColumn39.Name = "gridColumn39"; this.gridColumn39.OptionsColumn.AllowEdit = false; this.gridColumn39.OptionsColumn.AllowFocus = false; this.gridColumn39.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn39.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn39.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn39.OptionsColumn.AllowMove = false; this.gridColumn39.OptionsColumn.AllowShowHide = false; this.gridColumn39.OptionsColumn.AllowSize = false; this.gridColumn39.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn39.OptionsFilter.AllowAutoFilter = false; this.gridColumn39.OptionsFilter.AllowFilter = false; this.gridColumn39.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn39.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn39.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn39.OptionsFilter.ImmediateUpdatePopupDateFilterOnCheck = DevExpress.Utils.DefaultBoolean.False; this.gridColumn39.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways; this.gridColumn39.Width = 25; // // gridColumn40 // this.gridColumn40.AppearanceCell.BackColor = System.Drawing.Color.WhiteSmoke; this.gridColumn40.AppearanceCell.Options.UseBackColor = true; this.gridColumn40.Caption = "Volume"; this.gridColumn40.FieldName = "Volume"; this.gridColumn40.Name = "gridColumn40"; this.gridColumn40.OptionsColumn.AllowEdit = false; this.gridColumn40.OptionsColumn.AllowFocus = false; this.gridColumn40.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn40.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn40.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn40.OptionsColumn.AllowMove = false; this.gridColumn40.OptionsColumn.AllowShowHide = false; this.gridColumn40.OptionsColumn.AllowSize = false; this.gridColumn40.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn40.OptionsFilter.AllowAutoFilter = false; this.gridColumn40.OptionsFilter.AllowFilter = false; this.gridColumn40.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn40.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn40.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn40.OptionsFilter.ImmediateUpdatePopupDateFilterOnCheck = DevExpress.Utils.DefaultBoolean.False; // // colSKUPicked // this.colSKUPicked.Caption = "Packs Picked"; this.colSKUPicked.ColumnEdit = this.repositoryItemTextEdit2; this.colSKUPicked.DisplayFormat.FormatString = "#,###"; this.colSKUPicked.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.colSKUPicked.FieldName = "SKUPICKED"; this.colSKUPicked.Name = "colSKUPicked"; this.colSKUPicked.OptionsColumn.AllowEdit = false; this.colSKUPicked.OptionsColumn.AllowFocus = false; this.colSKUPicked.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.colSKUPicked.OptionsColumn.AllowIncrementalSearch = false; this.colSKUPicked.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colSKUPicked.OptionsColumn.AllowMove = false; this.colSKUPicked.OptionsColumn.AllowShowHide = false; this.colSKUPicked.OptionsColumn.AllowSize = false; this.colSKUPicked.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.colSKUPicked.OptionsFilter.AllowAutoFilter = false; this.colSKUPicked.OptionsFilter.AllowFilter = false; this.colSKUPicked.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.colSKUPicked.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.colSKUPicked.OptionsFilter.ImmediateUpdateAutoFilter = false; this.colSKUPicked.OptionsFilter.ImmediateUpdatePopupDateFilterOnCheck = DevExpress.Utils.DefaultBoolean.False; this.colSKUPicked.Width = 78; // // repositoryItemTextEdit2 // this.repositoryItemTextEdit2.AutoHeight = false; this.repositoryItemTextEdit2.Name = "repositoryItemTextEdit2"; // // colBUPicked // this.colBUPicked.Caption = "Qty picked in BU"; this.colBUPicked.DisplayFormat.FormatString = "#,###"; this.colBUPicked.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.colBUPicked.FieldName = "BUPICKED"; this.colBUPicked.GroupFormat.FormatString = "#,###"; this.colBUPicked.GroupFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.colBUPicked.Name = "colBUPicked"; this.colBUPicked.OptionsColumn.AllowEdit = false; this.colBUPicked.OptionsColumn.AllowFocus = false; this.colBUPicked.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.colBUPicked.OptionsColumn.AllowIncrementalSearch = false; this.colBUPicked.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colBUPicked.OptionsColumn.AllowMove = false; this.colBUPicked.OptionsColumn.AllowShowHide = false; this.colBUPicked.OptionsColumn.AllowSize = false; this.colBUPicked.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.colBUPicked.OptionsFilter.AllowAutoFilter = false; this.colBUPicked.OptionsFilter.AllowFilter = false; this.colBUPicked.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.colBUPicked.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.colBUPicked.OptionsFilter.ImmediateUpdateAutoFilter = false; this.colBUPicked.OptionsFilter.ImmediateUpdatePopupDateFilterOnCheck = DevExpress.Utils.DefaultBoolean.False; this.colBUPicked.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum)}); this.colBUPicked.Width = 102; // // gridColumn47 // this.gridColumn47.AppearanceCell.BackColor = System.Drawing.Color.WhiteSmoke; this.gridColumn47.AppearanceCell.Options.UseBackColor = true; this.gridColumn47.Caption = "Location"; this.gridColumn47.FieldName = "PalletLocation"; this.gridColumn47.Name = "gridColumn47"; this.gridColumn47.OptionsColumn.AllowEdit = false; this.gridColumn47.OptionsColumn.AllowFocus = false; this.gridColumn47.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn47.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn47.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn47.OptionsColumn.AllowMove = false; this.gridColumn47.OptionsColumn.AllowShowHide = false; this.gridColumn47.OptionsColumn.AllowSize = false; this.gridColumn47.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn47.OptionsFilter.AllowAutoFilter = false; this.gridColumn47.OptionsFilter.AllowFilter = false; this.gridColumn47.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn47.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn47.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn47.OptionsFilter.ImmediateUpdatePopupDateFilterOnCheck = DevExpress.Utils.DefaultBoolean.False; this.gridColumn47.Visible = true; this.gridColumn47.VisibleIndex = 3; this.gridColumn47.Width = 100; // // colCost // this.colCost.AppearanceCell.BackColor = System.Drawing.Color.WhiteSmoke; this.colCost.AppearanceCell.Options.UseBackColor = true; this.colCost.Caption = "Price"; this.colCost.DisplayFormat.FormatString = "#,##0.#0"; this.colCost.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.colCost.FieldName = "Cost"; this.colCost.GroupFormat.FormatString = "#,###.##"; this.colCost.GroupFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.colCost.Name = "colCost"; this.colCost.OptionsColumn.AllowEdit = false; this.colCost.OptionsColumn.AllowFocus = false; this.colCost.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.colCost.OptionsColumn.AllowIncrementalSearch = false; this.colCost.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colCost.OptionsColumn.AllowMove = false; this.colCost.OptionsColumn.AllowShowHide = false; this.colCost.OptionsColumn.AllowSize = false; this.colCost.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.colCost.OptionsFilter.AllowAutoFilter = false; this.colCost.OptionsFilter.AllowFilter = false; this.colCost.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.colCost.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.colCost.OptionsFilter.ImmediateUpdateAutoFilter = false; this.colCost.OptionsFilter.ImmediateUpdatePopupDateFilterOnCheck = DevExpress.Utils.DefaultBoolean.False; this.colCost.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Cost", "{0:#,###.##}")}); this.colCost.Visible = true; this.colCost.VisibleIndex = 7; this.colCost.Width = 85; // // gridColumn60 // this.gridColumn60.Caption = "Units"; this.gridColumn60.FieldName = "SKUBU"; this.gridColumn60.Name = "gridColumn60"; this.gridColumn60.OptionsColumn.AllowEdit = false; this.gridColumn60.OptionsColumn.AllowFocus = false; this.gridColumn60.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn60.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn60.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn60.OptionsColumn.AllowMove = false; this.gridColumn60.OptionsColumn.AllowShowHide = false; this.gridColumn60.OptionsColumn.AllowSize = false; this.gridColumn60.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn60.OptionsFilter.AllowAutoFilter = false; this.gridColumn60.OptionsFilter.AllowFilter = false; this.gridColumn60.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn60.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn60.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn60.OptionsFilter.ImmediateUpdatePopupDateFilterOnCheck = DevExpress.Utils.DefaultBoolean.False; // // gridColumn62 // this.gridColumn62.Caption = "Unit Price"; this.gridColumn62.DisplayFormat.FormatString = "#,##0.#0"; this.gridColumn62.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.gridColumn62.FieldName = "UnitPrice"; this.gridColumn62.Name = "gridColumn62"; this.gridColumn62.OptionsColumn.AllowEdit = false; this.gridColumn62.OptionsColumn.AllowFocus = false; this.gridColumn62.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn62.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn62.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn62.OptionsColumn.AllowMove = false; this.gridColumn62.OptionsColumn.AllowShowHide = false; this.gridColumn62.OptionsColumn.AllowSize = false; this.gridColumn62.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn62.OptionsFilter.AllowAutoFilter = false; this.gridColumn62.OptionsFilter.AllowFilter = false; this.gridColumn62.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn62.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn62.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn62.OptionsFilter.ImmediateUpdatePopupDateFilterOnCheck = DevExpress.Utils.DefaultBoolean.False; this.gridColumn62.Visible = true; this.gridColumn62.VisibleIndex = 6; // // gridColumn50 // this.gridColumn50.AppearanceCell.BackColor = System.Drawing.Color.WhiteSmoke; this.gridColumn50.AppearanceCell.Options.UseBackColor = true; this.gridColumn50.Caption = "Packs to Pick"; this.gridColumn50.FieldName = "Packs"; this.gridColumn50.Name = "gridColumn50"; this.gridColumn50.OptionsColumn.AllowEdit = false; this.gridColumn50.OptionsColumn.AllowFocus = false; this.gridColumn50.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gridColumn50.OptionsColumn.AllowIncrementalSearch = false; this.gridColumn50.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.gridColumn50.OptionsColumn.AllowMove = false; this.gridColumn50.OptionsColumn.AllowShowHide = false; this.gridColumn50.OptionsColumn.AllowSize = false; this.gridColumn50.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.gridColumn50.OptionsFilter.AllowAutoFilter = false; this.gridColumn50.OptionsFilter.AllowFilter = false; this.gridColumn50.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False; this.gridColumn50.OptionsFilter.FilterBySortField = DevExpress.Utils.DefaultBoolean.False; this.gridColumn50.OptionsFilter.ImmediateUpdateAutoFilter = false; this.gridColumn50.OptionsFilter.ImmediateUpdatePopupDateFilterOnCheck = DevExpress.Utils.DefaultBoolean.False; this.gridColumn50.Width = 77; // // txtIssuedBy // this.txtIssuedBy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.txtIssuedBy.Enabled = false; this.txtIssuedBy.Location = new System.Drawing.Point(609, 124); this.txtIssuedBy.Name = "txtIssuedBy"; this.txtIssuedBy.Size = new System.Drawing.Size(53, 20); this.txtIssuedBy.StyleController = this.layoutControl3; this.txtIssuedBy.TabIndex = 31; // // lkMode // this.lkMode.EditValue = "Select Mode"; this.lkMode.Location = new System.Drawing.Point(50, 36); this.lkMode.Name = "lkMode"; this.lkMode.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkMode.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("TypeName", "Name")}); this.lkMode.Properties.DisplayMember = "TypeName"; this.lkMode.Properties.PopupSizeable = false; this.lkMode.Properties.ShowFooter = false; this.lkMode.Properties.ShowHeader = false; this.lkMode.Properties.ValueMember = "ID"; this.lkMode.Size = new System.Drawing.Size(243, 20); this.lkMode.StyleController = this.layoutControl3; this.lkMode.TabIndex = 46; this.lkMode.EditValueChanged += new System.EventHandler(this.lkMode_EditValueChanged); // // lkPaymentType // this.lkPaymentType.EditValue = "Select Payment Type"; this.lkPaymentType.Enabled = false; this.lkPaymentType.Location = new System.Drawing.Point(867, 30); this.lkPaymentType.Margin = new System.Windows.Forms.Padding(0); this.lkPaymentType.Name = "lkPaymentType"; this.lkPaymentType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkPaymentType.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "Name")}); this.lkPaymentType.Properties.DisplayMember = "Name"; this.lkPaymentType.Properties.PopupSizeable = false; this.lkPaymentType.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; this.lkPaymentType.Properties.ValueMember = "ID"; this.lkPaymentType.Size = new System.Drawing.Size(127, 20); this.lkPaymentType.StyleController = this.layoutControl3; this.lkPaymentType.TabIndex = 38; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "This value is not valid"; this.dxValidationProvider1.SetValidationRule(this.lkPaymentType, conditionValidationRule1); this.lkPaymentType.EditValueChanged += new System.EventHandler(this.lkPaymentType_EditValueChanged); this.lkPaymentType.EditValueChanging += new DevExpress.XtraEditors.Controls.ChangingEventHandler(this.cboCashCredit_EditValueChanging); // // layoutControlItem18 // this.layoutControlItem18.CustomizationFormText = "layoutControlItem18"; this.layoutControlItem18.Location = new System.Drawing.Point(387, 72); this.layoutControlItem18.Name = "layoutControlItem18"; this.layoutControlItem18.Size = new System.Drawing.Size(330, 24); this.layoutControlItem18.Text = "layoutControlItem18"; this.layoutControlItem18.TextSize = new System.Drawing.Size(100, 0); this.layoutControlItem18.TextToControlDistance = 0; this.layoutControlItem18.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; // // tabbedControlGroup1 // this.tabbedControlGroup1.CustomizationFormText = "tabbedControlGroup1"; this.tabbedControlGroup1.Location = new System.Drawing.Point(421, 241); this.tabbedControlGroup1.Name = "tabbedControlGroup1"; this.tabbedControlGroup1.SelectedTabPage = this.layoutControlGroup11; this.tabbedControlGroup1.SelectedTabPageIndex = 0; this.tabbedControlGroup1.Size = new System.Drawing.Size(148, 132); this.tabbedControlGroup1.TabPages.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlGroup11}); this.tabbedControlGroup1.Text = "tabbedControlGroup1"; // // layoutControlGroup11 // this.layoutControlGroup11.CustomizationFormText = "layoutControlGroup11"; this.layoutControlGroup11.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup11.Name = "layoutControlGroup11"; this.layoutControlGroup11.OptionsItemText.TextToControlDistance = 5; this.layoutControlGroup11.Size = new System.Drawing.Size(124, 86); this.layoutControlGroup11.Text = "layoutControlGroup11"; // // layoutControlItem26 // this.layoutControlItem26.Control = this.txtConfirmFromStore; this.layoutControlItem26.CustomizationFormText = "layoutControlItem26"; this.layoutControlItem26.Location = new System.Drawing.Point(189, 50); this.layoutControlItem26.Name = "layoutControlItem26"; this.layoutControlItem26.Size = new System.Drawing.Size(310, 24); this.layoutControlItem26.Text = "From Store"; this.layoutControlItem26.TextSize = new System.Drawing.Size(100, 13); this.layoutControlItem26.TextToControlDistance = 5; // // layoutControlItem25 // this.layoutControlItem25.Control = this.txtConfirmRequestedBy; this.layoutControlItem25.CustomizationFormText = "layoutControlItem25"; this.layoutControlItem25.Location = new System.Drawing.Point(0, 48); this.layoutControlItem25.Name = "layoutControlItem25"; this.layoutControlItem25.Size = new System.Drawing.Size(326, 24); this.layoutControlItem25.Text = "Requested By"; this.layoutControlItem25.TextSize = new System.Drawing.Size(100, 13); this.layoutControlItem25.TextToControlDistance = 5; // // layoutControlItem20 // this.layoutControlItem20.Control = this.txtConfirmOrderNumber; this.layoutControlItem20.CustomizationFormText = "Order Number"; this.layoutControlItem20.Location = new System.Drawing.Point(0, 0); this.layoutControlItem20.Name = "layoutControlItem20"; this.layoutControlItem20.Size = new System.Drawing.Size(326, 24); this.layoutControlItem20.Text = "Order Number"; this.layoutControlItem20.TextSize = new System.Drawing.Size(100, 13); this.layoutControlItem20.TextToControlDistance = 5; // // layoutControlItem17 // this.layoutControlItem17.Control = this.txtIssueRefNo; this.layoutControlItem17.CustomizationFormText = "Ref. No"; this.layoutControlItem17.Location = new System.Drawing.Point(0, 0); this.layoutControlItem17.Name = "layoutControlItem17"; this.layoutControlItem17.Size = new System.Drawing.Size(159, 24); this.layoutControlItem17.Text = "Ref. No:"; this.layoutControlItem17.TextSize = new System.Drawing.Size(100, 13); this.layoutControlItem17.TextToControlDistance = 5; // // layoutControlItem21 // this.layoutControlItem21.Control = this.txtIssuedBy; this.layoutControlItem21.CustomizationFormText = "Issued By"; this.layoutControlItem21.Location = new System.Drawing.Point(0, 24); this.layoutControlItem21.Name = "layoutControlItem21"; this.layoutControlItem21.Size = new System.Drawing.Size(144, 24); this.layoutControlItem21.Text = "Issued By"; this.layoutControlItem21.TextSize = new System.Drawing.Size(100, 13); this.layoutControlItem21.TextToControlDistance = 5; // // layoutControlItem27 // this.layoutControlItem27.Control = this.txtConfirmApprovedBy; this.layoutControlItem27.CustomizationFormText = "Approved By"; this.layoutControlItem27.Location = new System.Drawing.Point(0, 0); this.layoutControlItem27.Name = "layoutControlItem27"; this.layoutControlItem27.Size = new System.Drawing.Size(158, 24); this.layoutControlItem27.Text = "Approved By"; this.layoutControlItem27.TextSize = new System.Drawing.Size(100, 13); this.layoutControlItem27.TextToControlDistance = 5; // // layoutControlItem22 // this.layoutControlItem22.Control = this.txtRemarks; this.layoutControlItem22.CustomizationFormText = "Remarks"; this.layoutControlItem22.Location = new System.Drawing.Point(257, 443); this.layoutControlItem22.Name = "layoutControlItem22"; this.layoutControlItem22.Size = new System.Drawing.Size(321, 128); this.layoutControlItem22.Text = "Remarks"; this.layoutControlItem22.TextSize = new System.Drawing.Size(100, 13); this.layoutControlItem22.TextToControlDistance = 5; // // layoutControlItem1 // this.layoutControlItem1.Control = this.lkPaymentType; this.layoutControlItem1.CustomizationFormText = "Payment Type"; this.layoutControlItem1.Location = new System.Drawing.Point(468, 0); this.layoutControlItem1.MinSize = new System.Drawing.Size(128, 24); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(205, 24); this.layoutControlItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem1.Text = "Payment Type"; this.layoutControlItem1.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem1.TextSize = new System.Drawing.Size(69, 13); this.layoutControlItem1.TextToControlDistance = 5; // // layoutControlItem12 // this.layoutControlItem12.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem12.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem12.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem12.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem12.Control = this.lblApprovedDate; this.layoutControlItem12.CustomizationFormText = "Approved Date:"; this.layoutControlItem12.Location = new System.Drawing.Point(0, 0); this.layoutControlItem12.MaxSize = new System.Drawing.Size(188, 20); this.layoutControlItem12.MinSize = new System.Drawing.Size(188, 20); this.layoutControlItem12.Name = "layoutControlItem12"; this.layoutControlItem12.Size = new System.Drawing.Size(188, 20); this.layoutControlItem12.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem12.Text = "Approved Date:"; this.layoutControlItem12.TextSize = new System.Drawing.Size(121, 13); this.layoutControlItem12.TextToControlDistance = 5; // // layoutControlItem15 // this.layoutControlItem15.Control = this.dtIssuedDate; this.layoutControlItem15.CustomizationFormText = "Issued Date"; this.layoutControlItem15.Location = new System.Drawing.Point(0, 0); this.layoutControlItem15.MinSize = new System.Drawing.Size(186, 24); this.layoutControlItem15.Name = "layoutControlItem15"; this.layoutControlItem15.Size = new System.Drawing.Size(187, 40); this.layoutControlItem15.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem15.Text = "Issued Date"; this.layoutControlItem15.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem15.TextSize = new System.Drawing.Size(58, 13); this.layoutControlItem15.TextToControlDistance = 5; // // layoutControlGroup7 // this.layoutControlGroup7.CustomizationFormText = "layoutControlGroup7"; this.layoutControlGroup7.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup7.GroupBordersVisible = false; this.layoutControlGroup7.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlGroup12, this.layoutControlGroup13, this.layoutControlItem42, this.layoutControlItem43, this.layoutSupplimentaryOrder, this.lcOutstandingPicklists, this.layoutControlItem3, this.emptySpaceItem2, this.emptySpaceItem3}); this.layoutControlGroup7.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup7.Name = "Root"; this.layoutControlGroup7.OptionsItemText.TextToControlDistance = 5; this.layoutControlGroup7.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 2, 2); this.layoutControlGroup7.Size = new System.Drawing.Size(1123, 575); this.layoutControlGroup7.Text = "Root"; this.layoutControlGroup7.TextVisible = false; // // layoutControlGroup12 // this.layoutControlGroup12.CustomizationFormText = "Order Headers"; this.layoutControlGroup12.GroupBordersVisible = false; this.layoutControlGroup12.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.HeaderSection, this.layoutControlGroup2, this.layoutControlGroup3, this.layoutControlGroup4, this.layoutControlGroup1}); this.layoutControlGroup12.Location = new System.Drawing.Point(314, 0); this.layoutControlGroup12.Name = "layoutControlGroup12"; this.layoutControlGroup12.OptionsItemText.TextToControlDistance = 5; this.layoutControlGroup12.Size = new System.Drawing.Size(805, 147); this.layoutControlGroup12.Text = "Order Headers"; // // HeaderSection // this.HeaderSection.AppearanceGroup.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.HeaderSection.AppearanceGroup.Options.UseFont = true; this.HeaderSection.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.HeaderSection.AppearanceItemCaption.Options.UseFont = true; this.HeaderSection.CustomizationFormText = " "; this.HeaderSection.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem6, this.layoutControlItem7, this.layoutControlItem8, this.layoutControlItem9, this.layoutControlItem10, this.layoutControlItem23, this.layoutControlItem11, this.layoutControlItem13}); this.HeaderSection.Location = new System.Drawing.Point(0, 0); this.HeaderSection.Name = "HeaderSection"; this.HeaderSection.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); this.HeaderSection.Size = new System.Drawing.Size(805, 93); this.HeaderSection.Text = " "; // // layoutControlItem6 // this.layoutControlItem6.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem6.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem6.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem6.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem6.Control = this.lblMode; this.layoutControlItem6.CustomizationFormText = "Mode:"; this.layoutControlItem6.Location = new System.Drawing.Point(0, 0); this.layoutControlItem6.MaxSize = new System.Drawing.Size(0, 20); this.layoutControlItem6.MinSize = new System.Drawing.Size(51, 20); this.layoutControlItem6.Name = "layoutControlItem6"; this.layoutControlItem6.Size = new System.Drawing.Size(202, 20); this.layoutControlItem6.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem6.Text = "Mode:"; this.layoutControlItem6.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem6.TextSize = new System.Drawing.Size(34, 13); this.layoutControlItem6.TextToControlDistance = 25; // // layoutControlItem7 // this.layoutControlItem7.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem7.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem7.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem7.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem7.Control = this.lblOwnership; this.layoutControlItem7.CustomizationFormText = "Ownership Type:"; this.layoutControlItem7.Location = new System.Drawing.Point(202, 0); this.layoutControlItem7.MinSize = new System.Drawing.Size(64, 17); this.layoutControlItem7.Name = "layoutControlItem7"; this.layoutControlItem7.Size = new System.Drawing.Size(589, 20); this.layoutControlItem7.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem7.Text = "Ownership:"; this.layoutControlItem7.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem7.TextSize = new System.Drawing.Size(62, 13); this.layoutControlItem7.TextToControlDistance = 5; // // layoutControlItem8 // this.layoutControlItem8.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem8.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem8.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem8.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem8.Control = this.lblWoreda; this.layoutControlItem8.CustomizationFormText = "Woreda:"; this.layoutControlItem8.Location = new System.Drawing.Point(0, 40); this.layoutControlItem8.MaxSize = new System.Drawing.Size(0, 20); this.layoutControlItem8.MinSize = new System.Drawing.Size(51, 20); this.layoutControlItem8.Name = "layoutControlItem8"; this.layoutControlItem8.Size = new System.Drawing.Size(202, 20); this.layoutControlItem8.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem8.Text = "Woreda:"; this.layoutControlItem8.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem8.TextSize = new System.Drawing.Size(47, 13); this.layoutControlItem8.TextToControlDistance = 12; // // layoutControlItem9 // this.layoutControlItem9.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem9.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem9.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem9.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem9.Control = this.lblZone; this.layoutControlItem9.CustomizationFormText = "Zone:"; this.layoutControlItem9.Location = new System.Drawing.Point(202, 40); this.layoutControlItem9.MinSize = new System.Drawing.Size(78, 17); this.layoutControlItem9.Name = "layoutControlItem9"; this.layoutControlItem9.Size = new System.Drawing.Size(203, 20); this.layoutControlItem9.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem9.Text = "Zone:"; this.layoutControlItem9.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem9.TextSize = new System.Drawing.Size(31, 13); this.layoutControlItem9.TextToControlDistance = 36; // // layoutControlItem10 // this.layoutControlItem10.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem10.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem10.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem10.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem10.Control = this.lblRegion; this.layoutControlItem10.CustomizationFormText = "Region:"; this.layoutControlItem10.Location = new System.Drawing.Point(405, 40); this.layoutControlItem10.MinSize = new System.Drawing.Size(66, 17); this.layoutControlItem10.Name = "layoutControlItem10"; this.layoutControlItem10.Size = new System.Drawing.Size(386, 20); this.layoutControlItem10.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem10.Text = "Region:"; this.layoutControlItem10.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem10.TextSize = new System.Drawing.Size(42, 13); this.layoutControlItem10.TextToControlDistance = 23; // // layoutControlItem23 // this.layoutControlItem23.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem23.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem23.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem23.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem23.Control = this.lblPaymentType; this.layoutControlItem23.CustomizationFormText = "Payment Type:"; this.layoutControlItem23.Location = new System.Drawing.Point(0, 20); this.layoutControlItem23.MinSize = new System.Drawing.Size(82, 17); this.layoutControlItem23.Name = "layoutControlItem23"; this.layoutControlItem23.Size = new System.Drawing.Size(202, 20); this.layoutControlItem23.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem23.Text = "Payment:"; this.layoutControlItem23.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem23.TextSize = new System.Drawing.Size(54, 13); this.layoutControlItem23.TextToControlDistance = 5; // // layoutControlItem11 // this.layoutControlItem11.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem11.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem11.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem11.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem11.Control = this.lblInstitutionType; this.layoutControlItem11.CustomizationFormText = "Type:"; this.layoutControlItem11.Location = new System.Drawing.Point(405, 20); this.layoutControlItem11.MaxSize = new System.Drawing.Size(0, 20); this.layoutControlItem11.MinSize = new System.Drawing.Size(50, 20); this.layoutControlItem11.Name = "layoutControlItem11"; this.layoutControlItem11.Size = new System.Drawing.Size(386, 20); this.layoutControlItem11.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem11.Text = "Inst. Type:"; this.layoutControlItem11.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem11.TextSize = new System.Drawing.Size(60, 13); this.layoutControlItem11.TextToControlDistance = 5; // // layoutControlItem13 // this.layoutControlItem13.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem13.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem13.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem13.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem13.Control = this.lblRefNo; this.layoutControlItem13.CustomizationFormText = "Ref. No:"; this.layoutControlItem13.Location = new System.Drawing.Point(202, 20); this.layoutControlItem13.MaxSize = new System.Drawing.Size(0, 20); this.layoutControlItem13.MinSize = new System.Drawing.Size(50, 20); this.layoutControlItem13.Name = "layoutControlItem13"; this.layoutControlItem13.Size = new System.Drawing.Size(203, 20); this.layoutControlItem13.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem13.Text = "Ref. No:"; this.layoutControlItem13.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem13.TextSize = new System.Drawing.Size(42, 13); this.layoutControlItem13.TextToControlDistance = 25; // // layoutControlGroup2 // this.layoutControlGroup2.CustomizationFormText = "layoutControlGroup2"; this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem24, this.layoutControlItem14}); this.layoutControlGroup2.Location = new System.Drawing.Point(0, 93); this.layoutControlGroup2.Name = "layoutControlGroup2"; this.layoutControlGroup2.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); this.layoutControlGroup2.Size = new System.Drawing.Size(204, 54); this.layoutControlGroup2.Text = "layoutControlGroup2"; this.layoutControlGroup2.TextVisible = false; // // layoutControlItem24 // this.layoutControlItem24.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem24.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem24.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem24.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem24.Control = this.lblissuedDate; this.layoutControlItem24.CustomizationFormText = "Issued Date:"; this.layoutControlItem24.Location = new System.Drawing.Point(0, 0); this.layoutControlItem24.MaxSize = new System.Drawing.Size(0, 20); this.layoutControlItem24.MinSize = new System.Drawing.Size(67, 20); this.layoutControlItem24.Name = "layoutControlItem24"; this.layoutControlItem24.Size = new System.Drawing.Size(190, 20); this.layoutControlItem24.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem24.Text = "Requested Date:"; this.layoutControlItem24.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem24.TextSize = new System.Drawing.Size(94, 13); this.layoutControlItem24.TextToControlDistance = 5; // // layoutControlItem14 // this.layoutControlItem14.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem14.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem14.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem14.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem14.Control = this.lblIssuedBy; this.layoutControlItem14.CustomizationFormText = "Issued By:"; this.layoutControlItem14.Location = new System.Drawing.Point(0, 20); this.layoutControlItem14.MaxSize = new System.Drawing.Size(0, 20); this.layoutControlItem14.MinSize = new System.Drawing.Size(67, 20); this.layoutControlItem14.Name = "layoutControlItem14"; this.layoutControlItem14.Size = new System.Drawing.Size(190, 20); this.layoutControlItem14.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem14.Text = "Requested By:"; this.layoutControlItem14.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem14.TextSize = new System.Drawing.Size(81, 13); this.layoutControlItem14.TextToControlDistance = 18; // // layoutControlGroup3 // this.layoutControlGroup3.CustomizationFormText = "layoutControlGroup3"; this.layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem16, this.layoutControlItem30}); this.layoutControlGroup3.Location = new System.Drawing.Point(204, 93); this.layoutControlGroup3.Name = "layoutControlGroup3"; this.layoutControlGroup3.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); this.layoutControlGroup3.Size = new System.Drawing.Size(202, 54); this.layoutControlGroup3.Text = "layoutControlGroup3"; this.layoutControlGroup3.TextVisible = false; // // layoutControlItem16 // this.layoutControlItem16.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem16.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem16.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem16.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem16.Control = this.lblApprovedBy; this.layoutControlItem16.CustomizationFormText = "Approved By:"; this.layoutControlItem16.Location = new System.Drawing.Point(0, 20); this.layoutControlItem16.MaxSize = new System.Drawing.Size(0, 20); this.layoutControlItem16.MinSize = new System.Drawing.Size(86, 20); this.layoutControlItem16.Name = "layoutControlItem16"; this.layoutControlItem16.Size = new System.Drawing.Size(188, 20); this.layoutControlItem16.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem16.Text = "Approved By:"; this.layoutControlItem16.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem16.TextSize = new System.Drawing.Size(75, 13); this.layoutControlItem16.TextToControlDistance = 18; // // layoutControlItem30 // this.layoutControlItem30.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem30.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem30.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem30.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem30.Control = this.lblAppDate; this.layoutControlItem30.CustomizationFormText = "Approved Date:"; this.layoutControlItem30.Location = new System.Drawing.Point(0, 0); this.layoutControlItem30.MinSize = new System.Drawing.Size(67, 17); this.layoutControlItem30.Name = "layoutControlItem30"; this.layoutControlItem30.Size = new System.Drawing.Size(188, 20); this.layoutControlItem30.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem30.Text = "Approved Date:"; this.layoutControlItem30.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem30.TextSize = new System.Drawing.Size(88, 13); this.layoutControlItem30.TextToControlDistance = 5; // // layoutControlGroup4 // this.layoutControlGroup4.CustomizationFormText = "layoutControlGroup4"; this.layoutControlGroup4.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem31, this.layoutControlItem32}); this.layoutControlGroup4.Location = new System.Drawing.Point(406, 93); this.layoutControlGroup4.Name = "layoutControlGroup4"; this.layoutControlGroup4.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); this.layoutControlGroup4.Size = new System.Drawing.Size(201, 54); this.layoutControlGroup4.Text = "layoutControlGroup4"; this.layoutControlGroup4.TextVisible = false; // // layoutControlItem31 // this.layoutControlItem31.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem31.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem31.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem31.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem31.Control = this.lblPicklistConfirmedBy; this.layoutControlItem31.CustomizationFormText = "Picklist Confirmed By:"; this.layoutControlItem31.Location = new System.Drawing.Point(0, 20); this.layoutControlItem31.MaxSize = new System.Drawing.Size(0, 20); this.layoutControlItem31.MinSize = new System.Drawing.Size(67, 20); this.layoutControlItem31.Name = "layoutControlItem31"; this.layoutControlItem31.Size = new System.Drawing.Size(187, 20); this.layoutControlItem31.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem31.Text = "Picklisted By:"; this.layoutControlItem31.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem31.TextSize = new System.Drawing.Size(74, 13); this.layoutControlItem31.TextToControlDistance = 18; // // layoutControlItem32 // this.layoutControlItem32.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem32.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem32.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem32.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem32.Control = this.lblPicklistPrintedDate; this.layoutControlItem32.CustomizationFormText = "Picklisted Date:"; this.layoutControlItem32.Location = new System.Drawing.Point(0, 0); this.layoutControlItem32.MaxSize = new System.Drawing.Size(0, 20); this.layoutControlItem32.MinSize = new System.Drawing.Size(67, 20); this.layoutControlItem32.Name = "layoutControlItem32"; this.layoutControlItem32.Size = new System.Drawing.Size(187, 20); this.layoutControlItem32.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem32.Text = "Picklisted Date:"; this.layoutControlItem32.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem32.TextSize = new System.Drawing.Size(87, 13); this.layoutControlItem32.TextToControlDistance = 5; // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1"; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem28, this.layoutControlItem29}); this.layoutControlGroup1.Location = new System.Drawing.Point(607, 93); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); this.layoutControlGroup1.Size = new System.Drawing.Size(198, 54); this.layoutControlGroup1.Text = "layoutControlGroup1"; this.layoutControlGroup1.TextVisible = false; // // layoutControlItem28 // this.layoutControlItem28.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem28.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem28.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem28.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem28.Control = this.lblIssueTypes; this.layoutControlItem28.CustomizationFormText = "Issue Type:"; this.layoutControlItem28.Location = new System.Drawing.Point(0, 20); this.layoutControlItem28.MaxSize = new System.Drawing.Size(0, 20); this.layoutControlItem28.MinSize = new System.Drawing.Size(67, 20); this.layoutControlItem28.Name = "layoutControlItem28"; this.layoutControlItem28.Size = new System.Drawing.Size(184, 20); this.layoutControlItem28.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem28.Text = "Type:"; this.layoutControlItem28.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem28.TextSize = new System.Drawing.Size(31, 13); this.layoutControlItem28.TextToControlDistance = 14; // // layoutControlItem29 // this.layoutControlItem29.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlItem29.AppearanceItemCaption.ForeColor = System.Drawing.Color.Gray; this.layoutControlItem29.AppearanceItemCaption.Options.UseFont = true; this.layoutControlItem29.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem29.Control = this.lblIssueStatus; this.layoutControlItem29.CustomizationFormText = "Issue Status:"; this.layoutControlItem29.Location = new System.Drawing.Point(0, 0); this.layoutControlItem29.MinSize = new System.Drawing.Size(67, 17); this.layoutControlItem29.Name = "layoutControlItem29"; this.layoutControlItem29.Size = new System.Drawing.Size(184, 20); this.layoutControlItem29.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem29.Text = "Status:"; this.layoutControlItem29.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem29.TextSize = new System.Drawing.Size(40, 13); this.layoutControlItem29.TextToControlDistance = 5; // // layoutControlGroup13 // this.layoutControlGroup13.CustomizationFormText = "Pick List Confirmation"; this.layoutControlGroup13.GroupBordersVisible = false; this.layoutControlGroup13.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem19, this.layoutControlItem4}); this.layoutControlGroup13.Location = new System.Drawing.Point(314, 147); this.layoutControlGroup13.Name = "layoutControlGroup13"; this.layoutControlGroup13.OptionsItemText.TextToControlDistance = 5; this.layoutControlGroup13.Size = new System.Drawing.Size(805, 398); this.layoutControlGroup13.Text = "Pick List Confirmation"; // // layoutControlItem19 // this.layoutControlItem19.Control = this.gridOutstandingPicklistDetail; this.layoutControlItem19.CustomizationFormText = "layoutControlItem19"; this.layoutControlItem19.Location = new System.Drawing.Point(0, 23); this.layoutControlItem19.Name = "layoutControlItem19"; this.layoutControlItem19.Size = new System.Drawing.Size(805, 375); this.layoutControlItem19.Text = "layoutControlItem19"; this.layoutControlItem19.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem19.TextToControlDistance = 0; this.layoutControlItem19.TextVisible = false; // // layoutControlItem4 // this.layoutControlItem4.Control = this.chkIncludeInsurance; this.layoutControlItem4.CustomizationFormText = "layoutControlItem4"; this.layoutControlItem4.Location = new System.Drawing.Point(0, 0); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(805, 23); this.layoutControlItem4.Text = "layoutControlItem4"; this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem4.TextToControlDistance = 0; this.layoutControlItem4.TextVisible = false; // // layoutControlItem42 // this.layoutControlItem42.Control = this.btnCancelIssue; this.layoutControlItem42.CustomizationFormText = "layoutControlItem42"; this.layoutControlItem42.Location = new System.Drawing.Point(973, 545); this.layoutControlItem42.MaxSize = new System.Drawing.Size(146, 26); this.layoutControlItem42.MinSize = new System.Drawing.Size(146, 26); this.layoutControlItem42.Name = "layoutControlItem42"; this.layoutControlItem42.Size = new System.Drawing.Size(146, 26); this.layoutControlItem42.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem42.Text = "layoutControlItem42"; this.layoutControlItem42.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem42.TextToControlDistance = 0; this.layoutControlItem42.TextVisible = false; // // layoutControlItem43 // this.layoutControlItem43.Control = this.btnConfirmIssue1; this.layoutControlItem43.CustomizationFormText = "layoutControlItem43"; this.layoutControlItem43.Location = new System.Drawing.Point(827, 545); this.layoutControlItem43.MaxSize = new System.Drawing.Size(146, 26); this.layoutControlItem43.MinSize = new System.Drawing.Size(146, 26); this.layoutControlItem43.Name = "layoutControlItem43"; this.layoutControlItem43.Size = new System.Drawing.Size(146, 26); this.layoutControlItem43.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem43.Text = "layoutControlItem43"; this.layoutControlItem43.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem43.TextToControlDistance = 0; this.layoutControlItem43.TextVisible = false; // // layoutSupplimentaryOrder // this.layoutSupplimentaryOrder.Control = this.simpleButton1; this.layoutSupplimentaryOrder.CustomizationFormText = "layoutSupplimentaryOrder"; this.layoutSupplimentaryOrder.Location = new System.Drawing.Point(535, 545); this.layoutSupplimentaryOrder.MaxSize = new System.Drawing.Size(146, 26); this.layoutSupplimentaryOrder.MinSize = new System.Drawing.Size(146, 26); this.layoutSupplimentaryOrder.Name = "layoutSupplimentaryOrder"; this.layoutSupplimentaryOrder.Size = new System.Drawing.Size(146, 26); this.layoutSupplimentaryOrder.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutSupplimentaryOrder.Text = "layoutSupplimentaryOrder"; this.layoutSupplimentaryOrder.TextSize = new System.Drawing.Size(0, 0); this.layoutSupplimentaryOrder.TextToControlDistance = 0; this.layoutSupplimentaryOrder.TextVisible = false; this.layoutSupplimentaryOrder.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; // // lcOutstandingPicklists // this.lcOutstandingPicklists.CustomizationFormText = "Outstanding Pick Lists"; this.lcOutstandingPicklists.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem50, this.layoutControlGroup5, this.emptySpaceItem1}); this.lcOutstandingPicklists.Location = new System.Drawing.Point(0, 0); this.lcOutstandingPicklists.Name = "lcOutstandingPicklists"; this.lcOutstandingPicklists.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.lcOutstandingPicklists.Size = new System.Drawing.Size(306, 571); this.lcOutstandingPicklists.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.lcOutstandingPicklists.Text = "Outstanding Pick Lists"; this.lcOutstandingPicklists.TextLocation = DevExpress.Utils.Locations.Left; this.lcOutstandingPicklists.TextVisible = false; // // layoutControlItem50 // this.layoutControlItem50.Control = this.gridOutstandingPickLists; this.layoutControlItem50.CustomizationFormText = "layoutControlItem50"; this.layoutControlItem50.Location = new System.Drawing.Point(0, 93); this.layoutControlItem50.MaxSize = new System.Drawing.Size(304, 0); this.layoutControlItem50.MinSize = new System.Drawing.Size(304, 24); this.layoutControlItem50.Name = "layoutControlItem50"; this.layoutControlItem50.Size = new System.Drawing.Size(304, 452); this.layoutControlItem50.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem50.Text = "layoutControlItem50"; this.layoutControlItem50.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem50.TextToControlDistance = 0; this.layoutControlItem50.TextVisible = false; // // layoutControlGroup5 // this.layoutControlGroup5.CustomizationFormText = "Filter"; this.layoutControlGroup5.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem2, this.layoutControlItem5}); this.layoutControlGroup5.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup5.Name = "layoutControlGroup5"; this.layoutControlGroup5.Size = new System.Drawing.Size(304, 93); this.layoutControlGroup5.Text = "Filter"; // // layoutControlItem2 // this.layoutControlItem2.Control = this.txtFacilityNameFilter; this.layoutControlItem2.ControlAlignment = System.Drawing.ContentAlignment.BottomLeft; this.layoutControlItem2.CustomizationFormText = "layoutControlItem2"; this.layoutControlItem2.Location = new System.Drawing.Point(0, 26); this.layoutControlItem2.MaxSize = new System.Drawing.Size(300, 24); this.layoutControlItem2.MinSize = new System.Drawing.Size(236, 24); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(280, 24); this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem2.Text = "Filter:"; this.layoutControlItem2.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem2.TextSize = new System.Drawing.Size(28, 13); this.layoutControlItem2.TextToControlDistance = 5; // // layoutControlItem5 // this.layoutControlItem5.Control = this.lkMode; this.layoutControlItem5.CustomizationFormText = "Mode"; this.layoutControlItem5.Location = new System.Drawing.Point(0, 0); this.layoutControlItem5.MinSize = new System.Drawing.Size(85, 20); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(280, 26); this.layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem5.Text = "Mode:"; this.layoutControlItem5.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem5.TextSize = new System.Drawing.Size(30, 13); this.layoutControlItem5.TextToControlDistance = 3; // // emptySpaceItem1 // this.emptySpaceItem1.AllowHotTrack = false; this.emptySpaceItem1.CustomizationFormText = "emptySpaceItem1"; this.emptySpaceItem1.Location = new System.Drawing.Point(0, 545); this.emptySpaceItem1.MaxSize = new System.Drawing.Size(0, 24); this.emptySpaceItem1.MinSize = new System.Drawing.Size(104, 24); this.emptySpaceItem1.Name = "emptySpaceItem1"; this.emptySpaceItem1.Size = new System.Drawing.Size(304, 24); this.emptySpaceItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.emptySpaceItem1.Text = "emptySpaceItem1"; this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem3 // this.layoutControlItem3.Control = this.btnReturnToApprovalStep; this.layoutControlItem3.CustomizationFormText = "layoutControlItem3"; this.layoutControlItem3.Location = new System.Drawing.Point(681, 545); this.layoutControlItem3.MaxSize = new System.Drawing.Size(146, 26); this.layoutControlItem3.MinSize = new System.Drawing.Size(146, 26); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(146, 26); this.layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem3.Text = "layoutControlItem3"; this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem3.TextToControlDistance = 0; this.layoutControlItem3.TextVisible = false; // // emptySpaceItem2 // this.emptySpaceItem2.AllowHotTrack = false; this.emptySpaceItem2.CustomizationFormText = "emptySpaceItem2"; this.emptySpaceItem2.Location = new System.Drawing.Point(314, 545); this.emptySpaceItem2.MaxSize = new System.Drawing.Size(0, 26); this.emptySpaceItem2.MinSize = new System.Drawing.Size(10, 26); this.emptySpaceItem2.Name = "emptySpaceItem2"; this.emptySpaceItem2.Size = new System.Drawing.Size(221, 26); this.emptySpaceItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.emptySpaceItem2.Text = "emptySpaceItem2"; this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem3 // this.emptySpaceItem3.AllowHotTrack = false; this.emptySpaceItem3.CustomizationFormText = "emptySpaceItem3"; this.emptySpaceItem3.Location = new System.Drawing.Point(306, 0); this.emptySpaceItem3.MaxSize = new System.Drawing.Size(8, 0); this.emptySpaceItem3.MinSize = new System.Drawing.Size(8, 10); this.emptySpaceItem3.Name = "emptySpaceItem3"; this.emptySpaceItem3.Size = new System.Drawing.Size(8, 571); this.emptySpaceItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.emptySpaceItem3.Text = "emptySpaceItem3"; this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0); // // popupMenu1 // this.popupMenu1.Name = "popupMenu1"; // // emptySpaceItem15 // this.emptySpaceItem15.AllowHotTrack = false; this.emptySpaceItem15.CustomizationFormText = "emptySpaceItem15"; this.emptySpaceItem15.Location = new System.Drawing.Point(0, 116); this.emptySpaceItem15.Name = "emptySpaceItem15"; this.emptySpaceItem15.Size = new System.Drawing.Size(717, 10); this.emptySpaceItem15.Text = "emptySpaceItem15"; this.emptySpaceItem15.TextSize = new System.Drawing.Size(0, 0); // // layoutControlGroup8 // this.layoutControlGroup8.CustomizationFormText = "layoutControlGroup8"; this.layoutControlGroup8.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup8.Name = "layoutControlGroup8"; this.layoutControlGroup8.OptionsItemText.TextToControlDistance = 5; this.layoutControlGroup8.Size = new System.Drawing.Size(717, 116); this.layoutControlGroup8.Text = "layoutControlGroup8"; // // layoutControlGroup9 // this.layoutControlGroup9.CustomizationFormText = "layoutControlGroup9"; this.layoutControlGroup9.Location = new System.Drawing.Point(0, 126); this.layoutControlGroup9.Name = "layoutControlGroup9"; this.layoutControlGroup9.OptionsItemText.TextToControlDistance = 5; this.layoutControlGroup9.Size = new System.Drawing.Size(717, 68); this.layoutControlGroup9.Text = "layoutControlGroup9"; // // layoutControlGroup10 // this.layoutControlGroup10.CustomizationFormText = "layoutControlGroup10"; this.layoutControlGroup10.Location = new System.Drawing.Point(0, 126); this.layoutControlGroup10.Name = "layoutControlGroup10"; this.layoutControlGroup10.OptionsItemText.TextToControlDistance = 5; this.layoutControlGroup10.Size = new System.Drawing.Size(717, 68); this.layoutControlGroup10.Text = "layoutControlGroup10"; // // emptySpaceItem10 // this.emptySpaceItem10.AllowHotTrack = false; this.emptySpaceItem10.CustomizationFormText = "emptySpaceItem10"; this.emptySpaceItem10.Location = new System.Drawing.Point(0, 0); this.emptySpaceItem10.Name = "emptySpaceItem10"; this.emptySpaceItem10.Size = new System.Drawing.Size(693, 10); this.emptySpaceItem10.Text = "emptySpaceItem10"; this.emptySpaceItem10.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem22 // this.emptySpaceItem22.AllowHotTrack = false; this.emptySpaceItem22.CustomizationFormText = "emptySpaceItem22"; this.emptySpaceItem22.Location = new System.Drawing.Point(85, 0); this.emptySpaceItem22.Name = "emptySpaceItem22"; this.emptySpaceItem22.Size = new System.Drawing.Size(119, 479); this.emptySpaceItem22.Text = "emptySpaceItem22"; this.emptySpaceItem22.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem23 // this.emptySpaceItem23.AllowHotTrack = false; this.emptySpaceItem23.CustomizationFormText = "emptySpaceItem23"; this.emptySpaceItem23.Location = new System.Drawing.Point(1179, 24); this.emptySpaceItem23.Name = "emptySpaceItem23"; this.emptySpaceItem23.Size = new System.Drawing.Size(10, 455); this.emptySpaceItem23.Text = "emptySpaceItem23"; this.emptySpaceItem23.TextSize = new System.Drawing.Size(0, 0); // // printingSystem1 // this.printingSystem1.Links.AddRange(new object[] { this.printableComponentLink1, this.printOrder}); // // printableComponentLink1 // this.printableComponentLink1.Landscape = true; this.printableComponentLink1.Margins = new System.Drawing.Printing.Margins(20, 20, 20, 20); this.printableComponentLink1.PageHeaderFooter = new DevExpress.XtraPrinting.PageHeaderFooter(null, new DevExpress.XtraPrinting.PageFooterArea(new string[] { "[Time Printed]", "[Date Printed]", "[Page # of Pages #]"}, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))), DevExpress.XtraPrinting.BrickAlignment.Near)); this.printableComponentLink1.PaperKind = System.Drawing.Printing.PaperKind.A4; this.printableComponentLink1.PrintingSystemBase = this.printingSystem1; this.printableComponentLink1.RtfReportHeader = resources.GetString("printableComponentLink1.RtfReportHeader"); // // printOrder // this.printOrder.Landscape = true; this.printOrder.PaperKind = System.Drawing.Printing.PaperKind.A4; this.printOrder.PrintingSystemBase = this.printingSystem1; // // InvoiceForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1123, 575); this.Controls.Add(this.layoutControl3); this.Name = "InvoiceForm"; this.Text = "Order"; this.Load += new System.EventHandler(this.OrderForm_Load); ((System.ComponentModel.ISupportInitialize)(this.boxSizedList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl3)).EndInit(); this.layoutControl3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.chkIncludeInsurance.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtFacilityNameFilter.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridOutstandingPickLists)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridOutstandingPickListView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtConfirmOrderNumber.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtConfirmApprovedBy.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtConfirmFromStore.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtConfirmRequestedBy.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtRemarks.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtIssueRefNo.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridOutstandingPicklistDetail)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewConfirmation)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtIssuedBy.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lkMode.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lkPaymentType.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem18)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem26)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem27)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem22)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup12)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.HeaderSection)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem23)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem30)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem31)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem32)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem28)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem29)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup13)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem42)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem43)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutSupplimentaryOrder)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lcOutstandingPicklists)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem50)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem15)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem22)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem23)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.printingSystem1)).EndInit(); this.ResumeLayout(false); }
private void CreateDetail(Type EntityType, String Name = null, object Value = null) { #region ==================================== Labels + textboxs ==================================== splitContainerControl.Panel2.Controls.Clear(); var EntityProperties = EntityType.GetProperties(); int index = 0; for (int i = 0; i < EntityProperties.Count(); i++) { var Pro = EntityProperties[i]; var DisplayName = Pro.GetName(); if (Pro.PropertyType.IsGenericType || Pro.Name.Substring(0, 2) == "FK") { } else { var DataBindingsType = "Text"; var label = new LabelControl(); label.Location = new Point(20, 50 + 30 * index + 3); label.Text = DisplayName; label.Font = new Font(label.Font, CurrentMDI.IsKey(Pro.Name) ? FontStyle.Underline | FontStyle.Bold : FontStyle.Regular); BaseEdit textbox = new TextEdit(); if(EntityType.IsForeignKey(Pro.Name)) { var ForeignInfo = Pro.GetForeignKeyTargetName(); var TableName = ForeignInfo.Substring(0, ForeignInfo.IndexOf("_")); var KeyName = ForeignInfo.Substring(ForeignInfo.IndexOf("_") + 1); var x = Global.GetType(TableName); var aList = x.Equals(typeof(DataContext.Menu)) ? GetMenuList() : (x.Equals(typeof(Quyen)) ? GetQuyenList() : Table.GetList(x, null, null, false)); if (aList != null) { var Ri = new LookUpEdit(); Ri.Properties.NullText = "Không có giá trị"; Ri.Properties.DataSource = aList; Ri.Properties.ValueMember = KeyName; Ri.Properties.BestFitMode = BestFitMode.BestFitResizePopup; Ri.BindingContextChanged += new EventHandler(delegate(object sender, EventArgs e) { var Lookup = (sender as LookUpEdit); Lookup.Properties.PopulateColumns(); Lookup.Properties.BestFit(); Lookup.Properties.AllowNullInput = DefaultBoolean.True; if (Lookup.Properties.Columns.Count == 0) return; var ci = 0; foreach (var Column in x.GetProperties()) { if (Column.PropertyType.IsGenericType) { Lookup.Properties.Columns[ci].Visible = false; } else { Lookup.Properties.Columns[ci].Caption = Column.GetName(); if (Column.PropertyType == typeof(DateTime)) { if (Column.Name.Substring(0, 3) == "Gio") Lookup.Properties.Columns[ci].FormatString = "HH:mm tt"; else Lookup.Properties.Columns[ci].FormatString = "dd/MM/yyy"; } } ci++; } }); textbox = Ri; DataBindingsType = "EditValue"; } } else if (Pro.PropertyType == typeof(DateTime)) { var rDate = new DateEdit(); var rTime = new TimeEdit(); rDate.Properties.MinValue = new DateTime(1753, 1, 1); // SQL min value if (Pro.Name.Substring(0, 3) == "Gio") textbox = rTime; else textbox = rDate; DataBindingsType = "EditValue"; } else if (Pro.PropertyType == typeof(bool)) { textbox = new CheckEdit(); DataBindingsType = "EditValue"; } else if (Pro.PropertyType == typeof(int) || Pro.PropertyType == typeof(decimal) || Pro.PropertyType == typeof(double)) { textbox = new CalcEdit(); DataBindingsType = "EditValue"; } textbox.Location = new Point(120, 50 + 30 * index); textbox.Width = 200; textbox.TabIndex = index; textbox.DataBindings.Add(DataBindingsType, gridView.DataSource, Pro.Name); textbox.Properties.ReadOnly = true; textbox.Name = Pro.Name; splitContainerControl.Panel2.Controls.AddRange(new Control[] { label, textbox }); index++; } } #endregion #region ==================================== Buttons ==================================== int bWidth = 60; int bX = 0; var btnEdit = new SimpleButton() { Text = "Chỉnh sửa", Location = new Point(5 + 5 * bX + bWidth * bX, 50 + 30 * index), Width = bWidth, Enabled = CurrentMDI.EnabledModify() && CurrentMDI.EnabledEdit() && gridView.SelectedRowsCount > 0 }; var btnCancelEdit = new SimpleButton() { Text = "Dừng sửa", Location = new Point(5 + 5 * bX + bWidth * bX, 50 + 30 * index), Width = 60, Visible = false }; bX++; var btnUpdate = new SimpleButton() { Text = "Cập nhật", Location = new Point(5 + 5*bX + bWidth * bX, 50 + 30 * index), Width = 60, Enabled = false }; bX++; var btnCreateNew = new SimpleButton() { Text = "Tạo mới", Location = new Point(5 + 5 * bX + bWidth * bX, 50 + 30 * index), Width = 60, Enabled = CurrentMDI.EnabledModify() }; var btnCancelNew = new SimpleButton() { Text = "Dừng thêm", Location = new Point(5 + 5 * bX + bWidth * bX, 50 + 30 * index), Width = 60, Visible = false }; bX++; var btnAddNew = new SimpleButton() { Text = "Thêm mới", Location = new Point(5 + 5 * bX + bWidth * bX, 50 + 30 * index), Width = 60, Enabled = false }; bX++; var btnDelete = new SimpleButton() { Text = "Xoá", Location = new Point(5 + 5 * bX + bWidth * bX, 50 + 30 * index), Width = 60, Enabled = CurrentMDI.EnabledModify() && gridView.SelectedRowsCount > 0 }; index++; #endregion #region ==================================== Functions ==================================== var Element = EntityType.CreateNew(); Func<string, Control> GetControlByName = delegate(string ControlName) { foreach(Control c in splitContainerControl.Panel2.Controls) if(c.Name == ControlName) return c; return null; }; Func<Exception, bool> ValidateEntity = delegate(Exception e) { dxErrorProvider.ClearErrors(); bool isOk = false; if (e is SqlException) { var dbEx = e as SqlException; foreach (SqlError validationError in dbEx.Errors) { if (validationError.Message.IndexOf("]") > 0) { var PropertyName = validationError.Message.Substring(validationError.Message.IndexOf("[") + 1, validationError.Message.IndexOf("]")-1); var ErrorMessage = validationError.Message.Substring(validationError.Message.IndexOf("]") + 1); if (PropertyName.Equals("_Msg")) { MessageBox.Show(ErrorMessage); isOk = true; } else { dxErrorProvider.SetError(GetControlByName(PropertyName), ErrorMessage, ErrorType.Default); } } } } else { ShowError(e); } return isOk; }; Action<bool> SetReadOnly = delegate(bool IsReadOnly) { foreach (Control control in splitContainerControl.Panel2.Controls) { if (control is BaseEdit) { (control as BaseEdit).Properties.ReadOnly = IsReadOnly; if (CurrentMDI.IsKey(control.Name) && !IsReadOnly && !btnAddNew.Enabled) { (control as BaseEdit).Properties.ReadOnly = true; } if (control.Tag != null) { (control.Tag as Control).Enabled = !IsReadOnly; } if (control.Name == Name) { (control as BaseEdit).Properties.ReadOnly = true; } if (control is LookUpEdit && (control as BaseEdit).Properties.ReadOnly == false) { if (EntityType.IsFKContained(control.Name)) { var A = EntityType.Name; var MDI = (MasterDetailInfo)(control as LookUpEdit).Properties.DataSource.GetType().GenericTypeArguments[0].CreateNew(); var V = (GetControlByName(CurrentMDI.GetKeyName()) as BaseEdit).EditValue; var aList = Table.GetList(MDI.GetType(), A, V, false); (control as LookUpEdit).Properties.DataSource = aList; } } } } }; Action DefaultButtonDisplay = delegate() { btnEdit.Enabled = CurrentMDI.EnabledEdit() && gridView.SelectedRowsCount > 0; btnEdit.Visible = true; btnCancelEdit.Visible = false; btnUpdate.Enabled = false; btnCreateNew.Enabled = btnCreateNew.Visible = true; btnCancelNew.Visible = false; btnAddNew.Enabled = false; btnDelete.Enabled = gridView.SelectedRowsCount > 0; }; Func<MasterDetailInfo> GetCurrentRecord = delegate() { var AElement = EntityType.CreateNew(); foreach (Control control in splitContainerControl.Panel2.Controls) { if (control is BaseEdit) { AElement.SetPropertyValue(control.Name, (control as BaseEdit).EditValue); } } return (AElement as MasterDetailInfo); }; #endregion #region ==================================== Button Events ==================================== btnEdit.Click += new EventHandler(delegate(object sender, EventArgs e) { foreach (Control control in splitContainerControl.Panel2.Controls) { if (control is BaseEdit) { Element.SetPropertyValue(control.Name, (control as BaseEdit).EditValue); } } DefaultButtonDisplay(); btnCancelEdit.Visible = btnUpdate.Enabled = true; btnEdit.Visible = btnCreateNew.Enabled = btnDelete.Enabled = false; SetReadOnly(false); DataGridView.Enabled = false; }); btnCancelEdit.Click += new EventHandler(delegate(object sender, EventArgs e) { foreach (Control control in splitContainerControl.Panel2.Controls) { if (control is BaseEdit) { (control as BaseEdit).EditValue = Element.GetPropertyValue(control.Name); } } DefaultButtonDisplay(); SetReadOnly(true); DataGridView.Enabled = true; dxErrorProvider.ClearErrors(); }); btnUpdate.Click += new EventHandler(delegate(object sender, EventArgs e) { var NewElement = GetCurrentRecord(); bool isOk = false; try { Table.Update(NewElement); } catch (Exception ex) { isOk = ValidateEntity(ex); } finally { if (isOk) { dxErrorProvider.ClearErrors(); DefaultButtonDisplay(); SetReadOnly(true); DataGridView.Enabled = true; } } }); btnCreateNew.Click += new EventHandler(delegate(object sender, EventArgs e) { gridView.AddNewRow(); if (!string.IsNullOrEmpty(Name)) { var txt = (GetControlByName(Name) as BaseEdit); txt.EditValue = Value; txt.BindingManager.EndCurrentEdit(); } DefaultButtonDisplay(); btnCancelNew.Visible = btnAddNew.Enabled = true; btnCreateNew.Visible = btnEdit.Enabled = btnDelete.Enabled = false; SetReadOnly(false); DataGridView.Enabled = false; }); btnCancelNew.Click += new EventHandler(delegate(object sender, EventArgs e){ gridView.DeleteSelectedRows(); DefaultButtonDisplay(); SetReadOnly(true); DataGridView.Enabled = true; dxErrorProvider.ClearErrors(); }); btnAddNew.Click += new EventHandler(delegate(object sender, EventArgs e) { var NewElement = GetCurrentRecord(); bool isOk = true; try { Table.Insert(NewElement); } catch (Exception ex) { isOk = ValidateEntity(ex); } finally { if (isOk) { dxErrorProvider.ClearErrors(); DefaultButtonDisplay(); SetReadOnly(true); DataGridView.Enabled = true; } } }); btnDelete.Click += new EventHandler(delegate(object sender, EventArgs e) { var AElement = GetCurrentRecord(); try { gridView.DeleteSelectedRows(); Table.Delete(AElement); } catch (System.Exception ex) { ValidateEntity(ex); } }); #endregion splitContainerControl.Panel2.Controls.AddRange(new Control[] { btnEdit, btnCancelEdit, btnUpdate, btnCreateNew, btnCancelNew, btnAddNew, btnDelete }); #region ==================================== Relation ==================================== var Count = CurrentMDI.GetRelationCount(); bX = 0; bWidth = 160; for (int i = 0; i < Count; i++) { var MDI = (MasterDetailInfo)CurrentMDI.GetRelationType(i).CreateNew(); var aName = MDI.GetType().Name; var aButton = new SimpleButton() { Name = "btnRelation_"+ aName, Text = MDI.GetName(), Location = new Point(5 + 5 * bX + bWidth * bX, 50 + 30 * index), Width = bWidth, Enabled = DSQuyen.Where(m => m.Quyen > 1 && m.Menu.Contains(aName)).Count() > 0 || Username == "admin" }; aButton.Click += new EventHandler(delegate(object sender, EventArgs e) { var TableName = CurrentMDI.GetType().Name; var ColumnName = MDI.GetForeignKeyColumn(TableName); var KeyValue = GetCurrentRecord().GetKeyValue(); UpdateGridView(MDI, ColumnName, KeyValue); //gridView.Columns[0].FilterInfo = new ColumnFilterInfo(gridView.Columns[ColumnName], KeyValue); }); splitContainerControl.Panel2.Controls.Add(aButton); index = bX > 0 ? index + 1 : index; bX = bX > 0 ? 0 : bX + 1; } #endregion }
private void LoadDataAndShow() { try { tableName = this.UserName.ToString(); tblInfo = DBEngine.execReturnDataTable(string.Format("select * from tblDataSetting where TableName = '{0}'", this.UserName)); if (tblInfo != null && tblInfo.Rows.Count > 0) { //Load Primary keys if (!tblInfo.Rows[0]["TableEditorName"].ToString().Equals(string.Empty)) this.UserName = tblInfo.Rows[0]["TableEditorName"].ToString().Split('|')[0]; //m_dtPrimaryKeys = DBEngine.execReturnDataTable("sp_TableEditor_GetPrimaryKeys", "@Tablename", this.UserName.ToString()); strViewName = tblInfo.Rows[0]["ViewName"].ToString(); if (tblInfo.Rows[0]["IsShowLayout"] != DBNull.Value) IsShowLayout = Convert.ToBoolean(tblInfo.Rows[0]["IsShowLayout"]); else IsShowLayout = false; if (tblInfo.Rows[0]["AllowAdd"] != DBNull.Value) isAllowAdd = Convert.ToBoolean(tblInfo.Rows[0]["AllowAdd"]); else IsAdded = false; if (tblInfo.Rows[0]["ReadOnly"] != DBNull.Value) isReadOnly = Convert.ToBoolean(tblInfo.Rows[0]["ReadOnly"]); if (tblInfo.Rows[0]["IsProcedure"] != DBNull.Value) IsProcedure = Convert.ToBoolean(tblInfo.Rows[0]["IsProcedure"]); if (tblInfo.Rows[0]["IsProcessForm"] != DBNull.Value) IsProcessForm = Convert.ToBoolean(tblInfo.Rows[0]["IsProcessForm"]); strColumnReadOnly = tblInfo.Rows[0]["ReadOnlyColumns"].ToString().Split(','); strColumnFormatFont = tblInfo.Rows[0]["FormatFontColumns"].ToString().Split(','); strColumnPaint = tblInfo.Rows[0]["PaintColumns"].ToString().Split(','); strPaintRows = tblInfo.Rows[0]["PaintRows"].ToString().Split(','); strColumnHide = tblInfo.Rows[0][ColumnHide].ToString().Split(','); strColumnFixed = tblInfo.Rows[0][FixedColumns].ToString().Split(','); strGroupColumns = tblInfo.Rows[0][GroupColumns].ToString().Split(','); strColumnOrderBy = tblInfo.Rows[0][ColumnOrderBy].ToString().Split(','); strColumnCombobox = tblInfo.Rows[0]["ComboboxColumns"].ToString().Split('|'); m_dtColumnsName = DBEngine.execReturnDataTable("sp_TableEditor_Columns", "@Tablename", strViewName); m_dtColumnsName.PrimaryKey = new DataColumn[] { m_dtColumnsName.Columns[NAME] }; if (IsProcedure) { int height = 0; tableName = tblInfo.Rows[0]["TableEditorName"].ToString(); // đọc các tham số truyền vào dtParameter = DBEngine.execReturnDataTable("sp_Export_GetParameter", "@ProcedureName", strViewName, "@LanguageID", UIMessage.languageID); grbFilter.Controls.Clear(); if ((dtParameter != null) && (dtParameter.Rows.Count > 0)) { hideContainerLeft.Visible = true; cellLocation = new string[3, dtParameter.Rows.Count];// frist used for Name, second used for Location and third used for Value int index = 0; //generate filter condition foreach (DataRow dr in dtParameter.Rows) { //cut lose @LoginID if (dr[P_NAME].ToString().ToLower().Equals(CommonConst.A_LoginID.ToLower())) continue; height += 25; // set lable Label lbl = new Label() { Name = LBL_PREFIX + dr[P_NAME], Text = dr[Message_P].ToString() }; cellLocation[0, index] = lbl.Text; cellLocation[1, index] = dr[CellLocation].ToString(); cellLocation[2, index++] = dr[P_NAME].ToString(); grbFilter.Controls.Add(lbl); lbl.Location = new Point(10, height); // set input control switch (dr[DataType].ToString().ToLower()) { case "dropdownlist": { if (dr[P_NAME].ToString().ToLower() == CommonConst.A_EmployeeID.ToLower()) { ShowEmployeeList(new Point(110, height), dr[P_NAME].ToString()); break; } // create combobox for this once LookUpEdit cbx = new LookUpEdit() { Name = CBX_PREFIX + dr[P_NAME] }; // set data source AddDataSource(ref cbx, DBEngine.execReturnDataTable(dr[Query].ToString(), CommonConst.A_LoginID, UserID)); // if the control is month or year list, so set theo current month and year if (cbx.Name.ToLower().Contains("month")) { dtInitValue = DBEngine.execReturnDataTable("select * from tblCurrentWorkingMonth"); cbx.EditValue = dtInitValue.Rows[0]["Month"]; } if (cbx.Name.ToLower().Contains("year")) { dtInitValue = DBEngine.execReturnDataTable("select * from tblCurrentWorkingMonth"); cbx.EditValue = dtInitValue.Rows[0]["Year"]; } if (cbx.Name.ToLower().Contains("currency")) { cbx.EditValue = "VND"; } grbFilter.Controls.Add(cbx); cbx.Location = new Point(110, height); cbx.Width = 200; cbx.BringToFront(); break; } case "number": case "int": case "smallint": case "tinyint": case "money": { // Create textbox and set read number only TextBox txt = new TextBox() { Name = TXT_PREFIX + dr[P_NAME], Location = new Point(110, height), Width = 200 }; txt.BringToFront(); //set read number only txt.KeyPress += new KeyPressEventHandler(txt_KeyPress); grbFilter.Controls.Add(txt); break; } case "datetime": case "smalldatetime": { // Create datetimepicker DateEdit dtp = new DateEdit() { Name = DTP_PREFIX + dr[P_NAME], Location = new Point(110, height), Width = 200 }; dtp.Properties.LookAndFeel.UseDefaultLookAndFeel = false; dtp.Properties.LookAndFeel.SkinName = "Blue"; dtp.Properties.Mask.EditMask = "dd/MM/yyyy"; dtp.Properties.Mask.UseMaskAsDisplayFormat = true; grbFilter.Controls.Add(dtp); break; } case "boolean": case "bit": { // Create datetimepicker CheckEdit ckb = new CheckEdit() { Name = CKB_PREFIX + dr[P_NAME], Location = new Point(110, height) }; ckb.Properties.LookAndFeel.UseDefaultLookAndFeel = false; ckb.Properties.LookAndFeel.SkinName = "Blue"; grbFilter.Controls.Add(ckb); break; } default: { // Create textbox and set read number only TextBox txt = new TextBox() { Name = TXT_PREFIX + dr[P_NAME], Location = new Point(110, height), Width = 200 }; txt.BringToFront(); grbFilter.Controls.Add(txt); // textbox here break; } } } grbFilter.Height = 25+ height; } else hideContainerLeft.Visible = false; // thực thi câu truy vấn với tham số mặc định if (!IsProcessForm) m_dtTableData = LoadProduceData(); else { pnlFWCommand.Visible = false; } } else { hideContainerLeft.Visible = false; m_dtTableData = DBEngine.execReturnDataTable(MakeLoadAllDataQuery(strViewName)); } m_dtColumnsName_Org = DBEngine.execReturnDataTable("sp_TableEditor_Columns", "@Tablename", this.UserName.ToString()); } else { hideContainerLeft.Visible = false; //Load Primary keys m_dtColumnsName = DBEngine.execReturnDataTable("sp_TableEditor_Columns", "@Tablename", this.UserName.ToString()); m_dtColumnsName_Org = m_dtColumnsName.Copy(); m_dtTableData = DBEngine.execReturnDataTable(MakeLoadAllDataQuery(this.UserName.ToString())); } if (!IsProcessForm) { BuildVisibleColumnsProc(); grdTableEditor.DataSource = m_dtTableData; dt_OldValue = m_dtTableData.Copy(); RegisterEvents(); grvTableEditor.BestFitColumns(); } Control.ControlCollection ctrls = splitContainer1.Panel2.Controls; UIMessage.LoadLableName(ref ctrls); } catch (Exception ex) { HPA.Common.Helper.ShowException(ex, ex.Message, "Load and show data"); } if (!IsProcessForm) { m_dtTableData.DefaultView.RowFilter = strFilter; } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.sptPanel1 = new DevExpress.XtraEditors.SplitContainerControl(); this.treeCtl1 = new DevExpress.XtraTreeList.TreeList(); this.treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.groupPanel1 = new DevExpress.XtraEditors.GroupControl(); this.btnSaveToSvr = new DevExpress.XtraEditors.SimpleButton(); this.groupPanel3 = new DevExpress.XtraEditors.GroupControl(); this.labelControl4 = new DevExpress.XtraEditors.LabelControl(); this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.btnSaveMnuItem = new DevExpress.XtraEditors.SimpleButton(); this.chkUsing = new DevExpress.XtraEditors.CheckEdit(); this.txtmnuAsmName = new DevExpress.XtraEditors.TextEdit(); this.txtmnuClassName = new DevExpress.XtraEditors.TextEdit(); this.txtmnuName = new DevExpress.XtraEditors.TextEdit(); this.groupPanel2 = new DevExpress.XtraEditors.GroupControl(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.btnSaveMnuGrp = new DevExpress.XtraEditors.SimpleButton(); this.txtmnuGrp = new DevExpress.XtraEditors.TextEdit(); this.barManager1 = new DevExpress.XtraBars.BarManager(); 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.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem1 = new DevExpress.XtraBars.BarSubItem(); this.barBtnLogoff = new DevExpress.XtraBars.BarButtonItem(); this.barBtnExit = new DevExpress.XtraBars.BarButtonItem(); this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem(); this.barLabel = new DevExpress.XtraBars.BarStaticItem(); this.barSubOpt = new DevExpress.XtraBars.BarSubItem(); this.barSkin = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem2 = new DevExpress.XtraBars.BarSubItem(); this.barChkSys = new DevExpress.XtraBars.BarCheckItem(); this.barChkTaobao = new DevExpress.XtraBars.BarCheckItem(); this.barBtnSysMnu = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem3 = new DevExpress.XtraBars.BarSubItem(); this.barBtnSysInfo = new DevExpress.XtraBars.BarButtonItem(); this.barMnuTaobao = new DevExpress.XtraBars.BarButtonItem(); this.barStaticItem2 = new DevExpress.XtraBars.BarStaticItem(); this.barStaticItem3 = new DevExpress.XtraBars.BarStaticItem(); this.barbtnMnuGrp = new DevExpress.XtraBars.BarButtonItem(); this.barbtnMnuItem = new DevExpress.XtraBars.BarButtonItem(); this.barbtnDel = 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.popMenuCtl1 = new DevExpress.XtraBars.PopupMenu(); this.fdlg = new System.Windows.Forms.SaveFileDialog(); ((System.ComponentModel.ISupportInitialize)(this.sptPanel1)).BeginInit(); this.sptPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.treeCtl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupPanel1)).BeginInit(); this.groupPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupPanel3)).BeginInit(); this.groupPanel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chkUsing.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtmnuAsmName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtmnuClassName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtmnuName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupPanel2)).BeginInit(); this.groupPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtmnuGrp.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popMenuCtl1)).BeginInit(); this.SuspendLayout(); // // sptPanel1 // this.sptPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.sptPanel1.Location = new System.Drawing.Point(0, 0); this.sptPanel1.Name = "sptPanel1"; this.sptPanel1.Panel1.Controls.Add(this.treeCtl1); this.sptPanel1.Panel1.Text = "Panel1"; this.sptPanel1.Panel2.Controls.Add(this.groupPanel1); this.sptPanel1.Panel2.Text = "Panel2"; this.sptPanel1.Size = new System.Drawing.Size(732, 448); this.sptPanel1.SplitterPosition = 214; this.sptPanel1.TabIndex = 0; this.sptPanel1.Text = "sptPanel1"; // // treeCtl1 // this.treeCtl1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { this.treeListColumn1}); this.treeCtl1.Dock = System.Windows.Forms.DockStyle.Fill; this.treeCtl1.HorzScrollVisibility = DevExpress.XtraTreeList.ScrollVisibility.Always; this.treeCtl1.Location = new System.Drawing.Point(0, 0); this.treeCtl1.Name = "treeCtl1"; this.treeCtl1.BeginUnboundLoad(); this.treeCtl1.AppendNode(new object[] { "1"}, -1); this.treeCtl1.AppendNode(new object[] { "11"}, 0); this.treeCtl1.AppendNode(new object[] { "2"}, -1); this.treeCtl1.AppendNode(new object[] { "22"}, 2); this.treeCtl1.AppendNode(new object[] { "222"}, 3); this.treeCtl1.AppendNode(new object[] { "3"}, -1); this.treeCtl1.EndUnboundLoad(); this.treeCtl1.OptionsBehavior.DragNodes = true; this.treeCtl1.OptionsBehavior.Editable = false; this.treeCtl1.OptionsSelection.EnableAppearanceFocusedRow = false; this.treeCtl1.OptionsSelection.InvertSelection = true; this.treeCtl1.OptionsView.ShowColumns = false; this.treeCtl1.OptionsView.ShowFocusedFrame = false; this.treeCtl1.OptionsView.ShowHorzLines = false; this.treeCtl1.OptionsView.ShowIndicator = false; this.treeCtl1.OptionsView.ShowVertLines = false; this.treeCtl1.ShowButtonMode = DevExpress.XtraTreeList.ShowButtonModeEnum.ShowForFocusedRow; this.treeCtl1.Size = new System.Drawing.Size(214, 448); this.treeCtl1.TabIndex = 0; this.treeCtl1.TreeLineStyle = DevExpress.XtraTreeList.LineStyle.Solid; this.treeCtl1.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(this.treeCtl1_FocusedNodeChanged); this.treeCtl1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.treeCtl1_MouseUp); // // treeListColumn1 // this.treeListColumn1.Caption = "treeListColumn1"; this.treeListColumn1.FieldName = "treeListColumn1"; this.treeListColumn1.MinWidth = 86; this.treeListColumn1.Name = "treeListColumn1"; this.treeListColumn1.Visible = true; this.treeListColumn1.VisibleIndex = 0; this.treeListColumn1.Width = 91; // // groupPanel1 // this.groupPanel1.Controls.Add(this.btnSaveToSvr); this.groupPanel1.Controls.Add(this.groupPanel3); this.groupPanel1.Controls.Add(this.groupPanel2); this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupPanel1.Location = new System.Drawing.Point(0, 0); this.groupPanel1.Name = "groupPanel1"; this.groupPanel1.Size = new System.Drawing.Size(513, 448); this.groupPanel1.TabIndex = 0; this.groupPanel1.Text = "菜单编辑"; // // btnSaveToSvr // this.btnSaveToSvr.Location = new System.Drawing.Point(14, 377); this.btnSaveToSvr.Name = "btnSaveToSvr"; this.btnSaveToSvr.Size = new System.Drawing.Size(130, 23); this.btnSaveToSvr.TabIndex = 1; this.btnSaveToSvr.Text = "保存菜单至服务器"; this.btnSaveToSvr.Click += new System.EventHandler(this.btnSaveToSvr_Click); // // groupPanel3 // this.groupPanel3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupPanel3.Controls.Add(this.labelControl4); this.groupPanel3.Controls.Add(this.labelControl3); this.groupPanel3.Controls.Add(this.labelControl2); this.groupPanel3.Controls.Add(this.btnSaveMnuItem); this.groupPanel3.Controls.Add(this.chkUsing); this.groupPanel3.Controls.Add(this.txtmnuAsmName); this.groupPanel3.Controls.Add(this.txtmnuClassName); this.groupPanel3.Controls.Add(this.txtmnuName); this.groupPanel3.Location = new System.Drawing.Point(14, 140); this.groupPanel3.Name = "groupPanel3"; this.groupPanel3.Size = new System.Drawing.Size(487, 217); this.groupPanel3.TabIndex = 0; this.groupPanel3.Text = "菜单项"; // // labelControl4 // this.labelControl4.Location = new System.Drawing.Point(22, 67); this.labelControl4.Name = "labelControl4"; this.labelControl4.Size = new System.Drawing.Size(48, 14); this.labelControl4.TabIndex = 6; this.labelControl4.Text = "主画面类"; // // labelControl3 // this.labelControl3.Location = new System.Drawing.Point(10, 94); this.labelControl3.Name = "labelControl3"; this.labelControl3.Size = new System.Drawing.Size(60, 14); this.labelControl3.TabIndex = 5; this.labelControl3.Text = "程序集名称"; // // labelControl2 // this.labelControl2.Location = new System.Drawing.Point(10, 40); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(60, 14); this.labelControl2.TabIndex = 4; this.labelControl2.Text = "菜单项名称"; // // btnSaveMnuItem // this.btnSaveMnuItem.Location = new System.Drawing.Point(7, 152); this.btnSaveMnuItem.Name = "btnSaveMnuItem"; this.btnSaveMnuItem.Size = new System.Drawing.Size(75, 23); this.btnSaveMnuItem.TabIndex = 1; this.btnSaveMnuItem.Text = "保存修改"; this.btnSaveMnuItem.Click += new System.EventHandler(this.btnSaveMnuItem_Click); // // chkUsing // this.chkUsing.EditValue = true; this.chkUsing.Location = new System.Drawing.Point(5, 117); this.chkUsing.Name = "chkUsing"; this.chkUsing.Properties.Caption = "启用"; this.chkUsing.Size = new System.Drawing.Size(92, 19); this.chkUsing.TabIndex = 3; // // txtmnuAsmName // this.txtmnuAsmName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtmnuAsmName.Location = new System.Drawing.Point(76, 91); this.txtmnuAsmName.Name = "txtmnuAsmName"; this.txtmnuAsmName.Size = new System.Drawing.Size(406, 20); this.txtmnuAsmName.TabIndex = 2; // // txtmnuClassName // this.txtmnuClassName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtmnuClassName.Location = new System.Drawing.Point(76, 64); this.txtmnuClassName.Name = "txtmnuClassName"; this.txtmnuClassName.Size = new System.Drawing.Size(406, 20); this.txtmnuClassName.TabIndex = 1; // // txtmnuName // this.txtmnuName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtmnuName.Location = new System.Drawing.Point(76, 37); this.txtmnuName.Name = "txtmnuName"; this.txtmnuName.Size = new System.Drawing.Size(406, 20); this.txtmnuName.TabIndex = 0; // // groupPanel2 // this.groupPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupPanel2.Controls.Add(this.labelControl1); this.groupPanel2.Controls.Add(this.btnSaveMnuGrp); this.groupPanel2.Controls.Add(this.txtmnuGrp); this.groupPanel2.Location = new System.Drawing.Point(14, 25); this.groupPanel2.Name = "groupPanel2"; this.groupPanel2.Size = new System.Drawing.Size(487, 100); this.groupPanel2.TabIndex = 0; this.groupPanel2.Text = "菜单组"; // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(10, 38); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(60, 14); this.labelControl1.TabIndex = 2; this.labelControl1.Text = "菜单组名称"; // // btnSaveMnuGrp // this.btnSaveMnuGrp.Location = new System.Drawing.Point(5, 62); this.btnSaveMnuGrp.Name = "btnSaveMnuGrp"; this.btnSaveMnuGrp.Size = new System.Drawing.Size(75, 23); this.btnSaveMnuGrp.TabIndex = 1; this.btnSaveMnuGrp.Text = "保存修改"; this.btnSaveMnuGrp.Click += new System.EventHandler(this.btnSaveMnuGrp_Click); // // txtmnuGrp // this.txtmnuGrp.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtmnuGrp.Location = new System.Drawing.Point(76, 35); this.txtmnuGrp.Name = "txtmnuGrp"; this.txtmnuGrp.Size = new System.Drawing.Size(406, 20); this.txtmnuGrp.TabIndex = 0; // // 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.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barButtonItem1, this.barSubItem1, this.barBtnLogoff, this.barBtnExit, this.barStaticItem1, this.barLabel, this.barSubOpt, this.barSubItem3, this.barSkin, this.barSubItem2, this.barMnuTaobao, this.barChkSys, this.barChkTaobao, this.barBtnSysInfo, this.barStaticItem2, this.barStaticItem3, this.barBtnSysMnu, this.barbtnMnuGrp, this.barbtnMnuItem, this.barbtnDel, this.barButtonItem2, this.barButtonItem3, this.barButtonItem4, this.barButtonItem5}); this.barManager1.MaxItemId = 26; // // 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(732, 0); // // barDockControlBottom // this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 448); this.barDockControlBottom.Size = new System.Drawing.Size(732, 0); // // barDockControlLeft // this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 0); this.barDockControlLeft.Size = new System.Drawing.Size(0, 448); // // barDockControlRight // this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(732, 0); this.barDockControlRight.Size = new System.Drawing.Size(0, 448); // // barButtonItem1 // this.barButtonItem1.Caption = "txx"; this.barButtonItem1.Id = 0; this.barButtonItem1.Name = "barButtonItem1"; // // barSubItem1 // this.barSubItem1.Caption = "系统(&S)"; this.barSubItem1.Id = 1; this.barSubItem1.ImageIndex = 0; this.barSubItem1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barBtnLogoff), new DevExpress.XtraBars.LinkPersistInfo(this.barBtnExit)}); this.barSubItem1.Name = "barSubItem1"; this.barSubItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barBtnLogoff // this.barBtnLogoff.Caption = "注销(&L)"; this.barBtnLogoff.Id = 2; this.barBtnLogoff.ImageIndex = 1; this.barBtnLogoff.Name = "barBtnLogoff"; // // barBtnExit // this.barBtnExit.Caption = "退出(&X)"; this.barBtnExit.Id = 3; this.barBtnExit.ImageIndex = 2; this.barBtnExit.Name = "barBtnExit"; // // barStaticItem1 // this.barStaticItem1.Caption = "当前登录用户:"; this.barStaticItem1.Id = 4; this.barStaticItem1.Name = "barStaticItem1"; this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near; // // barLabel // this.barLabel.Caption = " "; this.barLabel.Id = 5; this.barLabel.Name = "barLabel"; this.barLabel.TextAlignment = System.Drawing.StringAlignment.Near; // // barSubOpt // this.barSubOpt.Caption = "设置(&S)"; this.barSubOpt.Id = 6; this.barSubOpt.ImageIndex = 3; this.barSubOpt.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barSkin), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem2), new DevExpress.XtraBars.LinkPersistInfo(this.barBtnSysMnu)}); this.barSubOpt.Name = "barSubOpt"; this.barSubOpt.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barSkin // this.barSkin.Caption = "外观"; this.barSkin.Id = 8; this.barSkin.ImageIndex = 4; this.barSkin.Name = "barSkin"; // // barSubItem2 // this.barSubItem2.Caption = "菜单样式"; this.barSubItem2.Id = 10; this.barSubItem2.ImageIndex = 5; this.barSubItem2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barChkSys), new DevExpress.XtraBars.LinkPersistInfo(this.barChkTaobao)}); this.barSubItem2.Name = "barSubItem2"; this.barSubItem2.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barChkSys // this.barChkSys.Caption = "系统风格"; this.barChkSys.Checked = true; this.barChkSys.Id = 13; this.barChkSys.Name = "barChkSys"; // // barChkTaobao // this.barChkTaobao.Caption = "商家后台风格"; this.barChkTaobao.Id = 14; this.barChkTaobao.Name = "barChkTaobao"; // // barBtnSysMnu // this.barBtnSysMnu.Caption = "系统菜单"; this.barBtnSysMnu.Id = 18; this.barBtnSysMnu.Name = "barBtnSysMnu"; this.barBtnSysMnu.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; // // barSubItem3 // this.barSubItem3.Caption = "帮助(&H)"; this.barSubItem3.Id = 7; this.barSubItem3.ImageIndex = 6; this.barSubItem3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barBtnSysInfo)}); this.barSubItem3.Name = "barSubItem3"; this.barSubItem3.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barBtnSysInfo // this.barBtnSysInfo.Caption = "系统信息"; this.barBtnSysInfo.Id = 15; this.barBtnSysInfo.Name = "barBtnSysInfo"; // // barMnuTaobao // this.barMnuTaobao.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.barMnuTaobao.Caption = "商家后台风格"; this.barMnuTaobao.Id = 12; this.barMnuTaobao.Name = "barMnuTaobao"; // // barStaticItem2 // this.barStaticItem2.Caption = "barStaticItem2"; this.barStaticItem2.Id = 16; this.barStaticItem2.Name = "barStaticItem2"; this.barStaticItem2.TextAlignment = System.Drawing.StringAlignment.Near; // // barStaticItem3 // this.barStaticItem3.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.barStaticItem3.Caption = "SvrTime"; this.barStaticItem3.Id = 17; this.barStaticItem3.Name = "barStaticItem3"; this.barStaticItem3.TextAlignment = System.Drawing.StringAlignment.Near; // // barbtnMnuGrp // this.barbtnMnuGrp.Caption = "添加菜单组"; this.barbtnMnuGrp.Id = 19; this.barbtnMnuGrp.Name = "barbtnMnuGrp"; this.barbtnMnuGrp.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barbtnMnuGrp_ItemClick); // // barbtnMnuItem // this.barbtnMnuItem.Caption = "添加菜单项"; this.barbtnMnuItem.Id = 20; this.barbtnMnuItem.Name = "barbtnMnuItem"; this.barbtnMnuItem.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barbtnMnuItem_ItemClick); // // barbtnDel // this.barbtnDel.Caption = "删除"; this.barbtnDel.Id = 21; this.barbtnDel.Name = "barbtnDel"; this.barbtnDel.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barbtnDel_ItemClick); // // barButtonItem2 // this.barButtonItem2.Caption = "barButtonItem2"; this.barButtonItem2.Id = 22; this.barButtonItem2.Name = "barButtonItem2"; // // barButtonItem3 // this.barButtonItem3.Caption = "加载最新菜单"; this.barButtonItem3.Id = 23; this.barButtonItem3.Name = "barButtonItem3"; this.barButtonItem3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem3_ItemClick); // // barButtonItem4 // this.barButtonItem4.Caption = "barButtonItem4"; this.barButtonItem4.Id = 24; this.barButtonItem4.Name = "barButtonItem4"; // // barButtonItem5 // this.barButtonItem5.Caption = "导出菜单"; this.barButtonItem5.Id = 25; this.barButtonItem5.Name = "barButtonItem5"; this.barButtonItem5.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem5_ItemClick); // // popMenuCtl1 // this.popMenuCtl1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barbtnMnuGrp), new DevExpress.XtraBars.LinkPersistInfo(this.barbtnMnuItem), new DevExpress.XtraBars.LinkPersistInfo(this.barbtnDel), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem3), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem5)}); this.popMenuCtl1.Manager = this.barManager1; this.popMenuCtl1.Name = "popMenuCtl1"; // // fdlg // this.fdlg.Filter = "*.xml|*.xml"; this.fdlg.Title = "菜单导出"; // // MenuView // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(732, 448); this.Controls.Add(this.sptPanel1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "MenuView"; this.Text = "系统菜单设置"; this.Load += new System.EventHandler(this.MenuView_Load); ((System.ComponentModel.ISupportInitialize)(this.sptPanel1)).EndInit(); this.sptPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.treeCtl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupPanel1)).EndInit(); this.groupPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.groupPanel3)).EndInit(); this.groupPanel3.ResumeLayout(false); this.groupPanel3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.chkUsing.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtmnuAsmName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtmnuClassName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtmnuName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupPanel2)).EndInit(); this.groupPanel2.ResumeLayout(false); this.groupPanel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtmnuGrp.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popMenuCtl1)).EndInit(); this.ResumeLayout(false); }
public void InitContorl() { int MaxWordWidth = CalcWidth(); int currentPosY = 10; int currentPosX = 10; int index = 0; if (MaxWordWidth < 300) MaxWordWidth = 300; try { if (parentTemple != null) { foreach (LP_Temple lp in templeList) { bool flag;//= (lp.Status == CurrRecord.Status); flag = lp.IsVisible == 0; Label label = new Label(); ComboBoxEdit btTip = null; CheckEdit ceTip = null; label.Text = lp.CellName; //string[] location = lp.CtrlLocation.Split(','); string[] size = lp.CtrlSize.Split(','); label.Location = new Point(currentPosX, currentPosY); label.Size = new Size(MaxWordWidth, 14); label.Visible = flag; if (flag) { currentPosY += 20; } IList<WF_WorkTastTrans> wttli = MainHelper.PlatformSqlMap.GetList<WF_WorkTastTrans>(" where tlcjdid='" + WorkFlowData.Rows[0]["WorkTaskId"].ToString() + "' and cdfs like '下拉%' and tlcjdzdid='" + lp.LPID + "'"); if (lp.CtrlType.Contains("MemoEdit") && flag && (lp.SqlSentence != "" || wttli.Count > 0)) { btTip = new ComboBoxEdit(); btTip.Name = "bt" + lp.LPID; btTip.Location = new Point(currentPosX, currentPosY); btTip.Size = new Size(300, 14); btTip.Tag = lp; ceTip = new CheckEdit(); ceTip.Name = "ce" + lp.LPID; ceTip.Location = new Point(currentPosX + btTip.Width + 10, currentPosY); ceTip.Size = new Size(80, 14); ceTip.Text = "累加"; ceTip.Checked = false; currentPosY += 30; } else if (lp.CtrlType.Contains("TextEdit") && flag && (lp.SqlSentence != "" || wttli.Count > 0)) { btTip = new ComboBoxEdit(); btTip.Name = "bt" + lp.LPID; btTip.Location = new Point(currentPosX, currentPosY); btTip.Size = new Size(300, 14); btTip.Tag = lp; ceTip = new CheckEdit(); ceTip.Name = "ce" + lp.LPID; ceTip.Location = new Point(currentPosX + btTip.Width + 10, currentPosY); ceTip.Size = new Size(80, 14); ceTip.Text = "累加"; ceTip.Checked = false; currentPosY += 30; } Control ctrl; if (lp.CtrlType.Contains("uc_gridcontrol")) { ctrl = new uc_gridcontrol(); ((uc_gridcontrol)ctrl).CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(gridView1_CellValueChanged); ((uc_gridcontrol)ctrl).FocusedColumnChanged += new DevExpress.XtraGrid.Views.Base.FocusedColumnChangedEventHandler(gridView1_FocusedColumnChanged); } else ctrl = (Control)Activator.CreateInstance(Type.GetType(lp.CtrlType)); ctrl.Location = new Point(currentPosX, currentPosY); ctrl.Size = new Size(int.Parse(size[0]), int.Parse(size[1])); if (flag) { currentPosY += int.Parse(size[1]) + 10; } ctrl.Enter += new EventHandler(ctrl_Enter); ctrl.Leave += new EventHandler(ctrl_Leave); ctrl.TextChanged += new EventHandler(ctrl_Leave); ctrl.Visible = flag; ctrl.Tag = lp; ctrl.TabIndex = index; if (btTip != null) { btTip.TabIndex = index; index++; btTip.TextChanged += new EventHandler(btTip_Click); } if (lp.CtrlType.Contains("uc_gridcontrol")) { label.Text = lp.CellName + "(Tab键可选下一格)"; (ctrl as uc_gridcontrol).InitCol(lp.ColumnName.Split(pchar), lp); //if (RecordWorkTask.HaveRunPowerRole(WorkConst.WorkTask_BindTable, WorkFlowData.Rows[0]["WorkFlowId"].ToString(), WorkFlowData.Rows[0]["WorkTaskId"].ToString()) || currRecord.Status == "填票") { (ctrl as uc_gridcontrol).iniTableRecordData(currRecord.ID, lp, WorkFlowData.Rows[0]["WorkFlowId"].ToString(), WorkFlowData.Rows[0]["WorkFlowInsId"].ToString()); } } index++; ctrl.Name = lp.LPID; dockPanel1.Controls.Add(label); if (btTip != null) { dockPanel1.Controls.Add(btTip); dockPanel1.Controls.Add(ceTip); } dockPanel1.Controls.Add(ctrl); if (lp.CellName == "编号") { ctrlNumber = ctrl; } if (lp.CellName.Contains("编号2")) { ctrlNumber2 = ctrl; } if (lp.CtrlType.IndexOf("DateEdit") > -1) { if (lp.WordCount.ToLower().IndexOf("hh") > -1) { ((DateEdit)ctrl).Properties.VistaDisplayMode = DevExpress.Utils.DefaultBoolean.True; ((DateEdit)ctrl).Properties.VistaEditTime = DevExpress.Utils.DefaultBoolean.True; } } if (lp.CtrlType.Contains("SpinEdit") && lp.WordCount != "") { SpinEdit lue1 = (SpinEdit)ctrl; if (lp.WordCount.IndexOf("p") > -1) { lue1.Properties.Increment = (decimal)0.0001; lue1.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; } else if (lp.WordCount.IndexOf(".") > -1) { Regex r2 = new Regex(@"(?<=\.).*"); lue1.Properties.Increment = (decimal)Math.Pow(0.1, r2.Match(lp.WordCount).Value.Length / 2); lue1.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; } lue1.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; lue1.Properties.EditFormat.FormatString = lp.WordCount; lue1.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; lue1.Properties.DisplayFormat.FormatString = lp.WordCount; lue1.Properties.EditMask = lp.WordCount; } } } InitEvent(); InitData(); InitTaskData(); } catch { } try { if (RecordWorkTask.HaveRunSPYJRole(kind)) { if (hqyjcontrol == null) hqyjcontrol = new SPYJControl(); hqyjcontrol.Size = new System.Drawing.Size(400, 200); hqyjcontrol.Location = new System.Drawing.Point(currentPosX, currentPosY + 10); currentPosY = currentPosY + hqyjcontrol.Size.Height; hqyjcontrol.RecordID = CurrRecord.ID; hqyjcontrol.TabIndex = index; index++; dockPanel1.Controls.Add(hqyjcontrol); } if (RecordWorkTask.HaveRunFuJianRole(kind)) { if (filecontrol == null) filecontrol = new DownFileControl(); if (status == "add") filecontrol.FormType = "上传"; else if (status == "edit") { filecontrol.FormType = "下载"; } filecontrol.Size = new System.Drawing.Size(400, 200); filecontrol.Location = new System.Drawing.Point(currentPosX, currentPosY + 10); currentPosY = currentPosY + filecontrol.Size.Height; filecontrol.UpfilePath = GetWorkFlowNmae(kind); filecontrol.TaskId = WorkFlowData.Rows[0]["WorkTaskId"].ToString(); if (currRecord == null) { currRecord = new LP_Record(); } filecontrol.RecordID = CurrRecord.ID; filecontrol.TabIndex = index; index++; dockPanel1.Controls.Add(filecontrol); currentPosY += 20; } if (RecordWorkTask.HaveWorkFlowBackRole(WorkFlowData.Rows[0]["WorkTaskId"].ToString(), WorkFlowData.Rows[0]["WorkFlowId"].ToString())) { Button btn_Back = new Button(); dockPanel1.Controls.Add(btn_Back); btn_Back.Click += new EventHandler(btn_Back_Click); btn_Back.Location = new Point(currentPosX + 80, currentPosY + 10); btn_Back.Text = "退回"; btn_Back = new Button(); dockPanel1.Controls.Add(btn_Back); btn_Back.Click += new EventHandler(btn_Save_Click); btn_Back.Location = new Point(currentPosX + 80 + btn_Back.Width, currentPosY + 10); btn_Back.Text = "保存"; } else { Button btn_Back = new Button(); dockPanel1.Controls.Add(btn_Back); btn_Back.Click += new EventHandler(btn_Save_Click); btn_Back.Location = new Point(currentPosX + 80, currentPosY + 10); btn_Back.Text = "保存"; } } catch { } Button btn_Submit = new Button(); dockPanel1.Controls.Add(btn_Submit); btn_Submit.Location = new Point(currentPosX, currentPosY + 10); btn_Submit.Text = "提交"; btn_Submit.Click += new EventHandler(btn_Submit_Click); if (dockPanel1.ControlContainer.Controls.Count > 0) dockPanel1.ControlContainer.Controls[0].Focus(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> protected void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmHomThuGopYQL)); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.MainBar = new DevExpress.XtraBars.Bar(); this.barButtonItemAdd = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemXem = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemDelete = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemUpdate = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemPrint = new DevExpress.XtraBars.BarButtonItem(); this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components); this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemCommit = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemNoCommit = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem1 = new DevExpress.XtraBars.BarSubItem(); this.barButtonItemSearch = new DevExpress.XtraBars.BarButtonItem(); this.popupMenuFilter = new DevExpress.XtraBars.PopupMenu(this.components); this.barCheckItemFilter = new DevExpress.XtraBars.BarCheckItem(); this.barButtonItemClose = 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.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem(); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); this.gridControlMaster = new DevExpress.XtraGrid.GridControl(); this.gridViewMaster = new DevExpress.XtraGrid.Views.Grid.PLGridView(); this.colMaster_ID = new DevExpress.XtraGrid.Columns.GridColumn(); this.colMaster_NoiDung = new DevExpress.XtraGrid.Columns.GridColumn(); this.colMaster_NguoiGopY = new DevExpress.XtraGrid.Columns.GridColumn(); this.colMaster_NgayGhiNhan = new DevExpress.XtraGrid.Columns.GridColumn(); this.colMaster_NguoiNhan = new DevExpress.XtraGrid.Columns.GridColumn(); this.colMaster_TieuDe = new DevExpress.XtraGrid.Columns.GridColumn(); this.xtraTabControlDetail = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPageDetail = new DevExpress.XtraTab.XtraTabPage(); this.gridControlDetail = new DevExpress.XtraGrid.GridControl(); this.gridViewDetail = new DevExpress.XtraGrid.Views.Grid.PLGridView(); this.colDetail_ID = new DevExpress.XtraGrid.Columns.GridColumn(); this.colDetail_NguoiPhanHoi = new DevExpress.XtraGrid.Columns.GridColumn(); this.colDetail_NoiDung = new DevExpress.XtraGrid.Columns.GridColumn(); this.colDetail_ThoiGianGhiNhan = new DevExpress.XtraGrid.Columns.GridColumn(); this.chkNguoiGopY = new DevExpress.XtraEditors.CheckEdit(); this.popupControlContainerFilter = new DevExpress.XtraBars.PopupControlContainer(this.components); this.NguoiNhan = new ProtocolVN.App.Office.ApplicationCore.PLDMTreeMultiChoice(); this.plLabel1 = new System.Windows.Forms.PLLabel(); this.nguoiGui = new ProtocolVN.Framework.Win.PLDMTreeGroup(); this.labelControl7 = new System.Windows.Forms.PLLabel(); this.ngayKT = new ProtocolVN.Framework.Win.Office.PLDateSelection(); this.labelControl1 = new System.Windows.Forms.PLLabel(); this.plTreeSelectItem1 = new ProtocolVN.Framework.Win.PLDMTreeGroupElement(); this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).BeginInit(); this.xtraTabControlDetail.SuspendLayout(); this.xtraTabPageDetail.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chkNguoiGopY.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).BeginInit(); this.popupControlContainerFilter.SuspendLayout(); this.SuspendLayout(); // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.MainBar}); 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.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barButtonItemAdd, this.barButtonItemDelete, this.barButtonItemUpdate, this.barButtonItemPrint, this.barStaticItem1, this.barButtonItem1, this.barButtonItem2, this.barButtonItemCommit, this.barButtonItemNoCommit, this.barSubItem1, this.barButtonItemXem, this.barButtonItemSearch, this.barButtonItemClose, this.barCheckItemFilter, this.barButtonItem3, this.barButtonItem4, this.barButtonItem5}); this.barManager1.MaxItemId = 35; // // MainBar // this.MainBar.BarName = "MainBar"; this.MainBar.DockCol = 0; this.MainBar.DockRow = 0; this.MainBar.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.MainBar.FloatLocation = new System.Drawing.Point(39, 133); this.MainBar.FloatSize = new System.Drawing.Size(72, 73); this.MainBar.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.Caption, this.barButtonItemAdd, "&Thêm"), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemXem), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDelete), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemUpdate), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemPrint, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemCommit, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemNoCommit), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem1, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemSearch, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemClose, true)}); this.MainBar.OptionsBar.AllowQuickCustomization = false; this.MainBar.OptionsBar.DrawDragBorder = false; this.MainBar.OptionsBar.RotateWhenVertical = false; this.MainBar.OptionsBar.UseWholeRow = true; this.MainBar.Text = "Custom 1"; // // barButtonItemAdd // this.barButtonItemAdd.Caption = "Thêm"; this.barButtonItemAdd.Id = 0; this.barButtonItemAdd.Name = "barButtonItemAdd"; this.barButtonItemAdd.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemXem // this.barButtonItemXem.Caption = "X&em"; this.barButtonItemXem.Id = 24; this.barButtonItemXem.Name = "barButtonItemXem"; this.barButtonItemXem.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemDelete // this.barButtonItemDelete.Caption = "&Xóa"; this.barButtonItemDelete.Id = 1; this.barButtonItemDelete.Name = "barButtonItemDelete"; this.barButtonItemDelete.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemUpdate // this.barButtonItemUpdate.Caption = "&Sửa"; this.barButtonItemUpdate.Id = 2; this.barButtonItemUpdate.Name = "barButtonItemUpdate"; this.barButtonItemUpdate.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemPrint // this.barButtonItemPrint.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItemPrint.Caption = "&In"; this.barButtonItemPrint.DropDownControl = this.popupMenu1; this.barButtonItemPrint.Id = 3; this.barButtonItemPrint.Name = "barButtonItemPrint"; this.barButtonItemPrint.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // popupMenu1 // this.popupMenu1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4)}); this.popupMenu1.Manager = this.barManager1; this.popupMenu1.Name = "popupMenu1"; // // barButtonItem4 // this.barButtonItem4.Caption = "Xem t&rước"; this.barButtonItem4.Id = 33; this.barButtonItem4.Name = "barButtonItem4"; // // barButtonItemCommit // this.barButtonItemCommit.Caption = "&Duyệt"; this.barButtonItemCommit.Id = 17; this.barButtonItemCommit.Name = "barButtonItemCommit"; this.barButtonItemCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemNoCommit // this.barButtonItemNoCommit.Caption = "&Không duyệt"; this.barButtonItemNoCommit.Id = 18; this.barButtonItemNoCommit.Name = "barButtonItemNoCommit"; this.barButtonItemNoCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barSubItem1 // this.barSubItem1.Caption = "&Nghiệp vụ"; this.barSubItem1.Id = 20; this.barSubItem1.Name = "barSubItem1"; this.barSubItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemSearch // this.barButtonItemSearch.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItemSearch.Caption = "Tì&m kiếm"; this.barButtonItemSearch.DropDownControl = this.popupMenuFilter; this.barButtonItemSearch.Id = 27; this.barButtonItemSearch.Name = "barButtonItemSearch"; this.barButtonItemSearch.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // popupMenuFilter // this.popupMenuFilter.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barCheckItemFilter)}); this.popupMenuFilter.Manager = this.barManager1; this.popupMenuFilter.Name = "popupMenuFilter"; // // barCheckItemFilter // this.barCheckItemFilter.Caption = "Điề&u kiện tìm kiếm"; this.barCheckItemFilter.Checked = true; this.barCheckItemFilter.Id = 29; this.barCheckItemFilter.Name = "barCheckItemFilter"; this.barCheckItemFilter.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemClose // this.barButtonItemClose.Caption = "Đón&g"; this.barButtonItemClose.Id = 28; this.barButtonItemClose.Name = "barButtonItemClose"; this.barButtonItemClose.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barDockControlTop // this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Size = new System.Drawing.Size(973, 24); // // barDockControlBottom // this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 497); this.barDockControlBottom.Size = new System.Drawing.Size(973, 0); // // barDockControlLeft // 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, 473); // // barDockControlRight // this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(973, 24); this.barDockControlRight.Size = new System.Drawing.Size(0, 473); // // barStaticItem1 // this.barStaticItem1.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None; this.barStaticItem1.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.barStaticItem1.Id = 13; this.barStaticItem1.Name = "barStaticItem1"; this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near; this.barStaticItem1.Width = 100; // // barButtonItem1 // this.barButtonItem1.Caption = "barButtonItem1"; this.barButtonItem1.Id = 14; this.barButtonItem1.Name = "barButtonItem1"; // // barButtonItem2 // this.barButtonItem2.Caption = "barButtonItem2"; this.barButtonItem2.Id = 15; this.barButtonItem2.Name = "barButtonItem2"; // // barButtonItem3 // this.barButtonItem3.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItem3.Caption = "In"; this.barButtonItem3.Id = 30; this.barButtonItem3.Name = "barButtonItem3"; // // barButtonItem5 // this.barButtonItem5.Caption = "barButtonItem5"; this.barButtonItem5.Id = 34; this.barButtonItem5.Name = "barButtonItem5"; // // splitContainerControl1 // this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerControl1.Horizontal = false; this.splitContainerControl1.Location = new System.Drawing.Point(0, 86); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.gridControlMaster); this.splitContainerControl1.Panel1.Text = "splitContainerControl1_Panel1"; this.splitContainerControl1.Panel2.CaptionLocation = DevExpress.Utils.Locations.Left; this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControlDetail); this.splitContainerControl1.Panel2.ShowCaption = true; this.splitContainerControl1.Panel2.Text = "splitContainerControl1_Panel2"; this.splitContainerControl1.Size = new System.Drawing.Size(973, 411); this.splitContainerControl1.SplitterPosition = 175; this.splitContainerControl1.TabIndex = 4; this.splitContainerControl1.Text = "splitContainerControl1"; // // gridControlMaster // this.gridControlMaster.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlMaster.BackgroundImage"))); this.gridControlMaster.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.gridControlMaster.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControlMaster.Location = new System.Drawing.Point(0, 0); this.gridControlMaster.MainView = this.gridViewMaster; this.gridControlMaster.Name = "gridControlMaster"; this.gridControlMaster.Size = new System.Drawing.Size(973, 175); this.gridControlMaster.TabIndex = 7; this.gridControlMaster.TabStop = false; this.gridControlMaster.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewMaster}); // // gridViewMaster // this.gridViewMaster.Appearance.GroupPanel.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Inch); this.gridViewMaster.Appearance.GroupPanel.Options.UseFont = true; this.gridViewMaster.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gridViewMaster.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewMaster.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colMaster_ID, this.colMaster_NoiDung, this.colMaster_NguoiGopY, this.colMaster_NgayGhiNhan, this.colMaster_NguoiNhan, this.colMaster_TieuDe}); this.gridViewMaster.GridControl = this.gridControlMaster; this.gridViewMaster.GroupPanelText = "DANH SÁCH GÓP Ý"; this.gridViewMaster.IndicatorWidth = 40; this.gridViewMaster.Name = "gridViewMaster"; this.gridViewMaster.OptionsLayout.Columns.AddNewColumns = false; this.gridViewMaster.OptionsNavigation.AutoFocusNewRow = true; this.gridViewMaster.OptionsNavigation.EnterMoveNextColumn = true; this.gridViewMaster.OptionsPrint.UsePrintStyles = true; this.gridViewMaster.OptionsSelection.MultiSelect = true; this.gridViewMaster.OptionsView.EnableAppearanceEvenRow = true; this.gridViewMaster.OptionsView.EnableAppearanceOddRow = true; this.gridViewMaster.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; this.gridViewMaster.OptionsView.RowAutoHeight = true; this.gridViewMaster.OptionsView.ShowGroupedColumns = true; // // colMaster_ID // this.colMaster_ID.Caption = "ID"; this.colMaster_ID.Name = "colMaster_ID"; this.colMaster_ID.Width = 23; // // colMaster_NoiDung // this.colMaster_NoiDung.Caption = "Nội dung"; this.colMaster_NoiDung.Name = "colMaster_NoiDung"; this.colMaster_NoiDung.OptionsColumn.ReadOnly = true; this.colMaster_NoiDung.Visible = true; this.colMaster_NoiDung.VisibleIndex = 1; this.colMaster_NoiDung.Width = 54; // // colMaster_NguoiGopY // this.colMaster_NguoiGopY.Caption = "Người gửi"; this.colMaster_NguoiGopY.Name = "colMaster_NguoiGopY"; this.colMaster_NguoiGopY.OptionsColumn.AllowEdit = false; this.colMaster_NguoiGopY.OptionsColumn.AllowFocus = false; this.colMaster_NguoiGopY.OptionsColumn.ReadOnly = true; this.colMaster_NguoiGopY.Visible = true; this.colMaster_NguoiGopY.VisibleIndex = 2; this.colMaster_NguoiGopY.Width = 58; // // colMaster_NgayGhiNhan // this.colMaster_NgayGhiNhan.Caption = "Thời gian góp ý"; this.colMaster_NgayGhiNhan.Name = "colMaster_NgayGhiNhan"; this.colMaster_NgayGhiNhan.OptionsColumn.AllowEdit = false; this.colMaster_NgayGhiNhan.OptionsColumn.AllowFocus = false; this.colMaster_NgayGhiNhan.OptionsColumn.ReadOnly = true; this.colMaster_NgayGhiNhan.Visible = true; this.colMaster_NgayGhiNhan.VisibleIndex = 4; this.colMaster_NgayGhiNhan.Width = 85; // // colMaster_NguoiNhan // this.colMaster_NguoiNhan.Caption = "Người nhận"; this.colMaster_NguoiNhan.Name = "colMaster_NguoiNhan"; this.colMaster_NguoiNhan.Visible = true; this.colMaster_NguoiNhan.VisibleIndex = 3; this.colMaster_NguoiNhan.Width = 67; this.colMaster_NguoiNhan.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; // // colMaster_TieuDe // this.colMaster_TieuDe.Caption = "Vấn đề góp ý"; this.colMaster_TieuDe.Name = "colMaster_TieuDe"; this.colMaster_TieuDe.OptionsColumn.AllowEdit = false; this.colMaster_TieuDe.OptionsColumn.AllowFocus = false; this.colMaster_TieuDe.OptionsColumn.ReadOnly = true; this.colMaster_TieuDe.Visible = true; this.colMaster_TieuDe.VisibleIndex = 0; // // xtraTabControlDetail // this.xtraTabControlDetail.Dock = System.Windows.Forms.DockStyle.Fill; this.xtraTabControlDetail.Location = new System.Drawing.Point(0, 0); this.xtraTabControlDetail.Name = "xtraTabControlDetail"; this.xtraTabControlDetail.SelectedTabPage = this.xtraTabPageDetail; this.xtraTabControlDetail.Size = new System.Drawing.Size(973, 230); this.xtraTabControlDetail.TabIndex = 0; this.xtraTabControlDetail.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPageDetail}); this.xtraTabControlDetail.TabStop = false; // // xtraTabPageDetail // this.xtraTabPageDetail.Controls.Add(this.gridControlDetail); this.xtraTabPageDetail.Name = "xtraTabPageDetail"; this.xtraTabPageDetail.Size = new System.Drawing.Size(966, 201); this.xtraTabPageDetail.Text = "Danh sách phản hồi"; // // gridControlDetail // this.gridControlDetail.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlDetail.BackgroundImage"))); this.gridControlDetail.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.gridControlDetail.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControlDetail.Location = new System.Drawing.Point(0, 0); this.gridControlDetail.MainView = this.gridViewDetail; this.gridControlDetail.Name = "gridControlDetail"; this.gridControlDetail.Size = new System.Drawing.Size(966, 201); this.gridControlDetail.TabIndex = 113; this.gridControlDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewDetail}); // // gridViewDetail // this.gridViewDetail.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gridViewDetail.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewDetail.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colDetail_ID, this.colDetail_NguoiPhanHoi, this.colDetail_NoiDung, this.colDetail_ThoiGianGhiNhan}); this.gridViewDetail.GridControl = this.gridControlDetail; this.gridViewDetail.GroupPanelText = "Danh sách phản hồi"; this.gridViewDetail.IndicatorWidth = 40; this.gridViewDetail.Name = "gridViewDetail"; this.gridViewDetail.OptionsBehavior.AutoExpandAllGroups = true; this.gridViewDetail.OptionsLayout.Columns.AddNewColumns = false; this.gridViewDetail.OptionsNavigation.AutoFocusNewRow = true; this.gridViewDetail.OptionsNavigation.EnterMoveNextColumn = true; this.gridViewDetail.OptionsPrint.UsePrintStyles = true; this.gridViewDetail.OptionsView.EnableAppearanceEvenRow = true; this.gridViewDetail.OptionsView.EnableAppearanceOddRow = true; this.gridViewDetail.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; this.gridViewDetail.OptionsView.ShowFooter = true; this.gridViewDetail.OptionsView.ShowGroupedColumns = true; this.gridViewDetail.OptionsView.ShowGroupPanel = false; // // colDetail_ID // this.colDetail_ID.Caption = "ID"; this.colDetail_ID.Name = "colDetail_ID"; this.colDetail_ID.Width = 23; // // colDetail_NguoiPhanHoi // this.colDetail_NguoiPhanHoi.Caption = "Người phản hồi"; this.colDetail_NguoiPhanHoi.Name = "colDetail_NguoiPhanHoi"; this.colDetail_NguoiPhanHoi.OptionsColumn.AllowEdit = false; this.colDetail_NguoiPhanHoi.OptionsColumn.AllowFocus = false; this.colDetail_NguoiPhanHoi.OptionsColumn.ReadOnly = true; this.colDetail_NguoiPhanHoi.Visible = true; this.colDetail_NguoiPhanHoi.VisibleIndex = 0; this.colDetail_NguoiPhanHoi.Width = 84; // // colDetail_NoiDung // this.colDetail_NoiDung.Caption = "Nội dung"; this.colDetail_NoiDung.Name = "colDetail_NoiDung"; this.colDetail_NoiDung.OptionsColumn.ReadOnly = true; this.colDetail_NoiDung.Visible = true; this.colDetail_NoiDung.VisibleIndex = 1; this.colDetail_NoiDung.Width = 54; // // colDetail_ThoiGianGhiNhan // this.colDetail_ThoiGianGhiNhan.Caption = "Thời gian ghi nhận"; this.colDetail_ThoiGianGhiNhan.Name = "colDetail_ThoiGianGhiNhan"; this.colDetail_ThoiGianGhiNhan.OptionsColumn.AllowEdit = false; this.colDetail_ThoiGianGhiNhan.OptionsColumn.AllowFocus = false; this.colDetail_ThoiGianGhiNhan.OptionsColumn.ReadOnly = true; this.colDetail_ThoiGianGhiNhan.Visible = true; this.colDetail_ThoiGianGhiNhan.VisibleIndex = 2; this.colDetail_ThoiGianGhiNhan.Width = 99; // // chkNguoiGopY // this.chkNguoiGopY.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkNguoiGopY.Location = new System.Drawing.Point(849, 6); this.chkNguoiGopY.MenuManager = this.barManager1; this.chkNguoiGopY.Name = "chkNguoiGopY"; this.chkNguoiGopY.Properties.Caption = "Hiện người gửi"; this.chkNguoiGopY.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Default; this.chkNguoiGopY.RightToLeft = System.Windows.Forms.RightToLeft.No; this.chkNguoiGopY.Size = new System.Drawing.Size(121, 19); this.chkNguoiGopY.TabIndex = 3; // // popupControlContainerFilter // this.popupControlContainerFilter.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.popupControlContainerFilter.Controls.Add(this.NguoiNhan); this.popupControlContainerFilter.Controls.Add(this.plLabel1); this.popupControlContainerFilter.Controls.Add(this.nguoiGui); this.popupControlContainerFilter.Controls.Add(this.labelControl7); this.popupControlContainerFilter.Controls.Add(this.chkNguoiGopY); this.popupControlContainerFilter.Controls.Add(this.ngayKT); this.popupControlContainerFilter.Controls.Add(this.labelControl1); this.popupControlContainerFilter.Controls.Add(this.plTreeSelectItem1); this.popupControlContainerFilter.Dock = System.Windows.Forms.DockStyle.Top; this.popupControlContainerFilter.Location = new System.Drawing.Point(0, 24); this.popupControlContainerFilter.Manager = this.barManager1; this.popupControlContainerFilter.Name = "popupControlContainerFilter"; this.popupControlContainerFilter.Size = new System.Drawing.Size(973, 62); this.popupControlContainerFilter.TabIndex = 0; this.popupControlContainerFilter.Visible = false; // // NguoiNhan // this.NguoiNhan.Location = new System.Drawing.Point(91, 32); this.NguoiNhan.Name = "NguoiNhan"; this.NguoiNhan.Size = new System.Drawing.Size(162, 20); this.NguoiNhan.TabIndex = 1; // // plLabel1 // this.plLabel1.Location = new System.Drawing.Point(12, 35); this.plLabel1.Name = "plLabel1"; this.plLabel1.Size = new System.Drawing.Size(55, 13); this.plLabel1.TabIndex = 201; this.plLabel1.Text = "Người nhận"; this.plLabel1.ToolTip = "Dữ liệu bắt buộc nhập"; this.plLabel1.ZZZType = System.Windows.Forms.PLLabel.LabelType.REQUIRED; // // nguoiGui // this.nguoiGui.Location = new System.Drawing.Point(91, 5); this.nguoiGui.Name = "nguoiGui"; this.nguoiGui.Size = new System.Drawing.Size(162, 20); this.nguoiGui.TabIndex = 0; // // labelControl7 // this.labelControl7.Location = new System.Drawing.Point(12, 9); this.labelControl7.Name = "labelControl7"; this.labelControl7.Size = new System.Drawing.Size(46, 13); this.labelControl7.TabIndex = 200; this.labelControl7.Text = "Người gửi"; this.labelControl7.ToolTip = "Dữ liệu bắt buộc nhập"; this.labelControl7.ZZZType = System.Windows.Forms.PLLabel.LabelType.REQUIRED; // // ngayKT // this.ngayKT.Caption = "Năm 2010 và 2011"; this.ngayKT.Default = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromMonthToMonth; this.ngayKT.FirstFrom = new System.DateTime(2010, 1, 1, 0, 0, 0, 0); this.ngayKT.FirstTo = new System.DateTime(2011, 12, 31, 0, 0, 0, 0); this.ngayKT.FromDate = new System.DateTime(2010, 1, 1, 0, 0, 0, 0); this.ngayKT.Location = new System.Drawing.Point(363, 31); this.ngayKT.Name = "ngayKT"; this.ngayKT.ReturnType = ProtocolVN.Framework.Win.Trial.TimeType.Date; this.ngayKT.SecondFrom = new System.DateTime(2010, 1, 1, 0, 0, 0, 0); this.ngayKT.SecondTo = new System.DateTime(2011, 12, 31, 0, 0, 0, 0); this.ngayKT.SelectedType = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear; this.ngayKT.Size = new System.Drawing.Size(226, 21); this.ngayKT.TabIndex = 2; this.ngayKT.ToDate = new System.DateTime(2011, 12, 31, 0, 0, 0, 0); this.ngayKT.Types = ((ProtocolVN.Framework.Win.Trial.SelectionTypes)(((((((((ProtocolVN.Framework.Win.Trial.SelectionTypes.OneDate | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneMonth) | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneQuarter) | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneYear) | ProtocolVN.Framework.Win.Trial.SelectionTypes.SixMonths) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromDateToDate) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromMonthToMonth) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromQuarterToQuarter) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear))); // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(284, 35); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(73, 13); this.labelControl1.TabIndex = 198; this.labelControl1.Text = "Thời gian góp ý"; this.labelControl1.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL; // // plTreeSelectItem1 // this.plTreeSelectItem1.Location = new System.Drawing.Point(605, -20); this.plTreeSelectItem1.Name = "plTreeSelectItem1"; this.plTreeSelectItem1.Size = new System.Drawing.Size(167, 20); this.plTreeSelectItem1.TabIndex = 193; this.plTreeSelectItem1.ZZZWidthFactor = 2F; // // gridColumn8 // this.gridColumn8.Caption = "VAT"; this.gridColumn8.Name = "gridColumn8"; this.gridColumn8.Visible = true; this.gridColumn8.VisibleIndex = 5; // // gridColumn6 // this.gridColumn6.Caption = "VAT"; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 5; this.gridColumn6.Width = 96; // // frmHomThuGopYQL // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(973, 497); this.Controls.Add(this.splitContainerControl1); this.Controls.Add(this.popupControlContainerFilter); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "frmHomThuGopYQL"; this.Text = "Hòm thư góp ý"; ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).EndInit(); this.xtraTabControlDetail.ResumeLayout(false); this.xtraTabPageDetail.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chkNguoiGopY.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).EndInit(); this.popupControlContainerFilter.ResumeLayout(false); this.popupControlContainerFilter.PerformLayout(); this.ResumeLayout(false); }
private void InitializeComponent() { this.cmbServers = new ComboBoxEdit(); this.chkDefault = new CheckEdit(); this.label1 = new Label(); this.cmbServers.Properties.BeginInit(); this.chkDefault.Properties.BeginInit(); base.SuspendLayout(); base.btOk.Location = new Point(0x40, 0x53); base.btOk.Name = "btOk"; base.btCancel.Location = new Point(160, 0x53); base.btCancel.Name = "btCancel"; this.cmbServers.EditValue = ""; this.cmbServers.Location = new Point(80, 0x10); this.cmbServers.Name = "cmbServers"; this.cmbServers.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) }); this.cmbServers.Properties.TextEditStyle = TextEditStyles.DisableTextEditor; this.cmbServers.Size = new Size(0xb0, 0x15); this.cmbServers.TabIndex = 2; this.chkDefault.EditValue = true; this.chkDefault.Location = new Point(0x48, 0x30); this.chkDefault.Name = "chkDefault"; this.chkDefault.Properties.Caption = "下次登录默认为此服务器"; this.chkDefault.Size = new Size(0xb8, 0x13); this.chkDefault.TabIndex = 3; this.label1.AutoSize = true; this.label1.Location = new Point(0x19, 0x13); this.label1.Name = "label1"; this.label1.Size = new Size(0x2d, 0x11); this.label1.TabIndex = 4; this.label1.Text = "服务器"; this.AutoScaleBaseSize = new Size(6, 15); base.ClientSize = new Size(0x124, 0x75); base.Controls.Add(this.label1); base.Controls.Add(this.chkDefault); base.Controls.Add(this.cmbServers); base.Name = "ServerDialog"; this.Text = "选择使用的远程服务器"; base.Controls.SetChildIndex(this.cmbServers, 0); base.Controls.SetChildIndex(this.chkDefault, 0); base.Controls.SetChildIndex(this.label1, 0); base.Controls.SetChildIndex(base.btOk, 0); base.Controls.SetChildIndex(base.btCancel, 0); this.cmbServers.Properties.EndInit(); this.chkDefault.Properties.EndInit(); base.ResumeLayout(false); }
/// <summary> /// Change a boolean in the server settings. /// </summary> /// <param name="matchString"></param> /// <param name="checkBox"></param> private void ChangeBoolean(string matchString, CheckEdit checkBox) { // Doesn't matter if there's any, just get rid of them. _serverSettings.RemoveAll(s => s.StartsWith(matchString)); // It's important to use .ToLower() or the boolean won't be recognised. _serverSettings.Add(string.Format("{0}={1}", matchString, checkBox.Checked.ToString().ToLower())); }
private void AddCheckbox(Control control, bool check) { CheckEdit checkE = new CheckEdit(); checkE.Tag = control; checkE.Text = ""; System.Drawing.Point location; if (control.Tag == null) { location = new System.Drawing.Point( control.Location.X + control.Size.Width + 5, control.Location.Y + 1); } else { Control tag = control.Tag as Control; location = new System.Drawing.Point( tag.Location.X + control.Size.Width + 5, tag.Location.Y + 1); } checkE.Location = location; checkE.CheckedChanged += chk_CheckedChanged; checkE.Checked = check; if (check == false) chk_CheckedChanged(checkE, null); control.Parent.Controls.Add(checkE); }
/// <summary> /// 复选框控件绑定 /// </summary> /// <param name="tab">控件关联数据源</param> /// <param name="ctrl">复选框控件</param> /// <param name="fld">控件关联字段</param> private void bindctrl(DataTable tab, CheckEdit ctrl, string fld) { if (null == tab || null == ctrl || string.IsNullOrEmpty(fld)) return; ctrl.DataBindings.Add("Checked", tab, fld, true, DataSourceUpdateMode.OnPropertyChanged, false, ""); ctrl.Click += new EventHandler(ct_ValueChanged); }
/// <summary> /// 判断复选框是否勾选,判断是否已经有数据 /// </summary> /// <param name="menuCheckEdit">菜单复选框</param> /// <param name="urModel"></param> /// <returns></returns> bool CreateURModel(CheckEdit menuCheckEdit, out TB_UserRights urModel) { urModel = null; string rightString = menuCheckEdit.Name.Replace("cb", ""); TB_Menu mObj = visaORM.TB_Menu.FirstOrDefault(m => m.FName == rightString); if (mObj == null) { DXMessageBox.Show(rightString + "已在数据中被删除"); return true; } if (menuCheckEdit.IsChecked == true) { TB_UserRights urObj = visaORM.TB_UserRights.FirstOrDefault(ur => ur.FMenuID == mObj.FID && ur.FStatus == true && ur.FUserID == MainContext.UserID); if (urObj!=null) { return true; } urModel = new TB_UserRights(); urModel.FUserID = model.FID; urModel.FMenuID = mObj.FID; urModel.FCreateDate = DateTime.Now; urModel.FCreateUser = MainContext.UserID; urModel.FModifyDate = DateTime.Now; urModel.FModifyUser = MainContext.UserID; urModel.FStatus = true; return true; } else { urModel = visaORM.TB_UserRights.FirstOrDefault(ur => ur.FMenuID == mObj.FID && ur.FUserID == MainContext.UserID); return false; } }
/// <summary> /// [EN] SetCheckEditStatus /// Create By: ManhNV1 -Date: 02/24/2016 /// Description: Set Common CheckState to CheckBox /// </summary> /// <param name="checkEdit">CheckEdit one checkEdit</param> /// <param name="checkState">int Set Value: 0-Unchecked | 1-Checked | Indeterminate </param> /// 0 public static void SetCheckEditStatus(CheckEdit checkEdit, int checkState) { if (checkState == 0) checkEdit.CheckState = CheckState.Unchecked; else if (checkState == 1) checkEdit.CheckState = CheckState.Checked; else checkEdit.CheckState = CheckState.Indeterminate; }