Updates for the notification service, now an icon is shown and it now follows the configuration settings. [skip ci]

This commit is contained in:
Robin Krom 2020-03-10 22:06:47 +01:00
commit 7e96c99b3d
23 changed files with 90 additions and 43 deletions

View file

@ -51,7 +51,7 @@ namespace GreenshotPlugin.Controls {
// The InitializeComponent() call is required for Windows Forms designer support.
//
InitializeComponent();
Icon = GreenshotResources.getGreenshotIcon();
Icon = GreenshotResources.GetGreenshotIcon();
_shouldClose = false;
Text = title;
label_pleasewait.Text = text;

View file

@ -146,7 +146,7 @@ namespace GreenshotPlugin.Controls {
protected override void OnLoad(EventArgs e) {
// Every GreenshotForm should have it's default icon
// And it might not ne needed for a Tool Window, but still for the task manager / switcher it's important
Icon = GreenshotResources.getGreenshotIcon();
Icon = GreenshotResources.GetGreenshotIcon();
if (!DesignMode) {
if (!_applyLanguageManually) {
ApplyLanguage();

View file

@ -50,7 +50,7 @@ namespace GreenshotPlugin.Controls {
}
InitializeComponent();
ClientSize = size;
Icon = GreenshotResources.getGreenshotIcon();
Icon = GreenshotResources.GetGreenshotIcon();
Text = browserTitle;
_addressTextBox.Text = authorizationLink;

View file

@ -37,7 +37,7 @@ namespace GreenshotPlugin.Controls {
// The InitializeComponent() call is required for Windows Forms designer support.
//
InitializeComponent();
Icon = GreenshotResources.getGreenshotIcon();
Icon = GreenshotResources.GetGreenshotIcon();
}
/// <summary>