public AnalysisReportControl() { InitializeComponent(); try { LoadGrid(); } catch (DatabaseException ex) { Alerts.CrashApp(ex.Message); } }
public AuthorReportControl() { this.repository = new AuthorRepository(); this.phraseRepository = new PhraseRepository(); InitializeComponent(); try { LoadFilterOptions(); } catch (DatabaseException ex) { Alerts.CrashApp(ex.Message); } }
public EntityControl() { repository = new EntityRepository(); InitializeComponent(); try { LoadEntities(); CleanFields(); } catch (DatabaseException ex) { Alerts.CrashApp(ex.Message); } }
public AuthorControl() { repository = new AuthorRepository(); InitializeComponent(); try { LoadAuthors(); CleanFields(); } catch (DatabaseException ex) { Alerts.CrashApp(ex.Message); } }
public SentimentControl() { this.repository = new SentimentRepository(); InitializeComponent(); try { LoadSentimentTypes(); LoadSentiments(); CleanFields(); } catch (DatabaseException ex) { Alerts.CrashApp(ex.Message); } }
public AlarmControl() { entityAlarmRepository = new EntityAlarmRepository(); authorAlarmRepository = new AuthorAlarmRepository(); entityRepository = new EntityRepository(); InitializeComponent(); try { LoadSentimentTypes(); LoadEntities(); LoadTimeMeasures(); rbtnEntity_CheckedChanged(null, null); EnableFields(false); HideFields(true); CleanFields(); } catch (DatabaseException ex) { Alerts.CrashApp(ex.Message); } }
public PhraseControl() { repository = new PhraseRepository(); authorRepository = new AuthorRepository(); InitializeComponent(); try { LoadPhrases(); LoadSentimentTypes(); LoadGrade(); LoadAuthors(); EnableFields(false); HideFields(true); CleanFields(); dtpDate.CustomFormat = "dd/MM/yyyy HH:mm"; } catch (DatabaseException ex) { Alerts.CrashApp(ex.Message); } }