Beispiel #1
0
        /// <summary>
        /// Handles the Click event of the newToolStripMenuItem1 control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="EventArgs" /> instance containing the event data.</param>
        private void newToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            ContractorForm cf = new ContractorForm(WindowOpenState.New);

            cf.Owner = this;
            cf.ShowDialog();
        }
 /// <summary>
 /// Handles the Click event of the newToolStripMenuItem1 control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs" /> instance containing the event data.</param>
 private void newToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     ContractorForm cf = new ContractorForm(WindowOpenState.New);
     cf.Owner = this;
     cf.ShowDialog();
 }