if OpenDialog.exceute=True ,你看看呢

解决方案 »

  1.   


            private void fontDialog1_Apply(object sender, EventArgs e)
            {
                // 该干啥干啥            MessageBox.Show("Apply 执行了");
            }        private void button1_Click(object sender, EventArgs e)
            {
                this.fontDialog1.ShowApply = true;
                this.fontDialog1.ShowDialog(this);
            }
    .net 的问题去 .net 版问吧
      

  2.   

    在apply事件中设置断点,运行如果执行到断点说明执行了该段程序。
      

  3.   


      if  FontDialog1.Execute(0) then
      begin
        ...
      end;
      

  4.   


      if  FontDialog1.Execute then
      begin
      //your code
      end;