private void IsolationListener() { state = SelectableTextState.OnlySelectedDisplayed; textBox.BackColor = isolationBackColor; textBox.ForeColor = isolationForeColor; textBoxLabel.Text += " (Isolated mode ON)"; }
private void InitValues() { state = SelectableTextState.None; initSelectedText = originalText = ""; textBoxLabel.Text = textBoxLabel.Text.Replace(" (Isolated mode ON)", ""); textBox.BackColor = defaultBackColor; textBox.ForeColor = defaultForeColor; }