private void client_Disconnected(object sender, DdeDisconnectedEventArgs args) { displayTextBox.Text = "OnDisconnected: " + "IsServerInitiated=" + args.IsServerInitiated.ToString() + " " + "IsDisposed=" + args.IsDisposed.ToString(); }
private void OnDisconnectedPrice(object sender, DdeDisconnectedEventArgs args) { log.WriteLine(getTimeStamp() + " " + "OnDisconnected: " + "IsServerInitiated=" + args.IsServerInitiated.ToString() + " " + "IsDisposed=" + args.IsDisposed.ToString()); }
private static void OnDisconnected(object sender, DdeDisconnectedEventArgs args) { Console.WriteLine( "OnDisconnected: " + "IsServerInitiated=" + args.IsServerInitiated.ToString() + " " + "IsDisposed=" + args.IsDisposed.ToString()); }
private void OnDisconnected(object sender, DdeDisconnectedEventArgs args) { Log( "OnDisconnected: " + "IsServerInitiated=" + args.IsServerInitiated.ToString() + " " + "IsDisposed=" + args.IsDisposed.ToString()); TheContainer.TheDdeClient = null; }
private void client_Disconnected(object sender, DdeDisconnectedEventArgs args) { string msg = "OnDisconnected: " + "IsServerInitiated=" + args.IsServerInitiated.ToString() + " " + "IsDisposed=" + args.IsDisposed.ToString(); //可實做將該訊息顯示在 StatusBar 上. }
private void OnDisconnected(object sender, DdeDisconnectedEventArgs e) { Console.WriteLine("DDE: Ondisconnected!"); if (listener != null) { listener.stateChanged("Verbindung verloren!"); listener.lostConnection(""); } }
void c_Disconnected(object sender, DdeDisconnectedEventArgs e) { lock (_syncLock) { foreach (TOSDataPoint p in _dataPoints.Values) { p.OnDisconnected(); } OnDisconnection(this); c.Dispose(); } }
public void Test_Disconnected_Variation_3() { using (TestServer server = new TestServer(ServiceName)) { server.Register(); using (DdeClient client = new DdeClient(ServiceName, TopicName)) { EventListener listener = new EventListener(); client.Disconnected += listener.OnEvent; client.Connect(); client.Dispose(); Assert.IsTrue(listener.Received.WaitOne(Timeout, false)); DdeDisconnectedEventArgs args = (DdeDisconnectedEventArgs)listener.Events[0]; Assert.IsFalse(args.IsServerInitiated); Assert.IsTrue(args.IsDisposed); } } }
void client_Disconnected(object sender, DdeDisconnectedEventArgs e) { }
/// <summary> /// DDEClientからのコールバック関数 /// </summary> private void OnDisconnected(object sender, DdeDisconnectedEventArgs args) { _connection.Close(); Console.WriteLine("OnDisconnected: " + args.IsServerInitiated.ToString() + " " + "" + args.IsDisposed.ToString()); }
private void client_Disconnected(object sender, DdeDisconnectedEventArgs e) { m_connected = false; }
private static void C_Disconnected(object sender, DdeDisconnectedEventArgs e) { throw new NotImplementedException(); }
private void OnDisconnected(object sender, DdeDisconnectedEventArgs args) { connectedDDE = false; }
private static void OnDisconnected(object sender, DdeDisconnectedEventArgs args) { Environment.Exit(0); }
private static void OnDisconnected(object sender, DdeDisconnectedEventArgs args) { }
void client_Disconnected(object sender, DdeDisconnectedEventArgs e) { Environment.Exit(0); }