예제 #1
0
 public ActionListControl GetActionListControl()
 {
     if (step.ElementList.Count > 0)
     {
         DrawableLangModTogglerDSV dsv = step.ElementList[2] as DrawableLangModTogglerDSV;
         if (dsv.ElementList.Count > 0)
         {
             UIElementWrapperForUIContainer   container     = dsv.ElementList[0] as UIElementWrapperForUIContainer;
             UIElementWrapperForPalettes      palettes      = container.ElementList[0] as UIElementWrapperForPalettes;
             UIElementWrapperForPalettesProxy palettesProxy = new UIElementWrapperForPalettesProxy(palettes);
             LanguagePaletteBaseElement       palette       = palettesProxy.Palette;
             UIControlWindowlessWrapper       wrapper       = palette.ChildControls[1] as UIControlWindowlessWrapper;
             ActionListControl alc = wrapper.ChildControls[0] as ActionListControl;
             return(alc);
         }
     }
     return(null);
 }
예제 #2
0
 public GraphFLGraphicEditor GetGraphFLGraphicEditor()
 {
     if (Transition.ElementList.Count > 0)
     {
         DrawableLangModTogglerDSV dsv = Transition.ElementList[2] as DrawableLangModTogglerDSV;
         if (dsv.ElementList.Count > 0)
         {
             UIElementWrapperForUIContainer   container     = dsv.ElementList[0] as UIElementWrapperForUIContainer;
             UIElementWrapperForPalettes      palettes      = container.ElementList[0] as UIElementWrapperForPalettes;
             UIElementWrapperForPalettesProxy palettesProxy = new UIElementWrapperForPalettesProxy(palettes);
             LanguagePaletteBaseElement       palette       = palettesProxy.Palette;
             UIControlWindowlessWrapper       wrapper       = palette.ChildControls[1] as UIControlWindowlessWrapper;
             GraphFLGraphicEditor             editor        = wrapper.ChildControls[0] as GraphFLGraphicEditor;
             return(editor);
         }
     }
     return(null);
 }
 internal UIElementWrapperForPalettesProxy(UIElementWrapperForPalettes palettes)
     : base(palettes)
 {
     this.palettes = palettes;
 }