请问为什么同样的代码但toolStripButton与button执行的结果却不一样?
请问VS 2017 C#里为什么toolStripButton不起作用啊?而button却可以,里面的代码一模一样。private void btnRect_Click(object sender, EventArgs e) { formDesign.vgFormDesign.vg.NewUnit(0, "rect"); }
private void btnRect_Click(object sender, EventArgs e) { formDesign.vgFormDesign.vg.NewUnit(0, "rect"); }