07 menu and exercises with small icons in the lower right corner, and 07 menu icons

Source: Internet
Author: User

07 menu and exercises with small icons in the lower right corner, and 07 menu icons

Private void exit ToolStripMenuItem_Click (object sender, EventArgs e) // exit menu method {// this. close (); Application. exit (); // we recommend that you use this close statement} private void timerjavastick (object sender, EventArgs e) // time method {toolStripStatusLabel1.Text = DateTime. now. toString ();} private void Form1_Resize (object sender, EventArgs e) // The effect generated after the maximum and minimum window changes {if (this. windowState = FormWindowState. minimized) {policyicon1.visible = true; this. visible = false;} else {policyicon1.visible = false; this. visible = true;} private void Form1_Load (object sender, EventArgs e) {// if (this. windowState = FormWindowState. minimized) // {// ShowInTaskbar = false; //} // private void policyicon=mousedoubleclick (object sender, MouseEventArgs e) // {// this. visible = true; // this. windowState = FormWindowState. normal; //} private void policyicon1_doubleclick (object sender, EventArgs e) // set the small icon in the lower right corner {this. visible = true; this. windowState = FormWindowState. normal;} private void display ToolStripMenuItem_Click (object sender, EventArgs e) // double-click the icon in the lower right corner to display the program window {policyicon#doubleclick (sender, e );}

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.