示例#1
0
文件: OPMLImporter.cs 项目: mo5h/omeo
 public override void ShowPane()
 {
     if (_manager == null)
     {
         _chkPreview.Hide();
     }
     _btnDel_enable();
 }
示例#2
0
 public override void ShowPane()
 {
     if (_manager.Wizard == null)
     {
         _chkPreview.Hide();
     }
     foreach (string importer in _importersNames)
     {
         _lstImportFrom.Items.Add(importer, false);
     }
 }
示例#3
0
        private void createNewCheckRadioButton(string name, ref Point checkBoxCurrentLocation, int checkBoxIncrement)
        {
            RadioButton rb = new RadioButton();
            rb.Name = name + "GoalRadioButton";
            rb.Height = 16;
            rb.Text = capitalizeString(name);
            rb.ForeColor = GV.inactiveButtonColor;
            rb.Font = GV.generalFont;
            rb.Location = checkBoxCurrentLocation;
            rb.CheckedChanged += new EventHandler(button_CheckedChanged);
            rb.AutoSize = true;
            this.Controls.Add(rb);

            CheckBox cb = new CheckBox();
            cb.Name = name + "GoalCheckBox";
            cb.Text = capitalizeString(name);
            cb.ForeColor = GV.inactiveButtonColor;
            cb.Font = GV.generalFont;
            cb.Location = new Point(checkBoxCurrentLocation.X, checkBoxCurrentLocation.Y + 1); ;
            cb.Height = 16;
            cb.CheckedChanged += new EventHandler(button_CheckedChanged);
            this.Controls.Add(cb);
            cb.AutoSize = true;
            cb.Hide();

            checkBoxCurrentLocation = new Point(checkBoxCurrentLocation.X, checkBoxCurrentLocation.Y + checkBoxIncrement);
        }