Click here to Skip to main content
15,885,244 members
Home / Discussions / C#
   

C#

 
AnswerRe: Auto-resize C# Datagridview Pin
alien viper31-May-09 22:54
alien viper31-May-09 22:54 
QuestionHow to implement observableCollection.Exist() method? Pin
Kunal Chowdhury «IN»31-May-09 21:32
professionalKunal Chowdhury «IN»31-May-09 21:32 
AnswerRe: How to implement observableCollection.Exist() method? Pin
Pete O'Hanlon31-May-09 22:16
mvePete O'Hanlon31-May-09 22:16 
QuestionRe: How to implement observableCollection.Exist() method? Pin
Kunal Chowdhury «IN»31-May-09 22:32
professionalKunal Chowdhury «IN»31-May-09 22:32 
AnswerRe: How to implement observableCollection.Exist() method? Pin
Simon P Stevens31-May-09 22:38
Simon P Stevens31-May-09 22:38 
GeneralRe: How to implement observableCollection.Exist() method? Pin
Kunal Chowdhury «IN»31-May-09 23:53
professionalKunal Chowdhury «IN»31-May-09 23:53 
QuestionProblem with MdiParent-MdiChildren forms Pin
Nine_31-May-09 20:38
Nine_31-May-09 20:38 
AnswerRe: Problem with MdiParent-MdiChildren forms Pin
dan!sh 31-May-09 21:08
professional dan!sh 31-May-09 21:08 
You need to pass the current instance of your parent form to the LoginForm. This way:

LoginForm frmLogin = new LoginForm(this);


While the constructor for LoginForm will be:

public LoginForm(MDIparent frmParent)
{
this.Parent=frmParent;
}


This way you will be able to access all the controls of the parent form.

For your second problem, Application.OpenForms collection is there to help you. If the CustomerForm is already in the collection, just set Focus to it, otherwise create a new instance of it and show.

जय हिंद

Rajdeep.Net[^] is NOT from India. Proof.[^]

GeneralRe: Problem with MdiParent-MdiChildren forms Pin
Nine_31-May-09 21:12
Nine_31-May-09 21:12 
GeneralRe: Problem with MdiParent-MdiChildren forms Pin
dan!sh 31-May-09 21:23
professional dan!sh 31-May-09 21:23 
GeneralRe: Problem with MdiParent-MdiChildren forms Pin
Nine_31-May-09 21:29
Nine_31-May-09 21:29 
QuestionHow to delete the URL from cache entry in c#? Pin
svt gdwl31-May-09 20:31
svt gdwl31-May-09 20:31 
QuestionDataGridView Pin
Yathish hatter31-May-09 20:19
Yathish hatter31-May-09 20:19 
AnswerRe: DataGridView Pin
Satish Pai31-May-09 20:29
Satish Pai31-May-09 20:29 
GeneralRe: DataGridView Pin
Yathish hatter1-Jun-09 18:43
Yathish hatter1-Jun-09 18:43 
Questionfacing problem with C# ODP.Net API(Oracle.DataAccess.dll) "Open cursors exceeded" exception is occured Pin
member12345631-May-09 19:33
member12345631-May-09 19:33 
QuestionTCP Server Question *IMPORTANT* Pin
Serpendiem31-May-09 18:30
Serpendiem31-May-09 18:30 
AnswerRe: TCP Server Question *IMPORTANT* Pin
Jimmanuel1-Jun-09 2:45
Jimmanuel1-Jun-09 2:45 
Question[SOLVED] Future or past date time Pin
CodingLover31-May-09 18:02
CodingLover31-May-09 18:02 
AnswerRe: Future or past date time Pin
CodingLover31-May-09 18:05
CodingLover31-May-09 18:05 
QuestionBelow idea how to be realized in C#? Pin
mctramp16831-May-09 17:08
mctramp16831-May-09 17:08 
AnswerRe: Below idea how to be realized in C#? Pin
Christian Graus31-May-09 19:25
protectorChristian Graus31-May-09 19:25 
GeneralRe: Below idea how to be realized in C#? Pin
mctramp16831-May-09 20:13
mctramp16831-May-09 20:13 
GeneralRe: Below idea how to be realized in C#? Pin
Christian Graus31-May-09 21:48
protectorChristian Graus31-May-09 21:48 
GeneralRe: Below idea how to be realized in C#? Pin
mctramp16831-May-09 22:04
mctramp16831-May-09 22:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.