Exemplo n.º 1
0
        private void frmModifyStock_Load(object sender, EventArgs e)
        {
            frmAddNewItem frm = new frmAddNewItem();
            //load categories
            DataSet details = clsStock.loadData();

            cbCat.DataSource    = details.Tables[0].DefaultView;
            cbCat.DisplayMember = "Name";
            cbCat.ValueMember   = "CatID";
        }
Exemplo n.º 2
0
        private void button3_Click_1(object sender, EventArgs e)
        {
            frmAddNewItem frm = new frmAddNewItem();

            frm.ShowDialog();
        }
Exemplo n.º 3
0
        private void btnNewStock_Click(object sender, EventArgs e)
        {
            frmAddNewItem frm = new frmAddNewItem();

            frm.ShowDialog();
        }
Exemplo n.º 4
0
        private void insertNewStockToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmAddNewItem frm = new frmAddNewItem();

            frm.ShowDialog();
        }