private void toolStripButton2_Click(object sender, EventArgs e) { Transf.TRRE frm = new Transf.TRRE(); frm.MdiParent = this.MdiParent; frm.Show(); }
private void dgvHead_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { Sta = Convert.ToInt32(dgvHead.Rows[e.RowIndex].Cells[17].Value.ToString()); if (CheckSearch == 1) { Transf.TRSE frm = new Transf.TRSE(dgvHead.Rows[e.RowIndex].Cells[0].Value.ToString(), Sta.ToString(),1); frm.ShowDialog(); ShowDataTS(); } else if (CheckSearch == 2) { Transf.TRRE frm = new Transf.TRRE(dgvHead.Rows[e.RowIndex].Cells[0].Value.ToString(), Sta.ToString()); frm.ShowDialog(); ShowDataTR(); } }