コード例 #1
0
ファイル: MenuController.cs プロジェクト: Yuiane/JiangXin
        /// <summary>
        ///
        /// </summary>
        /// <param name="menuInfo"></param>
        /// <returns></returns>
        public SingleButton GetButton(Menu menuInfo)
        {
            SingleButton model = null;
            var          type  = menuInfo.type.ToLower();

            if (type == ButtonType.click.ToStringEx())
            {
                model = new SingleClickButton()
                {
                    key  = menuInfo.key,
                    name = menuInfo.name
                };
            }
            else if (type == ButtonType.location_select.ToStringEx())
            {
                model = new SingleLocationSelectButton()
                {
                    key  = menuInfo.key,
                    name = menuInfo.name
                };
            }
            else if (type == ButtonType.miniprogram.ToStringEx())
            {
                model = new SingleMiniProgramButton()
                {
                    url      = menuInfo.url,
                    appid    = "",
                    pagepath = "",
                    name     = menuInfo.name
                };
            }
            else if (type == ButtonType.pic_photo_or_album.ToStringEx())
            {
                model = new SinglePicPhotoOrAlbumButton()
                {
                    key  = menuInfo.key,
                    name = menuInfo.name
                };
            }
            else if (type == ButtonType.pic_sysphoto.ToStringEx())
            {
                model = new SinglePicSysphotoButton()
                {
                    key  = menuInfo.key,
                    name = menuInfo.name
                };
            }
            else if (type == ButtonType.pic_weixin.ToStringEx())
            {
                model = new SinglePicWeixinButton()
                {
                    key  = menuInfo.key,
                    name = menuInfo.name
                };
            }
            else if (type == ButtonType.scancode_push.ToStringEx())
            {
                model = new SingleScancodePushButton()
                {
                    key  = menuInfo.key,
                    name = menuInfo.name
                };
            }
            else if (type == ButtonType.scancode_waitmsg.ToStringEx())
            {
                model = new SingleScancodeWaitmsgButton()
                {
                    key  = menuInfo.key,
                    name = menuInfo.name
                };
            }
            else if (type == ButtonType.view.ToStringEx())
            {
                model = new SingleViewButton()
                {
                    url  = menuInfo.url,
                    name = menuInfo.name
                };
            }
            return(model);
        }
コード例 #2
0
ファイル: Main.cs プロジェクト: Miner28/DesktopCamera
        private IEnumerator Setup() {
            var request = new UnityWebRequest("https://vrchat.nitro.moe/mods/versioncheck", "POST");
            request.uploadHandler = new UploadHandlerRaw(Encoding.UTF8.GetBytes("{\"name\":\"" + ModBuildInfo.Name + "\",\"version\":\"" + ModBuildInfo.Version + "\"}"));
            request.downloadHandler = new DownloadHandlerBuffer();
            request.SetRequestHeader("Content-Type", "application/json");

            //yield return request.SendWebRequest();

            var asyncOperation = request.SendWebRequest();

            // yield return doesn't work for now, so I had to change it to this.
            while (!asyncOperation.isDone) {
                yield return new WaitForEndOfFrame();
            }

            bool updated = true;
            string latest = "";

            if (!request.isNetworkError && !request.isHttpError) {
                try {
                    var response = JsonConvert.DeserializeObject<VersionCheckResponse>(request.downloadHandler.text);
                    if (response.result == "OUTDATED") {
                        updated = false;
                        latest = response.latest;
                    }
                } catch (Exception) { }
            }

            var quickMenu = VRCUtils.GetQuickMenu();
            if (!updated) quickMenu.transform.Find("ShortcutMenu/CameraButton").GetComponentInChildren<Text>().text = "Camera\n<color=lime>Update\navailable!</color>";
            var cameraMenu = quickMenu.transform.Find("CameraMenu");

            var filtersMenu = UnityEngine.Object.Instantiate(cameraMenu, quickMenu.transform);
            filtersMenu.name = "FiltersMenu";

            var panoramaButton = cameraMenu.Find("Panorama");
            panoramaButton.localPosition = SingleButton.getButtonPositionFor(-1, 0);

            var vrChiveButton = cameraMenu.Find("VRChive");
            vrChiveButton.localPosition = SingleButton.getButtonPositionFor(-1, 1);

            var backButton = cameraMenu.Find("BackButton");
            backButton.localPosition = SingleButton.getButtonPositionFor(4, 2);

            var screenshotButton = cameraMenu.Find("Screenshot");
            screenshotButton.localPosition = SingleButton.getButtonPositionFor(4, 1);

            var qmBoxCollider = quickMenu.GetComponent<BoxCollider>();

            // Thank you Janni9009#1751 <3
            if (qmBoxCollider.size.y < 3769) qmBoxCollider.size += new Vector3(0f, 840f, 0f);
            quickMenu.transform.Find("QuickMenu_NewElements/_CONTEXT/QM_Context_ToolTip/_ToolTipPanel/Text").GetComponent<Text>().supportRichText = true;

            var photoModeButton = cameraMenu.Find("PhotoMode");
            photoModeButton.localPosition = SingleButton.getButtonPositionFor(0, 3);

            var videoModeButton = cameraMenu.Find("VideoMode");
            videoModeButton.localPosition = SingleButton.getButtonPositionFor(1, 3);

            var disableCameraButton = cameraMenu.Find("DisableCamera");
            disableCameraButton.localPosition = SingleButton.getButtonPositionFor(2, 3);


            var cameraButton = new SingleButton("Camera", "Camera\n<color=red>Off</color>", "Toggles the Camera", 0, 0, cameraMenu);
            cameraButton.setAction((Action)(() => {
                Settings.cameraEnabled = !Settings.cameraEnabled;
                cameraButton.setText("Camera\n<color=" + (Settings.cameraEnabled ? "#845bff>On" : "red>Off") + "</color>");
                CameraUtils.SetCameraMode(Settings.cameraEnabled ? CameraUtils.CameraMode.Photo : CameraUtils.CameraMode.Off);
            }));

            var movementBehaviourButton = new SingleButton("MovementBehaviour", "Movement\nBehaviour\n<color=#845bff>None</color>", "Cycles the Camera's movement behaviour", 1, 0, cameraMenu);
            movementBehaviourButton.setAction((Action)(() => {
                if (Settings.cameraEnabled) {
                    var cameraBehaviour = CameraUtils.GetCameraBehaviour();
                    string behaviour = "?";
                    switch (cameraBehaviour) {
                        case CameraUtils.CameraBehaviour.None:
                            behaviour = "Smooth";
                            break;
                        case CameraUtils.CameraBehaviour.Smooth:
                            behaviour = "Look At";
                            break;
                        case CameraUtils.CameraBehaviour.LookAt:
                            behaviour = "None";
                            break;
                    }
                    movementBehaviourButton.setText("Movement\nBehaviour\n<color=#845bff>" + behaviour + "</color>");
                    CameraUtils.CycleCameraBehaviour();
                }
            }));

            var movementSpaceButton = new SingleButton("MovementSpace", "Movement\nSpace\n<color=#845bff>Attached</color>", "Cycles the Camera's movement space", 2, 0, cameraMenu);
            movementSpaceButton.setAction((Action)(() => {
                if (Settings.cameraEnabled) {
                    var cameraSpace = CameraUtils.GetCameraSpace();
                    string space = "?";
                    switch (cameraSpace) {
                        case CameraUtils.CameraSpace.Attached:
                            space = "Local";
                            break;
                        case CameraUtils.CameraSpace.Local:
                            space = "World";
                            break;
                        case CameraUtils.CameraSpace.World:
                            space = "Attached";
                            break;
                    }
                    movementSpaceButton.setText("Movement\nSpace\n<color=#845bff>" + space + "</color>");
                    CameraUtils.CycleCameraSpace();
                    if (CameraUtils.GetCameraSpace() == CameraUtils.CameraSpace.World) Settings.allowCameraMovement = true; else Settings.allowCameraMovement = false;
                }
            }));

            var pinMenuButton = new SingleButton("PinMenu", "Pin Menu\n<color=red>Off</color>", "Toggles the Pin menu", 0, 1, cameraMenu);
            pinMenuButton.setAction((Action)(() => {
                if (Settings.cameraEnabled) {
                    CameraUtils.TogglePinMenu();
                    pinMenuButton.setText("Pin Menu\n<color=" + (VRCUtils.GetUserCameraController().pinsHolder.activeSelf ? "#845bff>On" : "red>Off") + "</color>");
                }
            }));

            var switchPinButton = new SingleButton("CyclePin", "Cycle Pin\n<color=#845bff>Pin 1</color>", "Cycles between 3 pins (aka profiles)", 1, 1, cameraMenu);
            switchPinButton.setAction((Action)(() => {
                if (Settings.cameraEnabled) {
                    var currentPin = CameraUtils.GetCurrentPin();
                    string pin = "?";
                    int newPin = 1;
                    switch (currentPin) {
                        case CameraUtils.Pin.Pin1:
                            newPin = 2;
                            pin = "Pin 2";
                            break;
                        case CameraUtils.Pin.Pin2:
                            newPin = 3;
                            pin = "Pin 3";
                            break;
                        case CameraUtils.Pin.Pin3:
                            newPin = 1;
                            pin = "Pin 1";
                            break;
                    }
                    switchPinButton.setText("Cycle Pin\n<color=#845bff>" + pin + "</color>");
                    // Needed to initialize the buttons apparently
                    CameraUtils.TogglePinMenu();
                    CameraUtils.TogglePinMenu();
                    CameraUtils.SetPin(newPin);
                }
            }));

            var timer1Button = new SingleButton("Timer1", "Timer\n<color=#845bff>3 seconds</color>", "Takes a picture after 3 seconds", 3, 0, cameraMenu);
            timer1Button.setAction((Action)(() => {
                if (Settings.cameraEnabled) {
                    CameraUtils.TakePicture(3);
                }
            }));

            var timer2Button = new SingleButton("Timer2", "Timer\n<color=#845bff>5 seconds</color>", "Takes a picture after 5 seconds", 3, 1, cameraMenu);
            timer2Button.setAction((Action)(() => {
                if (Settings.cameraEnabled) {
                    CameraUtils.TakePicture(5);
                }
            }));

            var timer3Button = new SingleButton("Timer3", "Timer\n<color=#845bff>10 seconds</color>", "Takes a picture after 10 seconds", 3, 2, cameraMenu);
            timer3Button.setAction((Action)(() => {
                if (Settings.cameraEnabled) {
                    CameraUtils.TakePicture(10);
                }
            }));

            var cameraScaleButton = new SingleButton("CameraScale", "Camera\nScale\n<color=#845bff>Normal</color>", "Changes the Camera's scale", 2, 1, cameraMenu);
            cameraScaleButton.setAction((Action)(() => {
                if (Settings.cameraEnabled) {
                    string scale = "?";
                    switch (Settings.cameraScale) {
                        case CameraUtils.CameraScale.Normal:
                            scale = "Medium";
                            VRCUtils.GetUserCameraController().viewFinder.transform.localScale = new Vector3(1.5f, 1f, 1.5f);
                            Settings.cameraScale = CameraUtils.CameraScale.Medium;
                            break;
                        case CameraUtils.CameraScale.Medium:
                            scale = "Big";
                            VRCUtils.GetUserCameraController().viewFinder.transform.localScale = new Vector3(2f, 1f, 2f);
                            Settings.cameraScale = CameraUtils.CameraScale.Big;
                            break;
                        case CameraUtils.CameraScale.Big:
                            scale = "Normal";
                            VRCUtils.GetUserCameraController().viewFinder.transform.localScale = new Vector3(1f, 1f, 1f);
                            Settings.cameraScale = CameraUtils.CameraScale.Normal;
                            break;
                    }
                    cameraScaleButton.setText("Camera\nScale\n<color=#845bff>" + scale + "</color>");
                }
            }));

            var toggleArrowKeysButton = new SingleButton("ArrowKeys", "Arrow Keys\n<color=#845bff>On</color>", "Allows you to change the camera position\nand rotation using arrow keys and numpad keys\n<color=orange>(for more info check the GitHub page)</color>", 0, 2, cameraMenu);
            toggleArrowKeysButton.setAction((Action)(() => {
                Settings.arrowKeysEnabled = !Settings.arrowKeysEnabled;
                toggleArrowKeysButton.setText("Arrow Keys\n<color=" + (Settings.arrowKeysEnabled ? "#845bff>On" : "red>Off") + "</color>");
            }));

            var rotateAroundUserCameraButton = new SingleButton("RotateAroundUserCamera", "Rotate\nAround\nUser Camera\n<color=red>Off</color>", "Makes the camera rotate around the user's camera\ninstead of just saying bye bye\n<color=orange>(for more info check the GitHub page)</color>", 1, 2, cameraMenu);
            rotateAroundUserCameraButton.setAction((Action)(() => {
                Settings.rotateAroundUserCamera = !Settings.rotateAroundUserCamera;
                rotateAroundUserCameraButton.setText("Rotate\nAround\nUser Camera\n<color=" + (Settings.rotateAroundUserCamera ? "#845bff>On" : "red>Off") + "</color>");
            }));

            var toggleLockButton = new SingleButton("ToggleLock", "Lock\n<color=red>Off</color>", "Toggles the Lock (Camera pickup)", 4, -1, cameraMenu);
            toggleLockButton.setAction((Action)(() => {
                if (Settings.cameraEnabled) {
                    toggleLockButton.setText("Lock\n<color=" + (VRCUtils.GetUserCameraController().viewFinder.GetComponent<VRC_Pickup>().pickupable ? "#845bff>On" : "red>Off") + "</color>");
                    CameraUtils.ToggleLock();
                }
            }));

            var gitHubButton = new SingleButton("GitHubPage", "<color=orange>" + (updated ? "GitHub\nPage</color>" : "GitHub Page</color>\n<color=lime>Update\navailable!</color>"), "Opens the GitHub page of the mod\nMod created by nitro.#0007\nVersion: " + ModBuildInfo.Version + (updated ? "" : "\n<color=lime>New version found (" + latest + "), update it in the GitHub page.</color>"), -1, -1, cameraMenu);
            gitHubButton.setAction((Action)(() => {
                Application.OpenURL(updated ? "https://github.com/nitrog0d/DesktopCamera" : "https://github.com/nitrog0d/DesktopCamera/releases");
            }));

            var childCount = filtersMenu.transform.childCount;
            for (var i = 0; i < childCount; i++) {
                var child = filtersMenu.transform.GetChild(i);
                if (child.name == "BackButton") {
                    child.localPosition = SingleButton.getButtonPositionFor(4, 2);
                    child.GetComponent<UiTooltip>().text = "Go Back to the Camera Menu";
                    child.GetComponent<Button>().onClick.RemoveAllListeners();
                    child.GetComponent<Button>().onClick.AddListener((Action)(() => {
                        VRCUtils.ShowQuickMenuPage(quickMenu, cameraMenu, "FiltersMenu");
                    }));
                } else {
                    UnityEngine.Object.Destroy(child.gameObject);
                }
            }

            var filters = new Dictionary<string, string>()
            {
                { "None", "button-NONE" },
                { "Blueprint", "Button-Blueprint" },
                { "Code", "Button-Code" },
                { "Sparkles", "Button-Sparkles" },
                { "Green\nScreen", "Button-GreenScreen" },
                { "Hypno", "Button-Hypno" },
                { "Alpha\nTransparent", "Button-ALPHA" },
                { "Drawing", "Button-Drawing" },
                { "Glitch", "Button-Glitch" },
                { "Pixelate", "Button-PIXELS" },
                { "Old Timey", "Button-OLD-TIMEY" },
                { "Trippy", "Button-Trippy" }
            };

            int row = 0;
            int position = 0;

            foreach (var filter in filters) {
                var button = new SingleButton("Filter" + filter.Value, filter.Key, "Sets the filter to " + filter.Key.Replace("\n", " "), position, row, filtersMenu);
                button.setAction((Action)(() => {
                    if (Settings.cameraEnabled) {
                        // Needed to initialize the buttons apparently
                        CameraUtils.ToggleFilterMenu();
                        CameraUtils.ToggleFilterMenu();
                        CameraUtils.SetFilter(filter.Value);
                    }
                }));
                position++;
                if (position == 4) {
                    position = 0;
                    row++;
                }
            }

            var filtersButton = new SingleButton("Filters", "Filters", "Opens the filter menu", 4, 0, cameraMenu);
            filtersButton.setAction((Action)(() => {
                VRCUtils.ShowQuickMenuPage(quickMenu, filtersMenu, cameraMenu.name);
            }));

            cameraMovementButton = new SingleButton("ToggleCameraMovement", "Camera\nMovement\n<color=#845bff>Viewer</color>", "Toggles the arrow/numpad keys movement between the actual Camera and the Viewer\nViewer requires Movement Space to be \"World\" <color=orange>(for more info check the GitHub page)</color>", 2, 2, cameraMenu);
            cameraMovementButton.setAction((Action)(() => {
                if (Settings.cameraEnabled) {
                    Settings.moveCamera = !Settings.moveCamera;
                    cameraMovementButton.setText("Camera\nMovement\n<color=#845bff>" + (Settings.moveCamera ? "Camera" : "Viewer") + "</color>");
                }
            }));
        }
コード例 #3
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmVirtualization));
     this.label_AudioSystemConfig        = new System.Windows.Forms.Label();
     this.groupBox_VirtApplied           = new System.Windows.Forms.GroupBox();
     this.checkBox_Freestyle             = new System.Windows.Forms.CheckBox();
     this.checkBox_MovieMode             = new System.Windows.Forms.CheckBox();
     this.checkBox_MusicMode             = new System.Windows.Forms.CheckBox();
     this.listView_Speaker               = new System.Windows.Forms.ListView();
     this.columnHeader_Speaker           = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader_Angle             = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.groupBox_VirtEnv               = new System.Windows.Forms.GroupBox();
     this.twoSelector_PrePostProcess     = new ViPER4WindowsBin.UIControls.TwoSelector();
     this.label_PrePostProcess           = new System.Windows.Forms.Label();
     this.hSlider_EnvRealizeDrySignal    = new ViPER4WindowsBin.UIControls.HSlider();
     this.comboBox_EnvRealizePreset      = new System.Windows.Forms.ComboBox();
     this.onOffSwitch_EnvRealize         = new ViPER4WindowsBin.UIControls.OnOffSwitch();
     this.contextMenuStrip_SpeakerAngle  = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.toolStripMenuItem_SpeakerAngle = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator_Angle       = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripComboBox_SpeakerAngle = new System.Windows.Forms.ToolStripComboBox();
     this.singleButton_ResetConfig       = new ViPER4WindowsBin.UIControls.SingleButton();
     this.buttonBox_AudioSystemConfig    = new ViPER4WindowsBin.UIControls.ButtonBox();
     this.singleButton_OK     = new Telerik.WinControls.UI.RadButton();
     this.singleButton_Cancel = new Telerik.WinControls.UI.RadButton();
     this.groupBox_VirtApplied.SuspendLayout();
     this.groupBox_VirtEnv.SuspendLayout();
     this.contextMenuStrip_SpeakerAngle.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.singleButton_OK)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.singleButton_Cancel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // label_AudioSystemConfig
     //
     this.label_AudioSystemConfig.AutoSize = true;
     this.label_AudioSystemConfig.Location = new System.Drawing.Point(12, 18);
     this.label_AudioSystemConfig.Name     = "label_AudioSystemConfig";
     this.label_AudioSystemConfig.Size     = new System.Drawing.Size(138, 13);
     this.label_AudioSystemConfig.TabIndex = 0;
     this.label_AudioSystemConfig.Text     = "$AUDIO_SYSTEM_CONFIG";
     //
     // groupBox_VirtApplied
     //
     this.groupBox_VirtApplied.Controls.Add(this.checkBox_Freestyle);
     this.groupBox_VirtApplied.Controls.Add(this.checkBox_MovieMode);
     this.groupBox_VirtApplied.Controls.Add(this.checkBox_MusicMode);
     this.groupBox_VirtApplied.ForeColor = System.Drawing.Color.Snow;
     this.groupBox_VirtApplied.Location  = new System.Drawing.Point(151, 316);
     this.groupBox_VirtApplied.Name      = "groupBox_VirtApplied";
     this.groupBox_VirtApplied.Size      = new System.Drawing.Size(167, 95);
     this.groupBox_VirtApplied.TabIndex  = 2;
     this.groupBox_VirtApplied.TabStop   = false;
     this.groupBox_VirtApplied.Text      = "$VIRT_APPLIED";
     //
     // checkBox_Freestyle
     //
     this.checkBox_Freestyle.AutoSize = true;
     this.checkBox_Freestyle.Location = new System.Drawing.Point(16, 69);
     this.checkBox_Freestyle.Name     = "checkBox_Freestyle";
     this.checkBox_Freestyle.Size     = new System.Drawing.Size(123, 17);
     this.checkBox_Freestyle.TabIndex = 5;
     this.checkBox_Freestyle.Text     = "$FREESTYLE_MODE";
     this.checkBox_Freestyle.UseVisualStyleBackColor = true;
     //
     // checkBox_MovieMode
     //
     this.checkBox_MovieMode.AutoSize = true;
     this.checkBox_MovieMode.Location = new System.Drawing.Point(16, 46);
     this.checkBox_MovieMode.Name     = "checkBox_MovieMode";
     this.checkBox_MovieMode.Size     = new System.Drawing.Size(105, 17);
     this.checkBox_MovieMode.TabIndex = 4;
     this.checkBox_MovieMode.Text     = "$MOVIE_MODE";
     this.checkBox_MovieMode.UseVisualStyleBackColor = true;
     //
     // checkBox_MusicMode
     //
     this.checkBox_MusicMode.AutoSize = true;
     this.checkBox_MusicMode.Location = new System.Drawing.Point(16, 22);
     this.checkBox_MusicMode.Name     = "checkBox_MusicMode";
     this.checkBox_MusicMode.Size     = new System.Drawing.Size(104, 17);
     this.checkBox_MusicMode.TabIndex = 3;
     this.checkBox_MusicMode.Text     = "$MUSIC_MODE";
     this.checkBox_MusicMode.UseVisualStyleBackColor = true;
     //
     // listView_Speaker
     //
     this.listView_Speaker.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.listView_Speaker.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader_Speaker,
         this.columnHeader_Angle
     });
     this.listView_Speaker.FullRowSelect = true;
     this.listView_Speaker.GridLines     = true;
     this.listView_Speaker.HeaderStyle   = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     this.listView_Speaker.HideSelection = false;
     this.listView_Speaker.Location      = new System.Drawing.Point(151, 77);
     this.listView_Speaker.MultiSelect   = false;
     this.listView_Speaker.Name          = "listView_Speaker";
     this.listView_Speaker.Size          = new System.Drawing.Size(167, 233);
     this.listView_Speaker.TabIndex      = 3;
     this.listView_Speaker.UseCompatibleStateImageBehavior = false;
     this.listView_Speaker.View     = System.Windows.Forms.View.Details;
     this.listView_Speaker.MouseUp += new System.Windows.Forms.MouseEventHandler(this.listView_Speaker_MouseUp);
     //
     // columnHeader_Speaker
     //
     this.columnHeader_Speaker.Text  = "$VIRT_SPEAKER";
     this.columnHeader_Speaker.Width = 95;
     //
     // columnHeader_Angle
     //
     this.columnHeader_Angle.Text = "$VIRT_SPEAKER_ANGLE";
     //
     // groupBox_VirtEnv
     //
     this.groupBox_VirtEnv.Controls.Add(this.twoSelector_PrePostProcess);
     this.groupBox_VirtEnv.Controls.Add(this.label_PrePostProcess);
     this.groupBox_VirtEnv.Controls.Add(this.hSlider_EnvRealizeDrySignal);
     this.groupBox_VirtEnv.Controls.Add(this.comboBox_EnvRealizePreset);
     this.groupBox_VirtEnv.Controls.Add(this.onOffSwitch_EnvRealize);
     this.groupBox_VirtEnv.ForeColor = System.Drawing.Color.Snow;
     this.groupBox_VirtEnv.Location  = new System.Drawing.Point(324, 39);
     this.groupBox_VirtEnv.Name      = "groupBox_VirtEnv";
     this.groupBox_VirtEnv.Size      = new System.Drawing.Size(222, 115);
     this.groupBox_VirtEnv.TabIndex  = 5;
     this.groupBox_VirtEnv.TabStop   = false;
     this.groupBox_VirtEnv.Text      = "$VIRTUAL_ENVIRONMENT";
     //
     // twoSelector_PrePostProcess
     //
     this.twoSelector_PrePostProcess.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.twoSelector_PrePostProcess.CurrentObject = null;
     this.twoSelector_PrePostProcess.LeftObject    = null;
     this.twoSelector_PrePostProcess.Location      = new System.Drawing.Point(146, 80);
     this.twoSelector_PrePostProcess.Name          = "twoSelector_PrePostProcess";
     this.twoSelector_PrePostProcess.RightObject   = null;
     this.twoSelector_PrePostProcess.Selector      = ViPER4WindowsBin.UIControls.TwoSelector.SelectorPosition.SELECTOR_ON_LEFT;
     this.twoSelector_PrePostProcess.Size          = new System.Drawing.Size(70, 24);
     this.twoSelector_PrePostProcess.TabIndex      = 9;
     //
     // label_PrePostProcess
     //
     this.label_PrePostProcess.AutoSize = true;
     this.label_PrePostProcess.Location = new System.Drawing.Point(6, 86);
     this.label_PrePostProcess.Name     = "label_PrePostProcess";
     this.label_PrePostProcess.Size     = new System.Drawing.Size(116, 13);
     this.label_PrePostProcess.TabIndex = 3;
     this.label_PrePostProcess.Text     = "$PRE_POST_PROCESS";
     //
     // hSlider_EnvRealizeDrySignal
     //
     this.hSlider_EnvRealizeDrySignal.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.hSlider_EnvRealizeDrySignal.Location      = new System.Drawing.Point(68, 52);
     this.hSlider_EnvRealizeDrySignal.MoveDelta     = ((uint)(1u));
     this.hSlider_EnvRealizeDrySignal.Name          = "hSlider_EnvRealizeDrySignal";
     this.hSlider_EnvRealizeDrySignal.Position      = ((uint)(0u));
     this.hSlider_EnvRealizeDrySignal.PositionFloat = 0F;
     this.hSlider_EnvRealizeDrySignal.Size          = new System.Drawing.Size(148, 22);
     this.hSlider_EnvRealizeDrySignal.TabIndex      = 2;
     //
     // comboBox_EnvRealizePreset
     //
     this.comboBox_EnvRealizePreset.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.comboBox_EnvRealizePreset.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox_EnvRealizePreset.FormattingEnabled = true;
     this.comboBox_EnvRealizePreset.Location          = new System.Drawing.Point(6, 22);
     this.comboBox_EnvRealizePreset.Name     = "comboBox_EnvRealizePreset";
     this.comboBox_EnvRealizePreset.Size     = new System.Drawing.Size(210, 21);
     this.comboBox_EnvRealizePreset.TabIndex = 1;
     //
     // onOffSwitch_EnvRealize
     //
     this.onOffSwitch_EnvRealize.BackColor  = System.Drawing.Color.Transparent;
     this.onOffSwitch_EnvRealize.Location   = new System.Drawing.Point(6, 50);
     this.onOffSwitch_EnvRealize.Name       = "onOffSwitch_EnvRealize";
     this.onOffSwitch_EnvRealize.Size       = new System.Drawing.Size(53, 24);
     this.onOffSwitch_EnvRealize.SwitchedOn = false;
     this.onOffSwitch_EnvRealize.TabIndex   = 0;
     //
     // contextMenuStrip_SpeakerAngle
     //
     this.contextMenuStrip_SpeakerAngle.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripMenuItem_SpeakerAngle,
         this.toolStripSeparator_Angle,
         this.toolStripComboBox_SpeakerAngle
     });
     this.contextMenuStrip_SpeakerAngle.Name    = "contextMenuStrip_SpeakerAngle";
     this.contextMenuStrip_SpeakerAngle.Size    = new System.Drawing.Size(182, 59);
     this.contextMenuStrip_SpeakerAngle.Closed += new System.Windows.Forms.ToolStripDropDownClosedEventHandler(this.contextMenuStrip_SpeakerAngle_Closed);
     //
     // toolStripMenuItem_SpeakerAngle
     //
     this.toolStripMenuItem_SpeakerAngle.Enabled = false;
     this.toolStripMenuItem_SpeakerAngle.Name    = "toolStripMenuItem_SpeakerAngle";
     this.toolStripMenuItem_SpeakerAngle.Size    = new System.Drawing.Size(181, 22);
     this.toolStripMenuItem_SpeakerAngle.Text    = "$SPEAKER_ANGLE";
     this.toolStripMenuItem_SpeakerAngle.Click  += new System.EventHandler(this.toolStripMenuItem_SpeakerAngle_Click);
     //
     // toolStripSeparator_Angle
     //
     this.toolStripSeparator_Angle.Name = "toolStripSeparator_Angle";
     this.toolStripSeparator_Angle.Size = new System.Drawing.Size(178, 6);
     //
     // toolStripComboBox_SpeakerAngle
     //
     this.toolStripComboBox_SpeakerAngle.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.toolStripComboBox_SpeakerAngle.Name                  = "toolStripComboBox_SpeakerAngle";
     this.toolStripComboBox_SpeakerAngle.Size                  = new System.Drawing.Size(121, 23);
     this.toolStripComboBox_SpeakerAngle.SelectedIndexChanged += new System.EventHandler(this.toolStripComboBox_SpeakerAngle_SelectedIndexChanged);
     //
     // singleButton_ResetConfig
     //
     this.singleButton_ResetConfig.BackColor          = System.Drawing.SystemColors.Control;
     this.singleButton_ResetConfig.ButtonText         = "$VIRT_RESET";
     this.singleButton_ResetConfig.Location           = new System.Drawing.Point(151, 39);
     this.singleButton_ResetConfig.Name               = "singleButton_ResetConfig";
     this.singleButton_ResetConfig.Size               = new System.Drawing.Size(167, 28);
     this.singleButton_ResetConfig.TabIndex           = 4;
     this.singleButton_ResetConfig.ButtonClickNotify += new ViPER4WindowsBin.UIControls.SingleButton.ButtonClickEventDelegate(this.singleButton_ResetConfig_ButtonClickNotify);
     //
     // buttonBox_AudioSystemConfig
     //
     this.buttonBox_AudioSystemConfig.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.buttonBox_AudioSystemConfig.Location            = new System.Drawing.Point(14, 39);
     this.buttonBox_AudioSystemConfig.Name                = "buttonBox_AudioSystemConfig";
     this.buttonBox_AudioSystemConfig.Size                = new System.Drawing.Size(131, 373);
     this.buttonBox_AudioSystemConfig.TabIndex            = 1;
     this.buttonBox_AudioSystemConfig.ItemSelectedNotify += new ViPER4WindowsBin.UIControls.ButtonBox.ItemSelectDelegate(this.buttonBox_AudioSystemConfig_ItemSelectedNotify);
     this.buttonBox_AudioSystemConfig.Load               += new System.EventHandler(this.buttonBox_AudioSystemConfig_Load);
     //
     // singleButton_OK
     //
     this.singleButton_OK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.singleButton_OK.Location     = new System.Drawing.Point(343, 378);
     this.singleButton_OK.Name         = "singleButton_OK";
     this.singleButton_OK.Size         = new System.Drawing.Size(89, 32);
     this.singleButton_OK.TabIndex     = 29;
     this.singleButton_OK.Text         = "$OK";
     this.singleButton_OK.ThemeName    = "VisualStudio2012Dark";
     //
     // singleButton_Cancel
     //
     this.singleButton_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.singleButton_Cancel.Location     = new System.Drawing.Point(455, 378);
     this.singleButton_Cancel.Name         = "singleButton_Cancel";
     this.singleButton_Cancel.Size         = new System.Drawing.Size(93, 32);
     this.singleButton_Cancel.TabIndex     = 30;
     this.singleButton_Cancel.Text         = "$CANCEL";
     this.singleButton_Cancel.ThemeName    = "VisualStudio2012Dark";
     //
     // frmVirtualization
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(562, 427);
     this.Controls.Add(this.singleButton_OK);
     this.Controls.Add(this.singleButton_Cancel);
     this.Controls.Add(this.groupBox_VirtEnv);
     this.Controls.Add(this.singleButton_ResetConfig);
     this.Controls.Add(this.listView_Speaker);
     this.Controls.Add(this.groupBox_VirtApplied);
     this.Controls.Add(this.buttonBox_AudioSystemConfig);
     this.Controls.Add(this.label_AudioSystemConfig);
     this.ForeColor       = System.Drawing.Color.Snow;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "frmVirtualization";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "$VIRTUALIZATION";
     this.ThemeName     = "VisualStudio2012Dark";
     this.groupBox_VirtApplied.ResumeLayout(false);
     this.groupBox_VirtApplied.PerformLayout();
     this.groupBox_VirtEnv.ResumeLayout(false);
     this.groupBox_VirtEnv.PerformLayout();
     this.contextMenuStrip_SpeakerAngle.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.singleButton_OK)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.singleButton_Cancel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }