public override void ViewDidLayoutSubviews() { base.ViewDidLayoutSubviews(); var i = new BootStrapClass(); i.PushNewScreen(); }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); // Create your application here SetContentView(Resource.Layout.mainLayout); var helper = new BootStrapClass(this, Resource.Id.your_placeholder); //RunOnUiThread(() => //{ helper.PushNewScreen(); //}); }
static void Main(string[] args) { var bootStrap = new BootStrapClass(); bootStrap.Start(); //var catalog = new AggregateCatalog(); ////Add all the parts found in all assemblies in ////the same directory as the executing program //catalog.Catalogs.Add( // new DirectoryCatalog( // Path.GetDirectoryName( // Assembly.GetExecutingAssembly().Location // ) // ) //); ////Create the CompositionContainer with the parts in the catalog. //CompositionContainer container = new CompositionContainer(catalog); ////Fill the imports of this object //container.ComposeParts(this); }