private void bt_update_Click(object sender, EventArgs e) { //Get Commands List<string> Commands = GetCommands(); //Interpret Update update = new Update(pb, Commands); update.RunScript(); update.RunDankWire(); this.Close(); }
private void update_DoWork(object sender, DoWorkEventArgs e) { //Get Commands List<string> Commands = GetCommands(); //Interpret Update update = new Update(this, Commands); update.RunScript(); update.RunDankWire(); Updated = true; }