Exemplo n.º 1
0
 private void JournalButton_Click(object sender, EventArgs e)
 {
     if (CheckDGV.SelectedRows.Count != 0)
     {
         FormJournal fj = new FormJournal();
         fj.Owner      = this.Owner;
         fj.request_id = (int)CheckDGV.Rows[CheckDGV.SelectedRows[0].Index].Cells[0].Value;
         fj.ShowDialog();
     }
 }
Exemplo n.º 2
0
 private void JournalButton_Click(object sender, EventArgs e)
 {
     try
     {
         FormJournal fj = new FormJournal();
         fj.Owner      = this.Owner;
         fj.request_id = (int)WarehouseDGV.Rows[WarehouseDGV.SelectedRows[0].Index].Cells[0].Value;
         fj.ShowDialog();
     }
     catch { }
 }