static Form1() { Form1.PSWD = ""; Form1.PWDFlag = false; Form1.DM = new DialManager(); Form1.CurrentConnectionName = ""; }
private void BW_DoWork(object sender, DoWorkEventArgs e) { BackgroundWorker backgroundWorker = sender as BackgroundWorker; DialManager.bw = backgroundWorker; DialManager dialManager = new DialManager(); dialManager.Start(); }