예제 #1
0
 private void MatchConfig(object sender, EventArgs e)
 {
     if (sender is ToolStripMenuItem menu)
     {
         _engine.MatchConfig(menu.Text);
     }
 }
        private void MatchConfig(object sender, EventArgs e)
        {
            var menu = sender as ToolStripMenuItem;

            if (menu != null)
            {
                _engine.MatchConfig(menu.Text);
            }
        }