void g_DoubleClick(object sender, EventArgs e) { //throw new NotImplementedException(); if (grid.SelectedRows.Count != 1) { return; } var x = grid.SelectedRows[0].DataBoundItem as ValidatePsdFileVM; var dlg = new FrmValidatePsdFile(); dlg.Setup(x, false); dlg.Show(this); }
private void grid_DoubleClick(object sender, EventArgs e) { //throw new NotImplementedException(); if (grid.SelectedRows.Count != 1) { return; } var selectRow = grid.SelectedRows[0].DataBoundItem as DataRowView; var copyVm = new ValidatePsdFileVM(); CopyProperties(selectRow, copyVm); var dlg = new FrmValidatePsdFile(); dlg.Setup(copyVm, false); dlg.Show(this); }
private void tsmValidatePSDFile_Click(object sender, EventArgs e) { var dlg = new FrmValidatePsdFile(); dlg.Show(this); }