Exemplo n.º 1
0
        private void ApplineConfigs()
        {
            this.Closing += MainWindow_Closing;
            NotifyContext <SomeDataContext> notify = new NotifyContext <SomeDataContext>();

            this.DataContext       = new SomeDataContext();
            notify.Connected      += Notify_Connected;
            notify.Disconnected   += Notify_Disconnected;
            notify.Timeout        += Notify_Timeout;
            notify.Message        += Notify_Message;
            notify.ContextChanges += Notify_ContextChanges;
            notify.Exception      += Notify_Exception;
            line = LineFactory.Application <SomeDataContext>(notify, 3000, ApplicationClient.App.ARGS);
        }