Ejemplo n.º 1
0
        private void OnButtonActionClick(object sender, ListViewColumnMouseEventArgs e)
        {
            string command = "";
            string seconds = "";

            if (e.SubItem.Tag.Equals("sloww"))
            {
                seconds = DialogCombo("Insert the time in seconds");
            }

            command = e.SubItem.Tag + " " + e.Item.Text + " " + seconds;

            console.SaveScript(command);

            new Thread(() => {
                console.RunScript();
            }).Start();
        }
        private void OnButtonActionClick(object sender, ListViewColumnMouseEventArgs e)
        {
            string command = "";
            string seconds = "";

            if (e.SubItem.Tag.Equals("sloww")) {
                seconds = DialogCombo("Insert the time in seconds");
            }

            command = e.SubItem.Tag + " " + e.Item.Text + " " + seconds;

            console.SaveScript(command);

            new Thread(() => {
                console.RunScript();
            }).Start();
        }