Пример #1
0
        private void  标连点器_Click(object sender, RoutedEventArgs e)
        {
            标连点器 s = new  标连点器();

            s.owner  = this;
            框体.Child = s;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.标连点器1 = ((赛尔号登录器.标连点器)(target));
                return;

            case 2:
                this.Close1 = ((System.Windows.Controls.Border)(target));

            #line 10 "..\..\..\Widget\鼠标连点器界面.xaml"
                this.Close1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Close_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 3:
                this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 4:
                this.rectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 5:

            #line 34 "..\..\..\Widget\鼠标连点器界面.xaml"
                ((System.Windows.Controls.Label)(target)).Initialized += new System.EventHandler(this.Label_Initialized);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }