Ejemplo n.º 1
0
        public static DataRow showPopUpTenant(IWin32Window host)
        {
            PopupSelectTenant sPopup = new PopupSelectTenant();

            //
            sPopup.ShowIcon      = false;
            sPopup.ShowInTaskbar = false;
            sPopup.HelpButton    = false;
            sPopup.MinimizeBox   = false;
            sPopup.MaximizeBox   = false;
            sPopup.MaximumSize   = sPopup.MinimumSize = sPopup.Size;
            sPopup.StartPosition = FormStartPosition.CenterScreen;
            //
            DialogResult dl = sPopup.ShowDialog(host);
            //
            DataRow drReturn = sPopup.drTenant;

            //
            sPopup.Dispose();
            //
            return(drReturn);
        }
Ejemplo n.º 2
0
 public static DataRow showPopUpTenant(IWin32Window host)
 {
     PopupSelectTenant sPopup = new PopupSelectTenant();
     //
     sPopup.ShowIcon = false;
     sPopup.ShowInTaskbar = false;
     sPopup.HelpButton = false;
     sPopup.MinimizeBox = false;
     sPopup.MaximizeBox = false;
     sPopup.MaximumSize = sPopup.MinimumSize = sPopup.Size;
     sPopup.StartPosition = FormStartPosition.CenterScreen;
     //
     DialogResult dl = sPopup.ShowDialog(host);
     //
     DataRow drReturn = sPopup.drTenant;
     //
     sPopup.Dispose();
     //
     return drReturn;
 }