diff --git a/SuperGrate/Main.Designer.cs b/SuperGrate/Main.Designer.cs index 06392be..836a4e0 100644 --- a/SuperGrate/Main.Designer.cs +++ b/SuperGrate/Main.Designer.cs @@ -54,8 +54,10 @@ private void InitializeComponent() this.tbDestinationComputer = new System.Windows.Forms.TextBox(); this.MainMenu = new System.Windows.Forms.MainMenu(this.components); this.miFile = new System.Windows.Forms.MenuItem(); - this.miSaveLog = new System.Windows.Forms.MenuItem(); + this.miNewInstance = new System.Windows.Forms.MenuItem(); this.miSpacer0 = new System.Windows.Forms.MenuItem(); + this.miSaveLog = new System.Windows.Forms.MenuItem(); + this.menuItem2 = new System.Windows.Forms.MenuItem(); this.miExitButton = new System.Windows.Forms.MenuItem(); this.miSetup = new System.Windows.Forms.MenuItem(); this.miHelp = new System.Windows.Forms.MenuItem(); @@ -437,26 +439,39 @@ private void InitializeComponent() // this.miFile.Index = 0; this.miFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { - this.miSaveLog, + this.miNewInstance, this.miSpacer0, + this.miSaveLog, + this.menuItem2, this.miExitButton}); this.miFile.Text = "&File"; // + // miNewInstance + // + this.miNewInstance.Index = 0; + this.miNewInstance.Text = "New Instance"; + this.miNewInstance.Click += new System.EventHandler(this.miNewInstance_Click); + // + // miSpacer0 + // + this.miSpacer0.Index = 1; + this.miSpacer0.Text = "-"; + // // miSaveLog // - this.miSaveLog.Index = 0; + this.miSaveLog.Index = 2; this.miSaveLog.Shortcut = System.Windows.Forms.Shortcut.CtrlS; this.miSaveLog.Text = "Save Log..."; this.miSaveLog.Click += new System.EventHandler(this.MiSaveLog_Click); // - // miSpacer0 + // menuItem2 // - this.miSpacer0.Index = 1; - this.miSpacer0.Text = "-"; + this.menuItem2.Index = 3; + this.menuItem2.Text = "-"; // // miExitButton // - this.miExitButton.Index = 2; + this.miExitButton.Index = 4; this.miExitButton.Shortcut = System.Windows.Forms.Shortcut.AltF4; this.miExitButton.Text = "Exit"; this.miExitButton.Click += new System.EventHandler(this.MiExitButton_Click); @@ -593,6 +608,8 @@ private void InitializeComponent() private System.Windows.Forms.MenuItem miSpacer1; private System.Windows.Forms.MenuItem miHelpButton; private System.Windows.Forms.MenuItem miSpacer2; + private System.Windows.Forms.MenuItem miNewInstance; + private System.Windows.Forms.MenuItem menuItem2; } } diff --git a/SuperGrate/Main.cs b/SuperGrate/Main.cs index 41390f8..23a355d 100644 --- a/SuperGrate/Main.cs +++ b/SuperGrate/Main.cs @@ -375,6 +375,10 @@ private void miHelpButton_Click(object sender, EventArgs e) Cursor = Cursors.Help; } } + private void miNewInstance_Click(object sender, EventArgs e) + { + Process.Start(Application.ExecutablePath); + } } public enum ListSources { diff --git a/SuperGrate/Main.resx b/SuperGrate/Main.resx index 904886a..aab6b55 100644 --- a/SuperGrate/Main.resx +++ b/SuperGrate/Main.resx @@ -120,6 +120,9 @@ 258, 17 + + 258, 17 + This box is a list of the user profiles on either the source computer or the store. To tell the difference, look to the left. (You can multi-select by holding down the mouse, or by holding shift / ctrl key on the keyboard. To un-select a profile, hold down the crtl key and click.) diff --git a/SuperGrate/Properties/Resources.Designer.cs b/SuperGrate/Properties/Resources.Designer.cs index 2d0321a..16dd7db 100644 --- a/SuperGrate/Properties/Resources.Designer.cs +++ b/SuperGrate/Properties/Resources.Designer.cs @@ -70,6 +70,36 @@ internal static System.Drawing.Bitmap banner { } } + /// + /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). + /// + internal static System.Drawing.Icon computer { + get { + object obj = ResourceManager.GetObject("computer", resourceCulture); + return ((System.Drawing.Icon)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). + /// + internal static System.Drawing.Icon delete { + get { + object obj = ResourceManager.GetObject("delete", resourceCulture); + return ((System.Drawing.Icon)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). + /// + internal static System.Drawing.Icon go { + get { + object obj = ResourceManager.GetObject("go", resourceCulture); + return ((System.Drawing.Icon)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// @@ -90,6 +120,26 @@ internal static byte[] SuperGrateProfileDelete { } } + /// + /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). + /// + internal static System.Drawing.Icon usercheck { + get { + object obj = ResourceManager.GetObject("usercheck", resourceCulture); + return ((System.Drawing.Icon)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). + /// + internal static System.Drawing.Icon users { + get { + object obj = ResourceManager.GetObject("users", resourceCulture); + return ((System.Drawing.Icon)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/SuperGrate/Properties/Resources.resx b/SuperGrate/Properties/Resources.resx index 1e17c99..9c2a7e9 100644 --- a/SuperGrate/Properties/Resources.resx +++ b/SuperGrate/Properties/Resources.resx @@ -121,12 +121,27 @@ ..\images\banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\computer.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\delete.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\go.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Images\supergrate.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Utilities\SuperGrateProfileDelete.exe;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + ..\Resources\usercheck.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\users.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Images\working.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a diff --git a/SuperGrate/Resources/computer.ico b/SuperGrate/Resources/computer.ico new file mode 100644 index 0000000..ad72bdf Binary files /dev/null and b/SuperGrate/Resources/computer.ico differ diff --git a/SuperGrate/Resources/delete.ico b/SuperGrate/Resources/delete.ico new file mode 100644 index 0000000..29326dc Binary files /dev/null and b/SuperGrate/Resources/delete.ico differ diff --git a/SuperGrate/Resources/go.ico b/SuperGrate/Resources/go.ico new file mode 100644 index 0000000..d491f68 Binary files /dev/null and b/SuperGrate/Resources/go.ico differ diff --git a/SuperGrate/Resources/usercheck.ico b/SuperGrate/Resources/usercheck.ico new file mode 100644 index 0000000..7bc8cf4 Binary files /dev/null and b/SuperGrate/Resources/usercheck.ico differ diff --git a/SuperGrate/Resources/users.ico b/SuperGrate/Resources/users.ico new file mode 100644 index 0000000..77fb7fb Binary files /dev/null and b/SuperGrate/Resources/users.ico differ diff --git a/SuperGrate/SuperGrate.csproj b/SuperGrate/SuperGrate.csproj index 15bff02..4266f0b 100644 --- a/SuperGrate/SuperGrate.csproj +++ b/SuperGrate/SuperGrate.csproj @@ -176,10 +176,24 @@ - + + + + + + + + + + + + + + +