static public void EditStoneItem() { Stone stone = StonesView.GetCurrentSelectedStone(); if (stone != null) { if (stone.MediaType == 1) { NewStone newstone = new NewStone(); newstone.CurrentStone = stone; newstone.EditMode = true; newstone.FolderUponCaptureEvent = StonesView.CurrentPath; newstone.ShowDialog(); } else if (stone.MediaType == 2) { NewStomeMovie newstonemovie = new NewStomeMovie(); newstonemovie.CurrentStone = stone; newstonemovie.EditMode = true; newstonemovie.FolderUponCaptureEvent = StonesView.CurrentPath; newstonemovie.ShowDialog(); } } }
public void StopRecording() { CaptureFacede.StopCapturingVideoToFile(); State = CaptureMovieProcessFlowStates.Stop; Stage = CaptureMovieProcessFlowStage.Stopped; PreRecordingTimer = null; RecordingTimer = null; IsRecording = false; TextBlock.Visibility = System.Windows.Visibility.Collapsed; NewStomeMovie window = new NewStomeMovie(); window.TempFileName = TempFilename; window.FolderUponCaptureEvent = StonesView.CurrentPath; window.ShowDialog(); }
public static void EditStoneItem() { Stone stone = StonesView.GetCurrentSelectedStone(); if (stone != null) { if (stone.MediaType == 1) { NewStone newstone = new NewStone(); newstone.CurrentStone = stone; newstone.EditMode = true; newstone.FolderUponCaptureEvent = StonesView.CurrentPath; newstone.ShowDialog(); } else if (stone.MediaType == 2) { NewStomeMovie newstonemovie = new NewStomeMovie(); newstonemovie.CurrentStone = stone; newstonemovie.EditMode = true; newstonemovie.FolderUponCaptureEvent = StonesView.CurrentPath; newstonemovie.ShowDialog(); } } }