Ejemplo n.º 1
0
 public FormCommunicationLine(object caller, object called, ParamContainer paramcontainer)
 {
     this._called       = called as LibFormBase;
     this._caller       = caller as LibFormBase;
     this._paramContain = paramcontainer;
     if (called != null)
     {
         this._called.FormClosing += new FormClosingEventHandler(called_FormClosing);
         this._called.Load        += new EventHandler(called_Load);
     }
 }
Ejemplo n.º 2
0
 public static ParamContainer GetInstance()
 {
     if (_paramContainer == null)
     {
         lock (locker)
         {
             if (_paramContainer == null)
             {
                 _paramContainer = new ParamContainer();
             }
         }
     }
     return(_paramContainer);
 }