From 007bf4e934cc9a62aa13a035e3d4632ada6af5d1 Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Fri, 21 Jun 2019 15:17:04 -0700 Subject: [PATCH] Rename ProjWin directory to WpfGui "ProjWin" didn't really mean anything. "WpfGui" emphasizes that the contents are a WPF implementation of the GUI elements. No substantive changes. --- SourceGenWPF/App.xaml | 2 +- SourceGenWPF/MainController.cs | 2 +- SourceGenWPF/SourceGenWPF.csproj | 26 +++++++++---------- .../CodeListItemStyle.xaml | 0 .../DataFileLoadIssue.xaml | 4 +-- .../DataFileLoadIssue.xaml.cs | 2 +- .../{ProjWin => WpfGui}/DiscardChanges.xaml | 4 +-- .../DiscardChanges.xaml.cs | 2 +- .../{ProjWin => WpfGui}/EditAddress.xaml | 4 +-- .../{ProjWin => WpfGui}/EditAddress.xaml.cs | 2 +- .../{ProjWin => WpfGui}/EditStatusFlags.xaml | 4 +-- .../EditStatusFlags.xaml.cs | 2 +- .../{ProjWin => WpfGui}/MainWindow.xaml | 4 +-- .../{ProjWin => WpfGui}/MainWindow.xaml.cs | 6 ++--- .../{ProjWin => WpfGui}/ProjectLoadIssue.xaml | 4 +-- .../ProjectLoadIssue.xaml.cs | 2 +- 16 files changed, 35 insertions(+), 35 deletions(-) rename SourceGenWPF/{ProjWin => WpfGui}/CodeListItemStyle.xaml (100%) rename SourceGenWPF/{ProjWin => WpfGui}/DataFileLoadIssue.xaml (94%) rename SourceGenWPF/{ProjWin => WpfGui}/DataFileLoadIssue.xaml.cs (97%) rename SourceGenWPF/{ProjWin => WpfGui}/DiscardChanges.xaml (94%) rename SourceGenWPF/{ProjWin => WpfGui}/DiscardChanges.xaml.cs (97%) rename SourceGenWPF/{ProjWin => WpfGui}/EditAddress.xaml (95%) rename SourceGenWPF/{ProjWin => WpfGui}/EditAddress.xaml.cs (99%) rename SourceGenWPF/{ProjWin => WpfGui}/EditStatusFlags.xaml (99%) rename SourceGenWPF/{ProjWin => WpfGui}/EditStatusFlags.xaml.cs (99%) rename SourceGenWPF/{ProjWin => WpfGui}/MainWindow.xaml (99%) rename SourceGenWPF/{ProjWin => WpfGui}/MainWindow.xaml.cs (99%) rename SourceGenWPF/{ProjWin => WpfGui}/ProjectLoadIssue.xaml (94%) rename SourceGenWPF/{ProjWin => WpfGui}/ProjectLoadIssue.xaml.cs (98%) diff --git a/SourceGenWPF/App.xaml b/SourceGenWPF/App.xaml index 53b96ad..c9ee61f 100644 --- a/SourceGenWPF/App.xaml +++ b/SourceGenWPF/App.xaml @@ -17,7 +17,7 @@ limitations under the License. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:SourceGenWPF" - StartupUri="ProjWin/MainWindow.xaml"> + StartupUri="WpfGui/MainWindow.xaml"> Consolas diff --git a/SourceGenWPF/MainController.cs b/SourceGenWPF/MainController.cs index aec5279..7c2b760 100644 --- a/SourceGenWPF/MainController.cs +++ b/SourceGenWPF/MainController.cs @@ -25,8 +25,8 @@ using System.Windows; using Asm65; using CommonUtil; using CommonWPF; -using SourceGenWPF.ProjWin; using SourceGenWPF.Sandbox; +using SourceGenWPF.WpfGui; namespace SourceGenWPF { /// diff --git a/SourceGenWPF/SourceGenWPF.csproj b/SourceGenWPF/SourceGenWPF.csproj index 96c6aab..58745c4 100644 --- a/SourceGenWPF/SourceGenWPF.csproj +++ b/SourceGenWPF/SourceGenWPF.csproj @@ -75,19 +75,19 @@ - + DataFileLoadIssue.xaml - + DiscardChanges.xaml - + EditAddress.xaml - + EditStatusFlags.xaml - + ProjectLoadIssue.xaml @@ -123,7 +123,7 @@ - + MainWindow.xaml @@ -155,31 +155,31 @@ - + MSBuild:Compile Designer - + Designer MSBuild:Compile - + Designer MSBuild:Compile - + Designer MSBuild:Compile - + Designer MSBuild:Compile - + Designer MSBuild:Compile - + Designer MSBuild:Compile diff --git a/SourceGenWPF/ProjWin/CodeListItemStyle.xaml b/SourceGenWPF/WpfGui/CodeListItemStyle.xaml similarity index 100% rename from SourceGenWPF/ProjWin/CodeListItemStyle.xaml rename to SourceGenWPF/WpfGui/CodeListItemStyle.xaml diff --git a/SourceGenWPF/ProjWin/DataFileLoadIssue.xaml b/SourceGenWPF/WpfGui/DataFileLoadIssue.xaml similarity index 94% rename from SourceGenWPF/ProjWin/DataFileLoadIssue.xaml rename to SourceGenWPF/WpfGui/DataFileLoadIssue.xaml index 683277c..93e12f7 100644 --- a/SourceGenWPF/ProjWin/DataFileLoadIssue.xaml +++ b/SourceGenWPF/WpfGui/DataFileLoadIssue.xaml @@ -14,12 +14,12 @@ See the License for the specific language governing permissions and limitations under the License. --> - diff --git a/SourceGenWPF/ProjWin/DataFileLoadIssue.xaml.cs b/SourceGenWPF/WpfGui/DataFileLoadIssue.xaml.cs similarity index 97% rename from SourceGenWPF/ProjWin/DataFileLoadIssue.xaml.cs rename to SourceGenWPF/WpfGui/DataFileLoadIssue.xaml.cs index d7ae4ea..b6625ff 100644 --- a/SourceGenWPF/ProjWin/DataFileLoadIssue.xaml.cs +++ b/SourceGenWPF/WpfGui/DataFileLoadIssue.xaml.cs @@ -16,7 +16,7 @@ using System; using System.Windows; -namespace SourceGenWPF.ProjWin { +namespace SourceGenWPF.WpfGui { /// /// Report a problem encountered while loading a data file. /// diff --git a/SourceGenWPF/ProjWin/DiscardChanges.xaml b/SourceGenWPF/WpfGui/DiscardChanges.xaml similarity index 94% rename from SourceGenWPF/ProjWin/DiscardChanges.xaml rename to SourceGenWPF/WpfGui/DiscardChanges.xaml index 38e16ee..afe3bdd 100644 --- a/SourceGenWPF/ProjWin/DiscardChanges.xaml +++ b/SourceGenWPF/WpfGui/DiscardChanges.xaml @@ -14,12 +14,12 @@ See the License for the specific language governing permissions and limitations under the License. --> - /// Prompt the user before discarding changes. /// diff --git a/SourceGenWPF/ProjWin/EditAddress.xaml b/SourceGenWPF/WpfGui/EditAddress.xaml similarity index 95% rename from SourceGenWPF/ProjWin/EditAddress.xaml rename to SourceGenWPF/WpfGui/EditAddress.xaml index f9f99a2..cd982e4 100644 --- a/SourceGenWPF/ProjWin/EditAddress.xaml +++ b/SourceGenWPF/WpfGui/EditAddress.xaml @@ -14,12 +14,12 @@ See the License for the specific language governing permissions and limitations under the License. --> - /// Edit Address dialog. /// diff --git a/SourceGenWPF/ProjWin/EditStatusFlags.xaml b/SourceGenWPF/WpfGui/EditStatusFlags.xaml similarity index 99% rename from SourceGenWPF/ProjWin/EditStatusFlags.xaml rename to SourceGenWPF/WpfGui/EditStatusFlags.xaml index dc457d2..4d12e53 100644 --- a/SourceGenWPF/ProjWin/EditStatusFlags.xaml +++ b/SourceGenWPF/WpfGui/EditStatusFlags.xaml @@ -14,12 +14,12 @@ See the License for the specific language governing permissions and limitations under the License. --> - /// Edit Status Flags dialog. /// diff --git a/SourceGenWPF/ProjWin/MainWindow.xaml b/SourceGenWPF/WpfGui/MainWindow.xaml similarity index 99% rename from SourceGenWPF/ProjWin/MainWindow.xaml rename to SourceGenWPF/WpfGui/MainWindow.xaml index 8ad4749..30fefd5 100644 --- a/SourceGenWPF/ProjWin/MainWindow.xaml +++ b/SourceGenWPF/WpfGui/MainWindow.xaml @@ -14,12 +14,12 @@ See the License for the specific language governing permissions and limitations under the License. --> - /// Interaction logic for MainWindow.xaml /// @@ -386,7 +386,7 @@ namespace SourceGenWPF.ProjWin { try { widths = TextUtil.DeserializeIntArray(str); } catch (Exception ex) { - Debug.WriteLine("Unable to deserialize widths for GridView"); + Debug.WriteLine("Unable to deserialize widths for GridView: " + ex.Message); return; } if (widths.Length != gv.Columns.Count) { @@ -403,7 +403,7 @@ namespace SourceGenWPF.ProjWin { try { widths = TextUtil.DeserializeIntArray(str); } catch (Exception ex) { - Debug.WriteLine("Unable to deserialize widths for " + dg.Name); + Debug.WriteLine("Unable to deserialize widths for " + dg.Name + ": " + ex.Message); return; } if (widths.Length != dg.Columns.Count) { diff --git a/SourceGenWPF/ProjWin/ProjectLoadIssue.xaml b/SourceGenWPF/WpfGui/ProjectLoadIssue.xaml similarity index 94% rename from SourceGenWPF/ProjWin/ProjectLoadIssue.xaml rename to SourceGenWPF/WpfGui/ProjectLoadIssue.xaml index e6c2092..46f2acf 100644 --- a/SourceGenWPF/ProjWin/ProjectLoadIssue.xaml +++ b/SourceGenWPF/WpfGui/ProjectLoadIssue.xaml @@ -14,12 +14,12 @@ See the License for the specific language governing permissions and limitations under the License. --> - /// Display errors and warnings generated while attempting to open a project. ///