Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Video URL: https://www.youtube.com/watch?v=6H_3WZ28cxc
- Der Code der Form1.cs:
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace AiWF14___System_Tray
- {
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- private void zeigenToolStripMenuItem_Click(object sender, EventArgs e)
- {
- this.Show();
- }
- private void beendenToolStripMenuItem_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
- private void notifyIcon1_MouseDoubleClick(object sender, MouseEventArgs e)
- {
- this.Show();
- }
- private void Form1_Move(object sender, EventArgs e)
- {
- if (this.WindowState == FormWindowState.Minimized)
- {
- this.Hide();
- }
- }
- private void Form1_Load(object sender, EventArgs e)
- {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement