Exemplo n.º 1
0
        private void authorToolStripMenuItemMainForm_Click(object sender, EventArgs e)
        {
            AddAuthorForm newForm = new AddAuthorForm();

            newForm.StartPosition = FormStartPosition.CenterScreen;
            newForm.ShowDialog();
        }
        private void AddButton_Click(object sender, EventArgs e)
        {
            var addAuthor = new AddAuthorForm();

            addAuthor.ShowDialog();

            RefreshAuthorsListBox();
        }
Exemplo n.º 3
0
        private void addAuthorToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddAuthorForm authorForm = new AddAuthorForm();

            authorForm.ShowDialog();
        }
Exemplo n.º 4
0
        private void AddAuthor(object sender, EventArgs e)
        {
            var addAuthor = new AddAuthorForm();

            addAuthor.ShowDialog();
        }