Exemplo n.º 1
0
Arquivo: Main.cs Projeto: burstas/rmps
 public static void ShowAlert(string alert)
 {
     if (_Alert == null)
     {
         _Alert = new Alert(Me.Amon.Properties.Resources.Icon);
     }
     _Alert.Show(null, alert);
 }
Exemplo n.º 2
0
Arquivo: Main.cs Projeto: 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);
 }
Exemplo n.º 3
0
Arquivo: Main.cs Projeto: 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);
 }