By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,982 Members | 1,955 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,982 IT Pros & Developers. It's quick & easy.

Hiding the UI

P: 1
I have two modes of running my application,
one is UI mode and the other is non UI mode, I have a flag to check whether the operator is in UI or Non- ui mode.,
In non ui mode i try not to show the UI,
private void App_Load(object sender, EventArgs e)
if (!m_fUI)
//In non ui mode check for the Source mode XML or LDAP
this.Visible = false;

this.WindowState = FormWindowState.Minimized;


this.ShowInTaskbar = false;

but as soon as i change the mode the UI goes of and again pops up... Can some pls suggest how to go about?
Apr 26 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.