private void WndNotifyIcon_Loaded(object sender, RoutedEventArgs e) { base.Loaded -= WndNotifyIcon_Loaded; this.xMoveToWorkAreaCenter(); this.xShowFirstTime(); DelayCaller.CallAfterDelay(() => { Visibility = Visibility.Collapsed; }, 2000, true); notifyIcon.Text = string.Format("{0}({1})", Params.AppName, Params.VersionStr); CreateHelpMenu(); notifyIcon.StartBlink(base.FindResource("iconGray") as ImageSource); AppStartInitiator.Init(); var hotMsg = HotKeyHelper.Init(); if (!string.IsNullOrEmpty(hotMsg)) { MsgBox.ShowErrTip(hotMsg, null); } notifyIcon.StopBlink(); base.Visibility = Visibility.Collapsed; }