Nevron Forum

FormBorderStyle for NForm

https://www.nevron.com/Forum/Topic3739.aspx

By saurabh shukla - Wednesday, June 23, 2010

Hi,

I am new to C sharp & Nevron UI. I want to change/remove border for NForm for that i am trying to set FormBorderStyle like this:

Form frm = new Form();

frm.FormBorderStyle = FormBorderStyle.None; // FormBorderStyle.FixedSingle; // FormBorderStyle.FixedDialog;

frm.Show();

but there is no change in border style while change occurs for windows forms.

Please tell me how can i change/remove border for NForm?

Thanks

Saurabh Shukla

 

By Angel Chorbadzhiev - Friday, June 25, 2010

Hi Saurabh Shukla,

You can try following:

NForm frm = new NForm();

NFrameAppearance frameAppearance = new NFrameAppearance();

frameAppearance.CaptionHeight = 0;

frameAppearance.BottomBorder = 0;

frameAppearance.LeftBorder = 0;

frameAppearance.RightBorder = 0;

frm.FrameAppearance = frameAppearance;

frm.ShowDialog();

Regards,

Angel.

 

By saurabh shukla - Wednesday, June 30, 2010

Hi Angel,

Thanks to help me.