예제 #1
0
 /// <summary>Call a delegate on the form's thread for safe form handling</summary>
 public T Execute <T>(Func <T> action) => GuiTool.Execute(GenericForm, action);
예제 #2
0
 /// <summary>Call a delegate on the form's thread for safe form handling</summary>
 public async Task <T> Execute <T>(Func <Task <T> > asyncAction) => await GuiTool.Execute(GenericForm, asyncAction);
예제 #3
0
 /// <summary>Call a delegate on the form's thread for safe form handling</summary>
 public void Execute(Action action) => GuiTool.Execute(GenericForm, action);