Profile Picture

FormBorderStyle for NForm

Posted By saurabh shukla 14 Years Ago
Author
Message
saurabh shukla
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 5, Visits: 1

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

 



Angel Chorbadzhiev
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 139, Visits: 184

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.

 



saurabh shukla
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 5, Visits: 1

Hi Angel,

Thanks to help me.





Similar Topics


Reading This Topic