コード例 #1
0
 private void extractButton_Click(object sender, System.EventArgs e)
 {
     //load an extractor for each input file
     //use a factory?
     if (String.IsNullOrEmpty(outFilePath.Text))
     {
         MessageBox.Show("Please enter an output file path!");
         return;
     }
     try
     {
         ExtractorFactory exFac = new ExtractorFactory(inFileWindows.Text, inFileAndroid.Text, inFileiOS.Text, outFilePath.Text);
         exFac.ExtractThemStrings();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }