public InstructionsPopUp(string instructions) { InitializeComponent(); InstructionsLabel.AppendText(instructions); }
void ReleaseDesignerOutlets() { if (CallBroButton != null) { CallBroButton.Dispose(); CallBroButton = null; } if (FindOutButton != null) { FindOutButton.Dispose(); FindOutButton = null; } if (InstructionsLabel != null) { InstructionsLabel.Dispose(); InstructionsLabel = null; } if (QueryDatePicker != null) { QueryDatePicker.Dispose(); QueryDatePicker = null; } if (ResultLabel != null) { ResultLabel.Dispose(); ResultLabel = null; } if (StatusLabel != null) { StatusLabel.Dispose(); StatusLabel = null; } if (TitleLabel != null) { TitleLabel.Dispose(); TitleLabel = null; } }