Exemple #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.window = ((QuanLyKho.UnitWindow)(target));
         return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.unitWindow = ((QuanLyKho.UnitWindow)(target));
                return;

            case 2:
                this.controlBar = ((QuanLyKho.UserControls.ControlBarChildWindowUC)(target));
                return;
            }
            this._contentLoaded = true;
        }