void OnAddFrame()
		{
			var skdLibraryFrame = new SKDLibraryFrame()
			{
				Id = Frames.Count
			};
			State.Frames.Add(skdLibraryFrame);
			Frames.Add(new FrameViewModel(skdLibraryFrame));
			SelectedFrame = Frames.LastOrDefault();
			ServiceFactory.SaveService.SKDLibraryChanged = true;
		}
Exemple #2
0
		public FrameViewModel(SKDLibraryFrame skdLibraryFrame)
		{
			Frame = skdLibraryFrame;
			ImportSvgCommand = new RelayCommand(OnImportSvg);
			ExportSvgCommand = new RelayCommand(OnExportSvg);
		}