public stMessageBox() { this._stMessageBoxClean(); this.mBox = this; this.pForm = null; this.tmClose = null; this.InitializeComponent(); }
private void stMessageBox_Load(object sender, EventArgs e) { stMessageBox stBox = sender as stMessageBox; this.Dock = System.Windows.Forms.DockStyle.None; this.ForeColor = this.MboxText.ForeColor = stUI.stTheme.Txt(); this.MboxButton.ForeColor = stTheme.White(); }
private void _stMessageBoxClean() { this._stMessageBoxTimerClose(); if ( (this.mBox != null) && (!this.mBox.IsDisposed) && (!this.mBox.Disposing) ) { this.mBox.Dispose(); } if (this.pForm != null) { this.pForm.Refresh(); this.pForm = null; } this.mBox = null; }