Пример #1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            InkPaintWindow inkpanel = new InkPaintWindow();

            inkpanel.Show();
            this.Close();
        }
Пример #2
0
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            var            inkpaintwin = new InkPaintWindow();
            InkPaintWindow inkpanelwin = new InkPaintWindow();

            inkpanelwin.Show();

            OpenFileDialog openFileDialog1 = new OpenFileDialog();

            openFileDialog1.Filter = "File di FrancyINK (*.fink)|*.fink";

            if (openFileDialog1.ShowDialog() == true)
            {
                FileStream fs = new FileStream(openFileDialog1.FileName,
                                               FileMode.Open);
                inkpaintwin.InkPanel.Strokes = new StrokeCollection(fs);
                fs.Close();
                this.Close();
            }
        }
Пример #3
0
        private void OpenBeta(object sender, RoutedEventArgs e)
        {
            InkPaintWindow window = new InkPaintWindow();

            window.Show();
        }