示例#1
0
 public thongketourform()
 {
     InitializeComponent();
     tktbus = new thongketourbus();
     comboBox1.DataSource    = new BindingSource(gtbus.listt(), null);
     comboBox1.DisplayMember = "Value";
     comboBox1.ValueMember   = "Key";
 }
示例#2
0
        public giatourform()
        {
            InitializeComponent();
            gtbus = new giatourbus();

            tentcbb.DataSource    = new BindingSource(gtbus.listt(), null);
            tentcbb.DisplayMember = "Value";
            tentcbb.ValueMember   = "Key";
        }