public void StartProgress(bool bool_2) { WaitForm progressDialog; if (!bool_1) { progressDialog = new WaitForm(); progressDialog.SetIndeterminate(bool_2); //new Thread(delegate { // bool_1 = true; // this.OnDoBackWork(progressDialog, EventArgs.Empty); // progressDialog.CloseProgress(); // bool_1 = false; //}).Start(); progressDialog.ShowDialog(); } }
private void method_0() { this.waitForm_0 = new WaitForm(); Application.Run(this.waitForm_0); }