private void LoadRightLayoutFromFileButtonClick(object sender, RoutedEventArgs e) { using (this.rightScope = new RightScope()) { this.LoadLayoutFromFile(this.rightLayoutFileName); } }
private void SaveRightLayoutToFileButtonClick(object sender, RoutedEventArgs e) { using (this.rightScope = new RightScope()) { this.ignoredRightPanesSerializationTagsWhenCleaning.Clear(); this.SaveLayoutToFile(this.rightLayoutFileName); this.LoadRightLayoutFromFileButton.IsEnabled = true; } }