Пример #1
0
 private void 关于_Click(object sender, EventArgs e)
 {
     using (About dialog = new About())
     {
         dialog.ShowDialog();
     }
 }
Пример #2
0
 private void Main_About_Click(object sender, EventArgs e)
 {
     using (var dialog = new About())
     {
         dialog.ShowDialog();
     }
 }