public DockDishInfo(DarkToolWindowExt owner, DarkDockArea area) : base(area) { InitializeComponent(); _owner = owner; _owner.DishChanged += Update; }
public DarkDockRegion(DarkDockPanel dockPanel, DarkDockArea dockArea) { _groups = new List <DarkDockGroup>(); DockPanel = dockPanel; DockArea = dockArea; BuildProperties(); }
public DarkDockRegion(DarkDockPanel dockPanel, DarkDockArea dockArea) { _groups = new List<DarkDockGroup>(); DockPanel = dockPanel; DockArea = dockArea; BuildProperties(); }
/// <summary> /// There is some bug with the dock area not being kept /// or used properly if set to "None", yet it is not a required /// field for creating the object. /// Using the "DefaultDockArea" will fix this, but to make /// this more explicit, I've added a constructor which requires /// a DefaultDockArea that is not "None". /// </summary> //[Obsolete("Designer only", true)] public DarkToolWindowExt(DarkDockArea defaultArea) : base() { if (defaultArea == DarkDockArea.None || defaultArea == 0) { DefaultDockArea = DarkDockArea.Document; } else { DefaultDockArea = defaultArea; } }
public Dock_ChosenDish(DarkDockArea area) : base(area) { InitializeComponent(); _dishFields.Add(TextBox_Name); _dishFields.Add(Slider_Rating); _dishFields.Add(TextBox_Health); _dishFields.Add(TextBox_Brain); _dishFields.Add(TextBox_Texture); _dishFields.Add(TextBox_Aroma); _dishFields.Add(TextBox_Appearance); _dishFields.Add(TextBox_Volume); _dishFields.Add(TextBox_Rarity); _dishFields.Add(TextBox_Charisma); }
public Dock_Inventory(DarkDockArea area) : base(area) { InitializeComponent(); LoadIngredients(); InfoLabels = new List <Label>(); InfoLabels.Add(Label_Rating); InfoLabels.Add(Label_Health); InfoLabels.Add(Label_Brain); InfoLabels.Add(Label_Texture); InfoLabels.Add(Label_Aroma); InfoLabels.Add(Label_Appearance); InfoLabels.Add(Label_Volume); InfoLabels.Add(Label_Rarity); InfoLabels.Add(Label_Charisma); Cmu_Inventory.Opening += Cmu_Opening; // Context Menus }
public DarkDockTabArea(DarkDockArea dockArea) { DockArea = dockArea; }
public DockRegionState(DarkDockArea area, Size size) : this(area) { Size = size; }
public DockRegionState(DarkDockArea area) : this() { Area = area; }
public DockIngredientList(DarkDockArea area) : base(area) { InitializeComponent(); LoadIngredients(); }
public List <DarkDockContent> GetContent(DarkDockArea Area) { return(_regions[Area].GetContents()); }