How to move between two or more forms?
来源:互联网 发布:plc编程学习网站 编辑:程序博客网 时间:2024/05/16 11:05
How to move between two or more forms?
My program starts with a splashscreen, while it is showing, it should load the two orther forms. The user must be able to move between the two other forms without losing the info he put in the textboxes. How? thanks, Eric
Re:How to move between two or more forms?
Eric, Create variables for the forms you wish to show, including the slash screen. Call Show() on the forms and then Application.Run(mainForm) for the Form that is you applications main window. Example: from inside Main for simplicity's sake Form splashForm = new Form(); Form toolForm = new Form(); Form mainForm = new Form(); splashForm.Show(); toolForm.Show(); System.Windows.Forms.Application.Run(mainForm);
156778: 31 bits in a BitVector32 156779: Form resizing not by context menu 156780: Error:Operation must use an updateable query 156781: Project 2003 Standard stopped responding during leveling operation :( 156782: Creating a simple fax application 156783: Caret on left side of selected text in textbox 156784: Windows Installer Guide - www.msiguide.com 156785: Error 156786: Context Connection & Using 156787: Databinding Expressions? 156788: Install this security package for Internet Explorer 156789: Changing Max Units have no effect 156790: setup projects 156791: Can you display the entire Notes content? 156792: Hiding simple program in system tray? 156793: Restricting webservice.. 156794: SendKeys (Sending Origional String) 156795: How to move between two or more forms? 156796: Trackbar Mouse Click directly to Value 156797: How to extract words out from a string? 156798: What does strongly typed mean? 156799: WinForm as LocalService 156800: drop not accepted effect
Page: 448 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460
- How to move between two or more forms?
- How to move an OIM database between two OIM instances
- Using a delegate to pass data between two forms.
- How To Move Or Rebuild A Lob Partition
- How To Move Or Rebuild A Lob Partition
- How to remove all characters between two brackets?
- How-to: transfer hbase data between two hadoop cluster
- How to distinguish between strings in heap or literals?
- How to add one or more control files
- How to 'union' 2 or more DataTables in C#?
- How to Move or Copy a Tablespace to Another Database【每日一译】--2012-11-03
- How to capture the one-to-one dependency between two attributes in one relation?
- Forms: How to Configure Forms Builder to run forms locally
- Using Delegates to communicate between Windows Forms
- How To Get Min-Cost Between two points in graph (Dijkstra’s algorithm)
- How To Set Up A Serial Port Between Two Virtual Machines In VirtualBox
- How To Move Controlfile To ASM
- How to move items to another category
- linux文件查找命令find,xargs详述
- Linux环境下安装Tuxedo
- ClickOnce fails to deploy
- How to copy all view private files and Derived objects between views
- 解决DetailsView数据源无数据时不显示的问题
- How to move between two or more forms?
- SendMessage 和 PostMessage
- Compilation error and exception
- Ajax应用之缓存问题
- 北京炒房族急于套现抛售次新房 同楼盘差价近万
- VS.NET2005常用快捷键
- WMP11 and bad_pool-header
- Incompatible files when trying to burn recorded TV
- JSTL function 标签 使用