Exemple #1
0
        private void OpenWR_dataGridView_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            int index            = Convert.ToInt16(openWR_dataGridView.Rows[e.RowIndex].Cells[0].Value); // get the Row Index
            WorkRequestEntry wre = new WorkRequestEntry(Convert.ToInt16(openWR_dataGridView.Rows[e.RowIndex].Cells[0].Value));

            wre.FormClosed += new FormClosedEventHandler(WorkRequestEntryClosed);
            wre.Show();
        }
Exemple #2
0
        private void WorkRequestToolStripMenuItem_Click(object sender, EventArgs e)
        {
            WorkRequestEntry wre = new WorkRequestEntry(0);

            wre.FormClosed += new FormClosedEventHandler(WorkRequestEntryClosed);
            wre.Show();
            Hide();
        }