public DockDishInfo(DarkToolWindowExt owner, DarkDockArea area)
     : base(area)
 {
     InitializeComponent();
     _owner              = owner;
     _owner.DishChanged += Update;
 }
Example #2
0
        public DarkDockRegion(DarkDockPanel dockPanel, DarkDockArea dockArea)
        {
            _groups = new List <DarkDockGroup>();

            DockPanel = dockPanel;
            DockArea  = dockArea;

            BuildProperties();
        }
Example #3
0
        public DarkDockRegion(DarkDockPanel dockPanel, DarkDockArea dockArea)
        {
            _groups = new List<DarkDockGroup>();

            DockPanel = dockPanel;
            DockArea = dockArea;

            BuildProperties();
        }
Example #4
0
 /// <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
        }
Example #7
0
 public DarkDockTabArea(DarkDockArea dockArea)
 {
     DockArea = dockArea;
 }
Example #8
0
 public DockRegionState(DarkDockArea area, Size size)
     : this(area)
 {
     Size = size;
 }
Example #9
0
 public DockRegionState(DarkDockArea area)
     : this()
 {
     Area = area;
 }
Example #10
0
 public DockRegionState(DarkDockArea area, Size size)
     : this(area)
 {
     Size = size;
 }
Example #11
0
 public DockRegionState(DarkDockArea area)
     : this()
 {
     Area = area;
 }
 public DockIngredientList(DarkDockArea area) : base(area)
 {
     InitializeComponent();
     LoadIngredients();
 }
Example #13
0
 public List <DarkDockContent> GetContent(DarkDockArea Area)
 {
     return(_regions[Area].GetContents());
 }
Example #14
0
 public DarkDockTabArea(DarkDockArea dockArea)
 {
     DockArea = dockArea;
 }