private void grd_order_CellClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.ColumnIndex == 2)
     {
         Ordermanagement_01.Abstractor.Abstractor_Order_View OrderEntry = new Ordermanagement_01.Abstractor.Abstractor_Order_View(int.Parse(grd_order.Rows[e.RowIndex].Cells[10].Value.ToString()), User_id, User_Role_ID.ToString());
         OrderEntry.Show();
     }
 }
Esempio n. 2
0
 private void grd_order_CellClick(object sender, DataGridViewCellEventArgs e)
 {
     if (Rb_Move_To_Tier1Abs.Checked == true)
     {
         if (e.ColumnIndex == 2)
         {
             Ordermanagement_01.Order_Entry OrderEntry = new Ordermanagement_01.Order_Entry(int.Parse(grd_order.Rows[e.RowIndex].Cells[14].Value.ToString()), User_id, Convert.ToString(User_Role_ID), "");
             OrderEntry.Show();
         }
     }
     else if (rbtn_Move_Tier2_Inhouse.Checked == true)
     {
         if (e.ColumnIndex == 2)
         {
             Ordermanagement_01.Abstractor.Abstractor_Order_View OrderEntry = new Ordermanagement_01.Abstractor.Abstractor_Order_View(int.Parse(grd_order.Rows[e.RowIndex].Cells[14].Value.ToString()), User_id, User_Role_ID.ToString());
             OrderEntry.Show();
         }
     }
 }