Ejemplo n.º 1
0
        private void btnNewMat_Click(object sender, RoutedEventArgs e)
        {
            var wnd = new NewMat {
                Owner = this
            };

            wnd.Show();
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FormMaterial = ((Steclopaket.NewMat)(target));
                return;

            case 2:
                this.lblName = ((System.Windows.Controls.Label)(target));
                return;

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

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

            #line 12 "..\..\NewMat.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\NewMat.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

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