Esempio n. 1
0
        public static DialogResult showPopupBrowseESerial(IWin32Window host)
        {
            PopupBrowseESerial sPopup = new PopupBrowseESerial();

            //
            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);

            //
            sPopup.Dispose();
            //
            return(dl);
        }
Esempio n. 2
0
 public static DialogResult showPopupBrowseESerial(IWin32Window host)
 {
     PopupBrowseESerial sPopup = new PopupBrowseESerial();
     //
     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);
     //
     sPopup.Dispose();
     //
     return dl;
 }