/*public O2DockContent(Type controlToLoad, DockState controlDockState, string controlName) * : this((Control) Activator.CreateInstance(controlToLoad), controlDockState, controlName) * { * }*/ public O2DockContent(Type typeOfControlToLoad, O2DockState controlDockState, string controlName) : this(typeOfControlToLoad, (DockState)Enum.Parse(typeof(DockState), controlDockState.ToString()), controlName) { }
/*public O2DockContent(Type controlToLoad, DockState controlDockState, string controlName) : this((Control) Activator.CreateInstance(controlToLoad), controlDockState, controlName) { }*/ public O2DockContent(Type typeOfControlToLoad, O2DockState controlDockState, string controlName) : this(typeOfControlToLoad, (DockState)Enum.Parse(typeof(DockState), controlDockState.ToString()), controlName) { }
public static DockState getDockStateFromO2DockState(O2DockState o2DockState) { return((DockState)Enum.Parse(typeof(DockState), o2DockState.ToString())); }
public static DockState getDockStateFromO2DockState(O2DockState o2DockState) { return (DockState) Enum.Parse(typeof (DockState), o2DockState.ToString()); }