예제 #1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            EditUserDataWindow editUserDataWindow = new EditUserDataWindow();

            editUserDataWindow.Top  = myWindow.Top;
            editUserDataWindow.Left = myWindow.Left + 250;

            editUserDataWindow.ShowDialog();
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.EditUserDataWindow = ((WłasnyProjekt.EditUserDataWindow)(target));
         return;
     }
     this._contentLoaded = true;
 }
예제 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.EditUserDataWindow2 = ((WłasnyProjekt.EditUserDataWindow)(target));
                return;

            case 2:

            #line 51 "..\..\..\Windows\EditUserData.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.EditUserDataCancelButtonClick);

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