Exemple #1
0
        private void initDataforbus()
        {
            BillBLL billBLL = new BillBLL();

            cbbiletaa.DataSource    = billBLL.GetALl();
            cbbiletaa.DisplayMember = "Cmimi";
            cbbiletaa.ValueMember   = "billid";
            cbbiletaa.SelectedIndex = -1;
        }
Exemple #2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            BillBLL billBLL = new BillBLL();
            BusBLL  bus     = new BusBLL();

            initDataforbus();
            dgvbus.DataSource    = bus.GetALl();
            dgvbileta.DataSource = billBLL.GetALl();
        }
Exemple #3
0
 public Billmanagment()
 {
     InitializeComponent();
     datagridviewbill.DataSource = billBLL.GetALl();
 }