Example.
Files in folder @Example100. Note: folder name starts with @.
Files in folder @Example100. Note: folder name starts with @.
// script "Example100.cs"
var b = new wpfBuilder("Window").WinSize(400);
b.R.AddButton("Start TaskA", _ => { run.thread(TaskA.Thread); });
b.R.AddButton("Start TaskB", _ => { run.thread(() => TaskB.Thread(5)); });
b.R.AddOkCancel();
b.End();
if (!b.ShowDialog()) return;// class "TaskA.cs"
static class TaskA {
public static void Thread() {
dialog.show(null, "TaskA");
}
}