private void bbiNew_ItemClick(object sender, ItemClickEventArgs e) { var dialog = new InputOrderDialog(); DialogResult result = dialog.ShowDialog(); if (result == DialogResult.Yes) { LoadOrder(); } }
private void _gvOrder_DoubleClick(object sender, EventArgs e) { var orderId = _gvOrder.GetIdFocus(); var dialog = new InputOrderDialog(orderId); DialogResult result = dialog.ShowDialog(); }