private void toolStripMenuItem_QueryStage_Click(object sender, EventArgs e) { if (this.dataGridView.SelectedExistData()) { IList <string> ids = this.dataGridView.SelectedIds(); StageQueryCondition qc = new StageQueryCondition(); qc.project_id = ids[0]; StageWindow queryWindow = new StageWindow(qc); queryWindow.ShowDialog(this); } }
private void stageToolStripMenuItem_Click(object sender, EventArgs e) { StageWindow stageWindow = new StageWindow(); stageWindow.ShowDialog(this); }