473,786 Members | 2,806 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Opening two forms of the same kind

1 New Member
I have created a program wherein a user will be able to monitor a patient after he/she is selected from a list. Once the patient is selected, a new form (monitor form) is opened for monitoring. What I want to do is to be able to minimize the monitor form without closing it, show the previous form with the list of patients so that the user can monitor more patients and be able to open the another monitor form once another patient is selected again.
Jun 5 '12 #1
1 1276
Aimee Bailey
197 Recognized Expert New Member
Without seeing code it's hard to know exactly how to answer the question. Although if I'm right, you probably want to use form.Show() instead of form.ShowDialog ().

Aimee.
Jun 5 '12 #2

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

Similar topics

2
1385
by: jeffgeorge | last post by:
I've been trying everything between setting a bunch of different form properties and saving the form as it's maximized and I am not able to save the form so each time it opens, it is maximized. Does anyone have insight into how this is done or if there are limitations to saving in this manner. The best I've been able to do is to open the form, goto Windows-Fit Form to Window and then save which opens the form close to being maximized. ...
1
5071
by: Alasdair | last post by:
Friends, I'm an old C programmer who upgraded to C++ but was never comfortable with it. I've recently moved to C# and love it but I obviously am missing some of the subtleties. I thought the following code would simply expose the Form1 and move on but what actually happens is that the Form1 load hangs while the Worker1 thread goes to sleep. It's not the Thread.Sleep that's causing the load problem... any code here executes but the...
2
1500
by: Amil | last post by:
example: // form classes: // ItemEditor // CategoryEditor private void OpenForm(string formClassName) { // I want to be able to instantiate a form based on the parameter. if (formClassName == "ItemEditor" ) ItemEditor editor = new ItemEditor();
5
1868
by: Shawn Hogan | last post by:
Hi, I have a 3rd party control(infragistics) that seems to alter the VS.NET IDE properties grid so that there are three areas instead of two areas in the VS.NET IDE properties grid. There is a new middle area that looks a lot like the description area except it has hyperlinks that open forms that allow the currently displayed control to be edited. Does anyone know how to do this with the properties grid in VS.NET? Is the properties...
13
1138
by: Shawn | last post by:
I have an application that starts with a Module (Sub Main) that calls a few forms in order. When I close the next to last form, the last form is called and closes immediately. I have application.run(me) in the load event for that form and it opens fine if I call it at the beginning of the module. Here is the module code.... Module mdlLogon Sub main() Dim OpenFrmDbConnect As New FrmDBConnect() OpenFrmDbConnect.Show() If Form1.ds =...
0
800
by: Rich | last post by:
I have forms in my VB.Net Winforms project with many controls on them. They take up to a minute to render in the VB.Net design environment. However, these forms draw quickly when the app is built into an EXE. Why are they so slow to load into the .Net environment? Thanks Rich
1
1660
by: robertmeyer1 | last post by:
Hey, I am having a problem with opening some forms. I have several forms. The forms are based off the same table, tblClient. Each form has a sbf inserted into it. These sbf’s are each based off its own query. These queries are all based off the same table tblAnswers. The queries limit the questions for each form. So for example form 1 has questions 101-125; form 2 has questions 126-150. tblAnswers is created from an append query,...
2
3361
by: Magnus Bergh | last post by:
I got a weird problem with designer. I have created a spearate assembly (DLL) containing my dataset classes and other classes which are shared bewteen the projects in the solution. When I try to open any form that use the dataset class or any of other classes in the referenced assembly I get varoius errors in designer. Looks like every time I open VS I need to do a) Rebuild solution, b) Clean Solution and then I can open the forms....
2
2309
by: John | last post by:
Hi I have a number of forms which open like this; Dim frm1 As frmForm1 = New frmForm1 Dim frm2 As frmForm2 = New frmForm2 Dim frm3 As frmForm3 = New frmForm3 Dim frm4 As frmForm4 = New frmForm4 .....
21
3386
by: Dan Tallent | last post by:
In my application I have a form (Customer) that I want to be able to open multiple copies at once. Within this form I have other forms that can be opened. Example: ZipCode. When the user enters a zipcode that is unknown this form will open. I don't want users to modify any of this customers data until they close the zipcode form. Normally this can accomplished using a modal form, however this prevents me from opening a new copy of...
0
9650
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9497
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10164
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9962
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8992
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6748
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.