//Meeting beitreten public static void Button2_Execute() { InventorApp.ActiveDocument.Save(); UserID Sesion = new UserID(); //Session = Sesion; string sessionid = Sesion.getID(); if (network != null && network.connected) { return; } if (network == null || network.connected == false) { initializenw(); try { network.connect(sessionid, InventorApp.ActiveDocument.FullFileName); } catch (Exception ex) { MessageBox.Show(ex.Message); } } InventorApp.Visible = false; Session = new GUI(InventorApp, updatestatus, updateinfo); Session.network = network; Session.lblMeetingID.Text = sessionid; Session.ShowDialog(); InventorApp.Visible = true; }