コード例 #1
0
ファイル: Main.cs プロジェクト: burstas/rmps
 public static void ShowAlert(string alert)
 {
     if (_Alert == null)
     {
         _Alert = new Alert(Me.Amon.Properties.Resources.Icon);
     }
     _Alert.Show(null, alert);
 }
コード例 #2
0
ファイル: Main.cs プロジェクト: burstas/rmps
 public static void ShowAlert(IWin32Window owner, string alert)
 {
     if (_Alert == null)
     {
         _Alert = new Alert(Me.Amon.Properties.Resources.Icon);
     }
     _Alert.Show(owner, alert);
 }
コード例 #3
0
ファイル: Main.cs プロジェクト: burstas/rmps
 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);
 }