public FormBrokerCompany(InfoPos.Core.Core core, long Brokerid) { InitializeComponent(); _core = core; _brokerid = Brokerid; Init(); }
public frmMain(InfoPos.Core.Core mcore) { InitializeComponent(); try { _core = mcore; _apppath = _core.ApplicationPath; InitAll(); if (_core.Resource != null) { barButtonItem184.Glyph = _core.Resource.GetImage("image_update"); barButtonItem170.Glyph = _core.Resource.GetImage("image_vertical"); barButtonItem171.Glyph = _core.Resource.GetImage("image_horizontal"); barButtonItem172.Glyph = _core.Resource.GetImage("image_cascade"); barButtonItem177.Glyph = _core.Resource.GetImage("image_windowadd"); barButtonItem178.Glyph = _core.Resource.GetImage("image_exit"); barButtonItem181.Glyph = _core.Resource.GetImage("image_settings"); barButtonItem182.Glyph = _core.Resource.GetImage("image_changepass"); barButtonItem183.Glyph = _core.Resource.GetImage("image_pupdate"); barButtonItem186.Glyph = _core.Resource.GetImage("image_shortcut"); barButtonItem185.Glyph = _core.Resource.GetImage("image_about"); imageCollection1.Images.Add(_core.Resource.GetImage("dashboard_unread")); imageCollection1.Images.Add(_core.Resource.GetImage("image_mailalert")); } } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }
public frmTagReader(InfoPos.Core.Core core, string caption = "") { InitializeComponent(); //this.FormClosing += new FormClosingEventHandler(frmTagReader_FormClosing); lblCaption.Text = caption; _core = core; }
public PassOption(InfoPos.Core.Core core) { InitializeComponent(); _core = core; InitCombo(); lod(); }
public FormIssueTracking(InfoPos.Core.Core core, long projectid, DataRow dr) { InitializeComponent(); _core = core; ProjectID = projectid; DRProject = dr; }
public SalesProductBO(Core.Core core) { InitializeComponent(); _core = core; ucSalesProductBO.Resource = _core.Resource; Init(); }
public frmCompanySearch(InfoPos.Core.Core core) { try { InitializeComponent(); this.Core = core; this.FormClosing += frmCustSearch_FormClosing; this.ResizeRedraw = true; gridView1.OptionsBehavior.ReadOnly = true; gridView1.OptionsBehavior.Editable = false; gridView1.OptionsCustomization.AllowGroup = false; gridView1.OptionsView.AnimationType = DevExpress.XtraGrid.Views.Base.GridAnimationType.NeverAnimate; gridView1.OptionsView.ColumnAutoWidth = false; //gridView1.OptionsView.ShowAutoFilterRow = false; gridView1.OptionsView.ShowGroupPanel = false; gridView1.OptionsView.ShowIndicator = false; gridView1.OptionsView.RowAutoHeight = true; gridView1.Appearance.Row.Font = new Font("Tahoma", 10.0F); _layoutfilename = string.Format(@"{0}\Data\Layout_{1}.xml", Static.WorkingFolder, this.GetType().Name); } catch (Exception ex) { MessageBox.Show(string.Format("{0} : {1}", ex.Message, ex.StackTrace)); } }
public FormIssue(InfoPos.Core.Core core, long issueid, long customerno) { _core = core; _issueid = issueid; _customerno = customerno; InitializeComponent(); }
public SalesSearch(Core.Core core) { InitializeComponent(); _core = core; ucSalesSearch.Resource = _core.Resource; Init(); }
public frmSearchPledge(InfoPos.Core.Core core) { InitializeComponent(); Init(); _core = core; }
public frmCreate(InfoPos.Core.Core core, string pledgeno) { InitializeComponent(); _core = core; _pledgeno = pledgeno; gridView1.OptionsBehavior.ReadOnly = true; gridView1.OptionsBehavior.Editable = false; gridView1.OptionsBehavior.EditorShowMode = DevExpress.Utils.EditorShowMode.Click; gridView1.OptionsView.ShowColumnHeaders = false; gridView1.OptionsView.ShowVertLines = false; gridView1.OptionsCustomization.AllowGroup = false; gridView1.OptionsView.AnimationType = DevExpress.XtraGrid.Views.Base.GridAnimationType.NeverAnimate; gridView1.OptionsView.ColumnAutoWidth = false; //gridView1.OptionsView.ShowAutoFilterRow = false; gridView1.OptionsView.ShowGroupPanel = false; gridView1.OptionsView.ShowIndicator = false; gridView1.OptionsView.RowAutoHeight = true; gridView1.Appearance.Row.Font = new Font("Tahoma", 10.0F); gridView1.OptionsSelection.EnableAppearanceFocusedCell = false; gridView1.OptionsSelection.EnableAppearanceHideSelection = false; // зурган багана нэмж оруулахад энэ үзэгдлийг зарлаж дотор нь зургаа set хийнэ. //gridView1.CustomUnboundColumnData += new DevExpress.XtraGrid.Views.Base.CustomColumnDataEventHandler(gridView1_CustomUnboundColumnData); //gridView1.RowCellClick += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(gridView1_RowCellClick); gridView1.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(gridView1_FocusedRowChanged); }
public FormProjectEnq(InfoPos.Core.Core core, long projectid, long issueid) { InitializeComponent(); _core = core; ProjectID = projectid; IssueID = issueid; }
public FormAssign(InfoPos.Core.Core core, long issueid, int userno) { InitializeComponent(); _core = core; _issueid = issueid; _userno = userno; }
public FormIssueTrack(InfoPos.Core.Core core, long issueid, long ProjectID) { _core = core; _issueid = issueid; _projectid = ProjectID; InitializeComponent(); }
public frmPayment(InfoPos.Core.Core core, string salesno) { InitializeComponent(); this.Core = core; this.SalesNo = salesno; this.ResizeRedraw = true; this.popupContainer1.Width = dropDownButton1.Width; this.ucNumpad1.EditControl = numPayment; _layoutfilename = string.Format(@"{0}\Data\Layout_{1}.xml", Static.WorkingFolder, this.GetType().Name); #region Events this.FormClosing += frmPayment_FormClosing; this.gridView2.FocusedRowChanged += gridView2_FocusedRowChanged; #endregion #region Numeric field format numTotal.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; numTotal.Properties.DisplayFormat.FormatString = "#,##0.00"; numPrepaid.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; numPrepaid.Properties.DisplayFormat.FormatString = "#,##0.00"; numRemain.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; numRemain.Properties.DisplayFormat.FormatString = "#,##0.00"; numChange.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; numChange.Properties.DisplayFormat.FormatString = "#,##0.00"; numPayment.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; numPayment.Properties.DisplayFormat.FormatString = "#,##0.00"; #endregion #region Gird format gridView1.OptionsSelection.EnableAppearanceFocusedCell = false; gridView1.OptionsSelection.EnableAppearanceHideSelection = false; //gridView1.OptionsBehavior.ReadOnly = false; //gridView1.OptionsBehavior.Editable = true; //gridView1.OptionsCustomization.AllowGroup = false; //gridView1.OptionsView.AnimationType = DevExpress.XtraGrid.Views.Base.GridAnimationType.NeverAnimate; //gridView1.OptionsView.ColumnAutoWidth = false; ////gridView1.OptionsView.ShowAutoFilterRow = false; //gridView1.OptionsView.ShowGroupPanel = false; //gridView1.OptionsView.ShowIndicator = false; //gridView1.OptionsView.RowAutoHeight = true; //gridView1.Appearance.Row.Font = new Font("Tahoma", 10.0F); //// зурган багана нэмж оруулахад энэ үзэгдлийг зарлаж дотор нь зургаа set хийнэ. //gridView1.CustomUnboundColumnData += new DevExpress.XtraGrid.Views.Base.CustomColumnDataEventHandler(gridView1_CustomUnboundColumnData); //gridView1.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(gridView1_FocusedRowChanged); //gridView1.RowCellClick += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(gridView1_RowCellClick); //gridView1.CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(gridView1_CellValueChanged); gridView1.RowHeight = 28; #endregion #region Init functions InitGrid(); #endregion }
public PassOption(HeavenPro.Core.Core core) { InitializeComponent(); _core = core; InitCombo(); lod(); }
public void Init(string buttonkey, TouchLinkItem item, Form parent, object param, ref bool cancel) { try { _core = (InfoPos.Core.Core)param; _resource = _core.Resource; //this.ucSaleSearch1.Remote = _core.RemoteObject; //this.ucSaleSearch1.Resource = _resource; //this.ucCustSearch1.Remote = _core.RemoteObject; //this.ucCustSearch1.Resource = _resource; //this.ucRentTag1.Core = _core; //this.ucRentList1.Remote = _core.RemoteObject; //this.ucRentList1.Resource = _resource; this.MdiParent = parent; this.Show(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }
public FormCloseType(InfoPos.Core.Core core) { InitializeComponent(); _core = core; Init(); this.Resource = _core.Resource; this.FieldLinkSetSaveState(); }
/************* Error codes and descriptions ************** * 10 - Ini file not found. * 20 - Empty report file name. * 21 - Empty data source. * 22 - Not found specified report file. * 23 - Export error. * 24 - User cancel the report. * 29 - Other error. * 30 - Report ini file not found. * 31 - Report is not prepared. ********************************************************/ public Generator(InfoPos.Core.Core core) { _core = core; // BacAccount.ActiveForm.AcceptButton = ucBacAccountList.btnFind; }
public void CallOpenXML(object[] param) { _core = (Core.Core)param[0]; InfoPos.Customer.OpenXml frm = new InfoPos.Customer.OpenXml(_core); frm.MdiParent = _core.MainForm; frm.Show(); }
public frmProductList(InfoPos.Core.Core core) { InitializeComponent(); ucProductList1.Core = core; ucProductList1.Remote = core.RemoteObject; ucProductList1.Resource = core.Resource; ucProductList1.DataRefresh(1); }
public CRMProjectType(Core.Core core) { InitializeComponent(); _core = core; Init(); this.Resource = _core.Resource; this.FieldLinkSetSaveState(); }
public FormCustomerAdd(Core.Core core) { InitializeComponent(); _core = core; Init(); ucDynamicParameter1.Remote = _core.RemoteObject; ucDynamicParameter1.Resource = _core.Resource; }
public CRMIssueTrack(Core.Core core) { InitializeComponent(); _core = core; Init(); this.Resource = _core.Resource; this.FieldLinkSetSaveState(); }
public frmRegSearch(InfoPos.Core.Core core) { InitializeComponent(); this.FormClosing += frmSearch_FormClosing; Init(); this.Core = core; }
public CRMIssueActionType(InfoPos.Core.Core core) { InitializeComponent(); _core = core; Init(); this.Resource = _core.Resource; this.FieldLinkSetSaveState(); }
public FormLink(InfoPos.Core.Core core, long issueid, int userno, int count) { InitializeComponent(); _core = core; _issueid = issueid; _userno = userno; _count = count; }
public frmInfoPos() { InitializeComponent(); try { _core = Program.Core; // энэ класс дээр глобал бдлаар үүсгэсэн байгаа. _core.MainForm = this; #region Event declaration this.MdiChildActivate += new EventHandler(frmInfoPos_MdiChildActivate); this.touchButtonGroup1.EventKeyDown += new ISM.Touch.TouchButtonGroup.delegateKeyDown(touchButtonGroup1_EventKeyDown); _core.RemoteObject.DisConnected += new ISM.CUser.Remote.DelegateDisConnected(RemoteObject_DisConnected); #endregion #region Header Grid Options gridView1.OptionsCustomization.AllowRowSizing = false; gridView1.OptionsBehavior.EditorShowMode = DevExpress.Utils.EditorShowMode.Click; gridView1.OptionsBehavior.Editable = false; gridView1.OptionsBehavior.ReadOnly = true; gridView1.OptionsView.ShowIndicator = false; gridView1.OptionsView.ShowGroupPanel = false; gridView1.OptionsView.ShowColumnHeaders = false; gridView1.OptionsView.ShowAutoFilterRow = false; gridView1.OptionsView.ColumnAutoWidth = true; gridView1.OptionsView.RowAutoHeight = true; gridView1.OptionsView.AllowCellMerge = false; //gridView1.OptionsView.ShowHorzLines = false; gridView1.OptionsSelection.MultiSelect = false; gridView1.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.RowSelect; //this.gridView1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; if (gridControl1.Parent != null) { //gridView1.Appearance.Empty.BackColor = System.Drawing.Color.Transparent; gridView1.Appearance.Empty.BackColor = gridControl1.Parent.BackColor; gridView1.Appearance.Empty.Options.UseBackColor = true; } //gridView1.Appearance.Row.BackColor = System.Drawing.Color.Transparent; //gridView1.Appearance.Row.Options.UseBackColor = true; #endregion InitAll(); touchButtonGroup1.ParentMDI = this; TouchButtonsInit(); touchButtonGroup1.Init(2, 8, 2); _core.Tag.EventOnCard += Tag_EventOnCard; } catch (Exception ex) { } }
public FormCustomerMask(InfoPos.Core.Core core) { InitializeComponent(); _core = core; Init(); InitCombo(); this.Resource = _core.Resource; this.FieldLinkSetSaveState(); }
public frmAbout(InfoPos.Core.Core core) { InitializeComponent(); _core = core; if (_core.Resource != null) { btnClose.Image = _core.Resource.GetImage("navigate_home"); } }