Untitled
public text v1 · immutableprivate void udgvLKQty_BeforeCellActivate( object sender, CancelableCellEventArgs e )
{
if ( iOpen == 1 )
{
this.DialogResult = DialogResult.OK;
clsLKform.LK_RowValue1 = e.Cell.Value.ToString();
e.Cancel = true;
}
if ( iOpen == 0 )
iOpen = 1;
}
private void udgvLKQty_MouseLeave( object sender, EventArgs e )
{
if ( this.DialogResult != DialogResult.OK )
this.DialogResult = DialogResult.Cancel;
}