private void bntNew_Click(object sender, EventArgs e) { using (frmEdit = new FormEditWords(this)) { frmEdit.ShowDialog(); } }
public FormWords() { InitializeComponent(); frmEdit = new FormEditWords(this); db = new DBManager(); }