Hide close button for Windows Form

In the windows form add this code

  protected override CreateParams CreateParams

       {
           get
           {
               CreateParams param = base.CreateParams;
               param.ClassStyle = param.ClassStyle | 0x200;
               return param;
           }
       }

Comments

Popular posts from this blog

ContextSwitchDeadlock was detected

Developer Quality Attributes