The HamburgerMenu is based on a SplitView control. By default it contains a HamburgerButton and a ListView to display menu items.
コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GoBackButton = ((System.Windows.Controls.Button)(target));

            #line 24 "..\..\MainWindow.xaml"
                this.GoBackButton.Click += new System.Windows.RoutedEventHandler(this.GoBack_OnClick);

            #line default
            #line hidden
                return;

            case 2:
                this.HamburgerMenuControl = ((MahApps.Metro.Controls.HamburgerMenu)(target));

            #line 59 "..\..\MainWindow.xaml"
                this.HamburgerMenuControl.ItemInvoked += new System.EventHandler <MahApps.Metro.Controls.HamburgerMenuItemInvokedEventArgs>(this.HamburgerMenuControl_OnItemInvoked);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Vlive = ((WpfApplication1.MainWindow)(target));
                return;

            case 2:
                this.HamburgerMenuControl = ((MahApps.Metro.Controls.HamburgerMenu)(target));

#line 89 "..\..\..\MainWindow.xaml"
                this.HamburgerMenuControl.ItemClick += new MahApps.Metro.Controls.ItemClickEventHandler(this.HamburgerMenuControl_OnItemClick);

#line default
#line hidden

#line 90 "..\..\..\MainWindow.xaml"
                this.HamburgerMenuControl.OptionsItemClick += new MahApps.Metro.Controls.ItemClickEventHandler(this.HamburgerMenuControl_OnItemClick);

#line default
#line hidden
                return;

            case 3:
                this.Home = ((MahApps.Metro.Controls.HamburgerMenuGlyphItem)(target));
                return;

            case 4:
                this.taskBarItemInfo = ((System.Windows.Shell.TaskbarItemInfo)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.HamburgerMenuControl = ((MahApps.Metro.Controls.HamburgerMenu)(target));
                return;

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

            case 3:
                this.PrivateView = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.SettingsView = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.AboutView = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.HamburgerMenuControl = ((MahApps.Metro.Controls.HamburgerMenu)(target));
         return;
     }
     this._contentLoaded = true;
 }
コード例 #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._wUserInterface = ((HamburgerMenuApp.MainWindow)(target));

            #line 20 "..\..\MainWindow.xaml"
                this._wUserInterface.Closing += new System.ComponentModel.CancelEventHandler(this._wUserInterface_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.HamburgerMenuControl = ((MahApps.Metro.Controls.HamburgerMenu)(target));

            #line 79 "..\..\MainWindow.xaml"
                this.HamburgerMenuControl.ItemClick += new MahApps.Metro.Controls.ItemClickRoutedEventHandler(this.HamburgerMenuControl_OnItemClick);

            #line default
            #line hidden

            #line 80 "..\..\MainWindow.xaml"
                this.HamburgerMenuControl.OptionsItemClick += new MahApps.Metro.Controls.ItemClickRoutedEventHandler(this.HamburgerMenuControl_OnItemClick);

            #line default
            #line hidden
                return;

            case 3:
                this._bAutomaticWindow = ((MahApps.Metro.Controls.HamburgerMenuGlyphItem)(target));
                return;

            case 4:
                this._bHomeWindow = ((MahApps.Metro.Controls.HamburgerMenuGlyphItem)(target));
                return;

            case 5:
                this._bSettingsWindow = ((MahApps.Metro.Controls.HamburgerMenuGlyphItem)(target));
                return;

            case 6:
                this._bAboutWindow = ((MahApps.Metro.Controls.HamburgerMenuGlyphItem)(target));
                return;

            case 7:
                this._bLoginWindow = ((MahApps.Metro.Controls.HamburgerMenuGlyphItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #6
0
ファイル: Menu_main.g.i.cs プロジェクト: fouadkadi/Gpers
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.HamburgerMenuControl = ((MahApps.Metro.Controls.HamburgerMenu)(target));

            #line 146 "..\..\Menu_main.xaml"
                this.HamburgerMenuControl.ItemInvoked += new System.EventHandler <MahApps.Metro.Controls.HamburgerMenuItemInvokedEventArgs>(this.HamburgerMenuControl_OnItemInvoked);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.SideMenu = ((MahApps.Metro.Controls.HamburgerMenu)(target));
                return;

            case 2:
                this.Header = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.ActiveItem = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.WindowLayer = ((DGP_Snap.MainWindow)(target));

            #line 20 "..\..\MainWindow.xaml"
                this.WindowLayer.Loaded += new System.Windows.RoutedEventHandler(this.WindowLayer_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.NavigationView = ((MahApps.Metro.Controls.HamburgerMenu)(target));

            #line 59 "..\..\MainWindow.xaml"
                this.NavigationView.ItemInvoked += new System.EventHandler <MahApps.Metro.Controls.HamburgerMenuItemInvokedEventArgs>(this.NavigationView_ItemInvoked);

            #line default
            #line hidden
                return;

            case 3:
                this.currentFrame = ((System.Windows.Controls.Frame)(target));
                return;

            case 4:
                this.HoverGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 134 "..\..\MainWindow.xaml"
                this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 14 "..\..\..\..\Views\ShellWindow.xaml"
                ((wpf_gui.Views.ShellWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.OnLoaded);

            #line default
            #line hidden

            #line 15 "..\..\..\..\Views\ShellWindow.xaml"
                ((wpf_gui.Views.ShellWindow)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.OnUnloaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 24 "..\..\..\..\Views\ShellWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnGoBack);

            #line default
            #line hidden
                return;

            case 3:
                this.hamburgerMenu = ((MahApps.Metro.Controls.HamburgerMenu)(target));

            #line 95 "..\..\..\..\Views\ShellWindow.xaml"
                this.hamburgerMenu.ItemClick += new MahApps.Metro.Controls.ItemClickRoutedEventHandler(this.OnItemClick);

            #line default
            #line hidden
                return;

            case 4:
                this.shellFrame = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MetroWindow = ((OpenSpotify.Views.HomeView)(target));

            #line 23 "..\..\..\Views\HomeView.xaml"
                this.MetroWindow.Loaded += new System.Windows.RoutedEventHandler(this.HomeView_OnLoaded);

            #line default
            #line hidden
                return;

            case 2:
                this.HamburgerMenuControl = ((MahApps.Metro.Controls.HamburgerMenu)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #11
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.HamburgerMenuControl = ((MahApps.Metro.Controls.HamburgerMenu)(target));

            #line 70 "..\..\MainWindow.xaml"
                this.HamburgerMenuControl.ItemClick += new MahApps.Metro.Controls.ItemClickEventHandler(this.HamburgerMenuControl_OnItemClick);

            #line default
            #line hidden

            #line 71 "..\..\MainWindow.xaml"
                this.HamburgerMenuControl.OptionsItemClick += new MahApps.Metro.Controls.ItemClickEventHandler(this.HamburgerMenuControl_OnItemClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.HamburgerMenuControl = ((MahApps.Metro.Controls.HamburgerMenu)(target));

            #line 80 "..\..\..\View\Win_MainMenu.xaml"
                this.HamburgerMenuControl.ItemClick += new MahApps.Metro.Controls.ItemClickEventHandler(this.HamburgerMenuControl_OnItemClick);

            #line default
            #line hidden

            #line 81 "..\..\..\View\Win_MainMenu.xaml"
                this.HamburgerMenuControl.OptionsItemClick += new MahApps.Metro.Controls.ItemClickEventHandler(this.HamburgerMenuControl_OnItemClick);

            #line default
            #line hidden
                return;

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

            case 3:

            #line 177 "..\..\..\View\Win_MainMenu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.gridspliter1 = ((System.Windows.Controls.GridSplitter)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #13
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.HamburgerMenuControl = ((MahApps.Metro.Controls.HamburgerMenu)(target));

            #line 42 "..\..\MainWindow.xaml"
                this.HamburgerMenuControl.ItemClick += new MahApps.Metro.Controls.ItemClickEventHandler(this.HamburgerMenuControl_OnItemClick);

            #line default
            #line hidden

            #line 43 "..\..\MainWindow.xaml"
                this.HamburgerMenuControl.OptionsItemClick += new MahApps.Metro.Controls.ItemClickEventHandler(this.HamburgerMenuControl_OnItemClick);

            #line default
            #line hidden
                return;

            case 2:
                this.dza = ((MahApps.Metro.Controls.HamburgerMenuIconItem)(target));
                return;

            case 3:
                this.PrevisionPage = ((MahApps.Metro.Controls.HamburgerMenuIconItem)(target));
                return;

            case 4:
                this.Param = ((MahApps.Metro.Controls.HamburgerMenuIconItem)(target));
                return;

            case 5:
                this.Favo = ((MahApps.Metro.Controls.HamburgerMenuIconItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #14
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Main = ((HamburgerMenuApp.V3.MainWindow)(target));
                return;

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

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

            #line 55 "..\..\MainWindow.xaml"
                this.ToggleRecording_Button.Click += new System.Windows.RoutedEventHandler(this.ToggleRecording_Button_OnClick);

            #line default
            #line hidden
                return;

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

            #line 60 "..\..\MainWindow.xaml"
                this.StopRecording_Button.Click += new System.Windows.RoutedEventHandler(this.StopRecording_Button_OnClickRecording);

            #line default
            #line hidden
                return;

            case 5:
                this.Connected_Label = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.Disconnected_Label = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.ServerIp = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.UserLogin = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.UserPassword = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

            #line 93 "..\..\MainWindow.xaml"
                this.LoginButton.Click += new System.Windows.RoutedEventHandler(this.ConnectToApi);

            #line default
            #line hidden
                return;

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

            case 12:
                this.InfoLabel = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.Logged_Label = ((System.Windows.Controls.Label)(target));
                return;

            case 14:

            #line 125 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.ProfileName_label = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.HamburgerMenuControl = ((MahApps.Metro.Controls.HamburgerMenu)(target));
                return;

            case 17:
                this.HomeViewButton = ((HamburgerMenuApp.V3.HamburgerMenuIconItem)(target));
                return;

            case 18:
                this.MonitorViewButton = ((HamburgerMenuApp.V3.HamburgerMenuIconItem)(target));
                return;

            case 19:
                this.RecordingViewButton = ((HamburgerMenuApp.V3.HamburgerMenuIconItem)(target));
                return;

            case 20:
                this.SubjectsButton = ((HamburgerMenuApp.V3.HamburgerMenuIconItem)(target));
                return;

            case 21:
                this.RepositoriesButton = ((HamburgerMenuApp.V3.HamburgerMenuIconItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #15
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.main = ((InjectorMainWindow.MainWindow)(target));
                return;

            case 2:
                this.mainLayout = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:

            #line 109 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Link);

            #line default
            #line hidden
                return;

            case 4:

            #line 120 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DisLink);

            #line default
            #line hidden
                return;

            case 5:

            #line 130 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ControlLeftLed);

            #line default
            #line hidden
                return;

            case 6:

            #line 135 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ControlRightLed);

            #line default
            #line hidden
                return;

            case 7:

            #line 140 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AllReset);

            #line default
            #line hidden
                return;

            case 8:
                this.sv = ((System.Windows.Controls.Slider)(target));

            #line 157 "..\..\MainWindow.xaml"
                this.sv.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ChangedSv);

            #line default
            #line hidden
                return;

            case 9:
                this.pages = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));

            #line 171 "..\..\MainWindow.xaml"
                this.pages.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.pages_SelectionChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.distanceAX = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.ElectriclDisA = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:

            #line 212 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MoveA);

            #line default
            #line hidden
                return;

            case 13:

            #line 216 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MoveLeftA);

            #line default
            #line hidden
                return;

            case 14:

            #line 226 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RefreshA);

            #line default
            #line hidden
                return;

            case 15:

            #line 232 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ExpendA);

            #line default
            #line hidden
                return;

            case 16:

            #line 236 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RefreshEClampA);

            #line default
            #line hidden
                return;

            case 17:

            #line 240 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShrinkA);

            #line default
            #line hidden
                return;

            case 18:
                this.distanceBX = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.ElectriclDisB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.distanceZ = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:

            #line 274 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MoveB);

            #line default
            #line hidden
                return;

            case 22:

            #line 278 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MoveLeftB);

            #line default
            #line hidden
                return;

            case 23:

            #line 283 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RefreshB);

            #line default
            #line hidden
                return;

            case 24:

            #line 289 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ExpendB);

            #line default
            #line hidden
                return;

            case 25:

            #line 293 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RefreshEClampB);

            #line default
            #line hidden
                return;

            case 26:

            #line 297 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShrinkB);

            #line default
            #line hidden
                return;

            case 27:

            #line 304 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MoveUp);

            #line default
            #line hidden
                return;

            case 28:

            #line 308 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RefreshVertical);

            #line default
            #line hidden
                return;

            case 29:

            #line 312 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MoveDown);

            #line default
            #line hidden
                return;

            case 30:
                this.com = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 31:

            #line 335 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RefreshComs);

            #line default
            #line hidden
                return;

            case 32:
                this.ipbox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 34:
                this.logBox = ((System.Windows.Documents.Paragraph)(target));
                return;

            case 35:
                this.interfaceList = ((System.Windows.Controls.ListBox)(target));
                return;

            case 36:

            #line 466 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DoInterfaceClick);

            #line default
            #line hidden
                return;

            case 37:
                this.resultBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 38:
                this.positioninfo = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 39:
                this.stepNum = ((MahApps.Metro.Controls.NumericUpDown)(target));
                return;

            case 40:
                this.leftMenus = ((MahApps.Metro.Controls.HamburgerMenu)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #16
0
ファイル: Principal.g.i.cs プロジェクト: fouadkadi/Gpers
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((Authentification.Principal)(target));
                return;

            case 2:

            #line 161 "..\..\Principal.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowAccent);

            #line default
            #line hidden
                return;

            case 3:
                this.flyoutsControl = ((MahApps.Metro.Controls.FlyoutsControl)(target));
                return;

            case 4:

            #line 183 "..\..\Principal.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.nouveau_compte_checked);

            #line default
            #line hidden
                return;

            case 5:

            #line 196 "..\..\Principal.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.mofid_compte_checked);

            #line default
            #line hidden
                return;

            case 6:

            #line 210 "..\..\Principal.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Infoentreprise_checked);

            #line default
            #line hidden
                return;

            case 7:

            #line 224 "..\..\Principal.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Logout_click);

            #line default
            #line hidden
                return;

            case 8:
                this.HamburgerMenuControl = ((MahApps.Metro.Controls.HamburgerMenu)(target));

            #line 278 "..\..\Principal.xaml"
                this.HamburgerMenuControl.ItemInvoked += new System.EventHandler <MahApps.Metro.Controls.HamburgerMenuItemInvokedEventArgs>(this.HamburgerMenuControl_OnItemInvoked);

            #line default
            #line hidden

            #line 283 "..\..\Principal.xaml"
                this.HamburgerMenuControl.ItemClick += new MahApps.Metro.Controls.ItemClickEventHandler(this.click);

            #line default
            #line hidden
                return;

            case 9:

            #line 317 "..\..\Principal.xaml"
                ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.ajouter_employée);

            #line default
            #line hidden
                return;

            case 10:

            #line 323 "..\..\Principal.xaml"
                ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.modif_click);

            #line default
            #line hidden
                return;

            case 11:

            #line 336 "..\..\Principal.xaml"
                ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Attestation_clik);

            #line default
            #line hidden
                return;

            case 12:

            #line 346 "..\..\Principal.xaml"
                ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Historique_salaire);

            #line default
            #line hidden
                return;

            case 13:

            #line 380 "..\..\Principal.xaml"
                ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.planing_click);

            #line default
            #line hidden
                return;

            case 14:

            #line 391 "..\..\Principal.xaml"
                ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.ajout_click);

            #line default
            #line hidden
                return;

            case 15:

            #line 422 "..\..\Principal.xaml"
                ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Tile_Click);

            #line default
            #line hidden
                return;

            case 16:

            #line 433 "..\..\Principal.xaml"
                ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.condiat_click);

            #line default
            #line hidden
                return;

            case 17:

            #line 442 "..\..\Principal.xaml"
                ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Tile_Click_1);

            #line default
            #line hidden
                return;

            case 18:

            #line 451 "..\..\Principal.xaml"
                ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Tile_Click_2);

            #line default
            #line hidden
                return;

            case 19:

            #line 461 "..\..\Principal.xaml"
                ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Tile_Click_3);

            #line default
            #line hidden
                return;

            case 20:

            #line 495 "..\..\Principal.xaml"
                ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Définir_click);

            #line default
            #line hidden
                return;

            case 21:

            #line 505 "..\..\Principal.xaml"
                ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.evaclick);

            #line default
            #line hidden
                return;

            case 22:

            #line 541 "..\..\Principal.xaml"
                ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.an_click);

            #line default
            #line hidden
                return;

            case 23:

            #line 551 "..\..\Principal.xaml"
                ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.ann_click);

            #line default
            #line hidden
                return;

            case 24:
                this.user_name = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.calendar1 = ((System.Windows.Controls.Calendar)(target));
                return;

            case 26:
                this.accent = ((System.Windows.Controls.ComboBox)(target));

            #line 648 "..\..\Principal.xaml"
                this.accent.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.accent_SelectionChanged);

            #line default
            #line hidden
                return;

            case 27:
                this.theme = ((System.Windows.Controls.ComboBox)(target));

            #line 654 "..\..\Principal.xaml"
                this.theme.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.theme_SelectionChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #17
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\MainWindow.xaml"
                ((TMS.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MetroWindow_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.HamburgerMenuControl = ((MahApps.Metro.Controls.HamburgerMenu)(target));

            #line 41 "..\..\MainWindow.xaml"
                this.HamburgerMenuControl.ItemClick += new MahApps.Metro.Controls.ItemClickEventHandler(this.HamburgerMenuControl_OnItemClick);

            #line default
            #line hidden

            #line 42 "..\..\MainWindow.xaml"
                this.HamburgerMenuControl.OptionsItemClick += new MahApps.Metro.Controls.ItemClickEventHandler(this.HamburgerMenuControl_OnItemClick);

            #line default
            #line hidden
                return;

            case 3:
                this.item_logout = ((MahApps.Metro.Controls.HamburgerMenuIconItem)(target));
                return;

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

            #line 94 "..\..\MainWindow.xaml"
                this.Btn_window.Click += new System.Windows.RoutedEventHandler(this.Btn_window_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.flyout_NewProject = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 6:
                this.tbNewProjectName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.dpDueDateOfNewProject = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 8:
                this.btnOkForCreateProject = ((System.Windows.Controls.Button)(target));

            #line 115 "..\..\MainWindow.xaml"
                this.btnOkForCreateProject.Click += new System.Windows.RoutedEventHandler(this.Button_OkForNewProject_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.flyout_filterTasks = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 10:
                this.tbFilterByName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.dpFilterByDateFrom = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 12:
                this.dpFilterByDateUntil = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 13:
                this.lblFilterAsignees = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.lvFilterByAsignees = ((System.Windows.Controls.ListView)(target));
                return;

            case 15:
                this.btnOkForFilterTasks = ((System.Windows.Controls.Button)(target));
                return;

            case 16:
                this.flyout = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 17:
                this.lbl_proj = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.listview = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }