private void btnOrder_Click(object sender, EventArgs e) { OrdersTable c = new OrdersTable(); DataRow dr = c.Find("CodeOrder", txtCodeOrder.Text); Orders ord = new Orders(dr); FrmOrder f = new FrmOrder(ord, statusKind); f.Show(); }