示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ButtonChoseDir = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\..\Controls\Monitoring.xaml"
                this.ButtonChoseDir.Click += new System.Windows.RoutedEventHandler(this.ButtonChoseDir_Click);

            #line default
            #line hidden
                return;

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

            case 3:
                this.ButtonPower = ((System.Windows.Controls.Button)(target));

            #line 54 "..\..\..\Controls\Monitoring.xaml"
                this.ButtonPower.Click += new System.Windows.RoutedEventHandler(this.ButtonPower_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.Results = ((client.FilesProcessing)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ButtonChoseFile = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\Scanner.xaml"
                this.ButtonChoseFile.Click += new System.Windows.RoutedEventHandler(this.ButtonChoseFile_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.ButtonChoseDir = ((System.Windows.Controls.Button)(target));

            #line 42 "..\..\Scanner.xaml"
                this.ButtonChoseDir.Click += new System.Windows.RoutedEventHandler(this.ButtonChoseDir_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.LabelSelectedPath = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 77 "..\..\Scanner.xaml"
                this.ButtonPower.Click += new System.Windows.RoutedEventHandler(this.ButtonPower_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.StatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 6:
                this.Result = ((client.FilesProcessing)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ButtonUpdate = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\..\Controls\Viruses.xaml"
                this.ButtonUpdate.Click += new System.Windows.RoutedEventHandler(this.ButtonUpdate_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.Window = ((client.FilesProcessing)(target));
                return;
            }
            this._contentLoaded = true;
        }