コード例 #1
0
        /// <summary>
        /// Gives the user the option of browsing to the directory containing the discrete driver
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void addDiscrete_Button_Click(object sender, EventArgs e)
        {
            using (PrintDriverImportWizardForm iwf = new PrintDriverImportWizardForm())
            {
                iwf.ShowDialog(this);
            }

            return;
        }
コード例 #2
0
 private void add_ToolStripButton_Click(object sender, EventArgs e)
 {
     using (PrintDriverImportWizardForm iwf = new PrintDriverImportWizardForm())
     {
         if (iwf.ShowDialog(this) != DialogResult.Cancel)
         {
             LoadPrintDrivers();
         }
     }
 }