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); }
private static extern Int32 init(ServerMode serverMode, string IP, int port, NewEvent newEvent, NewIntegerValue newIntegerValue, NewDoubleValue newDoubleValue, NewStringValue newStringValue, IntPtr param);