Exemplo n.º 1
0
 public void RemoveLoadingManager(SimvaLoadingManager manager)
 {
     if (manager)
     {
         // If a delegate is not present the method gets ignored
         loadingListeners -= manager.IsLoading;
     }
 }
Exemplo n.º 2
0
 public void AddLoadingManager(SimvaLoadingManager manager)
 {
     if (manager)
     {
         // To make sure we only have one instance of a notify per manager
         // We first remove (as it is ignored if not present)
         loadingListeners -= manager.IsLoading;
         // Then we add it
         loadingListeners += manager.IsLoading;
     }
 }
Exemplo n.º 3
0
 public InviteWindow(ProfileCollection profileCollection)
 {
     pCollection = profileCollection;
     InitializeComponent();
     label1.Visible            = false;
     IPBox.Visible             = false;
     ConnectButton.Visible     = false;
     CancelButton.Visible      = false;
     StartServerButton.Visible = false;
     StartClientButton.Visible = false;
     loading = new LoadingDelegate(Loading);
 }
Exemplo n.º 4
0
 public InviteWindow(ProfileCollection profileCollection)
 {
     pCollection = profileCollection;
     InitializeComponent();
     label1.Visible = false;
     IPBox.Visible = false;
     ConnectButton.Visible = false;
     CancelButton.Visible = false;
     StartServerButton.Visible = false;
     StartClientButton.Visible = false;
     loading = new LoadingDelegate(Loading);
 }