Esempio n. 1
0
 public SkinController(Canvas canvas, TextEditor xmlEditor, AppProgressBarController appProgressBarController, Grid renderImage, ScrollViewer scrollViewer)
 {
     Canvas = canvas;
     RenderImage = renderImage;
     ScrollViewer = scrollViewer;
     AppProgressBarController = appProgressBarController;
     XmlEditor = xmlEditor;
     SkinApp = new SkinApp();
 }
Esempio n. 2
0
        public MainWindow()
        {
            ExceptionController = new ExceptionController();
            Dispatcher.UnhandledException += ApplicationOnDispatcherUnhandledException;

            InitializeComponent();

            AppProgressBarController = new AppProgressBarController(ProgressForm, AppProgressBar, AppProgressBarLabel);
            SkinController = new SkinController(CanvasPreview, TeFile, AppProgressBarController, RenderImage, SvCanvas);
            CanvasPreview.MouseMove += CanvasPreviewOnMouseMove;
            CanvasPreview.MouseDown += CanvasPreviewOnPreviewMouseDown;
            CanvasPreview.PreviewMouseUp += CanvasPreviewOnPreviewMouseUp;
            TvSkinProject.SelectedItemChanged += TvSkinProjectOnSelectedItemChanged;
            PgElement.PropertyValueChanged += PgElementOnPropertyValueChanged;
        }