public SyncAndRunModalTask(string ServerAndPort, string UserName, SyncAndRunDelegate SyncAndRun) { this.ServerAndPort = ServerAndPort; this.UserName = UserName; this.SyncAndRun = SyncAndRun; this.LogWriter = new StringWriter(); }
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; }
public SyncAndRunPerforceTask(SyncAndRunDelegate SyncAndRun) { this.SyncAndRun = SyncAndRun; }