コード例 #1
0
        //
        // Driver status message received
        //
        private void OnDriverStatusReceived(object sender, TabletDriver.DriverEventArgs e)
        {
            string variableName = e.Message;
            string parameters   = e.Parameters;

            Application.Current.Dispatcher.Invoke(() =>
            {
                ProcessStatusMessage(variableName, parameters);
            });
        }
コード例 #2
0
 //
 // Driver error received
 //
 private void OnDriverErrorReceived(object sender, TabletDriver.DriverEventArgs e)
 {
     SetStatusWarning(e.Message);
 }
コード例 #3
0
 //
 // Driver message received
 //
 private void OnDriverMessageReceived(object sender, TabletDriver.DriverEventArgs e)
 {
     //ConsoleAddText(e.Message);
 }