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

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

                FormEditWebshell editwebshell = new FormEditWebshell(shellStruct);
                editwebshell.WebshellWatchEvent += OnWebshellChange;
                editwebshell.Show();
            }
        }
        private void item_alter_Click(object sender, EventArgs e)
        {
            if (lv_shell.SelectedItems.Count > 0)
            {
                ShellStruct shellStruct = (ShellStruct)lv_shell.SelectedItems[0].Tag;
                //ShellStruct shellStruct = (ShellStruct)lv_shell.SelectedItems[0].Tag;

                FormEditWebshell editwebshell = new FormEditWebshell(shellStruct);
                editwebshell.WebshellWatchEvent += OnWebshellChange;
                editwebshell.Show();
            }
        }
 private void item_add_Click(object sender, EventArgs e)
 {
     FormEditWebshell editwebshell = new FormEditWebshell();
     editwebshell.WebshellWatchEvent += OnWebshellChange;
     editwebshell.Show();
 }