Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.InsertPatientWindow = ((GeneralMed2._0.InsertPatientWindow)(target));
                return;

            case 2:

            #line 40 "..\..\..\Windows\something.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseDown);

            #line default
            #line hidden
                return;

            case 3:

            #line 66 "..\..\..\Windows\something.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        public void Execute(object parameter)
        {
            var instance = new InsertPatientWindow();

            instance.ShowDialog();
        }