Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.handwrite = ((MyTablet.InkTablet)(target));

            #line 6 "..\..\InkTablet.xaml"
                this.handwrite.Loaded += new System.Windows.RoutedEventHandler(this.handwrite_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.backImg = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.theInkCanvas = ((System.Windows.Controls.InkCanvas)(target));
                return;

            case 4:
                this.delete = ((System.Windows.Controls.Button)(target));

            #line 188 "..\..\InkTablet.xaml"
                this.delete.Click += new System.Windows.RoutedEventHandler(this.delete_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.reWrite = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.button = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.itc = ((System.Windows.Controls.ItemsControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.it = ((MyTablet.InkTablet)(target));
                return;

            case 2:
                this.theInkCanvas = ((System.Windows.Controls.InkCanvas)(target));
                return;

            case 3:
                this.itc = ((System.Windows.Controls.ItemsControl)(target));
                return;
            }
            this._contentLoaded = true;
        }