Exemple #1
0
        private void btnUpdate_Click(object sender, EventArgs e)
        {
            this.Hide();

            frmPurchaseRecord frmpurchaseview = new frmPurchaseRecord();

            // or simply use column name instead of index
            // dr.Cells["id"].Value.ToString();
            frmpurchaseview.Show();
            frmpurchaseview.lblSet.Text = "PurchaseView";
        }
Exemple #2
0
        private void purchaseViewToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmPurchaseRecord ss = new frmPurchaseRecord();

            ss.Show();
        }