我想在Form_load事件中调整我的 WinForm 的大小。我写了这行
this.Height -= 100;
在这种情况Form_load下,但它不起作用,我怎样才能做到这一点?
private void FormMain_Load(object sender, EventArgs e)
{
     try
     {
          //somecode
          if (m_HideControls)
          {
               // do some controls visible to false
               this.Height -= 100;
          }
     }
     catch (Exception ex)
     {
     }
}