Exemple #1
0
 public override void Unregister()
 {
     Console.WriteLine("Unregister");
     server_mainForm = null;
     _Timer.Stop();
     base.Unregister();
 }
Exemple #2
0
 public theDDEServer(string service, DDEServer_MainForm mainform) : base(service)
 {
     server_mainForm            = mainform;
     _Timer.Elapsed            += this.OnTimerElapsed;
     _Timer.Interval            = 1000;
     _Timer.SynchronizingObject = this.Context;
 }