Example #1
0
 private void InitComBox()
 {
     if (!this.DesignMode)
     {
         this.cbResult.SelectedIndex = 0;
         //ArrayList lists = FT.DAL.Orm.SimpleOrmOperator.QueryListAll(typeof(CarInfo));
         //if (lists.Count > 0)
         //{
         //    //this.cbGroup
         //    this.cbHmhp.DataSource = lists;
         //    this.cbHmhp.DisplayMember = "号码号牌";
         //    this.cbHmhp.ValueMember = "号码号牌";
         //    this.cbHmhp.SelectedIndex = 0;
         //}
         //FT.Windows.CommonsPlugin.DictManager.BindSubject(this.cbSubject);
         SubjectHelper.BindSubject(this.cbSubject);
     }
     //this.cbSex.SelectedIndex = 0;
 }
Example #2
0
 public BaoMinReport()
 {
     InitializeComponent();
     SubjectHelper.BindCombox(this.cbSubject);
     this.comboBox1.SelectedIndex = 0;
 }