private void button_builddic_Click(object sender, EventArgs e) { var form = new BuildDictionaryForm(); form.ShowDialog(); this.mainPanel.Controls.Clear(); this.InitCtrls(); }