Inheritance: MenuProvider, IRawElementProviderFragmentRoot
Example #1
0
 private void SetupMainMenuProvider()
 {
     if (form.Menu != null)
     {
         mainMenuProvider = (MainMenuProvider)ProviderFactory.GetProvider(form.Menu);
         if (mainMenuProvider != null)
         {
             AddChildProvider(mainMenuProvider);
         }
     }
 }
Example #2
0
		private void SetupMainMenuProvider ()
		{
			if (form.Menu != null) {
				mainMenuProvider = (MainMenuProvider)
					ProviderFactory.GetProvider (form.Menu);
				if (mainMenuProvider != null)
					AddChildProvider (mainMenuProvider);
			}
		}