Пример #1
0
        public static void ResolveFiles(P4ScmProvider scm, IList <string> files, bool CmdLineMode,
                                        UpdateFileStatus refreshUICallback, bool modal)
        {
            ResolveFileDlg dlg = new ResolveFileDlg(scm);

            dlg.Files             = files;
            dlg.RefreshUICallback = refreshUICallback;
            if (dlg.Files.Count < 1)
            {
                return;
            }

            if (modal)
            {
                dlg.ShowDialog();
            }
            else
            {
                dlg.Show();
            }
        }
Пример #2
0
 // Called from the worker thread
 public void HandleFileRemoved(object sender, UpdateFileStatus status)
 {
     parentForm.AsyncInvokeScript(new ScriptCall(FileRemovedMethod, new object[] { status.file, status.length }));
 }
Пример #3
0
 private static void HandleFileRemoved(object sender, UpdateFileStatus msg)
 {
     Console.WriteLine("Removed file: " + msg.file);
 }
Пример #4
0
 private static void HandleFileFetchEnded(object sender, UpdateFileStatus msg)
 {
     Console.WriteLine("Downloaded File: " + msg.file);
 }
Пример #5
0
 private static void HandleFileFetchStarted(object sender, UpdateFileStatus msg)
 {
     Console.WriteLine("Downloading File: " + msg.file + " ...");
 }
Пример #6
0
 private static void HandleFileRemoved(object sender, UpdateFileStatus msg)
 {
     Console.WriteLine("Removed file: " + msg.file);
 }
Пример #7
0
 private static void HandleFileFetchStarted(object sender, UpdateFileStatus msg)
 {
     Console.WriteLine("Downloading File: " + msg.file + " ...");
 }
Пример #8
0
 private static void HandleFileFetchEnded(object sender, UpdateFileStatus msg)
 {
     Console.WriteLine("Downloaded File: " + msg.file);
 }