Exemplo n.º 1
0
        public void NewPLC()
        {
            NewPLC add = new NewPLC();

            if (add.ShowDialog() == DialogResult.OK)
            {
                LoadTree();
            }
        }
Exemplo n.º 2
0
        private void změnitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NewPLC edit = new NewPLC();

            edit.Edit = true;
            edit.ID   = Convert.ToInt32(treeView1.SelectedNode.Tag);
            if (edit.ShowDialog() == DialogResult.OK)
            {
                LoadTree();
            }
        }