Created
February 10, 2016 19:23
-
-
Save Fresh-Dev/bfe470b8d61929b312f7 to your computer and use it in GitHub Desktop.
Systembenachrichtigung / Notification
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
/// Add NotifyIcon via Designer first | |
public Form1() | |
{ | |
InitializeComponent(); | |
} | |
private void button1_Click(object sender, EventArgs e) | |
{ | |
Displaynotify(); | |
} | |
protected void Displaynotify() | |
{ | |
try | |
{ | |
notifyIcon1.Icon = new System.Drawing.Icon(Path.GetFullPath(@"C:\Users\Kevin Kleinjung\Desktop\FlatWoken-master\FlatWoken\scalable\apps\ico128\power_B.svg.ico")); | |
notifyIcon1.Text = "Export Datatable Utlity"; | |
notifyIcon1.Visible = true; | |
notifyIcon1.BalloonTipTitle = "Welcome Devesh omar to Datatable Export Utlity"; | |
notifyIcon1.BalloonTipText = "Click Here to see details"; | |
notifyIcon1.ShowBalloonTip(100); | |
} | |
catch (Exception ex) | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment