Ejemplo n.º 1
0
        public MainWindow()
        {
            InitializeComponent();


            VirtualKeyboard = new Keyboard(Core)
            {
                Lang       = Languages.Rus,
                Width      = 500,
                Height     = 300,
                Visibility = Visibility.Collapsed,
                FontSize   = 20,
                Background = new ImageBrush(new BitmapImage(new Uri($"pack://application:,,,/VK.png", UriKind.Absolute))
                {
                    CreateOptions = BitmapCreateOptions.IgnoreImageCache
                })
            };

            Grid.SetRow(VirtualKeyboard, 0);
            VisitkaPreview = new Visit();
            Slide4.Children.Add(VisitkaPreview);
            History = new VisitDB("History.db");
        }