public static void showPopUpWarningSetting(IWin32Window host) { PopupWarningSetting sPopup = new PopupWarningSetting(); // 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(); }
public static void showPopUpWarningSetting(IWin32Window host) { PopupWarningSetting sPopup = new PopupWarningSetting(); // 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(); }