怎么没人说话呀?帮帮忙吧。

解决方案 »

  1.   

    这个是系统功能吧,判断有什么意义?
      

  2.   

    如果窗体上的菜单是展开的,则窗体本身的Capture是一直为true的,窗体的Capture为true时只能说菜单有可能是打开的.但如果Capture为false则菜单一定没有打开.如果要测试可以放一个timer控件到窗体上添加如下的代码.则窗体的标题会显示出窗体的Capture的当前值来:this.timer1.Enabled = true;
    this.timer1.Interval = 50;
    this.timer1.Tick += new System.EventHandler(this.timer1_Tick);private void timer1_Tick(object sender, System.EventArgs e)
    {
    this.Text = this.Capture.ToString();
    }