예제 #1
0
        private void gridResultado_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            switch (e.KeyCode)
            {
            case System.Windows.Forms.Keys.Enter:
            {
                SearchEventArgs sea = new SearchEventArgs(SelectedValue);

                if (RowDoubleClick != null)
                {
                    RowDoubleClick(this, sea);
                }
                break;
            }
            }
        }
예제 #2
0
 private void mzSearchPanel_RowDoubleClick(object sender, mz.erp.ui.controls.SearchEventArgs e)
 {
     this.DialogResult = DialogResult.OK;
 }