Пример #1
0
 //选择状态
 private void btnState_Click(object sender, EventArgs e)
 {
     MenuState.Show(btnState, new Point(0, btnState.Height), ToolStripDropDownDirection.Right);
 }
Пример #2
0
 private void btnState_Click(object sender, EventArgs e)
 {
     MenuState.Show(this.Left + pnlTx.Left + pnlImgTx.Left + btnState.Left, this.Top + pnlTx.Top + pnlImgTx.Top + btnState.Top + btnState.Height + 5);
 }
Пример #3
0
 //选择状态
 private void btnState_Click(object sender, EventArgs e)
 {
     MenuState.Show(btnState, 0, btnState.Height + 5);
 }