Esempio n. 1
0
        /// <summary>
        /// Open generate image window for the current html.
        /// </summary>
        private void OnGenerateImage_Click(object sender, RoutedEventArgs e)
        {
            var w = new GenerateImageWindow(_mainControl.GetHtml());

            w.Owner  = this;
            w.Width  = Width * 0.8;
            w.Height = Height * 0.8;
            w.ShowDialog();
        }
 /// <summary>
 /// Open generate image window for the current html.
 /// </summary>
 private void OnGenerateImage_Click(object sender, RoutedEventArgs e)
 {
     var w = new GenerateImageWindow(_mainControl.GetHtml());
     w.Owner = this;
     w.Width = Width * 0.8;
     w.Height = Height * 0.8;
     w.ShowDialog();
 }