示例#1
0
        private void btnEditSupplierWindow_Click(object sender, RoutedEventArgs e)
        {
            var eswindow = new EditSupplierWindow();

            eswindow.Show();
            this.Close();
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.wndEditSupplier = ((AutoPartsInventorySystem.EditSupplierWindow)(target));
                return;

            case 2:
                this.tbxEditSupplierName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.tbxEditSupplierDetails = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 78 "..\..\..\EditWindows\EditSupplierWindow.xaml"
                this.btnEditSupplier.Click += new System.Windows.RoutedEventHandler(this.btnEditSupplier_Click);

            #line default
            #line hidden
                return;

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

            #line 86 "..\..\..\EditWindows\EditSupplierWindow.xaml"
                this.btnCancelEditSupplier.Click += new System.Windows.RoutedEventHandler(this.btnCancelEditSupplier_Click);

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