public static void ShowAlert(string alert) { if (_Alert == null) { _Alert = new Alert(Me.Amon.Properties.Resources.Icon); } _Alert.Show(null, alert); }
public static void ShowAlert(IWin32Window owner, string alert) { if (_Alert == null) { _Alert = new Alert(Me.Amon.Properties.Resources.Icon); } _Alert.Show(owner, alert); }
public static void ShowAlert(string alert) { Form window = null; if (_Alert == null) { _Alert = new Alert(Me.Amon.Properties.Resources.Icon); } BeanUtil.CenterToParent(_Alert, window); _Alert.Show(window, alert); }