Exemplo n.º 1
0
        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();
                }
            }
        }
Exemplo n.º 2
0
        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();
                }
            }
        }
Exemplo n.º 3
0
        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();
        }
Exemplo n.º 4
0
        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();
        }