Ejemplo n.º 1
0
 public SyncAndRunModalTask(string ServerAndPort, string UserName, SyncAndRunDelegate SyncAndRun)
 {
     this.ServerAndPort = ServerAndPort;
     this.UserName      = UserName;
     this.SyncAndRun    = SyncAndRun;
     this.LogWriter     = new StringWriter();
 }
Ejemplo n.º 2
0
        public SettingsWindow(string Prompt, string LogText, string ServerAndPort, string UserName, string DepotPath, bool bUnstable, SyncAndRunDelegate SyncAndRun)
        {
            InitializeComponent();

            if (Prompt != null)
            {
                this.PromptLabel.Text = Prompt;
            }

            this.LogText                          = LogText;
            this.ServerTextBox.Text               = ServerAndPort;
            this.UserNameTextBox.Text             = UserName;
            this.DepotPathTextBox.Text            = DepotPath;
            this.UseUnstableBuildCheckBox.Checked = bUnstable;
            this.SyncAndRun                       = SyncAndRun;

            ViewLogBtn.Visible = LogText != null;
        }
Ejemplo n.º 3
0
 public SyncAndRunPerforceTask(SyncAndRunDelegate SyncAndRun)
 {
     this.SyncAndRun = SyncAndRun;
 }