void lowerBtn_Click(object sender, RoutedEventArgs e) { clearRTB(afterTb); string beforeStr = getRTBValue(this.beforeTb); string ret = StrUtils.lower(beforeStr); setRTBValue(afterTb, ret); }
void decXBtn_Click(object sender, RoutedEventArgs e) { clearRTB(afterTb); string beforeStr = getRTBValue(this.beforeTb); string ret = Base64Helper.Base64Decode(StrUtils.urlDec(beforeStr, false)); setRTBValue(afterTb, ret); }
void urlDecBtn_Click(object sender, RoutedEventArgs e) { clearRTB(afterTb); string beforeStr = getRTBValue(this.beforeTb); string ret = StrUtils.urlDec(beforeStr, false); setRTBValue(afterTb, ret); }
void encXBtn_Click(object sender, RoutedEventArgs e) { clearRTB(afterTb); string beforeStr = getRTBValue(this.beforeTb); string ret = StrUtils.urlEnc(Base64Helper.Base64Encode(beforeStr), false); setRTBValue(afterTb, ret); }
void urlEncBtn_Click(object sender, RoutedEventArgs e) { clearRTB(afterTb); string beforeStr = getRTBValue(this.beforeTb); string ret = StrUtils.urlEnc(beforeStr, false); ret = ret.Replace("%0d%0a", "%0a"); setRTBValue(afterTb, ret); }