예제 #1
0
 private void FrmMain_Load(object sender, EventArgs e)
 {
     ResetFilePropertiesList();
     ProcessorsHandler.PopulateProcessorsList();
     SetDefaultPathForFileSearch();
     FilesHandler.ListFilesInSelectedDir();
 }
예제 #2
0
 public FrmMain()
 {
     InitializeComponent();
     Singleton         = this;
     FilesHandler      = new FilesHandler(this);
     ProcessorsHandler = new ProcessorsHandler(this);
 }
예제 #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);
     }
 }