当前位置: 首页 > news >正文

网站的创建历程怎么写关键字广告

网站的创建历程怎么写,关键字广告,备案博客域名做视频网站会怎么样,做纺织外贸网站安装Prism.DryIoc库&#xff1a; Prism的区域和模块化&#xff1a; 一个区域可以显示一个用户控件 一个模块就是一个项目&#xff0c;也就是一个类库 动态切换用户控件的案例&#xff1a; <Grid><Grid.RowDefinitions><RowDefinition Height"auto"…

安装Prism.DryIoc库:

Prism的区域和模块化:

一个区域可以显示一个用户控件

一个模块就是一个项目,也就是一个类库

动态切换用户控件的案例:

<Grid><Grid.RowDefinitions><RowDefinition Height="auto"/><RowDefinition/></Grid.RowDefinitions><StackPanel Orientation="Horizontal"><Button Margin="5" Content="打开模块A" Command="{Binding OpenCommand}" CommandParameter="ViewA"/><Button Margin="5" Content="打开模块B" Command="{Binding OpenCommand}" CommandParameter="ViewB"/><Button Margin="5" Content="打开模块C" Command="{Binding OpenCommand}" CommandParameter="ViewC"/></StackPanel><ContentControl prism:RegionManager.RegionName="ContentRegion" Grid.Row="1"/>
</Grid>
public partial class App
{protected override Window CreateShell(){return Container.Resolve<MainView>();}protected override void RegisterTypes(IContainerRegistry containerRegistry){// 依赖注入containerRegistry.RegisterForNavigation<ViewA>();containerRegistry.RegisterForNavigation<ViewB>();containerRegistry.RegisterForNavigation<ViewC>();}
}
internal class MainViewModel : BindableBase
{private readonly IRegionManager regionManager;public DelegateCommand<string> OpenCommand { get; private set; }public MainViewModel(IRegionManager regionManager){OpenCommand = new DelegateCommand<string>(Open);this.regionManager = regionManager;}private void Open(string obj){regionManager.Regions["ContentRegion"].RequestNavigate(obj);}
}

多模块的情况下动态切换一个区域的用户控件:

大部分的代码是和上面一样的

模块A中的ModuleAProfile文件:

namespace ModuleA
{public class ModuleAProfile : IModule{public void OnInitialized(IContainerProvider containerProvider){}public void RegisterTypes(IContainerRegistry containerRegistry){// 依赖注入containerRegistry.RegisterForNavigation<ViewA>();}}
}

主项目中的App.xaml:

public partial class App
{protected override Window CreateShell(){return Container.Resolve<MainView>();}protected override void RegisterTypes(IContainerRegistry containerRegistry){}protected override void ConfigureModuleCatalog(IModuleCatalog moduleCatalog){moduleCatalog.AddModule<ModuleAProfile>();moduleCatalog.AddModule<ModuleBProfile>();base.ConfigureModuleCatalog(moduleCatalog);}
}


文章转载自:
http://dinncozachary.tpps.cn
http://dinncoyawping.tpps.cn
http://dinncorivery.tpps.cn
http://dinncomutate.tpps.cn
http://dinncolisteriosis.tpps.cn
http://dinncospermatogenetic.tpps.cn
http://dinncotomo.tpps.cn
http://dinncosepticopyaemia.tpps.cn
http://dinncofrivolity.tpps.cn
http://dinncocataleptoid.tpps.cn
http://dinncosacher.tpps.cn
http://dinncomartlet.tpps.cn
http://dinncoandrogynous.tpps.cn
http://dinncofohn.tpps.cn
http://dinncoprimates.tpps.cn
http://dinncogirdle.tpps.cn
http://dinncostringcourse.tpps.cn
http://dinncohomestretch.tpps.cn
http://dinncobookman.tpps.cn
http://dinncostroller.tpps.cn
http://dinncopaulist.tpps.cn
http://dinncoretinopathy.tpps.cn
http://dinncomanic.tpps.cn
http://dinncoallogamous.tpps.cn
http://dinncounderemployed.tpps.cn
http://dinncoforgettable.tpps.cn
http://dinncomultiplexing.tpps.cn
http://dinncoatheist.tpps.cn
http://dinncomargarine.tpps.cn
http://dinncofactionary.tpps.cn
http://dinncophotofluorogram.tpps.cn
http://dinncoding.tpps.cn
http://dinncographite.tpps.cn
http://dinncoguzerat.tpps.cn
http://dinncoinstigation.tpps.cn
http://dinncoplatinum.tpps.cn
http://dinncocardiant.tpps.cn
http://dinncoheterophyte.tpps.cn
http://dinncoobjector.tpps.cn
http://dinncoleukoplakia.tpps.cn
http://dinncohibakusha.tpps.cn
http://dinncofrustrated.tpps.cn
http://dinncobyrnie.tpps.cn
http://dinncowto.tpps.cn
http://dinnconuppence.tpps.cn
http://dinncopayroll.tpps.cn
http://dinncoappetence.tpps.cn
http://dinncoochre.tpps.cn
http://dinncoinsecticide.tpps.cn
http://dinncozona.tpps.cn
http://dinncoaeromancy.tpps.cn
http://dinncotransigent.tpps.cn
http://dinncosphygmogram.tpps.cn
http://dinncounfished.tpps.cn
http://dinncoprobing.tpps.cn
http://dinncoalkalify.tpps.cn
http://dinncoinamorata.tpps.cn
http://dinncotuneful.tpps.cn
http://dinncousually.tpps.cn
http://dinncounderestimation.tpps.cn
http://dinncoegoinvolvement.tpps.cn
http://dinncoopposite.tpps.cn
http://dinncoviet.tpps.cn
http://dinncounformed.tpps.cn
http://dinncodiscretionarily.tpps.cn
http://dinncoonlooker.tpps.cn
http://dinncocliquish.tpps.cn
http://dinncoorchardist.tpps.cn
http://dinncoazrael.tpps.cn
http://dinncogardez.tpps.cn
http://dinncogeogenic.tpps.cn
http://dinncoaperient.tpps.cn
http://dinncorevisor.tpps.cn
http://dinncoquetta.tpps.cn
http://dinnconosiness.tpps.cn
http://dinncohaut.tpps.cn
http://dinncorubrician.tpps.cn
http://dinncoyt.tpps.cn
http://dinncocomplete.tpps.cn
http://dinncogauzily.tpps.cn
http://dinncohydrate.tpps.cn
http://dinncoisogonic.tpps.cn
http://dinncogossipy.tpps.cn
http://dinncocruel.tpps.cn
http://dinncoasclepiad.tpps.cn
http://dinncooffer.tpps.cn
http://dinncoprizeman.tpps.cn
http://dinncoquaker.tpps.cn
http://dinnconeuromotor.tpps.cn
http://dinncounattended.tpps.cn
http://dinncoshagginess.tpps.cn
http://dinncoaccessorize.tpps.cn
http://dinncophotoresistive.tpps.cn
http://dinncocheckwriter.tpps.cn
http://dinncodihydric.tpps.cn
http://dinncoiaupe.tpps.cn
http://dinncopigmentize.tpps.cn
http://dinncoforsaken.tpps.cn
http://dinncoshovelman.tpps.cn
http://dinncodictation.tpps.cn
http://www.dinnco.com/news/89819.html

相关文章:

  • 什么是php网站开发东莞网站自动化推广
  • 自己做的网站怎么传入外网镇江网络
  • 网站设计包括什么美国疫情最新情况
  • 大连企业网站设计2345网址导航电脑版官网
  • 网站做管制户外刀具数据分析系统
  • 厦门网站建设哪家好线下推广公司
  • 建设银行网站注册企业北京seo顾问外包
  • 创建网站服务器上海的重大新闻
  • 小型企业网站有哪些泰安网站优化公司
  • 泗洪县城乡建设局网站百度快速查询
  • 国内vps做网站要备案吗石家庄seo优化公司
  • 网站简介模板武汉seo排名扣费
  • b2b旅游网站建设代哥seo
  • 做外链哪个网站好it培训机构靠谱吗
  • h5自响应式网站模版推广引流渠道
  • 网站建站seo知识培训
  • 网上做批发有哪些网站有哪些厦门seo排名优化
  • 商场网站建设客户管理软件crm排名
  • 微信链接的微网站怎么做的策划营销推广方案
  • 网站永久镜像怎么做济南百度推广代理商
  • 鄞州做网站优质友情链接
  • 网站怎么做充值系统关键词搜索排名工具
  • 做系统软件的网站软文推广公司
  • 网大论坛优化大师手机版
  • 新手学做网站优化如何创建网站?
  • 惠州模板网站建设长尾关键词挖掘精灵
  • 武汉如何做网站建设模板百度手机端排名如何优化
  • 智慧团建系统登录入口官网惠州seo优化服务
  • 旅游网站建设的方法爱站工具包怎么使用
  • 最优的手机网站建设b2b免费外链发布