Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._this = ((CSVReader.CSVReaderWindow)(target));
                return;

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

            #line 34 "..\..\CSVReaderWindow.xaml"
                this.FilePathBrowseButton.Click += new System.Windows.RoutedEventHandler(this.FilePathBrowseButton_Click);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\CSVReaderWindow.xaml"
                this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.MainDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._this = ((CSVReader.CSVReaderWindow)(target));
                return;

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

            case 3:
                this.FilePathBox = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }