Exemplo n.º 1
0
 public void StatusForceUpdate(int numerator, int denominator, string statusText)
 {
     using (FStringUnsafe statusTextUnsafe = new FStringUnsafe(statusText))
     {
         Native_FFeedbackContext.StatusForceUpdate(Address, numerator, denominator, ref statusTextUnsafe.Array);
     }
 }
Exemplo n.º 2
0
 public void BeginSlowTask(string task, bool showProgressDialog, bool showCancelButton = false)
 {
     using (FStringUnsafe taskUnsafe = new FStringUnsafe(task))
     {
         Native_FFeedbackContext.BeginSlowTask(Address, ref taskUnsafe.Array, showProgressDialog, showCancelButton);
     }
 }
Exemplo n.º 3
0
 public void EndSlowTask()
 {
     Native_FFeedbackContext.EndSlowTask(Address);
 }
Exemplo n.º 4
0
 public void UpdateProgress(int numerator, int denominator)
 {
     Native_FFeedbackContext.UpdateProgress(Address, numerator, denominator);
 }
Exemplo n.º 5
0
 public static FFeedbackContext GetGetDesktopFeedbackContext()
 {
     return(new FFeedbackContext(Native_FFeedbackContext.GetDesktopFeedbackContext()));
 }