private void pulseEnd() { button_cancel.Sensitive = false; connecting = false; fakeWindowDone.Click(); }