public MainForm() { InitializeComponent(); this._systemMessageText = new DefineConstantValue.SystemMessage(string.Empty); this._isLogin = false; this._tmrDisplayTime = new Timer(); this._tmrDisplayTime.Interval = 1000; this._tmrDisplayTime.Tick += new EventHandler(_tmrDisplayTime_Tick); this._tmrDisplayTime.Enabled = true; this._tmrRefreshStatus = new Timer(); this._tmrRefreshStatus.Interval = 500; this._tmrRefreshStatus.Tick += new EventHandler(_tmrRefreshStatus_Tick); this._tmrRefreshStatus.Enabled = false; OnStatusBarChanged += new StatusBarRefresh(MainForm_OnStatusBarChanged); this.BaseDockPanel = this.dpnlContainer; this._win = new LoginForm(); Cursor.Current = Cursors.WaitCursor; //this.Text = this._systemMessageText.strSystemText; Cursor.Current = Cursors.Arrow; this._strNoticeFormName = "WindowUI.HBManagerTerminal.Notice.frmNoticeShow"; }
public MainForm() { InitializeComponent(); this._systemMessageText = new DefineConstantValue.SystemMessage(string.Empty); this._isLogin = false; this._tmrDisplayTime = new Timer(); this._tmrDisplayTime.Interval = 1000; this._tmrDisplayTime.Tick += new EventHandler(_tmrDisplayTime_Tick); this._tmrDisplayTime.Enabled = true; this._IBlacklistChangeRecordBL = BLL.Factory.HHZX.MasterBLLFactory.GetBLL<IBlacklistChangeRecordBL>(BLL.Factory.HHZX.MasterBLLFactory.BlacklistChangeRecord); this._IConsumeMachineBL = BLL.Factory.HHZX.MasterBLLFactory.GetBLL<IConsumeMachineBL>(BLL.Factory.HHZX.MasterBLLFactory.ConsumeMachine); OnStatusBarChanged += new StatusBarRefresh(MainForm_OnStatusBarChanged); this.BaseDockPanel = this.dpnlContainer; this._LoginForm = new LoginForm(); Cursor.Current = Cursors.WaitCursor; Cursor.Current = Cursors.Arrow; }
public BaseForm() { InitializeComponent(); this.TBViewStatc = DefineConstantValue.GetReocrdEnum.GR_First; this.SystemMessageText = new DefineConstantValue.SystemMessage(string.Empty); this.EditState = DefineConstantValue.EditStateEnum.OE_ReaOnly; }
/// <summary> /// 顯示確認信息 /// </summary> /// <param name="text"></param> public bool ShowQuestionMessage(string text) { bool isYes = false; DefineConstantValue.SystemMessage SystemMessageText = new DefineConstantValue.SystemMessage(string.Empty); if (MessageBox.Show(text, SystemMessageText.strMessageTitle + SystemMessageText.strQuestion.Trim(), MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes) { isYes = true; } return isYes; }
public BaseForm() { InitializeComponent(); this.TBViewStatc = DefineConstantValue.GetReocrdEnum.GR_First; this.SystemMessageText = new DefineConstantValue.SystemMessage(string.Empty); this.EditState = DefineConstantValue.EditStateEnum.OE_ReaOnly; #region 臨時測試使用 by Ximon //this.UserInformation = new Sys_UserMaster_usm_Info(); //this.UserInformation.usm_cUserLoginID = "Im_the_god"; #endregion }
public BaseForm() { InitializeComponent(); this.SystemMessageText = new DefineConstantValue.SystemMessage(string.Empty); }
public BaseForm() { InitializeComponent(); LaserMotion(); this.FormBorderStyle = FormBorderStyle.None; this.MinimizeBox = false; this.MaximizeBox = false; this.WindowState = FormWindowState.Maximized; this.SystemMessageText = new DefineConstantValue.SystemMessage(string.Empty); this._isCloseForm = false; }