ErrorWindow.Show C# (CSharp) Méthode

Show() public static méthode

public static Show ( string text1 ) : ErrorWindow,
text1 string
Résultat ErrorWindow,
    public static ErrorWindow Show(string text1)
    {
        LogB.Information("At error window");
        if (ErrorWindowBox == null) {
            ErrorWindowBox = new ErrorWindow(text1);
        }

        //hidden always excepted when called to be shown (see below)
        ErrorWindowBox.hbox_send_log.Hide();
        ErrorWindowBox.button_open_database_folder.Hide();

        ErrorWindowBox.error_window.Show();

        return ErrorWindowBox;
    }

Usage Example

Exemple #1
0
 static IEnumerator DoMsgShow()
 {
     if (!inst.isShowing)
     {
         inst.Show();
     }
     while (true)
     {
         if (inst.queue.Count != 0)
         {
             msg = inst.queue.Dequeue();
         }
         else
         {
             break;
         }
         if (inst.preMsg == msg)
         {
             continue;
         }
         inst.preMsg = msg;
         inst.SetError(msg);
         yield return(null);
     }
     is_render = false;
     yield return(null);
 }
All Usage Examples Of ErrorWindow::Show