Ejemplo n.º 1
0
        public void ShowCameraConfigurations(string category)
        {
            ComboBox comboBox = new ComboBox(mCursor);

            comboBox.AddItemsFromEnum(typeof(CameraConfiguration));

            comboBox.ScaleX = 8;

            if (!string.IsNullOrEmpty(category))
            {
                this.AddWindow(comboBox, category);
            }
            else
            {
                this.AddWindow(comboBox);
            }
            comboBox.ItemClick += SelectCameraConfiguration;

            SetLabelForWindow(comboBox, "Configuration:");

            this.MoveWindowToTop(comboBox);
        }