-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
And that's the last of the menus. Onto higher hanging fruit.
- Loading branch information
1 parent
bef027c
commit 3ac9685
Showing
5 changed files
with
61 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
AngelLoader/CustomControls/Static_LazyLoaded/AddTagLLMenu.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System.ComponentModel; | ||
using System.Windows.Forms; | ||
using AngelLoader.Forms; | ||
|
||
namespace AngelLoader.CustomControls.Static_LazyLoaded | ||
{ | ||
internal static class AddTagLLMenu | ||
{ | ||
private static bool _constructed; | ||
internal static ContextMenuStrip Menu; | ||
|
||
internal static void Construct(MainForm form, IContainer components) | ||
{ | ||
if (_constructed) return; | ||
|
||
Menu = new ContextMenuStrip(components); | ||
Menu.Closed += form.AddTagMenu_Closed; | ||
|
||
_constructed = true; | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters