3 public partial class SetTool : Form
15 ListViewItem item =
new ListViewItem();
16 item.Text = tool.name;
18 toolView.Items.Add(item);
30 private void setToolBut_Click(
object sender, EventArgs e)
32 DialogResult = DialogResult.OK;
39 private void toolView_SelectedIndexChanged(
object sender, EventArgs e)
51 private void timer_Tick(
object sender, EventArgs e)
53 foreach (ListViewItem item
in toolView.Items)
55 item.Text = ((Scripting.Script)item.Tag).ToString();
64 private void stopToolStripMenuItem_Click(
object sender, EventArgs e)
static Dictionary< string, Script > Scripts