예제 #1
0
 protected override void ApplicationToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (AboutApplicationForm form = new AboutApplicationForm())
     {
         if (form.ShowDialog() == DialogResult.OK)
         {
         }
     }
 }
예제 #2
0
        /// <summary>
        /// Обработчик события нажатия на кнопку меню "О приложении"
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void OnAboutApplicationMenuButtonClicked(object sender, EventArgs e)
        {
            var form = new AboutApplicationForm();

            form.ShowDialog(this);
        }