Update() public method

public Update ( string text, bool topMost, int timeout ) : void
text string
topMost bool
timeout int
return void
コード例 #1
0
ファイル: ProgressHelper.cs プロジェクト: nHydrate/nHydrate
 public static string ProgressingStarted(string text, bool topMost, int timeout)
 {
     var key = Guid.NewGuid().ToString();
     lock (_keys)
     {
         _keys.Add(key);
         if (_form == null)
         {
             _form = new RunningProcesses();
             _form.Update(text, topMost, timeout);
             _form.Show();
             System.Windows.Forms.Application.DoEvents();
         }
     }
     return key;
 }