void IZomBControl.ControlAdded(object sender, ZomBControlAddedEventArgs e)
 {
     if (ControlAdded != null)
         ControlAdded(sender, e);
 }
 void ZomBGLControl_ControlAdded(object sender, ZomBControlAddedEventArgs e)
 {
     localDDH = e.Controller.GetDashboardDataHub();
 }
 void IZomBControlGroup.ControlAdded(object sender, ZomBControlAddedEventArgs e)
 {
 }
Exemplo n.º 4
0
 public void ControlAdded(object sender, ZomBControlAddedEventArgs e)
 {
     team = e.Controller.GetDashboardDataHub().Team;
     e.Controller.GetDashboardDataHub().Remove(this);
     init();
 }
Exemplo n.º 5
0
 public void ControlAdded(object sender, ZomBControlAddedEventArgs e)
 {
 }
 void IZomBControl.ControlAdded(object sender, ZomBControlAddedEventArgs e)
 {
     ddh = e.Controller.GetDashboardDataHub();
     //we only want the controller, now remove ourselves
     ddh.Remove(this);
 }
 void ZomBGLControl_ControlAdded(object sender, ZomBControlAddedEventArgs e)
 {
     localDDH = e.Controller.GetDashboardDataHub();
     if (this.Content == null)
     {
         this.Content = GroupDescriptor.InflateControls();
         Sizeify();
     }
     ResetControls();
 }