Пример #1
0
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            Dictionary <string, string> dir = e.InitParams as Dictionary <string, string>;

            setting.BgImageUrl = DrawingSetting.GetSettingValue(dir, "BgImageUrl");

            this.RootVisual = new MainPage(setting);
        }
Пример #2
0
        public MainPage(DrawingSetting setting)
        {
            InitializeComponent();

            dropDrager = new DropDrager(casDrawPanel, ssvDraw, scaleTransform);

            LoadImage(setting.BgImageUrl);
        }