public GameScenesVisibility(params GameScenes[] gameScenes) { Type gameScenesVisibilityType = ToolbarTypes.GetType("Toolbar.GameScenesVisibility"); realGameScenesVisibility = Activator.CreateInstance(gameScenesVisibilityType, new object[] { gameScenes }); visibleProperty = ToolbarTypes.GetProperty(gameScenesVisibilityType, "Visible"); }
internal ButtonTypes(Type iButtonType) { this.iButtonType = iButtonType; textProperty = ToolbarTypes.GetProperty(iButtonType, "Text"); textColorProperty = ToolbarTypes.GetProperty(iButtonType, "TextColor"); texturePathProperty = ToolbarTypes.GetProperty(iButtonType, "TexturePath"); toolTipProperty = ToolbarTypes.GetProperty(iButtonType, "ToolTip"); visibleProperty = ToolbarTypes.GetProperty(iButtonType, "Visible"); visibilityProperty = ToolbarTypes.GetProperty(iButtonType, "Visibility"); effectivelyVisibleProperty = ToolbarTypes.GetProperty(iButtonType, "EffectivelyVisible"); enabledProperty = ToolbarTypes.GetProperty(iButtonType, "Enabled"); importantProperty = ToolbarTypes.GetProperty(iButtonType, "Important"); drawableProperty = ToolbarTypes.GetProperty(iButtonType, "Drawable"); onClickEvent = ToolbarTypes.GetEvent(iButtonType, "OnClick"); onMouseEnterEvent = ToolbarTypes.GetEvent(iButtonType, "OnMouseEnter"); onMouseLeaveEvent = ToolbarTypes.GetEvent(iButtonType, "OnMouseLeave"); destroyMethod = ToolbarTypes.GetMethod(iButtonType, "Destroy"); }