Exemplo n.º 1
0
        private static void OnItemSourcesChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e)
        {
            UcDataGrid userControl = obj as UcDataGrid;

            if (userControl != null)
            {
                System.Collections.IEnumerable value = (System.Collections.IEnumerable)e.NewValue;
                userControl.cItemsSource          = value;
                userControl.cDataGrid.ItemsSource = value;
            }
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Root = ((KyoeiSystem.Framework.Windows.Controls.UcDataGrid)(target));
                return;

            case 2:
                this.cDataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 13 "..\..\UcDataGrid.xaml"
                this.cDataGrid.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.cDataGrid_PreviewKeyDown_1);

            #line default
            #line hidden

            #line 14 "..\..\UcDataGrid.xaml"
                this.cDataGrid.SelectedCellsChanged += new System.Windows.Controls.SelectedCellsChangedEventHandler(this.cDataGrid_SelectedCellsChanged);

            #line default
            #line hidden

            #line 15 "..\..\UcDataGrid.xaml"
                this.cDataGrid.CurrentCellChanged += new System.EventHandler <System.EventArgs>(this.cDataGrid_CurrentCellChanged);

            #line default
            #line hidden

            #line 16 "..\..\UcDataGrid.xaml"
                this.cDataGrid.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.cDataGrid_CellEditEnding_1);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 14 "..\..\..\..\Views\MST\MST23020.xaml"
                ((KyoeiSystem.Application.Windows.Views.MST23020)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded_1);

            #line default
            #line hidden

            #line 14 "..\..\..\..\Views\MST\MST23020.xaml"
                ((KyoeiSystem.Application.Windows.Views.MST23020)(target)).Closed += new System.EventHandler(this.MainWindow_Closed);

            #line default
            #line hidden
                return;

            case 2:

            #line 50 "..\..\..\..\Views\MST\MST23020.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 53 "..\..\..\..\Views\MST\MST23020.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 63 "..\..\..\..\Views\MST\MST23020.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 72 "..\..\..\..\Views\MST\MST23020.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 76 "..\..\..\..\Views\MST\MST23020.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 80 "..\..\..\..\Views\MST\MST23020.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 8:

            #line 84 "..\..\..\..\Views\MST\MST23020.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 88 "..\..\..\..\Views\MST\MST23020.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 94 "..\..\..\..\Views\MST\MST23020.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 96 "..\..\..\..\Views\MST\MST23020.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 98 "..\..\..\..\Views\MST\MST23020.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 13:

            #line 100 "..\..\..\..\Views\MST\MST23020.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.DataGrid = ((KyoeiSystem.Framework.Windows.Controls.UcDataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWindow = ((KyoeiSystem.Application.Windows.Views.SCH16010)(target));

            #line 12 "..\..\..\..\Views\SCH\SCH16010.xaml"
                this.MainWindow.Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 16 "..\..\..\..\Views\SCH\SCH16010.xaml"
                ((System.Windows.Controls.Grid)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Grid_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 3:
                this.Txt_kana = ((KyoeiSystem.Framework.Windows.Controls.UcLabelTextBox)(target));

            #line 37 "..\..\..\..\Views\SCH\SCH16010.xaml"
                this.Txt_kana.cTextChanged += new System.Windows.RoutedEventHandler(this.txtKana_cTextChanged);

            #line default
            #line hidden
                return;

            case 4:

            #line 39 "..\..\..\..\Views\SCH\SCH16010.xaml"
                ((KyoeiSystem.Framework.Windows.Controls.UcLabelTextBox)(target)).cTextChanged += new System.Windows.RoutedEventHandler(this.txtKana_cTextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.OrderColumn = ((KyoeiSystem.Framework.Windows.Controls.UcLabelComboBox)(target));
                return;

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

            #line 48 "..\..\..\..\Views\SCH\SCH16010.xaml"
                this.CancelButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.CancelButton_MouseEnter);

            #line default
            #line hidden

            #line 48 "..\..\..\..\Views\SCH\SCH16010.xaml"
                this.CancelButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.CancelButton_MouseLeave);

            #line default
            #line hidden

            #line 48 "..\..\..\..\Views\SCH\SCH16010.xaml"
                this.CancelButton.Click += new System.Windows.RoutedEventHandler(this.CancelButton_Click);

            #line default
            #line hidden
                return;

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

            #line 55 "..\..\..\..\Views\SCH\SCH16010.xaml"
                this.OkButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.OkButton_MouseEnter);

            #line default
            #line hidden

            #line 55 "..\..\..\..\Views\SCH\SCH16010.xaml"
                this.OkButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.OkButton_MouseLeave);

            #line default
            #line hidden

            #line 55 "..\..\..\..\Views\SCH\SCH16010.xaml"
                this.OkButton.Click += new System.Windows.RoutedEventHandler(this.OkButton_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.UcGrid = ((KyoeiSystem.Framework.Windows.Controls.UcDataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\..\Views\MST\MST11020.xaml"
                ((KyoeiSystem.Application.Windows.Views.MST11020)(target)).Closed += new System.EventHandler(this.MainWindow_Closed);

            #line default
            #line hidden

            #line 14 "..\..\..\..\Views\MST\MST11020.xaml"
                ((KyoeiSystem.Application.Windows.Views.MST11020)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded_1);

            #line default
            #line hidden

            #line 14 "..\..\..\..\Views\MST\MST11020.xaml"
                ((KyoeiSystem.Application.Windows.Views.MST11020)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Window_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.RibbonTabTest = ((System.Windows.Controls.Ribbon.RibbonTab)(target));
                return;

            case 3:
                this.RibbonKensaku = ((System.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 51 "..\..\..\..\Views\MST\MST11020.xaml"
                this.RibbonKensaku.Click += new System.Windows.RoutedEventHandler(this.RibbonKensaku_Click_1);

            #line default
            #line hidden
                return;

            case 4:
                this.RibbonNyuuryoku = ((System.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 52 "..\..\..\..\Views\MST\MST11020.xaml"
                this.RibbonNyuuryoku.Click += new System.Windows.RoutedEventHandler(this.RibbonNyuuryoku_Click_1);

            #line default
            #line hidden
                return;

            case 5:
                this.CsvSyuturyoku = ((System.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 62 "..\..\..\..\Views\MST\MST11020.xaml"
                this.CsvSyuturyoku.Click += new System.Windows.RoutedEventHandler(this.CsvSyuturyoku_Click_1);

            #line default
            #line hidden
                return;

            case 6:
                this.Purebyu = ((System.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 64 "..\..\..\..\Views\MST\MST11020.xaml"
                this.Purebyu.Click += new System.Windows.RoutedEventHandler(this.Purebyu_Click_1);

            #line default
            #line hidden
                return;

            case 7:
                this.Insatu = ((System.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 66 "..\..\..\..\Views\MST\MST11020.xaml"
                this.Insatu.Click += new System.Windows.RoutedEventHandler(this.Insatu_Click_1);

            #line default
            #line hidden
                return;

            case 8:
                this.Syuuryou = ((System.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 79 "..\..\..\..\Views\MST\MST11020.xaml"
                this.Syuuryou.Click += new System.Windows.RoutedEventHandler(this.Syuuryou_Click_1);

            #line default
            #line hidden
                return;

            case 9:
                this.RibbonButton_WebHome = ((System.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 84 "..\..\..\..\Views\MST\MST11020.xaml"
                this.RibbonButton_WebHome.Click += new System.Windows.RoutedEventHandler(this.RibbonButton_WebHome_Click_1);

            #line default
            #line hidden
                return;

            case 10:
                this.RibbonButton_Meil = ((System.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 86 "..\..\..\..\Views\MST\MST11020.xaml"
                this.RibbonButton_Meil.Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Meil_Click_1);

            #line default
            #line hidden
                return;

            case 11:
                this.RibbonButton_Dentaku = ((System.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 88 "..\..\..\..\Views\MST\MST11020.xaml"
                this.RibbonButton_Dentaku.Click += new System.Windows.RoutedEventHandler(this.RibbonButton_Dentaku_Click_1);

            #line default
            #line hidden
                return;

            case 12:
                this.Ribbontest1 = ((System.Windows.Controls.Ribbon.RibbonGroup)(target));
                return;

            case 13:
                this.Kensaku_RibbonHomeBenri = ((System.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 92 "..\..\..\..\Views\MST\MST11020.xaml"
                this.Kensaku_RibbonHomeBenri.Click += new System.Windows.RoutedEventHandler(this.Kensaku_RibbonHomeBenri_Click_1);

            #line default
            #line hidden
                return;

            case 14:
                this.DouroJyouhou_RibbonHomeBenri = ((System.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 94 "..\..\..\..\Views\MST\MST11020.xaml"
                this.DouroJyouhou_RibbonHomeBenri.Click += new System.Windows.RoutedEventHandler(this.DouroJyouhou_RibbonHomeBenri_Click_1);

            #line default
            #line hidden
                return;

            case 15:
                this.DouroNabi_RibbonHomeBenri = ((System.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 96 "..\..\..\..\Views\MST\MST11020.xaml"
                this.DouroNabi_RibbonHomeBenri.Click += new System.Windows.RoutedEventHandler(this.DouroNabi_RibbonHomeBenri_Click_1);

            #line default
            #line hidden
                return;

            case 16:
                this.JyuutaiJyouhou_RibbonHomeBenri = ((System.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 98 "..\..\..\..\Views\MST\MST11020.xaml"
                this.JyuutaiJyouhou_RibbonHomeBenri.Click += new System.Windows.RoutedEventHandler(this.JyuutaiJyouhou_RibbonHomeBenri_Click_1);

            #line default
            #line hidden
                return;

            case 17:
                this.Tenki_RibbonHomeBenri = ((System.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 100 "..\..\..\..\Views\MST\MST11020.xaml"
                this.Tenki_RibbonHomeBenri.Click += new System.Windows.RoutedEventHandler(this.Tenki_RibbonHomeBenri_Click_1);

            #line default
            #line hidden
                return;

            case 18:
                this.RibbonOpusyonKinou = ((System.Windows.Controls.Ribbon.RibbonGroup)(target));
                return;

            case 19:
                this.M_Sansyou = ((System.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 124 "..\..\..\..\Views\MST\MST11020.xaml"
                this.M_Sansyou.Click += new System.Windows.RoutedEventHandler(this.RibbonKensaku_Click_1);

            #line default
            #line hidden
                return;

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

            #line 184 "..\..\..\..\Views\MST\MST11020.xaml"
                this.SearchButton.Click += new System.Windows.RoutedEventHandler(this.SearchButton_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.DataGrid = ((KyoeiSystem.Framework.Windows.Controls.UcDataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }