Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((PicEditor.MainWindow)(target));
                return;

            case 2:
                this.frame = ((System.Windows.Controls.Frame)(target));
                return;

            case 3:
                this.tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.pic = ((PicControls.PictureControl)(target));

            #line 187 "..\..\..\View\MainWindow.xaml"
                this.pic.KeyDown += new System.Windows.Input.KeyEventHandler(this.pic_KeyDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.MainWin = ((PicEditor.MainWindow)(target));
         return;
     }
     this._contentLoaded = true;
 }