protected virtual void OnServerError(StashFetcherServerErrorEventArgs e) { var handler = ServerError; if (handler != null) { handler(this, e); } }
void _stashFetcher_ServerError(object sender, StashFetcherServerErrorEventArgs e) { lblStatus.Text = "Server error: " + e.Message; }