Rome Online White Labelling.
This commit is contained in:
@@ -12,14 +12,14 @@ using System.Windows;
|
||||
using System.Windows.Interop;
|
||||
using System.Windows.Media;
|
||||
|
||||
namespace BodyshopPartner
|
||||
namespace RomeOnlinePartner
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for App.xaml
|
||||
/// </summary>
|
||||
public partial class App : Application
|
||||
{
|
||||
static Mutex mutex = new Mutex(false, "ImEX Online Partner");
|
||||
static Mutex mutex = new Mutex(false, "Rome Online Partner");
|
||||
|
||||
App()
|
||||
{
|
||||
@@ -31,7 +31,7 @@ namespace BodyshopPartner
|
||||
// of the program is in the process of shutting down.
|
||||
if (!mutex.WaitOne(TimeSpan.FromSeconds(2), false))
|
||||
{
|
||||
MessageBox.Show("ImEX Online Partner is already running.");
|
||||
MessageBox.Show("Rome Online Partner is already running.");
|
||||
App.Current.Shutdown();
|
||||
return;
|
||||
}
|
||||
@@ -48,7 +48,7 @@ namespace BodyshopPartner
|
||||
|
||||
mutex.ReleaseMutex();
|
||||
Utils.PowerModeEventHandler.DisposeEventHandler();
|
||||
BodyshopPartner.Properties.Settings.Default.Save();
|
||||
RomeOnlinePartner.Properties.Settings.Default.Save();
|
||||
Utils.QuickBooksInterop.DisconnectFromQuickBooks();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user