private void OnDisable()
    {
        AdventureMapPanel expr_05 = AdventureMapPanel.instance;

        expr_05.OnZoomOutMap = (Action)Delegate.Remove(expr_05.OnZoomOutMap, new Action(this.OnZoomOutMap));
        if (this.m_usedForMissionList)
        {
            AdventureMapPanel expr_36 = AdventureMapPanel.instance;
            expr_36.MissionSelectedFromListAction = (Action <int>)Delegate.Remove(expr_36.MissionSelectedFromListAction, new Action <int>(this.HandleMissionChanged));
        }
        else
        {
            AdventureMapPanel expr_61 = AdventureMapPanel.instance;
            expr_61.MissionMapSelectionChangedAction = (Action <int>)Delegate.Remove(expr_61.MissionMapSelectionChangedAction, new Action <int>(this.HandleMissionChanged));
        }
        AdventureMapPanel expr_87 = AdventureMapPanel.instance;

        expr_87.OnShowMissionRewardPanel = (Action <bool>)Delegate.Remove(expr_87.OnShowMissionRewardPanel, new Action <bool>(this.OnShowMissionRewardPanel));
        SliderPanel expr_AE = this.m_sliderPanel;

        expr_AE.SliderPanelMaximizedAction = (Action)Delegate.Remove(expr_AE.SliderPanelMaximizedAction, new Action(this.OnSliderPanelMaximized));
        SliderPanel expr_D5 = this.m_sliderPanel;

        expr_D5.SliderPanelBeginMinimizeAction = (Action)Delegate.Remove(expr_D5.SliderPanelBeginMinimizeAction, new Action(this.RevealMap));
        SliderPanel expr_FC = this.m_sliderPanel;

        expr_FC.SliderPanelBeginDragAction = (Action)Delegate.Remove(expr_FC.SliderPanelBeginDragAction, new Action(this.RevealMap));
        SliderPanel expr_123 = this.m_sliderPanel;

        expr_123.SliderPanelBeginShrinkToPreviewPositionAction = (Action)Delegate.Remove(expr_123.SliderPanelBeginShrinkToPreviewPositionAction, new Action(this.RevealMap));
        SliderPanel expr_14A = this.m_sliderPanel;

        expr_14A.SliderPanelFinishMinimizeAction = (Action)Delegate.Remove(expr_14A.SliderPanelFinishMinimizeAction, new Action(this.HandleSliderPanelFinishMinimize));
        Main.instance.m_backButtonManager.PopBackAction();
    }
    private void Update()
    {
        if (Input.GetKeyDown("escape"))
        {
            if (this.m_backActionStack.get_Count() == 0)
            {
                return;
            }
            BackActionData backActionData = this.m_backActionStack.Peek();
            switch (backActionData.m_backAction)
            {
            case BackAction.hideAllPopups:
                AllPopups.instance.HideAllPopups();
                break;

            case BackAction.hideSliderPanel:
                if (backActionData.m_backActionTarget != null)
                {
                    SliderPanel component = backActionData.m_backActionTarget.GetComponent <SliderPanel>();
                    if (component != null)
                    {
                        component.HideSliderPanel();
                    }
                }
                break;

            case BackAction.hideMissionResults:
                AllPanels.instance.m_missionResultsPanel.HideMissionResults();
                break;
            }
        }
    }
Exemplo n.º 3
0
    private void OnDisable()
    {
        AdventureMapPanel instance = AdventureMapPanel.instance;

        instance.OnZoomOutMap = (Action)Delegate.Remove(instance.OnZoomOutMap, new Action(this.OnZoomOutMap));
        if (this.m_usedForMissionList)
        {
            AdventureMapPanel instance2 = AdventureMapPanel.instance;
            instance2.MissionSelectedFromListAction = (Action <int>)Delegate.Remove(instance2.MissionSelectedFromListAction, new Action <int>(this.HandleMissionChanged));
        }
        else
        {
            AdventureMapPanel instance3 = AdventureMapPanel.instance;
            instance3.MissionMapSelectionChangedAction = (Action <int>)Delegate.Remove(instance3.MissionMapSelectionChangedAction, new Action <int>(this.HandleMissionChanged));
        }
        AdventureMapPanel instance4 = AdventureMapPanel.instance;

        instance4.OnShowMissionRewardPanel = (Action <bool>)Delegate.Remove(instance4.OnShowMissionRewardPanel, new Action <bool>(this.OnShowMissionRewardPanel));
        SliderPanel sliderPanel = this.m_sliderPanel;

        sliderPanel.SliderPanelMaximizedAction = (Action)Delegate.Remove(sliderPanel.SliderPanelMaximizedAction, new Action(this.OnSliderPanelMaximized));
        SliderPanel sliderPanel2 = this.m_sliderPanel;

        sliderPanel2.SliderPanelBeginMinimizeAction = (Action)Delegate.Remove(sliderPanel2.SliderPanelBeginMinimizeAction, new Action(this.RevealMap));
        SliderPanel sliderPanel3 = this.m_sliderPanel;

        sliderPanel3.SliderPanelBeginDragAction = (Action)Delegate.Remove(sliderPanel3.SliderPanelBeginDragAction, new Action(this.RevealMap));
        SliderPanel sliderPanel4 = this.m_sliderPanel;

        sliderPanel4.SliderPanelBeginShrinkToPreviewPositionAction = (Action)Delegate.Remove(sliderPanel4.SliderPanelBeginShrinkToPreviewPositionAction, new Action(this.RevealMap));
        SliderPanel sliderPanel5 = this.m_sliderPanel;

        sliderPanel5.SliderPanelFinishMinimizeAction = (Action)Delegate.Remove(sliderPanel5.SliderPanelFinishMinimizeAction, new Action(this.HandleSliderPanelFinishMinimize));
        Main.instance.m_backButtonManager.PopBackAction();
    }
Exemplo n.º 4
0
        public InterfaceToolControler(Form frm, InterfaceView view, SliderPanel panel, GCInterfaceManager interfaceMgt)
            : base(frm)
        {
            _viewPanel        = panel;
            _interfaceView    = view;
            _interfaceManager = interfaceMgt;
            if (_viewPanel == null ||
                _interfaceView == null ||
                _interfaceManager == null)
            {
                throw (new ArgumentNullException());
            }

            Initialize();
        }
    private void Awake()
    {
        this.m_sliderPanel = base.GetComponent <SliderPanel>();
        AdventureMapPanel expr_11 = AdventureMapPanel.instance;

        expr_11.OnZoomOutMap = (Action)Delegate.Combine(expr_11.OnZoomOutMap, new Action(this.OnZoomOutMap));
        AdventureMapPanel expr_37 = AdventureMapPanel.instance;

        expr_37.MissionMapSelectionChangedAction = (Action <int>)Delegate.Combine(expr_37.MissionMapSelectionChangedAction, new Action <int>(this.HandleMissionChanged));
        AdventureMapPanel expr_5D = AdventureMapPanel.instance;

        expr_5D.OnShowMissionRewardPanel = (Action <bool>)Delegate.Combine(expr_5D.OnShowMissionRewardPanel, new Action <bool>(this.OnShowMissionRewardPanel));
        AdventureMapPanel expr_83 = AdventureMapPanel.instance;

        expr_83.WorldQuestChangedAction = (Action <int>)Delegate.Combine(expr_83.WorldQuestChangedAction, new Action <int>(this.HandleWorldQuestChanged));
    }
    private void Awake()
    {
        this.ClearRewardIcons();
        this.m_sliderPanel = base.GetComponent <SliderPanel>();
        AdventureMapPanel expr_17 = AdventureMapPanel.instance;

        expr_17.OnZoomOutMap = (Action)Delegate.Combine(expr_17.OnZoomOutMap, new Action(this.OnZoomOutMap));
        AdventureMapPanel expr_3D = AdventureMapPanel.instance;

        expr_3D.MissionMapSelectionChangedAction = (Action <int>)Delegate.Combine(expr_3D.MissionMapSelectionChangedAction, new Action <int>(this.HandleMissionChanged));
        AdventureMapPanel expr_63 = AdventureMapPanel.instance;

        expr_63.OnAddMissionLootToRewardPanel = (Action <int>)Delegate.Combine(expr_63.OnAddMissionLootToRewardPanel, new Action <int>(this.OnAddMissionLootToRewardPanel));
        AdventureMapPanel expr_89 = AdventureMapPanel.instance;

        expr_89.OnShowMissionRewardPanel = (Action <bool>)Delegate.Combine(expr_89.OnShowMissionRewardPanel, new Action <bool>(this.OnShowMissionRewardPanel));
    }
Exemplo n.º 7
0
        private void InitializeMVC()
        {
            // Module
            _deviceMgt    = new GCDeviceManager(Program.ConfigDB, Program.ConfigMgt.Config.DeviceFolder);
            _interfaceMgt = new GCInterfaceManager(Program.ConfigDB, Program.ConfigMgt.Config.InterfaceFolder);


            // View
            _viewDevice    = new DeviceView();
            _viewInterface = new InterfaceView();

            _panelViews      = new SliderPanel();
            _panelViews.Dock = DockStyle.Fill;
            _panelViews.AddPage(_viewDevice);
            _panelViews.AddPage(_viewInterface);
            _panelViews.RefreshPage();

            this.panelView.Controls.Add(_panelViews);


            // Control
            _ctlDeviceView = new DeviceViewControler(this, _viewDevice, _deviceMgt);
            _ctlDeviceTool = new DeviceToolControler(this, _viewDevice, _panelViews, _deviceMgt, _interfaceMgt);
            _viewDevice.AttachViewControler(_ctlDeviceView);
            _viewDevice.AttachToolControler(_ctlDeviceTool);

            _ctlInterfaceView = new InterfaceViewControler(this, _viewInterface, _interfaceMgt);
            _ctlInterfaceTool = new InterfaceToolControler(this, _viewInterface, _panelViews, _interfaceMgt);
            _viewInterface.AttachViewControler(_ctlInterfaceView);
            _viewInterface.AttachToolControler(_ctlInterfaceTool);

            _ctlDeviceTool.AttachStatusStrip(this.statusMain);
            _ctlInterfaceTool.AttachStatusStrip(this.statusMain);


            // Controler View
            _panelTools = new DPanelContainer
                              (new DPanel[] {
                _ctlDeviceTool.DevicePanel,
                _ctlInterfaceTool.InterfacePanel,
            });
            _panelTools.Dock = DockStyle.Fill;
            this.panelTool.Controls.Add(_panelTools);
        }
Exemplo n.º 8
0
    void FromGHCreateSlider(object sender, Rhino.Runtime.NamedParametersEventArgs args)
    {
        if (Application.isPlaying)
        {
            string id         = "";
            string sliderName = "";
            double minVal     = 0f;
            double maxVal     = 0f;
            double val        = 0f;
            int    type       = 0;
            if (args.TryGetString("id", out id))
            {
                args.TryGetString("name", out sliderName);
                args.TryGetDouble("min", out minVal);
                args.TryGetDouble("max", out maxVal);
                args.TryGetDouble("value", out val);
                args.TryGetInt("type", out type);

                var sliderPanelObj = (GameObject)Instantiate(sliderPanelPrefab, uiParent.transform);
                sliderPanelObj.name = id;
                SliderPanel sliderPanel = sliderPanelObj.GetComponent <SliderPanel>();
                sliderPanel.text.text       = sliderName;
                sliderPanel.slider.minValue = (float)minVal;
                sliderPanel.slider.maxValue = (float)maxVal;
                sliderPanel.slider.value    = (float)val;
                if (type > 0)
                {
                    sliderPanel.slider.wholeNumbers = true;
                }
                else
                {
                    sliderPanel.slider.wholeNumbers = false;
                }
                sliderPanel.slider.onValueChanged.AddListener(value =>
                {
                    SendSliderValue(value, id);
                });
            }
        }
    }
    private void OnEnable()
    {
        this.m_sliderPanel = base.GetComponent <SliderPanel>();
        this.m_sliderPanel.m_masterCanvasGroup.set_alpha(0f);
        AdventureMapPanel expr_26 = AdventureMapPanel.instance;

        expr_26.OnZoomOutMap = (Action)Delegate.Combine(expr_26.OnZoomOutMap, new Action(this.OnZoomOutMap));
        if (this.m_usedForMissionList)
        {
            AdventureMapPanel expr_57 = AdventureMapPanel.instance;
            expr_57.MissionSelectedFromListAction = (Action <int>)Delegate.Combine(expr_57.MissionSelectedFromListAction, new Action <int>(this.HandleMissionChanged));
        }
        else
        {
            AdventureMapPanel expr_82 = AdventureMapPanel.instance;
            expr_82.MissionMapSelectionChangedAction = (Action <int>)Delegate.Combine(expr_82.MissionMapSelectionChangedAction, new Action <int>(this.HandleMissionChanged));
        }
        AdventureMapPanel expr_A8 = AdventureMapPanel.instance;

        expr_A8.OnShowMissionRewardPanel = (Action <bool>)Delegate.Combine(expr_A8.OnShowMissionRewardPanel, new Action <bool>(this.OnShowMissionRewardPanel));
        SliderPanel expr_CF = this.m_sliderPanel;

        expr_CF.SliderPanelMaximizedAction = (Action)Delegate.Combine(expr_CF.SliderPanelMaximizedAction, new Action(this.OnSliderPanelMaximized));
        SliderPanel expr_F6 = this.m_sliderPanel;

        expr_F6.SliderPanelBeginMinimizeAction = (Action)Delegate.Combine(expr_F6.SliderPanelBeginMinimizeAction, new Action(this.RevealMap));
        SliderPanel expr_11D = this.m_sliderPanel;

        expr_11D.SliderPanelBeginDragAction = (Action)Delegate.Combine(expr_11D.SliderPanelBeginDragAction, new Action(this.RevealMap));
        SliderPanel expr_144 = this.m_sliderPanel;

        expr_144.SliderPanelBeginShrinkToPreviewPositionAction = (Action)Delegate.Combine(expr_144.SliderPanelBeginShrinkToPreviewPositionAction, new Action(this.RevealMap));
        SliderPanel expr_16B = this.m_sliderPanel;

        expr_16B.SliderPanelFinishMinimizeAction = (Action)Delegate.Combine(expr_16B.SliderPanelFinishMinimizeAction, new Action(this.HandleSliderPanelFinishMinimize));
        Main.instance.m_backButtonManager.PushBackAction(BackAction.hideSliderPanel, this.m_sliderPanel.get_gameObject());
    }
Exemplo n.º 10
0
    private void OnEnable()
    {
        this.m_sliderPanel = base.GetComponent <SliderPanel>();
        this.m_sliderPanel.m_masterCanvasGroup.alpha = 0f;
        AdventureMapPanel instance = AdventureMapPanel.instance;

        instance.OnZoomOutMap = (Action)Delegate.Combine(instance.OnZoomOutMap, new Action(this.OnZoomOutMap));
        if (this.m_usedForMissionList)
        {
            AdventureMapPanel instance2 = AdventureMapPanel.instance;
            instance2.MissionSelectedFromListAction = (Action <int>)Delegate.Combine(instance2.MissionSelectedFromListAction, new Action <int>(this.HandleMissionChanged));
        }
        else
        {
            AdventureMapPanel instance3 = AdventureMapPanel.instance;
            instance3.MissionMapSelectionChangedAction = (Action <int>)Delegate.Combine(instance3.MissionMapSelectionChangedAction, new Action <int>(this.HandleMissionChanged));
        }
        AdventureMapPanel instance4 = AdventureMapPanel.instance;

        instance4.OnShowMissionRewardPanel = (Action <bool>)Delegate.Combine(instance4.OnShowMissionRewardPanel, new Action <bool>(this.OnShowMissionRewardPanel));
        SliderPanel sliderPanel = this.m_sliderPanel;

        sliderPanel.SliderPanelMaximizedAction = (Action)Delegate.Combine(sliderPanel.SliderPanelMaximizedAction, new Action(this.OnSliderPanelMaximized));
        SliderPanel sliderPanel2 = this.m_sliderPanel;

        sliderPanel2.SliderPanelBeginMinimizeAction = (Action)Delegate.Combine(sliderPanel2.SliderPanelBeginMinimizeAction, new Action(this.RevealMap));
        SliderPanel sliderPanel3 = this.m_sliderPanel;

        sliderPanel3.SliderPanelBeginDragAction = (Action)Delegate.Combine(sliderPanel3.SliderPanelBeginDragAction, new Action(this.RevealMap));
        SliderPanel sliderPanel4 = this.m_sliderPanel;

        sliderPanel4.SliderPanelBeginShrinkToPreviewPositionAction = (Action)Delegate.Combine(sliderPanel4.SliderPanelBeginShrinkToPreviewPositionAction, new Action(this.RevealMap));
        SliderPanel sliderPanel5 = this.m_sliderPanel;

        sliderPanel5.SliderPanelFinishMinimizeAction = (Action)Delegate.Combine(sliderPanel5.SliderPanelFinishMinimizeAction, new Action(this.HandleSliderPanelFinishMinimize));
        Main.instance.m_backButtonManager.PushBackAction(BackAction.hideSliderPanel, this.m_sliderPanel.gameObject);
    }
Exemplo n.º 11
0
        public unsafe ToolboxWeather()
        {
            this.ValueChanged   = null;
            this.World          = null;
            this.ListRefreshing = false;
            this.InitializeComponent();
            this.cpickerAmbient = new ColorPicker();
            Point location = new Point(10, 124);

            this.cpickerAmbient.Location      = location;
            this.cpickerAmbient.Name          = "cpickerAmbient";
            this.cpickerAmbient.TabIndex      = 0;
            this.cpickerAmbient.Font          = this.Font;
            this.cpickerAmbient.Text          = "Ambient";
            this.cpickerAmbient.ValueChanged += new ColorPicker.__Delegate_ValueChanged(this.OnValueChanged);
            base.Controls.Add(this.cpickerAmbient);
            this.cpickerSunColor = new ColorPicker();
            Point location2 = new Point(10, 260);

            this.cpickerSunColor.Location      = location2;
            this.cpickerSunColor.Name          = "cpickerSunColor";
            this.cpickerSunColor.TabIndex      = 0;
            this.cpickerSunColor.Font          = this.Font;
            this.cpickerSunColor.Text          = "Sunlight";
            this.cpickerSunColor.ValueChanged += new ColorPicker.__Delegate_ValueChanged(this.OnValueChanged);
            base.Controls.Add(this.cpickerSunColor);
            this.sliderSunDir = new SliderPanel(0, 360, 15);
            Point location3 = new Point(10, 386);

            this.sliderSunDir.Location      = location3;
            this.sliderSunDir.Name          = "sliderSunDir";
            this.sliderSunDir.TabIndex      = 0;
            this.sliderSunDir.Font          = this.Font;
            this.sliderSunDir.Text          = "Dir";
            this.sliderSunDir.ValueChanged += new SliderPanel.__Delegate_ValueChanged(this.OnValueChanged);
            base.Controls.Add(this.sliderSunDir);
            this.sliderSunElev = new SliderPanel(0, 90, 5);
            Point location4 = new Point(10, 414);

            this.sliderSunElev.Location      = location4;
            this.sliderSunElev.Name          = "sliderSunElev";
            this.sliderSunElev.TabIndex      = 0;
            this.sliderSunElev.Font          = this.Font;
            this.sliderSunElev.Text          = "Elev";
            this.sliderSunElev.ValueChanged += new SliderPanel.__Delegate_ValueChanged(this.OnValueChanged);
            base.Controls.Add(this.sliderSunElev);
            this.cpickerFogColor = new ColorPicker();
            Point location5 = new Point(10, 452);

            this.cpickerFogColor.Location      = location5;
            this.cpickerFogColor.Name          = "cpickerFogColor";
            this.cpickerFogColor.TabIndex      = 0;
            this.cpickerFogColor.Font          = this.Font;
            this.cpickerFogColor.Text          = "Fog";
            this.cpickerFogColor.ValueChanged += new ColorPicker.__Delegate_ValueChanged(this.OnValueChanged);
            base.Controls.Add(this.cpickerFogColor);
            this.sliderFogStart = new SliderPanel(0, 1000, 10);
            Point location6 = new Point(10, 578);

            this.sliderFogStart.Location      = location6;
            this.sliderFogStart.Name          = "sliderFogStart";
            this.sliderFogStart.TabIndex      = 0;
            this.sliderFogStart.Font          = this.Font;
            this.sliderFogStart.Text          = "Start";
            this.sliderFogStart.ValueChanged += new SliderPanel.__Delegate_ValueChanged(this.OnValueChanged);
            base.Controls.Add(this.sliderFogStart);
            this.sliderFogEnd = new SliderPanel(0, 1000, 10);
            Point location7 = new Point(10, 606);

            this.sliderFogEnd.Location      = location7;
            this.sliderFogEnd.Name          = "sliderFogEnd";
            this.sliderFogEnd.TabIndex      = 0;
            this.sliderFogEnd.Font          = this.Font;
            this.sliderFogEnd.Text          = "End";
            this.sliderFogEnd.ValueChanged += new SliderPanel.__Delegate_ValueChanged(this.OnValueChanged);
            base.Controls.Add(this.sliderFogEnd);
            this.sliderFogStartVal = new SliderPanel(0, 100, 10);
            Point location8 = new Point(10, 634);

            this.sliderFogStartVal.Location      = location8;
            this.sliderFogStartVal.Name          = "sliderFogStartVal";
            this.sliderFogStartVal.TabIndex      = 0;
            this.sliderFogStartVal.Font          = this.Font;
            this.sliderFogStartVal.Text          = "StartVal";
            this.sliderFogStartVal.ValueChanged += new SliderPanel.__Delegate_ValueChanged(this.OnValueChanged);
            base.Controls.Add(this.sliderFogStartVal);
            this.sliderFogEndVal = new SliderPanel(0, 100, 10);
            Point location9 = new Point(10, 662);

            this.sliderFogEndVal.Location      = location9;
            this.sliderFogEndVal.Name          = "sliderFogEndVal";
            this.sliderFogEndVal.TabIndex      = 0;
            this.sliderFogEndVal.Font          = this.Font;
            this.sliderFogEndVal.Text          = "EndVal";
            this.sliderFogEndVal.ValueChanged += new SliderPanel.__Delegate_ValueChanged(this.OnValueChanged);
            base.Controls.Add(this.sliderFogEndVal);
            this.sliderFogSkyBox = new SliderPanel(0, 100, 10);
            Point location10 = new Point(10, 690);

            this.sliderFogSkyBox.Location      = location10;
            this.sliderFogSkyBox.Name          = "sliderFogSkyBox";
            this.sliderFogSkyBox.TabIndex      = 0;
            this.sliderFogSkyBox.Font          = this.Font;
            this.sliderFogSkyBox.Text          = "SkyBox";
            this.sliderFogSkyBox.ValueChanged += new SliderPanel.__Delegate_ValueChanged(this.OnValueChanged);
            base.Controls.Add(this.sliderFogSkyBox);
            this.sliderDetectionMod = new SliderPanel(1, 100, 5);
            Point location11 = new Point(10, 734);

            this.sliderDetectionMod.Location      = location11;
            this.sliderDetectionMod.Name          = "sliderDetectionMod";
            this.sliderDetectionMod.TabIndex      = 0;
            this.sliderDetectionMod.Font          = this.Font;
            this.sliderDetectionMod.Text          = "DetectMod";
            this.sliderDetectionMod.ValueChanged += new SliderPanel.__Delegate_ValueChanged(this.OnValueChanged);
            base.Controls.Add(this.sliderDetectionMod);
            this.sliderWindDir = new SliderPanel(0, 360, 15);
            Point location12 = new Point(10, 762);

            this.sliderWindDir.Location      = location12;
            this.sliderWindDir.Name          = "sliderWindDir";
            this.sliderWindDir.TabIndex      = 0;
            this.sliderWindDir.Font          = this.Font;
            this.sliderWindDir.Text          = "Wind Dir";
            this.sliderWindDir.ValueChanged += new SliderPanel.__Delegate_ValueChanged(this.OnValueChanged);
            base.Controls.Add(this.sliderWindDir);
            this.sliderWindSpeed = new SliderPanel(0, 60, 5);
            Point location13 = new Point(10, 790);

            this.sliderWindSpeed.Location      = location13;
            this.sliderWindSpeed.Name          = "sliderWindSpeed";
            this.sliderWindSpeed.TabIndex      = 0;
            this.sliderWindSpeed.Font          = this.Font;
            this.sliderWindSpeed.Text          = "Wind Speed";
            this.sliderWindSpeed.ValueChanged += new SliderPanel.__Delegate_ValueChanged(this.OnValueChanged);
            base.Controls.Add(this.sliderWindSpeed);
            this.sliderWindRandom = new SliderPanel(0, 100, 5);
            Point location14 = new Point(10, 818);

            this.sliderWindRandom.Location      = location14;
            this.sliderWindRandom.Name          = "sliderWindRandom";
            this.sliderWindRandom.TabIndex      = 0;
            this.sliderWindRandom.Font          = this.Font;
            this.sliderWindRandom.Text          = "Wind Random";
            this.sliderWindRandom.ValueChanged += new SliderPanel.__Delegate_ValueChanged(this.OnValueChanged);
            base.Controls.Add(this.sliderWindRandom);
            this.sliderRain = new SliderPanel(0, 400, 20);
            Point location15 = new Point(10, 854);

            this.sliderRain.Location      = location15;
            this.sliderRain.Name          = "sliderRain";
            this.sliderRain.TabIndex      = 0;
            this.sliderRain.Font          = this.Font;
            this.sliderRain.Text          = "Rain";
            this.sliderRain.ValueChanged += new SliderPanel.__Delegate_ValueChanged(this.OnValueChanged);
            base.Controls.Add(this.sliderRain);
            this.sliderThunder = new SliderPanel(0, 400, 20);
            Point location16 = new Point(10, 882);

            this.sliderThunder.Location      = location16;
            this.sliderThunder.Name          = "sliderThunder";
            this.sliderThunder.TabIndex      = 0;
            this.sliderThunder.Font          = this.Font;
            this.sliderThunder.Text          = "Thunder";
            this.sliderThunder.ValueChanged += new SliderPanel.__Delegate_ValueChanged(this.OnValueChanged);
            base.Controls.Add(this.sliderThunder);
            this.sliderSnow = new SliderPanel(0, 1200, 20);
            Point location17 = new Point(10, 910);

            this.sliderSnow.Location      = location17;
            this.sliderSnow.Name          = "sliderSnow";
            this.sliderSnow.TabIndex      = 0;
            this.sliderSnow.Font          = this.Font;
            this.sliderSnow.Text          = "Snow";
            this.sliderSnow.ValueChanged += new SliderPanel.__Delegate_ValueChanged(this.OnValueChanged);
            base.Controls.Add(this.sliderSnow);
            this.sliderClouds = new SliderPanel(0, 400, 20);
            Point location18 = new Point(10, 938);

            this.sliderClouds.Location      = location18;
            this.sliderClouds.Name          = "sliderClouds";
            this.sliderClouds.TabIndex      = 0;
            this.sliderClouds.Font          = this.Font;
            this.sliderClouds.Text          = "Clouds";
            this.sliderClouds.ValueChanged += new SliderPanel.__Delegate_ValueChanged(this.OnValueChanged);
            base.Controls.Add(this.sliderClouds);
            this.sliderSandstorm = new SliderPanel(0, 100, 5);
            Point location19 = new Point(10, 966);

            this.sliderSandstorm.Location      = location19;
            this.sliderSandstorm.Name          = "sliderSandstorm";
            this.sliderSandstorm.TabIndex      = 0;
            this.sliderSandstorm.Font          = this.Font;
            this.sliderSandstorm.Text          = "Sandstorm";
            this.sliderSandstorm.ValueChanged += new SliderPanel.__Delegate_ValueChanged(this.OnValueChanged);
            base.Controls.Add(this.sliderSandstorm);
            this.sliderSandstormSize = new SliderPanel(0, 20, 1);
            Point location20 = new Point(10, 994);

            this.sliderSandstormSize.Location      = location20;
            this.sliderSandstormSize.Name          = "sliderSandstormSize";
            this.sliderSandstormSize.TabIndex      = 0;
            this.sliderSandstormSize.Font          = this.Font;
            this.sliderSandstormSize.Text          = "Sandstorm Size";
            this.sliderSandstormSize.ValueChanged += new SliderPanel.__Delegate_ValueChanged(this.OnValueChanged);
            base.Controls.Add(this.sliderSandstormSize);
            Point location21 = new Point(this.SkyboxBtn.Location.X, 1030);

            this.SkyboxBtn.Location = location21;
            Point location22 = new Point(this.ResetSkyBtn.Location.X, 1030);

            this.ResetSkyBtn.Location = location22;
            Point location23 = new Point(this.EnvBtn.Location.X, 1054);

            this.EnvBtn.Location = location23;
            Point location24 = new Point(this.ResetEnvBtn.Location.X, 1054);

            this.ResetEnvBtn.Location = location24;
            Point location25 = new Point(this.CloudBtn.Location.X, 1078);

            this.CloudBtn.Location = location25;
            Point location26 = new Point(this.ResetCloudBtn.Location.X, 1078);

            this.ResetCloudBtn.Location = location26;
            Toolbar toolbar = new Toolbar((GToolbarItem *)(& < Module >.?items@?1 ???0ToolboxWeather@NWorkshop@@Q$AAM@XZ@4PAUGToolbarItem@NControls@@A), 24);

            this.Tools              = toolbar;
            toolbar.Dock            = DockStyle.Top;
            this.Tools.ButtonClick += new Toolbar.__Delegate_ButtonClick(this.tools_ButtonClick);
            Size size  = base.Size;
            Size size2 = new Size(base.Size.Width, size.Height);

            this.Tools.Size = size2;
            base.Controls.Add(this.Tools);
            Size size3 = new Size(base.Size.Width, 1106);

            base.Size = size3;
        }