Beispiel #1
0
        public AddImagesToChangelistWindow(Window window, List <string> missingDepotFiles)
        {
            this.window            = window;
            this.missingDepotFiles = missingDepotFiles;

            changelists = PerforceHelper.GetPendingChangelists();

            InitializeComponent();

            InitializeChangelistComboBoxOptions();
        }
Beispiel #2
0
        private void CheckoutFiles()
        {
            var clId = (int)(changelistComboBox.SelectedItem as ComboBoxItem).DataContext;

            if (clId == -2)
            {
                clId = PerforceHelper.CreateNewChangelist();
            }

            PerforceHelper.AddFilesToChangelist(clId, missingDepotFiles);
        }