示例#1
0
 public stMessageBox()
 {
     this._stMessageBoxClean();
     this.mBox    = this;
     this.pForm   = null;
     this.tmClose = null;
     this.InitializeComponent();
 }
示例#2
0
        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();
        }
示例#3
0
        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;
        }