private void ThisAddIn_Startup(object sender, EventArgs e) { // create wait form this.waitForm = new WaitForm(Application); mainThreadId = Thread.CurrentThread.ManagedThreadId; //Globals.Ribbons.PpsMenu. } // ctor
public ProgressBar(WaitForm form) { this.form = form; form.AddToStack(this); } // ctor