RemoveChildProvider() public method

public RemoveChildProvider ( bool raiseEvent, FragmentControlProvider removedProvider ) : void
raiseEvent bool
removedProvider FragmentControlProvider
return void
Esempio n. 1
0
 public void DeleteControl(SWF.Control control)
 {
     if (controls.Contains(control) == true)
     {
         if (controls.Count == 1)
         {
             FragmentRootControlProvider root
                 = (FragmentRootControlProvider)ProviderFactory.GetProvider(Parent);
             root.RemoveChildProvider(this);
         }
         controls.Remove(control);
         control.VisibleChanged -= new EventHandler(OnControlVisibleChanged);
     }
 }