100% found this document useful (2 votes)
226 views2 pages

Systray Csharp Source Code

Open new project , clear form.desing code , insert this text , insert control notifyicon1 and contextmenu1..

Uploaded by

Nikola Lukic
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC or read online on Scribd
100% found this document useful (2 votes)
226 views2 pages

Systray Csharp Source Code

Open new project , clear form.desing code , insert this text , insert control notifyicon1 and contextmenu1..

Uploaded by

Nikola Lukic
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC or read online on Scribd
You are on page 1/ 2

Koriscenje Systry

Programski jezik visual c# 2008

Izbrisati sadrzaj forme I uneti dati kod.


Insertovati kontrole notifyIcon1 I
contextMenu1 (ovo cete naci desnim
klikom na toolbox-Choose items)
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
namespace SYSTRAY
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
this.notifyIcon1.ContextMenu = this.contextMenu1 ;
}

private void Form1_Load(object sender, EventArgs e)


{

private void menuItem1_Click(object sender, EventArgs e)


{
this.Show();

private void menuItem2_Click(object sender, EventArgs e)


{
this.Hide();

}
}
}

You might also like