예제 #1
0
        protected override void Execute(NativeActivityContext context)
        {
            var filename = Filename.Get(context);

            GenericTools.RunUI(() =>
            {
                var f = new Playback(filename);
                f.ShowDialog();
            });
        }
예제 #2
0
        protected override void Execute(NativeActivityContext context)
        {
            var filename = Filename.Get(context);

            GenericTools.RunUI(() =>
            {
                try
                {
                    var f = new Playback(filename);
                    f.ShowDialog();
                }
                catch (Exception ex)
                {
                    Log.Error(ex.ToString());
                }
            });
        }