ProManager initial setup.

This commit is contained in:
Patrick Fic
2024-03-20 14:30:48 -07:00
parent 63f18cdcae
commit 84908aabfe
68 changed files with 164 additions and 176 deletions

View File

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