예제 #1
0
파일: MenuSystem.cs 프로젝트: xor2003/reko
        private void item_Click(object sender, CommandMenuEventArgs e)
        {
            MenuCommand cmd = e.Item.MenuCommand;

            if (cmd != null)
            {
                target.Execute(cmd.CommandID);
            }
        }
예제 #2
0
		private void item_Click(object sender, CommandMenuEventArgs e)
		{
			MenuCommand cmd = e.Item.MenuCommand;
			if (cmd != null)
			{
				target.Execute(cmd.CommandID);
			}
		}