Exemple #1
0
        private void item_add_Click(object sender, EventArgs e)
        {
            FormEditWebshell editwebshell = new FormEditWebshell(_host);

            editwebshell.WebshellWatchEvent += OnWebshellChange;
            editwebshell.Show();
        }
Exemple #2
0
        private void item_alter_Click(object sender, EventArgs e)
        {
            if (lv_shell.SelectedItems.Count > 0)
            {
                Shell shell = (Shell)lv_shell.SelectedItems[0].Tag;
                //Shell Shell = (Shell)lv_shell.SelectedItems[0].Tag;

                FormEditWebshell editwebshell = new FormEditWebshell(_host, shell);
                editwebshell.WebshellWatchEvent += OnWebshellChange;
                editwebshell.Show();
            }
        }