blob: a49c213796fbe8740eca4be5bbc5c12f3ef8287e (
plain)
| ofs | hex dump | ascii |
|---|
| 0000 | 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 80 00 00 00 80 08 04 00 00 00 69 37 a9 | .PNG........IHDR.............i7. |
| 0020 | 40 00 00 00 04 67 41 4d 41 00 00 b1 8f 0b fc 61 05 00 00 00 20 63 48 52 4d 00 00 7a 26 00 00 80 | @....gAMA......a.....cHRM..z&... |
| 0040 | 84 00 00 fa 00 00 00 80 e8 00 00 75 30 00 00 ea 60 00 00 3a 98 00 00 17 70 9c ba 51 3c 00 00 00 | ...........u0...`..:....p..Q<... |
| 0060 | 02 62 4b 47 44 00 00 aa 8d 23 32 00 00 00 09 70 48 59 73 00 00 0e c4 00 00 0e c4 01 95 2b 0e 1b | .bKGD....#2....pHYs..........+.. |
| 0080 | 00 00 00 07 74 49 4d 45 07 e3 03 1c 0e 21 39 d8 6f e1 9a 00 00 0e aa 49 44 41 54 78 da ed 5d 79 | ....tIME.....!9.o......IDATx..]y |
| 00a0 | 94 14 c5 19 ff 55 cf 2e 3b 0c a2 ac e0 81 02 c1 25 09 22 01 94 23 dc 11 16 96 97 80 04 d4 88 07 | .....U..;.......%."..#.......... |
| 00c0 | 46 c5 67 42 bc 50 c0 dd 39 c8 cb 1b ae ed ee 05 5d 43 24 8f 55 03 88 48 cc a2 ef 11 10 93 b0 b2 | F.gB.P..9.......]C$.U..H........ |
| 00e0 | 1c 82 ac c8 25 1a 05 94 15 11 09 88 b0 ac 2c b0using MahApps.Metro.Controls;
using MaterialDesignThemes.Wpf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using Tango.BL.Entities;
using Tango.Core.Commands;
namespace Tango.MachineStudio.UI.Html
{
/// <summary>
/// Interaction logic for DialogWindow.xaml
/// </summary>
public partial class HtmlWindow : Window
{
public HtmlWindow(HtmlPage html)
{
InitializeComponent();
webBrowser.Loaded += (_, __) =>
{
webBrowser.NavigateToString(html.Html);
};
}
private void OKClicked(object sender, RoutedEventArgs e)
{
DialogResult = true;
Close();
}
private void CloseClicked(object sender, RoutedEventArgs e)
{
DialogResult = false;
Close();
}
}
}
|