Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.RibbonWindow = ((WpfRibbon.MainWindow)(target));
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.Ribbon = ((Microsoft.Windows.Controls.Ribbon.Ribbon)(target));

            #line 15 "..\..\..\MainWindow.xaml"
                this.Ribbon.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Ribbon_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.MenuItem1 = ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target));
                return;

            case 5:
                this.HomeTab = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
                return;

            case 6:
                this.Group1 = ((Microsoft.Windows.Controls.Ribbon.RibbonGroup)(target));
                return;

            case 7:
                this.Button1 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 8:
                this.Button2 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 9:
                this.Button3 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 10:
                this.Button4 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 11:
                this.SettingsTab = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
                return;

            case 12:
                this.Group5 = ((Microsoft.Windows.Controls.Ribbon.RibbonGroup)(target));
                return;

            case 13:
                this.Button5 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.RibbonWindow = ((WpfRibbon.MainWindow)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.Ribbon = ((Microsoft.Windows.Controls.Ribbon.Ribbon)(target));
     
     #line 15 "..\..\..\MainWindow.xaml"
     this.Ribbon.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Ribbon_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.MenuItem1 = ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target));
     return;
     case 5:
     this.HomeTab = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
     return;
     case 6:
     this.Group1 = ((Microsoft.Windows.Controls.Ribbon.RibbonGroup)(target));
     return;
     case 7:
     this.Button1 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     return;
     case 8:
     this.Button2 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     return;
     case 9:
     this.Button3 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     return;
     case 10:
     this.Button4 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     return;
     case 11:
     this.SettingsTab = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
     return;
     case 12:
     this.Group5 = ((Microsoft.Windows.Controls.Ribbon.RibbonGroup)(target));
     return;
     case 13:
     this.Button5 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.RibbonWindow = ((WpfRibbon.MainWindow)(target));
                return;

            case 2:
                this.Ribbon = ((Microsoft.Windows.Controls.Ribbon.Ribbon)(target));
                return;

            case 3:
                this.ButtonSave = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 4:
                this.ButtonPrint = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 5:
                this.ButtonQ3 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 6:
                this.menuAplic = ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenu)(target));
                return;

            case 7:
                this.MenuItem1 = ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target));
                return;

            case 8:
                this.MenuSair = ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target));

            #line 51 "..\..\..\..\View\MainWindow.xaml"
                this.MenuSair.Click += new System.Windows.RoutedEventHandler(this.MenuSair_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.MenuFechar = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 61 "..\..\..\..\View\MainWindow.xaml"
                this.MenuFechar.Click += new System.Windows.RoutedEventHandler(this.MenuFechar_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.HomeTab = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
                return;

            case 11:
                this.Group1 = ((Microsoft.Windows.Controls.Ribbon.RibbonGroup)(target));
                return;

            case 12:
                this.Button1 = ((Microsoft.Windows.Controls.Ribbon.RibbonSplitButton)(target));

            #line 80 "..\..\..\..\View\MainWindow.xaml"
                this.Button1.Click += new System.Windows.RoutedEventHandler(this.Button1_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.Button2 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 83 "..\..\..\..\View\MainWindow.xaml"
                this.Button2.Click += new System.Windows.RoutedEventHandler(this.Button2_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.Button3 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 87 "..\..\..\..\View\MainWindow.xaml"
                this.Button3.Click += new System.Windows.RoutedEventHandler(this.Button3_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.Button4 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));

            #line 90 "..\..\..\..\View\MainWindow.xaml"
                this.Button4.Click += new System.Windows.RoutedEventHandler(this.Button4_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.ButtonEnd = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 17:
                this.ButtonCargo = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 18:
                this.ButtonEstadoCivil = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 19:

            #line 123 "..\..\..\..\View\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.Button2_Click);

            #line default
            #line hidden
                return;

            case 20:

            #line 126 "..\..\..\..\View\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.Button3_Click);

            #line default
            #line hidden
                return;

            case 21:

            #line 129 "..\..\..\..\View\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.Button4_Click);

            #line default
            #line hidden
                return;

            case 22:

            #line 173 "..\..\..\..\View\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.Button2_Click);

            #line default
            #line hidden
                return;

            case 23:

            #line 176 "..\..\..\..\View\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.Button3_Click);

            #line default
            #line hidden
                return;

            case 24:

            #line 179 "..\..\..\..\View\MainWindow.xaml"
                ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.Button4_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.Requisicao = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 26:
                this.TabGrid = ((System.Windows.Controls.TabItem)(target));
                return;

            case 27:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 28:
                this.TabOp = ((System.Windows.Controls.TabItem)(target));
                return;

            case 29:
                this.Confirma = ((System.Windows.Controls.Button)(target));

            #line 272 "..\..\..\..\View\MainWindow.xaml"
                this.Confirma.Click += new System.Windows.RoutedEventHandler(this.Confirma_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 31:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 33:
                this.textBox1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 34:
                this.textBox2 = ((System.Windows.Controls.TextBox)(target));
                return;

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