还是关于Button的问题,Button按钮在写了MouseClick之后,我让它判断是否左键点击
 private void btnpnl1_MouseClick(object sender, MouseEventArgs e)
        {
            if (e.Button == System.Windows.Forms.MouseButtons.Left)
            {
                lblpn1.Text = string.Format("已选择");
                pn.pnlbx = true;
                lblpn2.Text = string.Format("");
                pn.pnlmx = false;
                lblpn3.Text = string.Format("");
                pn.pnlsx = false;               
            }
else if (pn.pnlbx==true) 
            {
                MessageBox.Show("点击");
            }
       }
左键点击执行上述代码,然后我想让它进行右键点击
但是执行到这里,右键点击就没反应了,请问这是什么问题?