public App()
        {
            ServiceKnownTypeProvider.Register <ChangeImageSizeModeAction>();
            ServiceKnownTypeProvider.Register <ImageSizeMode>();
            Startup            += Application_Startup;
            Exit               += Application_Exit;
            UnhandledException += Application_UnhandledException;

            InitializeComponent();
        }
Exemplo n.º 2
0
 protected void Application_Start(object sender, EventArgs e)
 {
     ServiceKnownTypeProvider.Register(typeof(List <int>));
 }
 void Application_Start(object sender, EventArgs e)
 {
     // Code that runs on application startup
     ServiceKnownTypeProvider.Register <ChangeImageSizeModeAction>();
     ServiceKnownTypeProvider.Register <ImageSizeMode>();
 }
Exemplo n.º 4
0
 protected void Application_Start(object sender, EventArgs e)
 {
     ServiceKnownTypeProvider.Register <GangOfFour>();
 }
Exemplo n.º 5
0
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            ServiceKnownTypeProvider.Register <ExportState>();

            this.RootVisual = new MainPage();
        }
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            ServiceKnownTypeProvider.Register(typeof(List <int>));

            this.RootVisual = new MainPage();
        }
Exemplo n.º 7
0
 protected void Application_Start(object sender, EventArgs e)
 {
     ServiceKnownTypeProvider.Register <ExportState>();
     StaticInfo.AppDataDirectoryPath = Server.MapPath("~/App_Data/");
 }