HighTechTalks DotNet Forums  

Leave designtime mode in runtime

Dotnet Framework (WinForms DesignTime) microsoft.public.dotnet.framework.windowsforms.designtime


Discuss Leave designtime mode in runtime in the Dotnet Framework (WinForms DesignTime) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
ipaqlinux48
 
Posts: n/a

Default Leave designtime mode in runtime - 12-17-2004 , 01:19 AM






Is there an easy way to exit designtime mode in runtime and switch back to
designtime?

Thanks in advance.

Reply With Quote
  #2  
Old   
Ed Kaim
 
Posts: n/a

Default Re: Leave designtime mode in runtime - 12-17-2004 , 06:51 PM






Can you provide a little more context on what you're trying to do?

"ipaqlinux48" <ipaqlinux48 (AT) discussions (DOT) microsoft.com> wrote

Quote:
Is there an easy way to exit designtime mode in runtime and switch back to
designtime?

Thanks in advance.



Reply With Quote
  #3  
Old   
ipaqlinux48
 
Posts: n/a

Default Re: Leave designtime mode in runtime - 12-18-2004 , 02:29 AM



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

"Ed Kaim" wrote:

Quote:
Can you provide a little more context on what you're trying to do?

"ipaqlinux48" <ipaqlinux48 (AT) discussions (DOT) microsoft.com> wrote in message
news:125EF2A1-D6B0-4E10-A9BD-6390762B6634 (AT) microsoft (DOT) com...
Is there an easy way to exit designtime mode in runtime and switch back to
designtime?

Thanks in advance.




Reply With Quote
  #4  
Old   
Cristian Balcanu
 
Posts: n/a

Default Re: Leave designtime mode in runtime - 12-29-2004 , 07:57 AM



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.

"ipaqlinux48" <ipaqlinux48 (AT) discussions (DOT) microsoft.com> wrote

Quote:
Is there an easy way to exit designtime mode in runtime and switch back to
designtime?

Thanks in advance.



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.