Пример #1
0
        /// <summary>
        /// bindings the navigator add new item_ click.
        /// </summary>
        /// <param name="sender">
        /// The sender.
        /// </param>
        /// <param name="e">
        /// The e.
        /// </param>
        private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
        {
            this.Hide();
            AddWordsForm addWordsForm = new AddWordsForm(this, this.wordList);

            addWordsForm.Show();
        }
Пример #2
0
        /// <summary>
        /// News the tool strip menu item_ click.
        /// </summary>
        /// <param name="sender">
        /// The sender.
        /// </param>
        /// <param name="e">
        /// The e.
        /// </param>
        private void NewToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Hide();
            AddWordsForm f = new AddWordsForm(this, this.wordList);

            f.Show();
        }