Tim Hibbard

CEO for EnGraph software
posts - 626, comments - 1586, trackbacks - 459

My Links

News



Add to Google

Twitter












Tag Cloud

Article Categories

Archives

Post Categories

Image Galleries

EnGraph Blogs

Links

Other

Roll

ToolStripManager with ClickOnce

The ToolStripManager is a great way to save the position of toolbars on your WinForm apps.  More info here.  It works a little bit differently with ClickOnce applications, but it is an easy fix.  Just set the key to a unique string.  The key would probably have to be unique for the entire machine, but I'm not sure about that.  The code looks like this:

 

void formValidateBatch_FormClosing(object sender, FormClosingEventArgs e) { ToolStripManager.SaveSettings(this,"medicaidFormValidate3116789"); } private void formValidateBatch_Load(object sender, EventArgs e) { ToolStripManager.LoadSettings(this, "medicaidFormValidate3116789"); }

 

Technorati tags: , ,

Print | posted on Friday, March 09, 2007 11:22 AM | Filed Under [ .NET ClickOnce ]

Feedback

Gravatar

# jfo's coding

Tim has posted a gotcha for remembering ToolStrip positions in a ClickOnce application.
3/14/2007 11:06 AM |
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: