Example #1
0
        private void SetRadioButtonImageState(RadioButtonTS ctrl, ImageState state)
        {
            if (ctrl.ImageList == null)
            {
                return;
            }
            int index = ctrl.ImageList.Images.IndexOfKey(state.ToString());

            if (index < 0)
            {
                return;
            }
            ctrl.BackgroundImage = ctrl.ImageList.Images[index];
        }
Example #2
0
        private void SetupRadioButtonImages(RadioButtonTS ctrl)
        {
            if (ctrl.ImageList == null)
            {
                ctrl.ImageList = new ImageList();
            }
            else
            {
                ctrl.ImageList.Images.Clear();
            }
            ctrl.ImageList.ImageSize  = ctrl.Size; // may be an issue with smaller images
            ctrl.ImageList.ColorDepth = ColorDepth.Depth32Bit;

            // load images into image list property
            string s = path + "\\" + ctrl.TopLevelControl.Name + "\\" + "rad" + "-";

            for (int i = 0; i < 8; i++)
            {
                if (File.Exists(s + i.ToString() + pic_file_ext))
                {
                    ctrl.ImageList.Images.Add(((ImageState)i).ToString(), Image.FromFile(s + i.ToString() + pic_file_ext));
                }
                else
                {
                    if (ctrl.ImageList.Images.ContainsKey(((ImageState)i).ToString()))
                    {
                        ctrl.ImageList.Images.RemoveByKey(((ImageState)i).ToString());
                    }
                }
            }
            EventHandler handler = new EventHandler(RadioButton_StateChanged);

            ctrl.CheckedChanged -= handler; // remove handlers first to ensure they don't get added multiple times
            ctrl.CheckedChanged += handler;
            ctrl.EnabledChanged -= handler;
            ctrl.EnabledChanged += handler;
            ctrl.MouseEnter     -= new EventHandler(RadioButton_MouseEnter);
            ctrl.MouseEnter     += new EventHandler(RadioButton_MouseEnter);
            ctrl.MouseLeave     -= handler;
            ctrl.MouseLeave     += handler;
            ctrl.GotFocus       += handler;
            ctrl.GotFocus       -= handler;
            ctrl.LostFocus      += handler;
            ctrl.LostFocus      -= handler;

            ctrl.BackgroundImage = null;
            ctrl.ForeColor       = console.SkinsButtonTxtColor;
            RadioButton_StateChanged(ctrl, EventArgs.Empty);
        }
Example #3
0
        private void RadioButton_StateChanged(object sender, EventArgs e)
        {
            RadioButtonTS ctrl  = (RadioButtonTS)sender;
            ImageState    state = ImageState.NormalUp;

            if (!ctrl.Enabled &&
                ctrl.ImageList.Images.IndexOfKey(ImageState.DisabledDown.ToString()) >= 0 &&
                ctrl.ImageList.Images.IndexOfKey(ImageState.DisabledUp.ToString()) >= 0)
            {
                if (ctrl.Checked)
                {
                    state = ImageState.DisabledDown;
                }
                else
                {
                    state = ImageState.DisabledUp;
                }
            }
            else if (ctrl.Focused &&
                     ctrl.ImageList.Images.IndexOfKey(ImageState.FocusedDown.ToString()) >= 0 &&
                     ctrl.ImageList.Images.IndexOfKey(ImageState.FocusedUp.ToString()) >= 0)
            {
                if (ctrl.Checked)
                {
                    state = ImageState.FocusedDown;
                }
                else
                {
                    state = ImageState.FocusedUp;
                }
            }
            else
            {
                if (ctrl.Checked)
                {
                    state = ImageState.NormalDown;
                }
                else
                {
                    state = ImageState.NormalUp;
                }
            }

            SetRadioButtonImageState(ctrl, state);
        }
Example #4
0
        private void RadioButton_MouseEnter(object sender, EventArgs e)
        {
            RadioButtonTS ctrl = (RadioButtonTS)sender;

            if (!ctrl.Enabled)
            {
                return;
            }

            ImageState state = ImageState.MouseOverUp;

            if (ctrl.Checked)
            {
                state = ImageState.MouseOverDown;
            }

            SetRadioButtonImageState(ctrl, state);
        }
Example #5
0
        private void radFilter_CheckedChanged(object sender, System.EventArgs e)
        {
            RadioButtonTS r = (RadioButtonTS)sender;

            if (((RadioButtonTS)sender).Checked)
            {
                string filter = r.Name.Substring(r.Name.IndexOf("Filter") + 6);
                if (!filter.StartsWith("V"))
                {
                    filter = "F" + filter;
                }
                else
                {
                    filter = filter.ToUpper();
                }
                CurrentFilter = (Filter)Enum.Parse(typeof(Filter), filter);
                r.BackColor   = console.ButtonSelectedColor;
            }
            else
            {
                r.BackColor = SystemColors.Control;
            }
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FilterButtonsPopup));
     this.btnClose    = new System.Windows.Forms.ButtonTS();
     this.groupBoxTS1 = new System.Windows.Forms.GroupBoxTS();
     this.radBtn12    = new System.Windows.Forms.RadioButtonTS();
     this.radBtn11    = new System.Windows.Forms.RadioButtonTS();
     this.radBtn10    = new System.Windows.Forms.RadioButtonTS();
     this.radBtn9     = new System.Windows.Forms.RadioButtonTS();
     this.radBtn8     = new System.Windows.Forms.RadioButtonTS();
     this.radBtn7     = new System.Windows.Forms.RadioButtonTS();
     this.radBtn6     = new System.Windows.Forms.RadioButtonTS();
     this.radBtn5     = new System.Windows.Forms.RadioButtonTS();
     this.radBtn4     = new System.Windows.Forms.RadioButtonTS();
     this.radBtn3     = new System.Windows.Forms.RadioButtonTS();
     this.radBtn2     = new System.Windows.Forms.RadioButtonTS();
     this.radBtn1     = new System.Windows.Forms.RadioButtonTS();
     this.groupBoxTS1.SuspendLayout();
     this.SuspendLayout();
     //
     // btnClose
     //
     this.btnClose.Image    = null;
     this.btnClose.Location = new System.Drawing.Point(346, 205);
     this.btnClose.Name     = "btnClose";
     this.btnClose.Size     = new System.Drawing.Size(100, 40);
     this.btnClose.TabIndex = 0;
     this.btnClose.Text     = "Close";
     this.btnClose.UseVisualStyleBackColor = true;
     this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
     //
     // groupBoxTS1
     //
     this.groupBoxTS1.Controls.Add(this.radBtn12);
     this.groupBoxTS1.Controls.Add(this.radBtn11);
     this.groupBoxTS1.Controls.Add(this.radBtn10);
     this.groupBoxTS1.Controls.Add(this.radBtn9);
     this.groupBoxTS1.Controls.Add(this.radBtn8);
     this.groupBoxTS1.Controls.Add(this.radBtn7);
     this.groupBoxTS1.Controls.Add(this.radBtn6);
     this.groupBoxTS1.Controls.Add(this.radBtn5);
     this.groupBoxTS1.Controls.Add(this.radBtn4);
     this.groupBoxTS1.Controls.Add(this.radBtn3);
     this.groupBoxTS1.Controls.Add(this.radBtn2);
     this.groupBoxTS1.Controls.Add(this.radBtn1);
     this.groupBoxTS1.Location = new System.Drawing.Point(12, 12);
     this.groupBoxTS1.Name     = "groupBoxTS1";
     this.groupBoxTS1.Size     = new System.Drawing.Size(328, 246);
     this.groupBoxTS1.TabIndex = 2;
     this.groupBoxTS1.TabStop  = false;
     //
     // radBtn12
     //
     this.radBtn12.Appearance = System.Windows.Forms.Appearance.Button;
     this.radBtn12.FlatAppearance.CheckedBackColor = System.Drawing.Color.SkyBlue;
     this.radBtn12.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radBtn12.Image     = null;
     this.radBtn12.Location  = new System.Drawing.Point(218, 193);
     this.radBtn12.Name      = "radBtn12";
     this.radBtn12.Size      = new System.Drawing.Size(100, 40);
     this.radBtn12.TabIndex  = 11;
     this.radBtn12.TabStop   = true;
     this.radBtn12.Text      = "F12";
     this.radBtn12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.radBtn12.UseVisualStyleBackColor = true;
     this.radBtn12.Click += new System.EventHandler(this.radBtn12_Click);
     //
     // radBtn11
     //
     this.radBtn11.Appearance = System.Windows.Forms.Appearance.Button;
     this.radBtn11.FlatAppearance.CheckedBackColor = System.Drawing.Color.SkyBlue;
     this.radBtn11.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radBtn11.Image     = null;
     this.radBtn11.Location  = new System.Drawing.Point(112, 193);
     this.radBtn11.Name      = "radBtn11";
     this.radBtn11.Size      = new System.Drawing.Size(100, 40);
     this.radBtn11.TabIndex  = 10;
     this.radBtn11.TabStop   = true;
     this.radBtn11.Text      = "F11";
     this.radBtn11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.radBtn11.UseVisualStyleBackColor = true;
     this.radBtn11.Click += new System.EventHandler(this.radBtn11_Click);
     //
     // radBtn10
     //
     this.radBtn10.Appearance = System.Windows.Forms.Appearance.Button;
     this.radBtn10.FlatAppearance.CheckedBackColor = System.Drawing.Color.SkyBlue;
     this.radBtn10.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radBtn10.Image     = null;
     this.radBtn10.Location  = new System.Drawing.Point(6, 193);
     this.radBtn10.Name      = "radBtn10";
     this.radBtn10.Size      = new System.Drawing.Size(100, 40);
     this.radBtn10.TabIndex  = 9;
     this.radBtn10.TabStop   = true;
     this.radBtn10.Text      = "F10";
     this.radBtn10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.radBtn10.UseVisualStyleBackColor = true;
     this.radBtn10.Click += new System.EventHandler(this.radBtn10_Click);
     //
     // radBtn9
     //
     this.radBtn9.Appearance = System.Windows.Forms.Appearance.Button;
     this.radBtn9.FlatAppearance.CheckedBackColor = System.Drawing.Color.SkyBlue;
     this.radBtn9.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radBtn9.Image     = null;
     this.radBtn9.Location  = new System.Drawing.Point(218, 135);
     this.radBtn9.Name      = "radBtn9";
     this.radBtn9.Size      = new System.Drawing.Size(100, 40);
     this.radBtn9.TabIndex  = 8;
     this.radBtn9.TabStop   = true;
     this.radBtn9.Text      = "F9";
     this.radBtn9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.radBtn9.UseVisualStyleBackColor = true;
     this.radBtn9.Click += new System.EventHandler(this.radBtn9_Click);
     //
     // radBtn8
     //
     this.radBtn8.Appearance = System.Windows.Forms.Appearance.Button;
     this.radBtn8.FlatAppearance.CheckedBackColor = System.Drawing.Color.SkyBlue;
     this.radBtn8.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radBtn8.Image     = null;
     this.radBtn8.Location  = new System.Drawing.Point(112, 135);
     this.radBtn8.Name      = "radBtn8";
     this.radBtn8.Size      = new System.Drawing.Size(100, 40);
     this.radBtn8.TabIndex  = 7;
     this.radBtn8.TabStop   = true;
     this.radBtn8.Text      = "F8";
     this.radBtn8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.radBtn8.UseVisualStyleBackColor = true;
     this.radBtn8.Click += new System.EventHandler(this.radBtn8_Click);
     //
     // radBtn7
     //
     this.radBtn7.Appearance = System.Windows.Forms.Appearance.Button;
     this.radBtn7.FlatAppearance.CheckedBackColor = System.Drawing.Color.SkyBlue;
     this.radBtn7.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radBtn7.Image     = null;
     this.radBtn7.Location  = new System.Drawing.Point(6, 135);
     this.radBtn7.Name      = "radBtn7";
     this.radBtn7.Size      = new System.Drawing.Size(100, 40);
     this.radBtn7.TabIndex  = 6;
     this.radBtn7.TabStop   = true;
     this.radBtn7.Text      = "F7";
     this.radBtn7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.radBtn7.UseVisualStyleBackColor = true;
     this.radBtn7.Click += new System.EventHandler(this.radBtn7_Click);
     //
     // radBtn6
     //
     this.radBtn6.Appearance = System.Windows.Forms.Appearance.Button;
     this.radBtn6.FlatAppearance.CheckedBackColor = System.Drawing.Color.SkyBlue;
     this.radBtn6.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radBtn6.Image     = null;
     this.radBtn6.Location  = new System.Drawing.Point(218, 77);
     this.radBtn6.Name      = "radBtn6";
     this.radBtn6.Size      = new System.Drawing.Size(100, 40);
     this.radBtn6.TabIndex  = 5;
     this.radBtn6.TabStop   = true;
     this.radBtn6.Text      = "F6";
     this.radBtn6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.radBtn6.UseVisualStyleBackColor = true;
     this.radBtn6.Click += new System.EventHandler(this.radBtn6_Click);
     //
     // radBtn5
     //
     this.radBtn5.Appearance = System.Windows.Forms.Appearance.Button;
     this.radBtn5.FlatAppearance.CheckedBackColor = System.Drawing.Color.SkyBlue;
     this.radBtn5.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radBtn5.Image     = null;
     this.radBtn5.Location  = new System.Drawing.Point(112, 77);
     this.radBtn5.Name      = "radBtn5";
     this.radBtn5.Size      = new System.Drawing.Size(100, 40);
     this.radBtn5.TabIndex  = 4;
     this.radBtn5.TabStop   = true;
     this.radBtn5.Text      = "F5";
     this.radBtn5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.radBtn5.UseVisualStyleBackColor = true;
     this.radBtn5.Click += new System.EventHandler(this.radBtn5_Click);
     //
     // radBtn4
     //
     this.radBtn4.Appearance = System.Windows.Forms.Appearance.Button;
     this.radBtn4.FlatAppearance.CheckedBackColor = System.Drawing.Color.SkyBlue;
     this.radBtn4.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radBtn4.Image     = null;
     this.radBtn4.Location  = new System.Drawing.Point(6, 77);
     this.radBtn4.Name      = "radBtn4";
     this.radBtn4.Size      = new System.Drawing.Size(100, 40);
     this.radBtn4.TabIndex  = 3;
     this.radBtn4.TabStop   = true;
     this.radBtn4.Text      = "F4";
     this.radBtn4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.radBtn4.UseVisualStyleBackColor = true;
     this.radBtn4.Click += new System.EventHandler(this.radBtn4_Click);
     //
     // radBtn3
     //
     this.radBtn3.Appearance = System.Windows.Forms.Appearance.Button;
     this.radBtn3.FlatAppearance.CheckedBackColor = System.Drawing.Color.SkyBlue;
     this.radBtn3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radBtn3.Image     = null;
     this.radBtn3.Location  = new System.Drawing.Point(218, 19);
     this.radBtn3.Name      = "radBtn3";
     this.radBtn3.Size      = new System.Drawing.Size(100, 40);
     this.radBtn3.TabIndex  = 2;
     this.radBtn3.TabStop   = true;
     this.radBtn3.Text      = "F3";
     this.radBtn3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.radBtn3.UseVisualStyleBackColor = true;
     this.radBtn3.Click += new System.EventHandler(this.radBtn3_Click);
     //
     // radBtn2
     //
     this.radBtn2.Appearance = System.Windows.Forms.Appearance.Button;
     this.radBtn2.FlatAppearance.CheckedBackColor = System.Drawing.Color.SkyBlue;
     this.radBtn2.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radBtn2.Image     = null;
     this.radBtn2.Location  = new System.Drawing.Point(112, 19);
     this.radBtn2.Name      = "radBtn2";
     this.radBtn2.Size      = new System.Drawing.Size(100, 40);
     this.radBtn2.TabIndex  = 1;
     this.radBtn2.TabStop   = true;
     this.radBtn2.Text      = "F2";
     this.radBtn2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.radBtn2.UseVisualStyleBackColor = true;
     this.radBtn2.Click += new System.EventHandler(this.radBtn2_Click);
     //
     // radBtn1
     //
     this.radBtn1.Appearance = System.Windows.Forms.Appearance.Button;
     this.radBtn1.BackColor  = System.Drawing.SystemColors.Control;
     this.radBtn1.FlatAppearance.CheckedBackColor = System.Drawing.Color.SkyBlue;
     this.radBtn1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radBtn1.ForeColor = System.Drawing.SystemColors.ControlText;
     this.radBtn1.Image     = null;
     this.radBtn1.Location  = new System.Drawing.Point(6, 19);
     this.radBtn1.Name      = "radBtn1";
     this.radBtn1.Size      = new System.Drawing.Size(100, 40);
     this.radBtn1.TabIndex  = 0;
     this.radBtn1.TabStop   = true;
     this.radBtn1.Text      = "F1";
     this.radBtn1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.radBtn1.UseVisualStyleBackColor = true;
     this.radBtn1.Click += new System.EventHandler(this.radBtn1_Click);
     //
     // FilterButtonsPopup
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
     this.ClientSize          = new System.Drawing.Size(463, 270);
     this.Controls.Add(this.groupBoxTS1);
     this.Controls.Add(this.btnClose);
     this.Icon         = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name         = "FilterButtonsPopup";
     this.Text         = "Select IF Filter";
     this.TopMost      = true;
     this.Activated   += new System.EventHandler(this.FilterButtonsPopup_Activated);
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FilterButtonsPopup_FormClosing);
     this.groupBoxTS1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
        public static void RestoreForm(Form form, string tablename, bool restore_size)
        {
            ArrayList temp = new ArrayList();                           // list of all first level controls

            //int VUskip = 0;
            ControlList(form, ref temp);

            ArrayList checkbox_list      = new ArrayList();
            ArrayList combobox_list      = new ArrayList();
            ArrayList numericupdown_list = new ArrayList();
            ArrayList radiobutton_list   = new ArrayList();
            ArrayList textbox_list       = new ArrayList();
            ArrayList trackbar_list      = new ArrayList();
            ArrayList colorbutton_list   = new ArrayList();

            //ArrayList controls = new ArrayList();	// list of controls to restore
            foreach (Control c in temp)
            {
                if (c.GetType() == typeof(CheckBoxTS))                  // the control is a CheckBoxTS
                {
                    checkbox_list.Add(c);
                }
                else if (c.GetType() == typeof(ComboBoxTS))             // the control is a ComboBox
                {
                    combobox_list.Add(c);
                }
                else if (c.GetType() == typeof(NumericUpDownTS))// the control is a NumericUpDown
                {
                    numericupdown_list.Add(c);
                }
                else if (c.GetType() == typeof(RadioButtonTS))  // the control is a RadioButton
                {
                    radiobutton_list.Add(c);
                }
                else if (c.GetType() == typeof(TextBoxTS))              // the control is a TextBox
                {
                    textbox_list.Add(c);
                }
                else if (c.GetType() == typeof(TrackBarTS))             // the control is a TrackBar (slider)
                {
                    trackbar_list.Add(c);
                }
                else if (c.GetType() == typeof(ColorButton))
                {
                    colorbutton_list.Add(c);
                }
            }



            temp.Clear();                        // now that we have the controls we want, delete first list

            ArrayList a = DB.GetVars(tablename); // Get the saved list of controls

            a.Sort();

            // restore saved values to the controls
            foreach (string s in a)                                     // string is in the format "name,value"
            {
                string[] vals = s.Split('/');
                if (vals.Length > 2)
                {
                    for (int i = 2; i < vals.Length; i++)
                    {
                        vals[1] += "/" + vals[i];
                    }
                }

                string name = vals[0];
                string val  = vals[1];

                switch (name)
                {
                case "Top":
                    form.StartPosition = FormStartPosition.Manual;
                    int top = int.Parse(val);

                    /*if(top < 0) top = 0;
                     * if(top > Screen.PrimaryScreen.Bounds.Height-form.Height && Screen.AllScreens.Length == 1)
                     *      top = Screen.PrimaryScreen.Bounds.Height-form.Height;*/
                    form.Top = top;
                    break;

                case "Left":
                    form.StartPosition = FormStartPosition.Manual;
                    int left = int.Parse(val);

                    /*if(left < 0) left = 0;
                     * if(left > Screen.PrimaryScreen.Bounds.Width-form.Width && Screen.AllScreens.Length == 1)
                     *      left = Screen.PrimaryScreen.Bounds.Width-form.Width;*/
                    form.Left = left;
                    break;

                case "Width":
                    if (restore_size)
                    {
                        int width = int.Parse(val);

                        /*if(width + form.Left > Screen.PrimaryScreen.Bounds.Width && Screen.AllScreens.Length == 1)
                         *      form.Left -= (width+form.Left-Screen.PrimaryScreen.Bounds.Width);*/
                        form.Width = width;
                    }
                    break;

                case "Height":
                    if (restore_size)
                    {
                        int height = int.Parse(val);

                        /*if(height + form.Top > Screen.PrimaryScreen.Bounds.Height && Screen.AllScreens.Length == 1)
                         *      form.Top -= (height+form.Top-Screen.PrimaryScreen.Bounds.Height);*/
                        form.Height = height;
                    }
                    break;
                }

                if (s.StartsWith("chk"))                                // control is a CheckBoxTS
                {
                    for (int i = 0; i < checkbox_list.Count; i++)
                    {                                    // look through each control to find the matching name
                        CheckBoxTS c = (CheckBoxTS)checkbox_list[i];
                        if (c.Name.Equals(name))         // name found
                        {
                            c.Checked = bool.Parse(val); // restore value
                            i         = checkbox_list.Count + 1;
                        }
                        if (i == checkbox_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("combo"))                 // control is a ComboBox
                {
                    for (int i = 0; i < combobox_list.Count; i++)
                    {                            // look through each control to find the matching name
                        ComboBoxTS c = (ComboBoxTS)combobox_list[i];
                        if (c.Name.Equals(name)) // name found
                        {
                            c.Text = val;        // restore value
                            i      = combobox_list.Count + 1;
                            if (c.Text != val)
                            {
                                Debug.WriteLine("Warning: " + form.Name + "." + name + " did not set to " + val);
                            }
                        }
                        if (i == combobox_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("ud"))
                {
                    for (int i = 0; i < numericupdown_list.Count; i++)
                    {                            // look through each control to find the matching name
                        NumericUpDownTS c = (NumericUpDownTS)numericupdown_list[i];
                        if (c.Name.Equals(name)) // name found
                        {
                            decimal num = decimal.Parse(val);

                            if (num > c.Maximum)
                            {
                                num = c.Maximum;                                                        // check endpoints
                            }
                            else if (num < c.Minimum)
                            {
                                num = c.Minimum;
                            }
                            c.Value = num;                                              // restore value
                            i       = numericupdown_list.Count + 1;
                        }
                        if (i == numericupdown_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("rad"))
                {                       // look through each control to find the matching name
                    for (int i = 0; i < radiobutton_list.Count; i++)
                    {
                        RadioButtonTS c = (RadioButtonTS)radiobutton_list[i];
                        if (c.Name.Equals(name))                                // name found
                        {
                            if (!val.ToLower().Equals("true") && !val.ToLower().Equals("false"))
                            {
                                val = "True";
                            }
                            c.Checked = bool.Parse(val);                                // restore value
                            i         = radiobutton_list.Count + 1;
                        }
                        if (i == radiobutton_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("txt"))
                {                       // look through each control to find the matching name
                    for (int i = 0; i < textbox_list.Count; i++)
                    {
                        TextBoxTS c = (TextBoxTS)textbox_list[i];
                        if (c.Name.Equals(name))                        // name found
                        {
                            c.Text = val;                               // restore value
                            i      = textbox_list.Count + 1;
                        }
                        if (i == textbox_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("tb"))
                {
                    // look through each control to find the matching name
                    for (int i = 0; i < trackbar_list.Count; i++)
                    {
                        TrackBarTS c = (TrackBarTS)trackbar_list[i];
                        if (c.Name.Equals(name))                                // name found
                        {
                            int num = int.Parse(val);
                            if (num > c.Maximum)
                            {
                                num = c.Maximum;
                            }
                            if (num < c.Minimum)
                            {
                                num = c.Minimum;
                            }
                            c.Value = num;
                            i       = trackbar_list.Count + 1;
                        }
                        if (i == trackbar_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("clrbtn"))
                {
                    string[] colors = val.Split('.');
                    if (colors.Length == 4)
                    {
                        int R, G, B, A;
                        R = Int32.Parse(colors[0]);
                        G = Int32.Parse(colors[1]);
                        B = Int32.Parse(colors[2]);
                        A = Int32.Parse(colors[3]);

                        for (int i = 0; i < colorbutton_list.Count; i++)
                        {
                            ColorButton c = (ColorButton)colorbutton_list[i];
                            if (c.Name.Equals(name))                                    // name found
                            {
                                c.Color = Color.FromArgb(A, R, G, B);
                                i       = colorbutton_list.Count + 1;
                            }
                            if (i == colorbutton_list.Count)
                            {
                                MessageBox.Show("Control not found: " + name);
                            }
                        }
                    }
                }
            }

            ForceFormOnScreen(form);
        }
Example #8
0
        public void RestoreSettings()
        {
            ArrayList temp = new ArrayList();                           // list of all first level controls

            ControlList(this, ref temp);

            ArrayList checkbox_list      = new ArrayList();
            ArrayList combobox_list      = new ArrayList();
            ArrayList numericupdown_list = new ArrayList();
            ArrayList radiobutton_list   = new ArrayList();
            ArrayList textbox_list       = new ArrayList();
            ArrayList trackbar_list      = new ArrayList();
            ArrayList colorbutton_list   = new ArrayList();

            //ArrayList controls = new ArrayList();	// list of controls to restore
            foreach (Control c in temp)
            {
                if (c.GetType() == typeof(CheckBoxTS))                                  // the control is a CheckBoxTS
                {
                    checkbox_list.Add(c);
                }
                else if (c.GetType() == typeof(ComboBoxTS))                             // the control is a ComboBox
                {
                    combobox_list.Add(c);
                }
                else if (c.GetType() == typeof(NumericUpDownTS))                // the control is a NumericUpDown
                {
                    numericupdown_list.Add(c);
                }
                else if (c.GetType() == typeof(RadioButtonTS))                  // the control is a RadioButton
                {
                    radiobutton_list.Add(c);
                }
                else if (c.GetType() == typeof(TextBoxTS))                              // the control is a TextBox
                {
                    textbox_list.Add(c);
                }
                else if (c.GetType() == typeof(TrackBarTS))                             // the control is a TrackBar (slider)
                {
                    trackbar_list.Add(c);
                }
                else if (c.GetType() == typeof(ColorButton))
                {
                    colorbutton_list.Add(c);
                }
            }
            temp.Clear();                       // now that we have the controls we want, delete first list

            ArrayList a = DB.GetVars("EQForm"); // Get the saved list of controls

            a.Sort();

            // restore saved values to the controls
            foreach (string s in a)                                     // string is in the format "name,value"
            {
                string[] vals = s.Split('/');
                if (vals.Length > 2)
                {
                    for (int i = 2; i < vals.Length; i++)
                    {
                        vals[1] += "/" + vals[i];
                    }
                }

                string name = vals[0];
                string val  = vals[1];

                if (s.StartsWith("chk"))                                // control is a CheckBoxTS
                {
                    for (int i = 0; i < checkbox_list.Count; i++)
                    {                                    // look through each control to find the matching name
                        CheckBoxTS c = (CheckBoxTS)checkbox_list[i];
                        if (c.Name.Equals(name))         // name found
                        {
                            c.Checked = bool.Parse(val); // restore value
                            i         = checkbox_list.Count + 1;
                        }
                        if (i == checkbox_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("combo"))                 // control is a ComboBox
                {
                    for (int i = 0; i < combobox_list.Count; i++)
                    {                            // look through each control to find the matching name
                        ComboBoxTS c = (ComboBoxTS)combobox_list[i];
                        if (c.Name.Equals(name)) // name found
                        {
                            c.Text = val;        // restore value
                            i      = combobox_list.Count + 1;
                        }
                        if (i == combobox_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("ud"))
                {
                    for (int i = 0; i < numericupdown_list.Count; i++)
                    {                            // look through each control to find the matching name
                        NumericUpDownTS c = (NumericUpDownTS)numericupdown_list[i];
                        if (c.Name.Equals(name)) // name found
                        {
                            decimal num = decimal.Parse(val);

                            if (num > c.Maximum)
                            {
                                num = c.Maximum;                                                        // check endpoints
                            }
                            else if (num < c.Minimum)
                            {
                                num = c.Minimum;
                            }
                            c.Value = num;                                              // restore value
                            i       = numericupdown_list.Count + 1;
                        }
                        if (i == numericupdown_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("rad"))
                {                       // look through each control to find the matching name
                    for (int i = 0; i < radiobutton_list.Count; i++)
                    {
                        RadioButtonTS c = (RadioButtonTS)radiobutton_list[i];
                        if (c.Name.Equals(name))                                // name found
                        {
                            if (!val.ToLower().Equals("true") && !val.ToLower().Equals("false"))
                            {
                                val = "True";
                            }
                            c.Checked = bool.Parse(val);                                // restore value
                            i         = radiobutton_list.Count + 1;
                        }
                        if (i == radiobutton_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("txt"))
                {                       // look through each control to find the matching name
                    for (int i = 0; i < textbox_list.Count; i++)
                    {
                        TextBoxTS c = (TextBoxTS)textbox_list[i];
                        if (c.Name.Equals(name))                        // name found
                        {
                            c.Text = val;                               // restore value
                            i      = textbox_list.Count + 1;
                        }
                        if (i == textbox_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("tb"))
                {
                    // look through each control to find the matching name
                    for (int i = 0; i < trackbar_list.Count; i++)
                    {
                        TrackBarTS c = (TrackBarTS)trackbar_list[i];
                        if (c.Name.Equals(name))                                // name found
                        {
                            c.Value = Int32.Parse(val);
                            i       = trackbar_list.Count + 1;
                        }
                        if (i == trackbar_list.Count)
                        {
                            MessageBox.Show("Control not found: " + name);
                        }
                    }
                }
                else if (s.StartsWith("clrbtn"))
                {
                    string[] colors = val.Split('.');
                    if (colors.Length == 4)
                    {
                        int R, G, B, A;
                        R = Int32.Parse(colors[0]);
                        G = Int32.Parse(colors[1]);
                        B = Int32.Parse(colors[2]);
                        A = Int32.Parse(colors[3]);

                        for (int i = 0; i < colorbutton_list.Count; i++)
                        {
                            ColorButton c = (ColorButton)colorbutton_list[i];
                            if (c.Name.Equals(name))                                    // name found
                            {
                                c.Color = Color.FromArgb(A, R, G, B);
                                i       = colorbutton_list.Count + 1;
                            }
                            if (i == colorbutton_list.Count)
                            {
                                MessageBox.Show("Control not found: " + name);
                            }
                        }
                    }
                }
            }
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WaveOptions));
     this.toolTip1            = new System.Windows.Forms.ToolTip(this.components);
     this.comboSampleRate     = new System.Windows.Forms.ComboBoxTS();
     this.radTXPostProcessed  = new System.Windows.Forms.RadioButtonTS();
     this.radTXPreProcessed   = new System.Windows.Forms.RadioButtonTS();
     this.radRXPostProcessed  = new System.Windows.Forms.RadioButtonTS();
     this.radRXPreProcessed   = new System.Windows.Forms.RadioButtonTS();
     this.txtWaveOptionsForm  = new System.Windows.Forms.TextBox();
     this.grpAudioSampleRate1 = new System.Windows.Forms.GroupBoxTS();
     this.groupBox1           = new System.Windows.Forms.GroupBoxTS();
     this.grpReceive          = new System.Windows.Forms.GroupBoxTS();
     this.grpAudioSampleRate1.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.grpReceive.SuspendLayout();
     this.SuspendLayout();
     //
     // comboSampleRate
     //
     this.comboSampleRate.Cursor        = System.Windows.Forms.Cursors.Default;
     this.comboSampleRate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboSampleRate.DropDownWidth = 64;
     this.comboSampleRate.Enabled       = false;
     this.comboSampleRate.Items.AddRange(new object[] {
         "6000",
         "12000",
         "24000",
         "48000",
         "96000",
         "192000"
     });
     this.comboSampleRate.Location = new System.Drawing.Point(16, 24);
     this.comboSampleRate.Name     = "comboSampleRate";
     this.comboSampleRate.Size     = new System.Drawing.Size(64, 21);
     this.comboSampleRate.TabIndex = 4;
     this.toolTip1.SetToolTip(this.comboSampleRate, "Sample Rate -- Set the sampling rate for a post processed wave file ");
     //
     // radTXPostProcessed
     //
     this.radTXPostProcessed.Checked  = true;
     this.radTXPostProcessed.Image    = null;
     this.radTXPostProcessed.Location = new System.Drawing.Point(16, 48);
     this.radTXPostProcessed.Name     = "radTXPostProcessed";
     this.radTXPostProcessed.Size     = new System.Drawing.Size(144, 24);
     this.radTXPostProcessed.TabIndex = 1;
     this.radTXPostProcessed.TabStop  = true;
     this.radTXPostProcessed.Text     = "Post-Processed Audio";
     this.toolTip1.SetToolTip(this.radTXPostProcessed, "Filtered, modulated, EQ\'d, and AGC\'d Signal");
     this.radTXPostProcessed.CheckedChanged += new System.EventHandler(this.radTXPostProcessed_CheckedChanged);
     //
     // radTXPreProcessed
     //
     this.radTXPreProcessed.Image    = null;
     this.radTXPreProcessed.Location = new System.Drawing.Point(16, 24);
     this.radTXPreProcessed.Name     = "radTXPreProcessed";
     this.radTXPreProcessed.Size     = new System.Drawing.Size(144, 24);
     this.radTXPreProcessed.TabIndex = 0;
     this.radTXPreProcessed.Text     = "Pre-Processed Audio";
     this.toolTip1.SetToolTip(this.radTXPreProcessed, "Raw Input (Microphone, Digital, etc)");
     this.radTXPreProcessed.CheckedChanged += new System.EventHandler(this.radTXPreProcessed_CheckedChanged);
     //
     // radRXPostProcessed
     //
     this.radRXPostProcessed.Image    = null;
     this.radRXPostProcessed.Location = new System.Drawing.Point(16, 48);
     this.radRXPostProcessed.Name     = "radRXPostProcessed";
     this.radRXPostProcessed.Size     = new System.Drawing.Size(144, 24);
     this.radRXPostProcessed.TabIndex = 1;
     this.radRXPostProcessed.Text     = "Post-Processed Audio";
     this.toolTip1.SetToolTip(this.radRXPostProcessed, "The demodulated filtered audio you listen to.");
     this.radRXPostProcessed.CheckedChanged += new System.EventHandler(this.radRXPostProcessed_CheckedChanged);
     //
     // radRXPreProcessed
     //
     this.radRXPreProcessed.Checked  = true;
     this.radRXPreProcessed.Image    = null;
     this.radRXPreProcessed.Location = new System.Drawing.Point(16, 24);
     this.radRXPreProcessed.Name     = "radRXPreProcessed";
     this.radRXPreProcessed.Size     = new System.Drawing.Size(144, 24);
     this.radRXPreProcessed.TabIndex = 0;
     this.radRXPreProcessed.TabStop  = true;
     this.radRXPreProcessed.Text     = "Pre-Processed Audio";
     this.toolTip1.SetToolTip(this.radRXPreProcessed, "The raw audio coming out of the radio (11kHz IF)");
     this.radRXPreProcessed.CheckedChanged += new System.EventHandler(this.radRXPreProcessed_CheckedChanged);
     //
     // txtWaveOptionsForm
     //
     this.txtWaveOptionsForm.Location  = new System.Drawing.Point(182, 12);
     this.txtWaveOptionsForm.Multiline = true;
     this.txtWaveOptionsForm.Name      = "txtWaveOptionsForm";
     this.txtWaveOptionsForm.ReadOnly  = true;
     this.txtWaveOptionsForm.Size      = new System.Drawing.Size(175, 226);
     this.txtWaveOptionsForm.TabIndex  = 37;
     this.txtWaveOptionsForm.Text      = resources.GetString("txtWaveOptionsForm.Text");
     //
     // grpAudioSampleRate1
     //
     this.grpAudioSampleRate1.Controls.Add(this.comboSampleRate);
     this.grpAudioSampleRate1.Location = new System.Drawing.Point(8, 182);
     this.grpAudioSampleRate1.Name     = "grpAudioSampleRate1";
     this.grpAudioSampleRate1.Size     = new System.Drawing.Size(168, 56);
     this.grpAudioSampleRate1.TabIndex = 36;
     this.grpAudioSampleRate1.TabStop  = false;
     this.grpAudioSampleRate1.Text     = "Wave File Sample Rate";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.radTXPostProcessed);
     this.groupBox1.Controls.Add(this.radTXPreProcessed);
     this.groupBox1.Location = new System.Drawing.Point(8, 96);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(168, 80);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Transmit";
     //
     // grpReceive
     //
     this.grpReceive.Controls.Add(this.radRXPostProcessed);
     this.grpReceive.Controls.Add(this.radRXPreProcessed);
     this.grpReceive.Location = new System.Drawing.Point(8, 8);
     this.grpReceive.Name     = "grpReceive";
     this.grpReceive.Size     = new System.Drawing.Size(168, 80);
     this.grpReceive.TabIndex = 0;
     this.grpReceive.TabStop  = false;
     this.grpReceive.Text     = "Receive";
     //
     // WaveOptions
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(367, 246);
     this.Controls.Add(this.txtWaveOptionsForm);
     this.Controls.Add(this.grpAudioSampleRate1);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.grpReceive);
     this.Icon     = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name     = "WaveOptions";
     this.Text     = "Wave Record Options";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.WaveOptions_Closing);
     this.grpAudioSampleRate1.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.grpReceive.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SetupWizard));
     this.btnPrevious     = new System.Windows.Forms.ButtonTS();
     this.btnNext         = new System.Windows.Forms.ButtonTS();
     this.btnFinished     = new System.Windows.Forms.ButtonTS();
     this.pictureBox1     = new System.Windows.Forms.PictureBox();
     this.lblMessage1     = new System.Windows.Forms.LabelTS();
     this.radYes          = new System.Windows.Forms.RadioButtonTS();
     this.radNo           = new System.Windows.Forms.RadioButtonTS();
     this.lblMessage2     = new System.Windows.Forms.LabelTS();
     this.comboBox1       = new System.Windows.Forms.ComboBoxTS();
     this.lblCombo        = new System.Windows.Forms.LabelTS();
     this.comboBox2       = new System.Windows.Forms.ComboBoxTS();
     this.button1         = new System.Windows.Forms.ButtonTS();
     this.comboBox3       = new System.Windows.Forms.ComboBoxTS();
     this.grpModel        = new System.Windows.Forms.GroupBox();
     this.radModelG11     = new System.Windows.Forms.RadioButtonTS();
     this.radModelQRP2000 = new System.Windows.Forms.RadioButtonTS();
     this.radModelG500    = new System.Windows.Forms.RadioButtonTS();
     this.radModelG137    = new System.Windows.Forms.RadioButtonTS();
     this.radModelNetBox  = new System.Windows.Forms.RadioButtonTS();
     this.radModelG160    = new System.Windows.Forms.RadioButtonTS();
     this.radModelG80     = new System.Windows.Forms.RadioButtonTS();
     this.radModelG40     = new System.Windows.Forms.RadioButtonTS();
     this.radModelG3020   = new System.Windows.Forms.RadioButtonTS();
     this.radModelG59     = new System.Windows.Forms.RadioButtonTS();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.grpModel.SuspendLayout();
     this.SuspendLayout();
     //
     // btnPrevious
     //
     this.btnPrevious.Image    = null;
     this.btnPrevious.Location = new System.Drawing.Point(145, 360);
     this.btnPrevious.Name     = "btnPrevious";
     this.btnPrevious.Size     = new System.Drawing.Size(75, 23);
     this.btnPrevious.TabIndex = 0;
     this.btnPrevious.Text     = "Previous";
     this.btnPrevious.Click   += new System.EventHandler(this.btnPrevious_Click);
     //
     // btnNext
     //
     this.btnNext.Image    = null;
     this.btnNext.Location = new System.Drawing.Point(261, 360);
     this.btnNext.Name     = "btnNext";
     this.btnNext.Size     = new System.Drawing.Size(75, 23);
     this.btnNext.TabIndex = 1;
     this.btnNext.Text     = "Next";
     this.btnNext.Click   += new System.EventHandler(this.btnNext_Click);
     //
     // btnFinished
     //
     this.btnFinished.Enabled  = false;
     this.btnFinished.Image    = null;
     this.btnFinished.Location = new System.Drawing.Point(377, 360);
     this.btnFinished.Name     = "btnFinished";
     this.btnFinished.Size     = new System.Drawing.Size(75, 23);
     this.btnFinished.TabIndex = 2;
     this.btnFinished.Text     = "Finish";
     this.btnFinished.Click   += new System.EventHandler(this.btnFinished_Click);
     //
     // pictureBox1
     //
     this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.pictureBox1.Image        = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.InitialImage = ((System.Drawing.Image)(resources.GetObject("pictureBox1.InitialImage")));
     this.pictureBox1.Location     = new System.Drawing.Point(42, 62);
     this.pictureBox1.Name         = "pictureBox1";
     this.pictureBox1.Size         = new System.Drawing.Size(245, 167);
     this.pictureBox1.SizeMode     = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex     = 3;
     this.pictureBox1.TabStop      = false;
     this.pictureBox1.Visible      = false;
     //
     // lblMessage1
     //
     this.lblMessage1.Font     = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblMessage1.Image    = null;
     this.lblMessage1.Location = new System.Drawing.Point(16, 8);
     this.lblMessage1.Name     = "lblMessage1";
     this.lblMessage1.Size     = new System.Drawing.Size(456, 136);
     this.lblMessage1.TabIndex = 4;
     this.lblMessage1.Text     = "lblMessage1";
     //
     // radYes
     //
     this.radYes.Image           = null;
     this.radYes.Location        = new System.Drawing.Point(375, 118);
     this.radYes.Name            = "radYes";
     this.radYes.Size            = new System.Drawing.Size(48, 16);
     this.radYes.TabIndex        = 5;
     this.radYes.Text            = "Yes";
     this.radYes.Visible         = false;
     this.radYes.CheckedChanged += new System.EventHandler(this.radYes_CheckedChanged);
     //
     // radNo
     //
     this.radNo.Image           = null;
     this.radNo.Location        = new System.Drawing.Point(431, 118);
     this.radNo.Name            = "radNo";
     this.radNo.Size            = new System.Drawing.Size(48, 16);
     this.radNo.TabIndex        = 6;
     this.radNo.Text            = "No";
     this.radNo.Visible         = false;
     this.radNo.CheckedChanged += new System.EventHandler(this.radNo_CheckedChanged);
     //
     // lblMessage2
     //
     this.lblMessage2.Image    = null;
     this.lblMessage2.Location = new System.Drawing.Point(24, 299);
     this.lblMessage2.Name     = "lblMessage2";
     this.lblMessage2.Size     = new System.Drawing.Size(464, 48);
     this.lblMessage2.TabIndex = 7;
     this.lblMessage2.Text     = "lblMessage2";
     //
     // comboBox1
     //
     this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.DropDownWidth = 136;
     this.comboBox1.Items.AddRange(new object[] {
         "DEMI144-28FRS",
         "DEMI144-28 (25w)"
     });
     this.comboBox1.Location = new System.Drawing.Point(429, 123);
     this.comboBox1.Name     = "comboBox1";
     this.comboBox1.Size     = new System.Drawing.Size(136, 21);
     this.comboBox1.TabIndex = 8;
     this.comboBox1.Visible  = false;
     //
     // lblCombo
     //
     this.lblCombo.Image    = null;
     this.lblCombo.Location = new System.Drawing.Point(363, 27);
     this.lblCombo.Name     = "lblCombo";
     this.lblCombo.Size     = new System.Drawing.Size(192, 72);
     this.lblCombo.TabIndex = 9;
     this.lblCombo.Text     = "lblCombo";
     //
     // comboBox2
     //
     this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox2.DropDownWidth = 56;
     this.comboBox2.Items.AddRange(new object[] {
         "10",
         "20"
     });
     this.comboBox2.Location = new System.Drawing.Point(457, 123);
     this.comboBox2.Name     = "comboBox2";
     this.comboBox2.Size     = new System.Drawing.Size(56, 21);
     this.comboBox2.TabIndex = 10;
     //
     // button1
     //
     this.button1.Image    = null;
     this.button1.Location = new System.Drawing.Point(429, 150);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(88, 23);
     this.button1.TabIndex = 11;
     this.button1.Text     = "Select File ...";
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // comboBox3
     //
     this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox3.DropDownWidth = 184;
     this.comboBox3.Items.AddRange(new object[] {
         "M-Audio Delta 44 (PCI)",
         "PreSonus FireBox (FireWire)",
         "Edirol FA-66 (FireWire)",
         "SB Audigy (PCI)",
         "SB Audigy 2 (PCI)",
         "SB Audigy 2 ZS (PCI)",
         "Sound Blaster Extigy (USB)",
         "Sound Blaster MP3+ (USB)",
         "Turtle Beach Santa Cruz (PCI)",
         "Realtek HD audio",
         "Unsupported Card"
     });
     this.comboBox3.Location              = new System.Drawing.Point(356, 62);
     this.comboBox3.MaxDropDownItems      = 10;
     this.comboBox3.Name                  = "comboBox3";
     this.comboBox3.Size                  = new System.Drawing.Size(184, 21);
     this.comboBox3.TabIndex              = 12;
     this.comboBox3.SelectedIndexChanged += new System.EventHandler(this.comboBox3_SelectedIndexChanged);
     //
     // grpModel
     //
     this.grpModel.Controls.Add(this.radModelG11);
     this.grpModel.Controls.Add(this.radModelQRP2000);
     this.grpModel.Controls.Add(this.radModelG500);
     this.grpModel.Controls.Add(this.radModelG137);
     this.grpModel.Controls.Add(this.radModelNetBox);
     this.grpModel.Controls.Add(this.radModelG160);
     this.grpModel.Controls.Add(this.radModelG80);
     this.grpModel.Controls.Add(this.radModelG40);
     this.grpModel.Controls.Add(this.radModelG3020);
     this.grpModel.Controls.Add(this.radModelG59);
     this.grpModel.Location = new System.Drawing.Point(350, 42);
     this.grpModel.Name     = "grpModel";
     this.grpModel.Size     = new System.Drawing.Size(167, 254);
     this.grpModel.TabIndex = 20;
     this.grpModel.TabStop  = false;
     this.grpModel.Text     = "Radio model";
     this.grpModel.Visible  = false;
     //
     // radModelG11
     //
     this.radModelG11.Image           = null;
     this.radModelG11.Location        = new System.Drawing.Point(39, 231);
     this.radModelG11.Name            = "radModelG11";
     this.radModelG11.Size            = new System.Drawing.Size(88, 17);
     this.radModelG11.TabIndex        = 12;
     this.radModelG11.Text            = "G11";
     this.radModelG11.CheckedChanged += new System.EventHandler(this.radModelG11_CheckedChanged);
     //
     // radModelQRP2000
     //
     this.radModelQRP2000.AutoSize = true;
     this.radModelQRP2000.Image    = null;
     this.radModelQRP2000.Location = new System.Drawing.Point(39, 210);
     this.radModelQRP2000.Name     = "radModelQRP2000";
     this.radModelQRP2000.Size     = new System.Drawing.Size(72, 17);
     this.radModelQRP2000.TabIndex = 11;
     this.radModelQRP2000.Text     = "QRP2000";
     this.radModelQRP2000.UseVisualStyleBackColor = true;
     this.radModelQRP2000.CheckedChanged         += new System.EventHandler(this.radModelQRP2000_CheckedChanged);
     //
     // radModelG500
     //
     this.radModelG500.AutoSize = true;
     this.radModelG500.Image    = null;
     this.radModelG500.Location = new System.Drawing.Point(39, 162);
     this.radModelG500.Name     = "radModelG500";
     this.radModelG500.Size     = new System.Drawing.Size(51, 17);
     this.radModelG500.TabIndex = 10;
     this.radModelG500.Text     = "G500";
     this.radModelG500.UseVisualStyleBackColor = true;
     this.radModelG500.CheckedChanged         += new System.EventHandler(this.radModelG500_CheckedChanged);
     //
     // radModelG137
     //
     this.radModelG137.AutoSize = true;
     this.radModelG137.Image    = null;
     this.radModelG137.Location = new System.Drawing.Point(39, 138);
     this.radModelG137.Name     = "radModelG137";
     this.radModelG137.Size     = new System.Drawing.Size(51, 17);
     this.radModelG137.TabIndex = 9;
     this.radModelG137.Text     = "G137";
     this.radModelG137.UseVisualStyleBackColor = true;
     this.radModelG137.CheckedChanged         += new System.EventHandler(this.radModelG137_CheckedChanged);
     //
     // radModelNetBox
     //
     this.radModelNetBox.AutoSize = true;
     this.radModelNetBox.Image    = null;
     this.radModelNetBox.Location = new System.Drawing.Point(39, 186);
     this.radModelNetBox.Name     = "radModelNetBox";
     this.radModelNetBox.Size     = new System.Drawing.Size(68, 17);
     this.radModelNetBox.TabIndex = 8;
     this.radModelNetBox.Text     = "NET Box";
     this.radModelNetBox.UseVisualStyleBackColor = true;
     this.radModelNetBox.CheckedChanged         += new System.EventHandler(this.radModelNetBox_CheckedChanged);
     //
     // radModelG160
     //
     this.radModelG160.AutoSize = true;
     this.radModelG160.Image    = null;
     this.radModelG160.Location = new System.Drawing.Point(39, 114);
     this.radModelG160.Name     = "radModelG160";
     this.radModelG160.Size     = new System.Drawing.Size(51, 17);
     this.radModelG160.TabIndex = 7;
     this.radModelG160.Text     = "G160";
     this.radModelG160.UseVisualStyleBackColor = true;
     this.radModelG160.CheckedChanged         += new System.EventHandler(this.radModelG160_CheckedChanged);
     //
     // radModelG80
     //
     this.radModelG80.AutoSize = true;
     this.radModelG80.Image    = null;
     this.radModelG80.Location = new System.Drawing.Point(39, 90);
     this.radModelG80.Name     = "radModelG80";
     this.radModelG80.Size     = new System.Drawing.Size(45, 17);
     this.radModelG80.TabIndex = 6;
     this.radModelG80.Text     = "G80";
     this.radModelG80.UseVisualStyleBackColor = true;
     this.radModelG80.CheckedChanged         += new System.EventHandler(this.radModelG80_CheckedChanged);
     //
     // radModelG40
     //
     this.radModelG40.Image           = null;
     this.radModelG40.Location        = new System.Drawing.Point(39, 66);
     this.radModelG40.Name            = "radModelG40";
     this.radModelG40.Size            = new System.Drawing.Size(88, 17);
     this.radModelG40.TabIndex        = 5;
     this.radModelG40.Text            = "G40";
     this.radModelG40.CheckedChanged += new System.EventHandler(this.radModelG40_CheckedChanged);
     //
     // radModelG3020
     //
     this.radModelG3020.Image           = null;
     this.radModelG3020.Location        = new System.Drawing.Point(39, 42);
     this.radModelG3020.Name            = "radModelG3020";
     this.radModelG3020.Size            = new System.Drawing.Size(88, 17);
     this.radModelG3020.TabIndex        = 4;
     this.radModelG3020.Text            = "G3020";
     this.radModelG3020.CheckedChanged += new System.EventHandler(this.radModelG3020_CheckedChanged);
     //
     // radModelG59
     //
     this.radModelG59.Image           = null;
     this.radModelG59.Location        = new System.Drawing.Point(39, 18);
     this.radModelG59.Name            = "radModelG59";
     this.radModelG59.Size            = new System.Drawing.Size(88, 17);
     this.radModelG59.TabIndex        = 3;
     this.radModelG59.Text            = "G59";
     this.radModelG59.CheckedChanged += new System.EventHandler(this.radModelG59_CheckedChanged);
     //
     // SetupWizard
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(607, 413);
     this.Controls.Add(this.grpModel);
     this.Controls.Add(this.comboBox3);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.comboBox2);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.radYes);
     this.Controls.Add(this.radNo);
     this.Controls.Add(this.lblMessage2);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.btnFinished);
     this.Controls.Add(this.btnNext);
     this.Controls.Add(this.btnPrevious);
     this.Controls.Add(this.lblCombo);
     this.Controls.Add(this.lblMessage1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "SetupWizard";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Genesis Setup Wizard - Welcome";
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.grpModel.ResumeLayout(false);
     this.grpModel.PerformLayout();
     this.ResumeLayout(false);
 }
Example #11
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WaveOptions));
     this.toolTip1            = new System.Windows.Forms.ToolTip(this.components);
     this.grpWaveDither       = new System.Windows.Forms.GroupBoxTS();
     this.udWaveDitherBits    = new System.Windows.Forms.NumericUpDownTS();
     this.chkWaveDither       = new System.Windows.Forms.CheckBoxTS();
     this.grpBitDepth         = new System.Windows.Forms.GroupBoxTS();
     this.radBitDepth8PCM     = new System.Windows.Forms.RadioButtonTS();
     this.radBitDepth16PCM    = new System.Windows.Forms.RadioButtonTS();
     this.radBitDepth24PCM    = new System.Windows.Forms.RadioButtonTS();
     this.radBitDepth32PCM    = new System.Windows.Forms.RadioButtonTS();
     this.radBitDepthIEEE     = new System.Windows.Forms.RadioButtonTS();
     this.grpAudioSampleRate1 = new System.Windows.Forms.GroupBoxTS();
     this.comboSampleRate     = new System.Windows.Forms.ComboBoxTS();
     this.groupBox1           = new System.Windows.Forms.GroupBoxTS();
     this.radTXPostProcessed  = new System.Windows.Forms.RadioButtonTS();
     this.radTXPreProcessed   = new System.Windows.Forms.RadioButtonTS();
     this.grpReceive          = new System.Windows.Forms.GroupBoxTS();
     this.radRXPostProcessed  = new System.Windows.Forms.RadioButtonTS();
     this.radRXPreProcessed   = new System.Windows.Forms.RadioButtonTS();
     this.grpWaveDither.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.udWaveDitherBits)).BeginInit();
     this.grpBitDepth.SuspendLayout();
     this.grpAudioSampleRate1.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.grpReceive.SuspendLayout();
     this.SuspendLayout();
     //
     // grpWaveDither
     //
     this.grpWaveDither.Controls.Add(this.udWaveDitherBits);
     this.grpWaveDither.Controls.Add(this.chkWaveDither);
     this.grpWaveDither.Location = new System.Drawing.Point(295, 120);
     this.grpWaveDither.Name     = "grpWaveDither";
     this.grpWaveDither.Size     = new System.Drawing.Size(96, 69);
     this.grpWaveDither.TabIndex = 38;
     this.grpWaveDither.TabStop  = false;
     this.grpWaveDither.Text     = "Dither";
     //
     // udWaveDitherBits
     //
     this.udWaveDitherBits.DecimalPlaces = 1;
     this.udWaveDitherBits.Increment     = new decimal(new int[] {
         1,
         0,
         0,
         65536
     });
     this.udWaveDitherBits.Location = new System.Drawing.Point(6, 41);
     this.udWaveDitherBits.Maximum  = new decimal(new int[] {
         10,
         0,
         0,
         65536
     });
     this.udWaveDitherBits.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         65536
     });
     this.udWaveDitherBits.Name     = "udWaveDitherBits";
     this.udWaveDitherBits.Size     = new System.Drawing.Size(40, 20);
     this.udWaveDitherBits.TabIndex = 1;
     this.udWaveDitherBits.Value    = new decimal(new int[] {
         8,
         0,
         0,
         65536
     });
     //
     // chkWaveDither
     //
     this.chkWaveDither.AutoSize = true;
     this.chkWaveDither.Image    = null;
     this.chkWaveDither.Location = new System.Drawing.Point(6, 19);
     this.chkWaveDither.Name     = "chkWaveDither";
     this.chkWaveDither.Size     = new System.Drawing.Size(59, 17);
     this.chkWaveDither.TabIndex = 0;
     this.chkWaveDither.Text     = "Enable";
     this.toolTip1.SetToolTip(this.chkWaveDither, "Enables Dithering for Recording");
     this.chkWaveDither.UseVisualStyleBackColor = true;
     this.chkWaveDither.CheckedChanged         += new System.EventHandler(this.chkWaveDither_CheckedChanged);
     //
     // grpBitDepth
     //
     this.grpBitDepth.Controls.Add(this.radBitDepth8PCM);
     this.grpBitDepth.Controls.Add(this.radBitDepth16PCM);
     this.grpBitDepth.Controls.Add(this.radBitDepth24PCM);
     this.grpBitDepth.Controls.Add(this.radBitDepth32PCM);
     this.grpBitDepth.Controls.Add(this.radBitDepthIEEE);
     this.grpBitDepth.Location = new System.Drawing.Point(207, 8);
     this.grpBitDepth.Name     = "grpBitDepth";
     this.grpBitDepth.Size     = new System.Drawing.Size(168, 106);
     this.grpBitDepth.TabIndex = 37;
     this.grpBitDepth.TabStop  = false;
     this.grpBitDepth.Text     = "Bit Depth";
     //
     // radBitDepth8PCM
     //
     this.radBitDepth8PCM.Image           = null;
     this.radBitDepth8PCM.Location        = new System.Drawing.Point(15, 83);
     this.radBitDepth8PCM.Name            = "radBitDepth8PCM";
     this.radBitDepth8PCM.Size            = new System.Drawing.Size(144, 18);
     this.radBitDepth8PCM.TabIndex        = 4;
     this.radBitDepth8PCM.Text            = "8-Bit UnSigned PCM";
     this.radBitDepth8PCM.CheckedChanged += new System.EventHandler(this.radBitDepth8PCM_CheckedChanged);
     //
     // radBitDepth16PCM
     //
     this.radBitDepth16PCM.Image           = null;
     this.radBitDepth16PCM.Location        = new System.Drawing.Point(15, 66);
     this.radBitDepth16PCM.Name            = "radBitDepth16PCM";
     this.radBitDepth16PCM.Size            = new System.Drawing.Size(144, 18);
     this.radBitDepth16PCM.TabIndex        = 3;
     this.radBitDepth16PCM.Text            = "16-Bit Signed PCM";
     this.radBitDepth16PCM.CheckedChanged += new System.EventHandler(this.radBitDepth16PCM_CheckedChanged);
     //
     // radBitDepth24PCM
     //
     this.radBitDepth24PCM.Image           = null;
     this.radBitDepth24PCM.Location        = new System.Drawing.Point(15, 49);
     this.radBitDepth24PCM.Name            = "radBitDepth24PCM";
     this.radBitDepth24PCM.Size            = new System.Drawing.Size(144, 18);
     this.radBitDepth24PCM.TabIndex        = 2;
     this.radBitDepth24PCM.Text            = "24-Bit Signed PCM";
     this.radBitDepth24PCM.CheckedChanged += new System.EventHandler(this.radBitDepth24PCM_CheckedChanged);
     //
     // radBitDepth32PCM
     //
     this.radBitDepth32PCM.Image           = null;
     this.radBitDepth32PCM.Location        = new System.Drawing.Point(15, 32);
     this.radBitDepth32PCM.Name            = "radBitDepth32PCM";
     this.radBitDepth32PCM.Size            = new System.Drawing.Size(144, 18);
     this.radBitDepth32PCM.TabIndex        = 1;
     this.radBitDepth32PCM.Text            = "32-Bit Signed PCM";
     this.radBitDepth32PCM.CheckedChanged += new System.EventHandler(this.radBitDepth32PCM_CheckedChanged);
     //
     // radBitDepthIEEE
     //
     this.radBitDepthIEEE.Checked         = true;
     this.radBitDepthIEEE.Image           = null;
     this.radBitDepthIEEE.Location        = new System.Drawing.Point(15, 15);
     this.radBitDepthIEEE.Name            = "radBitDepthIEEE";
     this.radBitDepthIEEE.Size            = new System.Drawing.Size(144, 16);
     this.radBitDepthIEEE.TabIndex        = 0;
     this.radBitDepthIEEE.TabStop         = true;
     this.radBitDepthIEEE.Text            = "32-Bit IEEE Floats *";
     this.radBitDepthIEEE.CheckedChanged += new System.EventHandler(this.radBitDepthIEEE_CheckedChanged);
     //
     // grpAudioSampleRate1
     //
     this.grpAudioSampleRate1.Controls.Add(this.comboSampleRate);
     this.grpAudioSampleRate1.Location = new System.Drawing.Point(182, 120);
     this.grpAudioSampleRate1.Name     = "grpAudioSampleRate1";
     this.grpAudioSampleRate1.Size     = new System.Drawing.Size(96, 56);
     this.grpAudioSampleRate1.TabIndex = 36;
     this.grpAudioSampleRate1.TabStop  = false;
     this.grpAudioSampleRate1.Text     = "Sample Rate";
     //
     // comboSampleRate
     //
     this.comboSampleRate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboSampleRate.DropDownWidth = 64;
     this.comboSampleRate.Items.AddRange(new object[] {
         "6000",
         "12000",
         "24000",
         "48000",
         "96000",
         "192000"
     });
     this.comboSampleRate.Location = new System.Drawing.Point(16, 24);
     this.comboSampleRate.Name     = "comboSampleRate";
     this.comboSampleRate.Size     = new System.Drawing.Size(64, 21);
     this.comboSampleRate.TabIndex = 4;
     this.toolTip1.SetToolTip(this.comboSampleRate, "Sample Rate -- Range is dependent on selected sound card! ");
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.radTXPostProcessed);
     this.groupBox1.Controls.Add(this.radTXPreProcessed);
     this.groupBox1.Location = new System.Drawing.Point(8, 109);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(168, 80);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Transmit";
     //
     // radTXPostProcessed
     //
     this.radTXPostProcessed.Checked  = true;
     this.radTXPostProcessed.Image    = null;
     this.radTXPostProcessed.Location = new System.Drawing.Point(16, 48);
     this.radTXPostProcessed.Name     = "radTXPostProcessed";
     this.radTXPostProcessed.Size     = new System.Drawing.Size(144, 24);
     this.radTXPostProcessed.TabIndex = 1;
     this.radTXPostProcessed.TabStop  = true;
     this.radTXPostProcessed.Text     = "Post-Processed Audio";
     this.toolTip1.SetToolTip(this.radTXPostProcessed, "Filtered, modulated, EQ\'d, and AGC\'d Signal");
     this.radTXPostProcessed.CheckedChanged += new System.EventHandler(this.radTXPostProcessed_CheckedChanged);
     //
     // radTXPreProcessed
     //
     this.radTXPreProcessed.Image    = null;
     this.radTXPreProcessed.Location = new System.Drawing.Point(16, 24);
     this.radTXPreProcessed.Name     = "radTXPreProcessed";
     this.radTXPreProcessed.Size     = new System.Drawing.Size(144, 24);
     this.radTXPreProcessed.TabIndex = 0;
     this.radTXPreProcessed.Text     = "Pre-Processed Audio";
     this.toolTip1.SetToolTip(this.radTXPreProcessed, "Raw Input (Microphone, Digital, etc)");
     this.radTXPreProcessed.CheckedChanged += new System.EventHandler(this.radTXPreProcessed_CheckedChanged);
     //
     // grpReceive
     //
     this.grpReceive.Controls.Add(this.radRXPostProcessed);
     this.grpReceive.Controls.Add(this.radRXPreProcessed);
     this.grpReceive.Location = new System.Drawing.Point(8, 8);
     this.grpReceive.Name     = "grpReceive";
     this.grpReceive.Size     = new System.Drawing.Size(168, 80);
     this.grpReceive.TabIndex = 0;
     this.grpReceive.TabStop  = false;
     this.grpReceive.Text     = "Receive";
     //
     // radRXPostProcessed
     //
     this.radRXPostProcessed.Image    = null;
     this.radRXPostProcessed.Location = new System.Drawing.Point(16, 48);
     this.radRXPostProcessed.Name     = "radRXPostProcessed";
     this.radRXPostProcessed.Size     = new System.Drawing.Size(144, 24);
     this.radRXPostProcessed.TabIndex = 1;
     this.radRXPostProcessed.Text     = "Post-Processed Audio";
     this.toolTip1.SetToolTip(this.radRXPostProcessed, "The demodulated filtered audio you listen to.");
     this.radRXPostProcessed.CheckedChanged += new System.EventHandler(this.radRXPostProcessed_CheckedChanged);
     //
     // radRXPreProcessed
     //
     this.radRXPreProcessed.Checked  = true;
     this.radRXPreProcessed.Image    = null;
     this.radRXPreProcessed.Location = new System.Drawing.Point(16, 24);
     this.radRXPreProcessed.Name     = "radRXPreProcessed";
     this.radRXPreProcessed.Size     = new System.Drawing.Size(144, 24);
     this.radRXPreProcessed.TabIndex = 0;
     this.radRXPreProcessed.TabStop  = true;
     this.radRXPreProcessed.Text     = "Pre-Processed Audio";
     this.toolTip1.SetToolTip(this.radRXPreProcessed, "The raw audio coming out of the radio (11kHz IF)");
     this.radRXPreProcessed.CheckedChanged += new System.EventHandler(this.radRXPreProcessed_CheckedChanged);
     //
     // WaveOptions
     //
     this.ClientSize = new System.Drawing.Size(403, 201);
     this.Controls.Add(this.grpWaveDither);
     this.Controls.Add(this.grpBitDepth);
     this.Controls.Add(this.grpAudioSampleRate1);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.grpReceive);
     this.Icon     = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name     = "WaveOptions";
     this.Text     = "Wave Record Options";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.WaveOptions_Closing);
     this.grpWaveDither.ResumeLayout(false);
     this.grpWaveDither.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.udWaveDitherBits)).EndInit();
     this.grpBitDepth.ResumeLayout(false);
     this.grpAudioSampleRate1.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.grpReceive.ResumeLayout(false);
     this.ResumeLayout(false);
 }