private void call_paramTextBox_TextChanged_1(object sender, EventArgs e) { call_paramTextBox.Text = call_paramTextBox.Text.Replace("{HOTELCODE}", myServer.HotelCode); call_paramTextBox.Text = call_paramTextBox.Text.Replace("{HOTELNAME}", "Hotel AlpineBits"); call_paramTextBox.Text = call_paramTextBox.Text.Replace("{YEAR}", DateTime.Now.Year.ToString()); ABMethods.highlightText(call_paramTextBox); }
private void openFileDialog1_FileOk(object sender, CancelEventArgs e) { call_paramTextBox.Text = File.ReadAllText(openFileDialog1.FileName); var sXML = call_paramTextBox.Text.Replace("{HOTELCODE}", myServer.HotelCode); sXML = sXML.Replace("{HOTELNAME}", ""); sXML = sXML.Replace("{YEAR}", DateTime.Now.Year.ToString()); call_paramTextBox.Text = sXML; ABMethods.highlightText(call_paramTextBox); }
private void call_paramTextBox_MultilineChanged(object sender, EventArgs e) { ABMethods.highlightText(call_paramTextBox); }
private void rules2017BindingSource_CurrentChanged(object sender, EventArgs e) { ABMethods.highlightText(call_paramTextBox); }
private void ruleForm_Activated(object sender, EventArgs e) { ABMethods.highlightText(call_paramTextBox); }
private void call_paramTextBox_Leave(object sender, EventArgs e) { ABMethods.highlightText(call_paramTextBox); }