Example #1
0
 private void FrmMain_Load(object sender, EventArgs e)
 {
     ResetFilePropertiesList();
     ProcessorsHandler.PopulateProcessorsList();
     SetDefaultPathForFileSearch();
     FilesHandler.ListFilesInSelectedDir();
 }
Example #2
0
 public FrmMain()
 {
     InitializeComponent();
     Singleton         = this;
     FilesHandler      = new FilesHandler(this);
     ProcessorsHandler = new ProcessorsHandler(this);
 }
Example #3
0
 private void cbApplyProcessor_Click(object sender, EventArgs e)
 {
     try
     {
         if (ProcessorsHandler.ConfirmApplySelectedProcessor())
         {
             ProcessorsHandler.ApplySelectedProcessor();
         }
     }
     catch (InvalidOperationException ioe)
     {
         MessageBox.Show(this, ioe.Message, "Error", MessageBoxButtons.OK);
     }
 }