コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.userControl = ((Visitor.CustomControl)(target));
                return;

            case 2:
                this.OnMouseLeave1_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 3:
                this.OnMouseLeftButtonDown1_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 4:
                this.OnMouseLeftButtonUp1_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 5:
                this.ImgSetting = ((System.Windows.Controls.Image)(target));
                return;

            case 6:
                this.LblSetting = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
ファイル: MainWindow.g.i.cs プロジェクト: ARKVN33/visitor
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\Windows\MainWindow.xaml"
                ((Visitor.Windows.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 8 "..\..\..\Windows\MainWindow.xaml"
                ((Visitor.Windows.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.OnMouseLeftButtonDown2BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 3:

            #line 62 "..\..\..\Windows\MainWindow.xaml"
                ((System.Windows.Shapes.Rectangle)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DragMove);

            #line default
            #line hidden
                return;

            case 4:
                this.LblTitle = ((System.Windows.Controls.Label)(target));

            #line 63 "..\..\..\Windows\MainWindow.xaml"
                this.LblTitle.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DragMove);

            #line default
            #line hidden
                return;

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

            #line 64 "..\..\..\Windows\MainWindow.xaml"
                this.BtnUpClose.Click += new System.Windows.RoutedEventHandler(this.Close);

            #line default
            #line hidden
                return;

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

            #line 65 "..\..\..\Windows\MainWindow.xaml"
                this.BtnMinimize.Click += new System.Windows.RoutedEventHandler(this.Minimize);

            #line default
            #line hidden
                return;

            case 7:
                this.BtnDoctor = ((Visitor.CustomControl1)(target));
                return;

            case 8:
                this.BtnPatient = ((Visitor.CustomControl1)(target));
                return;

            case 9:
                this.BtnVisit = ((Visitor.CustomControl1)(target));
                return;

            case 10:
                this.BtnDoctorPatient = ((Visitor.CustomControl1)(target));
                return;

            case 11:
                this.BtnReport = ((Visitor.CustomControl1)(target));
                return;

            case 12:
                this.StackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 13:
                this.BtnBackUp = ((Visitor.CustomControl)(target));
                return;

            case 14:
                this.BtnAutoBackUp = ((Visitor.CustomControl)(target));
                return;

            case 15:
                this.BtnRestore = ((Visitor.CustomControl)(target));
                return;

            case 16:
                this.BtnChangePassword = ((Visitor.CustomControl)(target));
                return;

            case 17:
                this.BtnClose = ((Visitor.CustomControl)(target));
                return;

            case 18:
                this.BtnBack = ((System.Windows.Controls.Image)(target));
                return;

            case 19:
                this.BtnMenue = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }