Example #1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     comboBox1.SelectedIndex = 0;
     comboBox2.SelectedIndex = 0;
     comboBox3.SelectedIndex = 0;
     comboBox4.SelectedIndex = 0;
     comboBox5.SelectedIndex = 0;
     NewEventDelegate        = new NewEvent(newEvent);
     NewIntegerValueDelegate = new NewIntegerValue(newIntegerValue);
     NewDoubleValueDelegate  = new NewDoubleValue(newDoubleValue);
     NewStringValueDelegate  = new NewStringValue(newStringValue);
 }
Example #2
0
 private static extern Int32 init(ServerMode serverMode, string IP, int port, NewEvent newEvent, NewIntegerValue newIntegerValue, NewDoubleValue newDoubleValue, NewStringValue newStringValue, IntPtr param);
Example #3
0
 private void Form1_Load(object sender, EventArgs e)
 {
     comboBox1.SelectedIndex = 0;
     comboBox2.SelectedIndex = 0;
     comboBox3.SelectedIndex = 0;
     comboBox4.SelectedIndex = 0;
     comboBox5.SelectedIndex = 0;
     NewEventDelegate = new NewEvent(newEvent);
     NewIntegerValueDelegate = new NewIntegerValue(newIntegerValue);
     NewDoubleValueDelegate = new NewDoubleValue(newDoubleValue);
     NewStringValueDelegate = new NewStringValue(newStringValue);
 }
Example #4
0
 private static extern Int32 init(ServerMode serverMode, string IP, int port, NewEvent newEvent, NewIntegerValue newIntegerValue, NewDoubleValue newDoubleValue, NewStringValue newStringValue, IntPtr param);