frmwincecontrols.cs

来自「Microsoft Mobile Development Handbook的代码」· CS 代码 · 共 33 行

CS
33
字号
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace CodeForChapter2
{
  public partial class frmWinCEControls : Form
  {
    public frmWinCEControls()
    {
      InitializeComponent();
    }

    private void menuItem1_Click(object sender, EventArgs e)
    {
      notification1.Visible = true;
    }

    private void frmWinCEControls_Closing(object sender, CancelEventArgs e)
    {
      notification1.Dispose();
    }

    private void notification1_ResponseSubmitted(object sender, Microsoft.WindowsCE.Forms.ResponseSubmittedEventArgs e)
    {
      // TODO your logic
    }
  }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?