Пример #1
0
        private static void ErrorStringChanged(DependencyObject aDepObj, DependencyPropertyChangedEventArgs aArgs)
        {
            TestFileControl _tfc = (TestFileControl)aDepObj;

            if (aArgs.NewValue != null)
            {
                _tfc.tbTestErrors.Text = aArgs.NewValue.ToString();
            }
            else
            {
                _tfc.tbTestErrors.Text = String.Empty;
            }
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tfsSlf = ((CommonWpfControls.TestFileControl)(target));
                return;

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

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

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

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

            case 6:
                this.dgSlf = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 7:
                this.dgStciRgb = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 8:
                this.dgStciIndexed = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 9:
                this.dgJsd = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tc = ((System.Windows.Controls.TabControl)(target));
                return;

            case 2:
                this.tiSlf = ((System.Windows.Controls.TabItem)(target));
                return;

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

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

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

            case 6:
                this.btnExtract = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.btnCreate = ((System.Windows.Controls.Button)(target));
                return;

            case 8:
                this.tfsSlf = ((CommonWpfControls.TestFileControl)(target));
                return;

            case 9:
                this.tiSti = ((System.Windows.Controls.TabItem)(target));
                return;

            case 10:
                this.btnReloadStiAll = ((System.Windows.Controls.Button)(target));
                return;

            case 11:
                this.btnLoadSti = ((System.Windows.Controls.Button)(target));
                return;

            case 12:
                this.btnExtractT26 = ((System.Windows.Controls.Button)(target));
                return;

            case 13:
                this.tfsSti = ((CommonWpfControls.TestFileControl)(target));
                return;

            case 14:
                this.iSti = ((System.Windows.Controls.Image)(target));
                return;

            case 15:
                this.tiJsd = ((System.Windows.Controls.TabItem)(target));
                return;

            case 16:
                this.btnReloadJsdAll = ((System.Windows.Controls.Button)(target));
                return;

            case 17:
                this.btnLoadJsd = ((System.Windows.Controls.Button)(target));
                return;

            case 18:
                this.btnConvertAllJsd = ((System.Windows.Controls.Button)(target));
                return;

            case 19:
                this.btnCreateSlfFromJsd = ((System.Windows.Controls.Button)(target));
                return;

            case 20:
                this.btnRotateJsd = ((System.Windows.Controls.Button)(target));
                return;

            case 21:
                this.tfsJsd = ((CommonWpfControls.TestFileControl)(target));
                return;

            case 22:
                this.tiPcx = ((System.Windows.Controls.TabItem)(target));
                return;

            case 23:
                this.btnLoadPcxAll = ((System.Windows.Controls.Button)(target));
                return;

            case 24:
                this.tfsPcx = ((CommonWpfControls.TestFileControl)(target));
                return;
            }
            this._contentLoaded = true;
        }