private void btnAdd_Click(object sender, EventArgs e) { DataRow dr = dtFilters.NewRow(); EditFilter frmChReplay = new EditFilter(dr, sinfo, dtFilters, dgridFilters, 0); if (this.TopMost == true) frmChReplay.TopMost = true; frmChReplay.Show(); }
private void btnAdd_Click(object sender, EventArgs e) { DataRow dr = dtFilters.NewRow(); EditFilter frmChReplay = new EditFilter(dr, sinfo, dtFilters, dgridFilters, 0); if (this.TopMost == true) { frmChReplay.TopMost = true; } frmChReplay.Show(); }
private void dgridFilters_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if ((e.ColumnIndex != 0) && (e.RowIndex != -1)) { DataRow dr = dtFilters.Rows[e.RowIndex]; EditFilter frmChReplay = new EditFilter(dr, sinfo, dtFilters, dgridFilters, e.RowIndex); if (this.TopMost == true) { frmChReplay.TopMost = true; } frmChReplay.Show(); } }
private void dgridFilters_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if ((e.ColumnIndex != 0) && (e.RowIndex != -1)) { DataRow dr = dtFilters.Rows[e.RowIndex]; EditFilter frmChReplay = new EditFilter(dr, sinfo, dtFilters, dgridFilters, e.RowIndex); if (this.TopMost == true) frmChReplay.TopMost = true; frmChReplay.Show(); } }