Skip to content

Commit

Permalink
disabled menu items related to licensing
Browse files Browse the repository at this point in the history
  • Loading branch information
ca-seraph committed Apr 1, 2024
1 parent 16a1a9a commit 1e9991a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Blueprint41.Modeller.SetUp/Setup/Setup.vdproj
Original file line number Diff line number Diff line change
Expand Up @@ -5578,7 +5578,7 @@
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:Blueprint41 Modeller"
"ProductCode" = "8:{28135988-C1AF-4734-9A82-993AF0ACEE46}"
"PackageCode" = "8:{F3F468E3-9F0C-49B7-A4E9-6D5B1359CEE2}"
"PackageCode" = "8:{D7B75277-9B90-4E55-9FA1-0AAC235BEB3C}"
"UpgradeCode" = "8:{B2C223A8-2CEF-497A-85C0-AB460E559880}"
"AspNetVersion" = "8:4.0.30319.0"
"RestartWWWService" = "11:FALSE"
Expand Down Expand Up @@ -6127,7 +6127,7 @@
{
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_A426A1062DD741E1BB391075A850B88B"
{
"SourcePath" = "8:..\\..\\Blueprint41.Modeller\\obj\\Release\\Blueprint41.Modeller.exe"
"SourcePath" = "8:..\\..\\Blueprint41.Modeller\\obj\\x86\\Release\\Blueprint41.Modeller.exe"
"TargetName" = "8:"
"Tag" = "8:"
"Folder" = "8:_1D7FD3CB89B3499AA36652090D0D304A"
Expand Down Expand Up @@ -6187,7 +6187,7 @@
}
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_EE5C9E604B644743BC85076E4C340AD0"
{
"SourcePath" = "8:..\\..\\Blueprint41.Modeller.Uninstall\\obj\\Release\\Blueprint41.Modeller.Uninstall.dll"
"SourcePath" = "8:..\\..\\Blueprint41.Modeller.Uninstall\\obj\\x86\\Release\\Blueprint41.Modeller.Uninstall.dll"
"TargetName" = "8:"
"Tag" = "8:"
"Folder" = "8:_1D7FD3CB89B3499AA36652090D0D304A"
Expand Down
2 changes: 1 addition & 1 deletion Blueprint41.Modeller/AboutForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions Blueprint41.Modeller/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ public MainForm()

InitializeComponent();
FormClosing += MainForm_FormClosing;

DisableHelpMenuItems();
}

#region Main Form Events
Expand Down Expand Up @@ -989,6 +991,16 @@ private void checkForUpdatesToolStripMenuItem_Click(object sender, EventArgs e)
form.ShowDialog();
}
}

private void DisableHelpMenuItems()
{
registerProductToolStripMenuItem.Visible = false;
registerProductToolStripMenuItem.Enabled = false;
checkForUpdatesToolStripMenuItem.Visible = false;
checkForUpdatesToolStripMenuItem.Enabled = false;
toolStripSeparator5.Visible = false;
}

#endregion

}
Expand Down

0 comments on commit 1e9991a

Please sign in to comment.