protected virtual void initializeProcessing() { errorFound = false; this.backgroundWorker = getBackgroundWorker(); this.cancelMessage = getCancelMessage(); this.completeMessage = getCompleteMessage(); this.beginMessage = getBeginMessage(); this.toolStripStatusLabel1.Text = this.beginMessage; this.tbOutput.Clear(); setNodeAsWorking(); this.elapsedTimeStart = DateTime.Now; this.showElapsedTime(); }
protected virtual void initializeProcessing() { errorFound = false; if (typeof(AVgmtForm).IsAssignableFrom(Type.GetType(this.Name))) { this.backgroundWorker = getBackgroundWorker(); this.cancelMessage = getCancelMessage(); this.completeMessage = getCompleteMessage(); this.beginMessage = getBeginMessage(); this.toolStripStatusLabel1.Text = this.beginMessage; } this.tbOutput.Clear(); setNodeAsWorking(); this.elapsedTimeStart = DateTime.Now; this.showElapsedTime(); }