void item_Click(object sender, EventArgs e) { EnumWolfRam type = (EnumWolfRam)((ToolStripMenuItem)sender).Tag; ControllerWolfRam.Instance.Run(type); // MessageBox.Show("Operation finished!"); }
public void Run(EnumWolfRam type) { switch (type) { case EnumWolfRam.SimpleLink: SimpleLink(); break; case EnumWolfRam.MathKernel: MathKernel(); break; } }
public void Run(EnumWolfRam type) { switch(type) { case EnumWolfRam.SimpleLink: SimpleLink(); break; case EnumWolfRam.MathKernel: MathKernel(); break; } }