예제 #1
0
 public MainWindow()
 {
     InitializeComponent();
     _manager = new ToastManager();
     _manager.Init <ToastManager>("ToastTest");
     ToastManager.ToastCallback += ToastManager_ToastCallback;
     GetRunningObjectTable(0, out this.rot);
 }
예제 #2
0
 public MainWindow()
 {
     InitializeComponent();
     _manager = new ToastManager();
     _manager.Init <ToastManager>("ClipBoard Qr Helper");
     ToastManager.ToastCallback += ToastManager_ToastCallback;
     GetRunningObjectTable(0, out this.rot);
     if (Common.IsSilence == false)
     {
         _notify = new Action(() => _manager.Notify("欢迎使用,我在托盘为你服务哦!", "ClipBoard Qr Helper"));;;
         _notify?.BeginInvoke(null, null);
     }
 }