|
|
Line 1: |
Line 1: |
| [[Category: Primer]] | | [[Category: Primer]] |
|
| |
| <tabber>
| |
| C#=
| |
| <div class="source">
| |
| <syntaxhighlight lang=csharp>
| |
| using Phidgets;
| |
| using Phidgets.Events;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| Java=
| |
| <div class="source">
| |
| <syntaxhighlight lang=java>
| |
| import com.phidgets.*;
| |
| import com.phidgets.event.*;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| VB.Net=
| |
| <div class="source">
| |
| <syntaxhighlight lang=vbnet>
| |
| Public Class Form1
| |
| 'The Phidget object declaration
| |
|
| |
| Dim WithEvents ifKit As Phidgets.InterfaceKit
| |
|
| |
| '... Form1_Load and Form1_OnClosing here
| |
| End Class
| |
| </syntaxhighlight>
| |
| </div>
| |
| </tabber>
| |
|
| |
| <tabber>
| |
| C#=
| |
| <div class="source">
| |
| <syntaxhighlight lang=csharp>
| |
| using Phidgets;
| |
| using Phidgets.Events;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| Java=
| |
| <div class="source">
| |
| <syntaxhighlight lang=java>
| |
| import com.phidgets.*;
| |
| import com.phidgets.event.*;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| VB.Net=
| |
| <div class="source">
| |
| <syntaxhighlight lang=vbnet>
| |
| Public Class Form1
| |
| 'The Phidget object declaration
| |
|
| |
| Dim WithEvents ifKit As Phidgets.InterfaceKit
| |
|
| |
| '... Form1_Load and Form1_OnClosing here
| |
| End Class
| |
| </syntaxhighlight>
| |
| </div>
| |
| </tabber>
| |
| <tabber>
| |
| C#=
| |
| <div class="source">
| |
| <syntaxhighlight lang=csharp>
| |
| using Phidgets;
| |
| using Phidgets.Events;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| Java=
| |
| <div class="source">
| |
| <syntaxhighlight lang=java>
| |
| import com.phidgets.*;
| |
| import com.phidgets.event.*;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| VB.Net=
| |
| <div class="source">
| |
| <syntaxhighlight lang=vbnet>
| |
| Public Class Form1
| |
| 'The Phidget object declaration
| |
|
| |
| Dim WithEvents ifKit As Phidgets.InterfaceKit
| |
|
| |
| '... Form1_Load and Form1_OnClosing here
| |
| End Class
| |
| </syntaxhighlight>
| |
| </div>
| |
| </tabber>
| |
|
| |
| <tabber>
| |
| C#=
| |
| <div class="source">
| |
| <syntaxhighlight lang=csharp>
| |
| using Phidgets;
| |
| using Phidgets.Events;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| Java=
| |
| <div class="source">
| |
| <syntaxhighlight lang=java>
| |
| import com.phidgets.*;
| |
| import com.phidgets.event.*;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| VB.Net=
| |
| <div class="source">
| |
| <syntaxhighlight lang=vbnet>
| |
| Public Class Form1
| |
| 'The Phidget object declaration
| |
|
| |
| Dim WithEvents ifKit As Phidgets.InterfaceKit
| |
|
| |
| '... Form1_Load and Form1_OnClosing here
| |
| End Class
| |
| </syntaxhighlight>
| |
| </div>
| |
| </tabber>
| |
| <tabber>
| |
| C#=
| |
| <div class="source">
| |
| <syntaxhighlight lang=csharp>
| |
| using Phidgets;
| |
| using Phidgets.Events;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| Java=
| |
| <div class="source">
| |
| <syntaxhighlight lang=java>
| |
| import com.phidgets.*;
| |
| import com.phidgets.event.*;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| VB.Net=
| |
| <div class="source">
| |
| <syntaxhighlight lang=vbnet>
| |
| Public Class Form1
| |
| 'The Phidget object declaration
| |
|
| |
| Dim WithEvents ifKit As Phidgets.InterfaceKit
| |
|
| |
| '... Form1_Load and Form1_OnClosing here
| |
| End Class
| |
| </syntaxhighlight>
| |
| </div>
| |
| </tabber>
| |
| <tabber>
| |
| C#=
| |
| <div class="source">
| |
| <syntaxhighlight lang=csharp>
| |
| using Phidgets;
| |
| using Phidgets.Events;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| Java=
| |
| <div class="source">
| |
| <syntaxhighlight lang=java>
| |
| import com.phidgets.*;
| |
| import com.phidgets.event.*;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| VB.Net=
| |
| <div class="source">
| |
| <syntaxhighlight lang=vbnet>
| |
| Public Class Form1
| |
| 'The Phidget object declaration
| |
|
| |
| Dim WithEvents ifKit As Phidgets.InterfaceKit
| |
|
| |
| '... Form1_Load and Form1_OnClosing here
| |
| End Class
| |
| </syntaxhighlight>
| |
| </div>
| |
| </tabber>
| |
| <tabber>
| |
| C#=
| |
| <div class="source">
| |
| <syntaxhighlight lang=csharp>
| |
| using Phidgets;
| |
| using Phidgets.Events;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| Java=
| |
| <div class="source">
| |
| <syntaxhighlight lang=java>
| |
| import com.phidgets.*;
| |
| import com.phidgets.event.*;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| VB.Net=
| |
| <div class="source">
| |
| <syntaxhighlight lang=vbnet>
| |
| Public Class Form1
| |
| 'The Phidget object declaration
| |
|
| |
| Dim WithEvents ifKit As Phidgets.InterfaceKit
| |
|
| |
| '... Form1_Load and Form1_OnClosing here
| |
| End Class
| |
| </syntaxhighlight>
| |
| </div>
| |
| </tabber>
| |
| ==test==
| |
| <tabber>
| |
| C#=
| |
| <div class="source">
| |
| <syntaxhighlight lang=csharp>
| |
| using Phidgets;
| |
| using Phidgets.Events;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| Java=
| |
| <div class="source">
| |
| <syntaxhighlight lang=java>
| |
| import com.phidgets.*;
| |
| import com.phidgets.event.*;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| VB.Net=
| |
| <div class="source">
| |
| <syntaxhighlight lang=vbnet>
| |
| Public Class Form1
| |
| 'The Phidget object declaration
| |
|
| |
| Dim WithEvents ifKit As Phidgets.InterfaceKit
| |
|
| |
| '... Form1_Load and Form1_OnClosing here
| |
| End Class
| |
| </syntaxhighlight>
| |
| </div>
| |
| </tabber>
| |
| <tabber>
| |
| C#=
| |
| <div class="source">
| |
| <syntaxhighlight lang=csharp>
| |
| using Phidgets;
| |
| using Phidgets.Events;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| Java=
| |
| <div class="source">
| |
| <syntaxhighlight lang=java>
| |
| import com.phidgets.*;
| |
| import com.phidgets.event.*;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| VB.Net=
| |
| <div class="source">
| |
| <syntaxhighlight lang=vbnet>
| |
| Public Class Form1
| |
| 'The Phidget object declaration
| |
|
| |
| Dim WithEvents ifKit As Phidgets.InterfaceKit
| |
|
| |
| '... Form1_Load and Form1_OnClosing here
| |
| End Class
| |
| </syntaxhighlight>
| |
| </div>
| |
| </tabber>
| |
| <tabber>
| |
| C#=
| |
| <div class="source">
| |
| <syntaxhighlight lang=csharp>
| |
| using Phidgets;
| |
| using Phidgets.Events;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| Java=
| |
| <div class="source">
| |
| <syntaxhighlight lang=java>
| |
| import com.phidgets.*;
| |
| import com.phidgets.event.*;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| VB.Net=
| |
| <div class="source">
| |
| <syntaxhighlight lang=vbnet>
| |
| Public Class Form1
| |
| 'The Phidget object declaration
| |
|
| |
| Dim WithEvents ifKit As Phidgets.InterfaceKit
| |
|
| |
| '... Form1_Load and Form1_OnClosing here
| |
| End Class
| |
| </syntaxhighlight>
| |
| </div>
| |
| </tabber>
| |
| <tabber>
| |
| C#=
| |
| <div class="source">
| |
| <syntaxhighlight lang=csharp>
| |
| using Phidgets;
| |
| using Phidgets.Events;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| Java=
| |
| <div class="source">
| |
| <syntaxhighlight lang=java>
| |
| import com.phidgets.*;
| |
| import com.phidgets.event.*;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| VB.Net=
| |
| <div class="source">
| |
| <syntaxhighlight lang=vbnet>
| |
| Public Class Form1
| |
| 'The Phidget object declaration
| |
|
| |
| Dim WithEvents ifKit As Phidgets.InterfaceKit
| |
|
| |
| '... Form1_Load and Form1_OnClosing here
| |
| End Class
| |
| </syntaxhighlight>
| |
| </div>
| |
| </tabber>
| |
| <tabber>
| |
| C#=
| |
| <div class="source">
| |
| <syntaxhighlight lang=csharp>
| |
| using Phidgets;
| |
| using Phidgets.Events;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| Java=
| |
| <div class="source">
| |
| <syntaxhighlight lang=java>
| |
| import com.phidgets.*;
| |
| import com.phidgets.event.*;
| |
| </syntaxhighlight>
| |
| </div>
| |
| |-|
| |
| VB.Net=
| |
| <div class="source">
| |
| <syntaxhighlight lang=vbnet>
| |
| Public Class Form1
| |
| 'The Phidget object declaration
| |
|
| |
| Dim WithEvents ifKit As Phidgets.InterfaceKit
| |
|
| |
| '... Form1_Load and Form1_OnClosing here
| |
| End Class
| |
| </syntaxhighlight>
| |
| </div>
| |
| </tabber>
| |
|
| |
|
| {| | | {| |