| ofs | hex dump | ascii |
|---|
| 0000 | ff d8 ff e0 00 10 4a 46 49 46 00 01 01 01 00 48 00 48 00 00 ff ed 1d e8 50 68 6f 74 6f 73 68 6f | ......JFIF.....H.H......Photosho |
| 0020 | 70 20 33 2e 30 00 38 42 49 4d 04 04 00 00 00 00 00 27 1c 01 5a 00 03 1b 25 47 1c 02 00 00 02 00 | p.3.0.8BIM.......'..Z...%G...... |
| 0040 | 00 1c 02 37 00 08 32 30 31 31 31 31 30 37 1c 02 3c 00 06 31 36 32 31 34 38 00 38 42 49 4d 04 25 | ...7..20111107..<..162148.8BIM.% |
| 0060 | 00 00 00 00 00 10 8c a6 f6 40 eb 03 cf 11 31 2a 1d f0 ba 3e ac d8 38 42 49 4d 04 3a 00 00 00 00 | .........@....1*...>..8BIM.:.... |
| 0080 | 00 8f 00 00 00 10 00 00 00 01 00 00 00 00 00 0b 70 72 69 6e 74 4f 75 74 70 75 74 00 00 00 04 00 | ................printOutput..... |
| 00a0 | 00 00 00 50 73 74 53 62 6f 6f 6c 01 00 00 00 00 49 6e 74 65 65 6e 75 6d 00 00 00 00 49 6e 74 65 | ...PstSbool.....Inteenum....Inte |
| 00c0 | 00 00 00 00 43 6c 72 6d 00 00 00 0f 70 72 69 6e 74 53 69 78 74 65 65 6e 42 69 74 62 6f 6f 6c 00 | ....Clrm....printSixteenBitbool. |
| 00e0 | 00 00 00 0b 70 72 69 6e 74 65 72 4e 61 6d 65 54 45 58 54 00 00 00 0d 00 4c 00 65 00 78 00 6d 00 | ....printerNameTEXT.....L.e.x.m. |
| 0100 | 61 00 72 00 6b 00 20 00 43 00 35 00 31 00 30 00 00 00 38 42 49 4d 04 3b 00 00 00 00 01 b2 00 00 | a.r.k...C.5.1.0...8BIM.;........ |
| 0120 | 00 10 00 00 00 01 00 00 00 00 00 12 70 72 69 6e 74 4f 75 74 70 75 74 4f 70 74 69 6f 6e 73 00 00 | ............printOutputOptions.. |
| 0140 | 00 12 00 00 00 00 43 70 74 6e 62 6f 6f 6c 00 00 00 00 00 43 6c 62 72 62 6f 6f 6c 00 00 00 00 00 | ......Cptnbool.....Clbrbool..... |
| 0160 | 52 67 73 4d 62 6f 6f 6c 00 00 00 00 00 43 72 6e 43 62 6f 6f 6c 00 00 00 00 00 43 6e 74 43 62 6f | RgsMbool.....CrnCbool.....CntCbo |
| 0180 | 6f 6c 00 00 00 00 00 4c 62 6c 73 62 6f 6f 6c 00 00 00 00 00 4e 67 74 76 62 6f 6f 6c 00 00 00 00 | ol.....Lblsbool.....Ngtvbool.... |
| 01a0 | 00 45 6d 6c 44 62 6f 6f 6c 00 00 00 00 00 49 6e 74 72 62 6f 6f 6c 00 00 00 00 00 42 63 6b 67 4f | .EmlDbool.....Intrbool.....BckgO |
| 01c0 | 62 6a 63 00 00 00 01 00 00 00 00 00 00 52 47 42 43 00 00 00 03 00 00 00 00 52 64 20 20 64using 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.Animation;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace Tango.MachineStudio.UI.Notifications
{
/// <summary>
/// Interaction logic for TextInputBoxWindow.xaml
/// </summary>
public partial class TextInputBoxWindow : Window
{
public TextInputBoxWindow()
{
InitializeComponent();
this.Loaded += TextInputBoxWindow_Loaded;
ContentRendered += TextInputBoxWindow_ContentRendered;
}
private void TextInputBoxWindow_ContentRendered(object sender, EventArgs e)
{
txtText.Focus();
txtText.SelectAll();
}
private void TextInputBoxWindow_Loaded(object sender, RoutedEventArgs e)
{
DoubleAnimation ani = new DoubleAnimation();
ani.To = 1;
ani.Duration = TimeSpan.FromSeconds(0.5);
this.BeginAnimation(Window.OpacityProperty, ani);
}
public String Hint
{
get { return (String)GetValue(HintProperty); }
set { SetValue(HintProperty, value); }
}
public static readonly DependencyProperty HintProperty =
DependencyProperty.Register("Hint", typeof(String), typeof(TextInputBoxWindow), new PropertyMetadata(null));
public String Response
{
get { return (String)GetValue(ResponseProperty); }
set { SetValue(ResponseProperty, value); }
}
public static readonly DependencyProperty ResponseProperty =
DependencyProperty.Register("Response", typeof(String), typeof(TextInputBoxWindow), new PropertyMetadata(null));
public String Message
{
get { return (String)GetValue(MessageProperty); }
set { SetValue(MessageProperty, value); }
}
public static readonly DependencyProperty MessageProperty =
DependencyProperty.Register("Message", typeof(String), typeof(TextInputBoxWindow), new PropertyMetadata(null));
public Brush IconColor
{
get { return (Brush)GetValue(IconColorProperty); }
set { SetValue(IconColorProperty, value); }
}
public static readonly DependencyProperty IconColorProperty =
DependencyProperty.Register("IconColor", typeof(Brush), typeof(TextInputBoxWindow), new PropertyMetadata(Brushes.Black));
public PackIconKind IconKind
{
get { return (PackIconKind)GetValue(IconKindProperty< f5 d3 2c fc 90 e0 91 8f d8 dc 89 | Sz../.{...*....8...U...,........ |
| 0e20 | b1 6a 49 24 93 12 a4 2c 8b c5 35 ee fc e3 a3 47 9a 2a cc ea b6 43 b6 93 a0 08 c4 59 5d 11 65 ff | .jI$...,..5....G.*...C.....Y].e. |
| 0e40 | d1 ef ea ae ba ed 73 18 3e 89 22 7f da 83 d5 2a 6d 9d 37 36 c7 00 5a 18 76 0f 31 ae ff 00 f3 95 | ......s.>."....*m.76..Z.v.1..... |
| 0e60 | d7 d7 04 00 08 7d 87 be ba 7e 7b 94 33 b1 9d 7e 0d f8 f5 11 ba c6 16 b3 76 8a 60 75 07 c9 6c 86 | .....}...~{.3..~........v.`u..l. |
| 0e80 | 84 78 17 12 c9 c8 e9 e1 81 ba 8c ca c0 6b 74 d1 d5 c1 4a f6 53 6d bd 43 0f d3 63 2a a3 1d d7 53 | .x...........kt...J.Sm.C..c*...S |
| 0ea0 | b5 a0 39 b6 30 07 ef f5 3e 97 e7 6d d8 83 8d 8f d6 fa 77 4b ce b7 32 af 57 2e 9b dd 76 0d 35 1d | ..9.0...>..m......wK..2.W...v.5. |
| 0ec0 | fe a0 f4 59 8f 4f f9 96 db 65 8e fe a2 15 6e c8 78 ea 16 58 1c db 8e 0d a6 48 23 56 86 78 a9 ab | ...Y.O...e....n.x..X.....H#V.x.. |
| 0ee0 | 7a 3a 77 1f e0 b1 48 50 24 eb af db f3 3c f7 d6 3a 8b 33 ba 65 d1 02 ea 5c df bb 61 55 da a6 eb | z:w...HP$....<..:.3.e...\..aU... |
| 0f00 | 2d b3 69 b1 ee b0 81 00 b8 93 03 c1 b3 f4 53 08 d6 3b 73 e4 a7 c7 9a 58 e3 c2 00 3a 93 f6 b4 39 | -.i...........S..;s....X...:...9 |
| 0f20 | 8e 5a 19 f2 71 c8 91 e9 11 a1 fd 55 c1 3e 0a 5e bd ad a9 ed 0f 2d ac 43 df 03 8d bd c9 84 ab 76 | .Z..q......U.>.^.....-.C.......v |
| 0f40 | 3b 65 d6 87 3c f6 63 7d a0 ff 00 59 ff 00 f9 15 2f b6 5c 48 ae a3 e8 b4 98 0c af da 24 e9 cf d2 | ;e..<.c}...Y..../.\H........$... |
| 0f60 | 77 f6 d4 9c 39 b2 7c c7 86 3e 3e 9f f9 ac 1c 7c ae 03 e8 1c 53 fe a7 ae 5f e3 cb fe e5 a0 3e b2 | w...9.|..>>....|....S..._.....>. |
| 0f80 | 55 d3 f3 eb b1 d9 36 4b 1c c7 7e 85 ad b4 92 0e e6 b7 f4 85 b5 7b 7f 39 8b 65 bd 54 75 6c ce a1 | U.....6K..~..........{.9.e.Tul.. |
| 0fa0 | d2 fe cc ca b4 fb 45 19 d6 34 d6 eb 6e b1 db dc c3 ea fb 99 4d ad 7e c6 6d fd 16 f6 2e 66 bf aa | ......E..4..n.......M.~.m....f.. |
| 0fc0 | 76 d7 d3 b2 1d 9c 58 df 57 21 b5 55 70 25 c5 ba 3a db 1d ee db fd b5 d0 67 e4 62 59 d3 3a 56 4b | v.....X.W!.Up%..:.......g.bY.:VK |
| 0fe0 | 72 05 d9 b5 57 f6 7b db f9 ee 6d 3e da 32 1c 43 47 f8 2f d0 d9 bf f9 df fa da 87 18 9d c4 9d 2f | r...W.{...m>.2.CG./............/ |
| 1000 | 51 e6 3f 46 4d 9c de d5 48 57 17 08 e1 95 |