Exemplo n.º 1
0
        private void начатьКонсультациюToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (goal == null)
            {
                frmAddGoal   frmg   = new frmAddGoal(this);
                DialogResult dialog = frmg.ShowDialog();
                if (dialog != DialogResult.OK)
                {
                    return;
                }
            }
            frmConsult frm = new frmConsult(es, goal);

            frm.ShowDialog();
            TreeNode tmp = new TreeNode();

            if (frm.currentnode != null)
            {
                tree = null;
                tree = (TreeNode)frm.currentnode.Clone();
            }
        }
Exemplo n.º 2
0
        private void цельКонсультацииToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmAddGoal frm = new frmAddGoal(this);

            frm.ShowDialog();
        }