Example #1
0
 public TreeFrm(MainFrm owner, ProjectFrm newPro)
 {
     InitializeComponent();
     _Owner       = owner;
     _NewPro      = newPro;
     this.Project = _NewPro.Project;
     //this.MdiParent = owner;
 }
Example #2
0
 private void OpenProjectFrm(object sender, EventArgs e)
 {
     if (projectFrm == null)
     {
         projectFrm = new ProjectFrm(this);
     }
     projectFrm.FormClosing += (a, b) => { this.projectFrm = null; };
     projectFrm.ShowDialog();
 }