Вызов метода с параметрами
c# code
#cpp
...
private void onClick2(object sender, System.EventArgs args) { // Button2:"Push"
Method4("HiAsm Studio!");
}
private void onClick7(object sender, System.EventArgs args) { // Button7:"Push"
Method9("HiAsm", "Studio", "!");
}
private void Method4(string p1)
{
MessageBox.Show(p1);
}
private void Method9(string p1, string p2, string p3)
{
MessageBox.Show(String.Format(FormatStr10, p1, p2, p3));
}
...