Ejemplo n.º 1
0
 public GreyOutWindow openGreyOutWindowLogin(bool showBorder)
 {
     if (!this.isPopupWindowCreated(this.m_greyOutWindow))
     {
         if (Program.profileLogin == null)
         {
             return null;
         }
         this.m_greyLogin = true;
         this.m_greyOutWindow = new GreyOutWindow();
         Size clientSize = Program.profileLogin.ClientSize;
         Point point = Program.profileLogin.PointToScreen(new Point(0, 0));
         this.m_greyOutWindow.Location = point;
         this.m_greyOutWindow.Size = clientSize;
         this.m_greyOutWindow.init(showBorder);
         this.m_greyOutWindow.Show(Program.profileLogin);
     }
     return this.m_greyOutWindow;
 }
Ejemplo n.º 2
0
 public void closeGreyOut()
 {
     this.closePopupWindow(this.m_greyOutWindow);
     this.m_greyOutWindow = null;
 }
Ejemplo n.º 3
0
 public GreyOutWindow openGreyOutWindow(bool showBorder, Form parent)
 {
     if (!this.isPopupWindowCreated(this.m_greyOutWindow))
     {
         this.m_greyLogin = false;
         this.m_greyOutWindow = new GreyOutWindow();
         Size clientSize = parent.ClientSize;
         Point point = parent.PointToScreen(new Point(0, 0));
         this.m_greyOutWindow.Location = point;
         this.m_greyOutWindow.Size = clientSize;
         this.m_greyOutWindow.init(showBorder);
         this.m_greyOutWindow.Show(parent);
     }
     return this.m_greyOutWindow;
 }