public MainWindow2()
        {
            Loaded += new RoutedEventHandler(MainWindow2_Loaded);
            Closed += new EventHandler(MainWindow2_Closed);
            InitializeComponent();
            callNotification = new CallNotification();
            callNotification.Init();

            if (!(App.Args.Length == 0 || (App.Args.Length == 1 && App.Args[0] == "-reconnect")))
                ShowWindow();

            Messenger.Default.Register<NotificationMessage<object>>(this, MessageReceived);
        }
Beispiel #2
0
        public MainWindow2()
        {
            Loaded += new RoutedEventHandler(MainWindow2_Loaded);
            Closed += new EventHandler(MainWindow2_Closed);
            InitializeComponent();
            callNotification = new CallNotification();
            callNotification.Init();

            if (!(App.Args.Length == 0 || (App.Args.Length == 1 && App.Args[0] == "-reconnect")))
            {
                ShowWindow();
            }

            Messenger.Default.Register <NotificationMessage <object> >(this, MessageReceived);
        }