private void newToolStripMenuItem_Click(object sender, EventArgs e) { //EnableAll(newToolStripMenuItem); CreateForm f = new CreateForm(); // создаем f.ShowDialog(); }
private void changeBtn_Click(object sender, EventArgs e) { SertificateManager.BLL.DTO.SertificateDTO stf = this.sertificateService.GetSertificate(this.idTB.Text); CreateForm f = new CreateForm(stf); // создаем f.ShowDialog(); }