/// <summary> /// Application Explorer double-click event. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void treeApps_DoubleClick(object sender, EventArgs e) { string appcode = treeApps.SelectedNode.Name; Documents.Application appDoc = new TACS.NET_Manager.Documents.Application(this, appcode); appDoc.Manager = sandDockManager1; appDoc.OpenDocked(TD.SandDock.ContainerDockLocation.Center); }
/// <summary> /// New application menu item event. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void mnuNewApp_Activate(object sender, EventArgs e) { Documents.Application appDoc = new TACS.NET_Manager.Documents.Application(this); appDoc.Manager = sandDockManager1; appDoc.OpenDocked(TD.SandDock.ContainerDockLocation.Center); }