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(); } }
private void цельКонсультацииToolStripMenuItem_Click(object sender, EventArgs e) { frmAddGoal frm = new frmAddGoal(this); frm.ShowDialog(); }