Beispiel #1
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            MW uno = new MW(2, nick, /*cargIm.pathImageN*/ "a", 0, textBox1.Text);

            uno.Show();
            this.Close();
        }
        private void button4_Click(object sender, RoutedEventArgs e)
        {
            MW uno = new MW(1, nick, pathImageN, 4, "a");

            uno.Show();
            this.Close();
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ventana = ((Tarea6.MW)(target));

            #line 4 "..\..\..\MW.xaml"
                this.ventana.SizeChanged += new System.Windows.SizeChangedEventHandler(this.ventana_SizeChanged);

            #line default
            #line hidden

            #line 4 "..\..\..\MW.xaml"
                this.ventana.Closed += new System.EventHandler(this.ventana_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.canvas = ((System.Windows.Controls.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }