예제 #1
0
        public BugReportForm(
            IRuneberryApiClient runeberryApiClient,
            IEventLogger logger)
        {
            this.RuneberryApiClient = runeberryApiClient;
            this.Logger             = logger;

            InitializeComponent();
            this.AddApplicationIcon();

            this.ButtonSubmit.Click          += this.BuildEventHandler(this.ButtonSubmit_Click);
            this.ButtonCancel.Click          += this.BuildEventHandler(this.ButtonCancel_Click);
            this.BugReportField.ValueChanged += this.BuildEventHandler <string>(this.BugReportField_ValueChanged);
        }
 public ExceptionHandler(IRuneberryApiClient runeberryApiClient, IEventLogger logger)
 {
     RuneberryApiClient = runeberryApiClient;
     Logger             = logger;
 }