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

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

            f.Show();
        }
示例#2
0
        private void penjualanToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormPenjualan f = new FormPenjualan();

            f.Show();
        }