btn1 是 ToolStripDropDownButton
我怎么能这么说
private void btn1_DropDownItemClicked(object sender, ToolStripItemClickedEventArgs e)
{
MessageBox.Show(btn1.CurrentItem.Text.ToString()); // CurrentItem = item clicked.
}
btn1 是 ToolStripDropDownButton
我怎么能这么说
private void btn1_DropDownItemClicked(object sender, ToolStripItemClickedEventArgs e)
{
MessageBox.Show(btn1.CurrentItem.Text.ToString()); // CurrentItem = item clicked.
}