Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 19 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenSocket);

            #line default
            #line hidden
                return;

            case 2:

            #line 34 "..\..\MainWindow.xaml"
                ((NetDesign_UC_Lib.TransferFile)(target)).SendButtonClicked += new NetDesign_UC_Lib.TransferFile.SendButtonClickedDelegate(this.TransferFile_SendButtonClicked);

            #line default
            #line hidden
                return;

            case 3:
                this.Log = ((NetDesign_UC_Lib.TcpLog)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Root = ((NetDesign_UC_Lib.TcpLog)(target));
                return;

            case 2:

            #line 76 "..\..\TcpLog.xaml"
                ((MaterialDesignThemes.Wpf.PackIcon)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Clear);

            #line default
            #line hidden
                return;

            case 3:

            #line 79 "..\..\TcpLog.xaml"
                ((MaterialDesignThemes.Wpf.PackIcon)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Save);

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