Пример #1
0
        private void BStart_Click(object sender, RoutedEventArgs e)
        {
            if (!Remote.ExecuteCommand("Start", "0"))
            {
                return;
            }

            TargetPath = TBPath.Text;
            try
            {
                for (int i = 0; i < Modes.Length; i++)
                {
                    Directory.CreateDirectory(TargetPath + Modes[i]);
                }
            }
            catch
            {
                return;
            }
            BPath.IsEnabled  = false;
            BStart.IsEnabled = false;
            BNext.IsEnabled  = true;
            BClear.IsEnabled = true;
            SceneNumber      = 0;
            Image            = 0;
            PrepareStep();
            Remote.SetOption("Save.NoTimestamp", "True");
        }