public void DraggableTabControl_Selecting(object sender, TabControlCancelEventArgs e) { if (this.SelectedTab != null) { if (this.SelectedTab.Equals(NewTabButton)) { OpenNewTab(); } } TabStates.Save(); }
private void control_Updated(object sender) { TabStates.Save(); Console.WriteLine("A control has been updated, and changes saved @ " + DateTime.Now.ToLongTimeString()); }