public Delete(Depo djepo, DataGridView dgv)
 {
     InitializeComponent();
     deldepo  = djepo;
     deldgvID = dgv;
     txtcomboBox.DataSource = deldepo.GetMedicines();
 }
Exemplo n.º 2
0
        public Form1()
        {
            InitializeComponent();
            Depo depo = new Depo("Med_Depo");

            gldepo           = depo;
            dgvID            = dataGridViewID;
            dgvID.DataSource = gldepo.GetMedicines();
        }