private async void GrowlHelper_Callback(object sender, GrowlHelper.NotifyCallbackEventArgs e)
{
if (Form.ActiveForm == null)
{
await this.InvokeAsync(() =>
{
this.Visible = true;
if (this.WindowState == FormWindowState.Minimized) this.WindowState = FormWindowState.Normal;
this.Activate();
this.BringToFront();
if (e.NotifyType == GrowlHelper.NotifyType.DirectMessage)
{
if (!this.GoDirectMessage(e.StatusId)) this.StatusText.Focus();
}
else
{
if (!this.GoStatus(e.StatusId)) this.StatusText.Focus();
}
});
}
}