Exemplo n.º 1
0
        private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            string id = dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString();

            supp = dataGridView1.Rows[e.RowIndex].Cells[1].Value.ToString();
            for (int i = 0; i < listnonota.Count(); i++)
            {
                if (listnonota[i] == id)
                {
                    index = i;
                }
            }
            this.Close();
            FormPembelian f = new FormPembelian();

            f.Show();
        }
Exemplo n.º 2
0
        private void pembelianToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormPembelian p = new FormPembelian();

            p.Show();
        }