From 61d3420f15d4994b24d832faf852c755ce9ec9fc Mon Sep 17 00:00:00 2001 From: alcexhim Date: Thu, 5 Jun 2014 13:58:29 -0400 Subject: [PATCH] Tabify --- .../MainWindow.cs | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/CSharp/Environments/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/MainWindow.cs b/CSharp/Environments/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/MainWindow.cs index bb7e0bda..77493690 100644 --- a/CSharp/Environments/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/MainWindow.cs +++ b/CSharp/Environments/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/MainWindow.cs @@ -908,13 +908,13 @@ namespace UniversalEditor.UserInterface.WindowsForms private bool SaveDocument(Document doc) { - if (doc.Accessor == null) - { - // The accessor is null, so display the save as dialog - return SaveDocumentAs(doc); - } + if (doc.Accessor == null) + { + // The accessor is null, so display the save as dialog + return SaveDocumentAs(doc); + } doc.Save(); - return true; + return true; } private bool SaveDocumentAs(Document doc, string FileName = null) { @@ -1671,15 +1671,15 @@ namespace UniversalEditor.UserInterface.WindowsForms } } private void dcc_WindowClosed(object sender, WindowClosedEventArgs e) - { - if (dcc.SelectedWindow == null) - { - mvarCurrentDocument = null; - RefreshDocument(); - return; - } - if (dcc.SelectedWindow.ParentArea == null) return; - if (dcc.SelectedWindow.ParentArea.Position != DockPosition.Center) return; + { + if (dcc.SelectedWindow == null) + { + mvarCurrentDocument = null; + RefreshDocument(); + return; + } + if (dcc.SelectedWindow.ParentArea == null) return; + if (dcc.SelectedWindow.ParentArea.Position != DockPosition.Center) return; RefreshDocument(); } @@ -1768,14 +1768,14 @@ namespace UniversalEditor.UserInterface.WindowsForms pbProgress.Value = value; } - private void mnuHelpLicensingAndActivation_Click(object sender, EventArgs e) - { - MessageBox.Show("This application has already been activated.", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information); - } + private void mnuHelpLicensingAndActivation_Click(object sender, EventArgs e) + { + MessageBox.Show("This application has already been activated.", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information); + } - private void HelpContents_Click(object sender, EventArgs e) - { + private void HelpContents_Click(object sender, EventArgs e) + { - } + } } }