diff --git a/29WxOrderWpf/29WxOrderWpf.csproj b/29WxOrderWpf/29WxOrderWpf.csproj index a8890b8..52569a0 100644 --- a/29WxOrderWpf/29WxOrderWpf.csproj +++ b/29WxOrderWpf/29WxOrderWpf.csproj @@ -59,6 +59,7 @@ + @@ -83,5 +84,8 @@ Code + + + diff --git a/29WxOrderWpf/App.xaml b/29WxOrderWpf/App.xaml index d3fae9d..efe0cd7 100644 --- a/29WxOrderWpf/App.xaml +++ b/29WxOrderWpf/App.xaml @@ -1,42 +1,41 @@  - - - - - - - - - - - - - - - - - - - - - - - - - - - - + x:Class="_29WxOrderWpf.App" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:converters="clr-namespace:_29WxOrderWpf.Converters" + xmlns:local="clr-namespace:_29WxOrderWpf"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + diff --git a/29WxOrderWpf/App.xaml.cs b/29WxOrderWpf/App.xaml.cs index 4070f92..490f111 100644 --- a/29WxOrderWpf/App.xaml.cs +++ b/29WxOrderWpf/App.xaml.cs @@ -141,17 +141,20 @@ namespace _29WxOrderWpf #endif Cef.Initialize(settings); } - #endregion - } + #endregion - //static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e) - //{ - // string str = GetExceptionMsg(e.Exception, e.ToString()); - // NaiBa.Util.Helper.LogHelper.WriteWithTime("SystemError:" + str); - // BaseMsgWindow.ShowError(str, "系统错误"); - //} + //new MainWindow().Show(); + new OrderSupportTicketWindow().Show(); + } - private void Current_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e) + //static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e) + //{ + // string str = GetExceptionMsg(e.Exception, e.ToString()); + // NaiBa.Util.Helper.LogHelper.WriteWithTime("SystemError:" + str); + // BaseMsgWindow.ShowError(str, "系统错误"); + //} + + private void Current_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e) { string str = GetExceptionMsg(e.Exception, e.ToString()); NaiBa.Util.Helper.LogHelper.WriteWithTime("SystemError:" + str); diff --git a/29WxOrderWpf/Common/DialogWindow.xaml b/29WxOrderWpf/Common/DialogWindow.xaml deleted file mode 100644 index 9bb6e07..0000000 --- a/29WxOrderWpf/Common/DialogWindow.xaml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - diff --git a/29WxOrderWpf/Common/InputDialog.xaml b/29WxOrderWpf/Common/InputDialog.xaml deleted file mode 100644 index 16b8e1d..0000000 --- a/29WxOrderWpf/Common/InputDialog.xaml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - -