private void rbtShowDetail_Click(object sender, EventArgs e)
 {
     Form frm = ((HostWindow)this.radDock1.DocumentManager.ActiveDocument).MdiChild;
     DataGridView grv= ((frmOrder)frm).grvOrder;
     if (grv.CurrentRow == null) return;
     {
         Guid id = Guid.Parse(grv.CurrentRow.Cells["grvOrder_ID"].Value.ToString());
         string table_name = grv.CurrentRow.Cells["grvOrder_TABLE_NAME"].Value.ToString();
         string chef_name = grv.CurrentRow.Cells["grvOrder_CHEF_NAME"].Value.ToString();
         string waiter_name = grv.CurrentRow.Cells["grvOrder_WAITER_NAME"].Value.ToString();
         string request_count = grv.CurrentRow.Cells["grvOrder_REQUEST_COUNT"].Value.ToString();
         string add_time = grv.CurrentRow.Cells["grvOrder_ADD_TIME"].Value.ToString();
         frmDishDetail frm1 = new frmDishDetail(id, table_name, chef_name, waiter_name, add_time, request_count);
         frm1.ShowDialog();
     }
 }
 private void button1_Click(object sender, EventArgs e)
 {
     if (grvOrder.CurrentRow==null) return;
     {
         Guid id=Guid.Parse(grvOrder.CurrentRow.Cells["grvOrder_ID"].Value.ToString());
         string table_name = grvOrder.CurrentRow.Cells["grvOrder_TABLE_NAME"].Value.ToString();
         string chef_name = grvOrder.CurrentRow.Cells["grvOrder_CHEF_NAME"].Value.ToString();
         string waiter_name = grvOrder.CurrentRow.Cells["grvOrder_WAITER_NAME"].Value.ToString();
         string request_count = grvOrder.CurrentRow.Cells["grvOrder_REQUEST_COUNT"].Value.ToString();
         string add_time = grvOrder.CurrentRow.Cells["grvOrder_ADD_TIME"].Value.ToString();
         frmDishDetail frm = new frmDishDetail(id,table_name,chef_name,waiter_name,add_time,request_count );
         frm.ShowDialog();
     }
 }