public void TwoStringVoid(string s1, string s2) { ListBoxPrint p = new ListBoxPrint(LbxOutput); p.Print("~~~~"); p.Print(s1.RJ(10)); p.Print(s2.RJ(10)); }
private void BtnClick_Click(object sender, EventArgs e) { ListBoxPrint p = new ListBoxPrint(LbxOutput); DelSSs testStringDel = new DelSSs(ConCatFunc); DelSSs anotherStrDel = new DelSSs(TwoString); DelSSv voidStrDel = new DelSSv(TwoStringVoid); p.Print(testStringDel("abc", "def")); p.Print(testStringDel("ABC", "DEF")); p.Print(StringDelPassed(5, testStringDel)); p.Print(StringDelPassed(5, anotherStrDel)); voidStrDel("123", "ABC"); }