/// <summary>
 /// メインウインドウ
 /// </summary>
 public MainWindow()
 {
     InitializeComponent();
     sizeWindow            = new SizeWindow();
     previewWindow         = new PreviewWindow(this);
     svgo                  = new Svgo(sizeWindow, previewWindow);
     TextBoxSplitSize.Text = String.Format("{0:#,0}", Svgo.SVG_MAX_BYTE);
     TextBoxSrcFile.AddHandler(TextBox.DragOverEvent, new DragEventHandler(TextBoxSrcFile_DragOver), true);
     TextBoxSrcFile.AddHandler(TextBox.DropEvent, new DragEventHandler(TextBoxSrcFile_Drop), true);
 }
Exemple #2
0
 public Svgo(SizeWindow sWindow, PreviewWindow pWindow)
 {
     sizeWindow    = sWindow;
     previewWindow = pWindow;
 }