Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.secondwindow = ((messageboxmain.messagebox)(target));

            #line 5 "..\..\messagebox.xaml"
                this.secondwindow.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.move);

            #line default
            #line hidden
                return;

            case 2:
                this.appbar_close = ((System.Windows.Controls.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        private void clicked(object sender, RoutedEventArgs e)
        {
            messagebox mboxi = new messagebox();

            mboxi.ShowDialog();
        }