private void button1_Click(object sender, EventArgs e) { AddPostForm form = new AddPostForm(); form.ShowDialog(); }