Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / December 2004

Tip: Looking for answers? Try searching our database.

Leave designtime mode in runtime

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ipaqlinux48 - 17 Dec 2004 07:17 GMT
Is there an easy way to exit designtime mode in runtime and switch back to
designtime?

Thanks in advance.
Ed Kaim - 18 Dec 2004 00:51 GMT
Can you provide a little more context on what you're trying to do?

> Is there an easy way to exit designtime mode in runtime and switch back to
> designtime?
>
> Thanks in advance.
ipaqlinux48 - 18 Dec 2004 08:29 GMT
I'm writing some kind of scada program. My program has a configuration mode
(which is used to place controls on a form) and an operational mode. When tmy
program starts up, you're always working in operational mode (the user can
use the mouse in order to generate events on the controls). When he wants to
move a control to another place, he needs to go to configuration mode (design
view). So, my question is if it is possible to switch between design view and
"runtime"-view. In order to activate the designer, you'll need to call the
IDesignerHost.Activate method, but there isn't an Deactivate method?

Thanks in advance

> Can you provide a little more context on what you're trying to do?
>
> > Is there an easy way to exit designtime mode in runtime and switch back to
> > designtime?
> >
> > Thanks in advance.
Cristian Balcanu - 29 Dec 2004 13:57 GMT
Try Design Mode Dialog - Mike Harsh   from
http://www.windowsforms.com/Default.aspx?tabindex=4&tabid=49
http://www.windowsforms.com/Samples/download.aspx?PageId=1&ItemId=197&tabindex=4

The sample use Whidbey Beta 1
Let me know if is what you need. ;)

> Is there an easy way to exit designtime mode in runtime and switch back to
> designtime?
>
> Thanks in advance.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.