Esempio n. 1
0
        public void Show(frmYouWatch pYouWatch, frmHeader pHeader)
        {
            this.YouWatch = pYouWatch;
            this.Header   = pHeader;
            this.IsClosed = false;

            if (!this.TopMost)
            {
                this.TopMost = true;
                base.Show();
                this.TopMost = false;
            }
            else
            {
                base.Show();
            }
        }
Esempio n. 2
0
        public void Show(frmYouWatch pYouWatch, frmView pView)
        {
            this.YouWatch = pYouWatch;
            this.View     = pView;
            this.IsClosed = false;

            if (!this.TopMost)
            {
                this.TopMost      = true;
                this.View.TopMost = this.TopMost;
                base.Show();
                this.TopMost      = false;
                this.View.TopMost = this.TopMost;
            }
            else
            {
                base.Show();
            }
        }