/// <summary> /// These functions are the callbacks used to execute commands when the a menu items are clicked. /// See the Initialize method to see how the menu item is associated to this function using /// the OleMenuCommandService service and the MenuCommand class. /// </summary> /// /// <summary> /// Callback function for connection option on the menu to open the window /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void ConnectCallback(object sender, EventArgs e) { cb = new CoProNetwork(); CoProWindow c = new CoProWindow(cb); c.Show(); //Carets cs = new Carets(GetCurrentViewHost()); }
/// <summary> /// These functions are the callbacks used to execute commands when the a menu items are clicked. /// See the Initialize method to see how the menu item is associated to this function using /// the OleMenuCommandService service and the MenuCommand class. /// </summary> /// /// <summary> /// Callback function for connection option on the menu to open the window /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void ConnectCallback(object sender, EventArgs e) { cb = new CoProNetwork(); CoProWindow c = new CoProWindow(cb); c.Show(); //Carets cs = new Carets(GetCurrentViewHost()); }