Ejemplo n.º 1
0
 public MainWindow()
 {
     InitializeComponent();
     this.GoProClient               = new GoProClient();
     this.GoProClient.OnConnect    += Connector_OnConnect;
     this.GoProClient.OnDisconnect += Connector_OnDisconnect;
     this.GoProClient.OnData       += Connector_OnData;
     this.GoProClient.Connect();
 }
Ejemplo n.º 2
0
        public MainWindow()
        {
            InitializeComponent();
            this.DeveloperPanel.Visibility = Visibility.Collapsed;
            this.GoProClient               = new GoProClient();
            this.GoProClient.OnConnect    += Connector_OnConnect;
            this.GoProClient.OnDisconnect += Connector_OnDisconnect;
            this.GoProClient.OnData       += Connector_OnData;
            this.GoProClient.Connect();
#if DEBUG
            this.DeveloperPanel.Visibility = Visibility.Visible;
#endif
        }