Example #1
0
        public void DraggableTabControl_Selecting(object sender, TabControlCancelEventArgs e)
        {
            if (this.SelectedTab != null)
            {
                if (this.SelectedTab.Equals(NewTabButton))
                {
                    OpenNewTab();
                }
            }

            TabStates.Save();
        }
Example #2
0
 private void control_Updated(object sender)
 {
     TabStates.Save();
     Console.WriteLine("A control has been updated, and changes saved @ " + DateTime.Now.ToLongTimeString());
 }