Click here to Skip to main content
15,917,060 members
Home / Discussions / C#
   

C#

 
QuestionSearch in Datagridview Pin
RobScripta16-Apr-09 1:13
professionalRobScripta16-Apr-09 1:13 
AnswerRe: Search in Datagridview Pin
musefan16-Apr-09 2:12
musefan16-Apr-09 2:12 
GeneralRe: Search in Datagridview Pin
RobScripta16-Apr-09 3:58
professionalRobScripta16-Apr-09 3:58 
QuestionWindows Service doesn't make event logs on Windows Server 2003 due to insufficient rights Pin
Rocky#16-Apr-09 0:53
Rocky#16-Apr-09 0:53 
AnswerRe: Windows Service doesn't make event logs on Windows Server 2003 due to insufficient rights Pin
Eddy Vluggen16-Apr-09 2:01
professionalEddy Vluggen16-Apr-09 2:01 
GeneralRe: Windows Service doesn't make event logs on Windows Server 2003 due to insufficient rights Pin
Rocky#16-Apr-09 3:19
Rocky#16-Apr-09 3:19 
GeneralRe: Windows Service doesn't make event logs on Windows Server 2003 due to insufficient rights Pin
Eddy Vluggen16-Apr-09 8:38
professionalEddy Vluggen16-Apr-09 8:38 
QuestionHow to cast multiple form in class Pin
RoalearK16-Apr-09 0:48
RoalearK16-Apr-09 0:48 
Hi, Everybody.

I'm a newbie in C# and I need all your suggestion, advice or script about below script.
I have a class function called FormAction() as below that will keep all the form called. When I have more forms, then I need to do same calling method.

private void FormAction(FormName)
{
switch(FormName)
{
case "frmGUI1":
frmGUI1 lfrm1 = (frmGUI1)Application.OpenForms(FormName);
lfrm1.Show();
break;

case "frmGUI2":
frmGUI2 lfrm2 = (frmGUI2)Application.OpenForms(FormName);
lfrm2.Show();
break;

case "frmGUI3":
frmGUI3 lfrm3 = (frmGUI3)Application.OpenForms(FormName);
lfrm3.Show();
break;
}
}

Can I just code in little line to perform called form? If can, can you give me examples or how to code it.


Thank for your help.

RoalearK

AnswerRe: How to cast multiple form in class Pin
0x3c016-Apr-09 0:55
0x3c016-Apr-09 0:55 
QuestionRe: How to cast multiple form in class Pin
RoalearK16-Apr-09 15:59
RoalearK16-Apr-09 15:59 
QuestionHow to print DataGridView using C#.Net in windows application Pin
pradeepc_mca16-Apr-09 0:01
pradeepc_mca16-Apr-09 0:01 
AnswerRe: How to print DataGridView using C#.Net in windows application Pin
Abhijit Jana16-Apr-09 0:21
professionalAbhijit Jana16-Apr-09 0:21 
QuestionHow to make a complex type visible to the client in .NET remoting and WCF? Pin
Farawin15-Apr-09 23:11
Farawin15-Apr-09 23:11 
AnswerRe: How to make a complex type visible to the client in .NET remoting and WCF? Pin
dojohansen16-Apr-09 0:54
dojohansen16-Apr-09 0:54 
GeneralRe: How to make a complex type visible to the client in .NET remoting and WCF? Pin
Farawin16-Apr-09 1:22
Farawin16-Apr-09 1:22 
GeneralRe: How to make a complex type visible to the client in .NET remoting and WCF? Pin
dojohansen16-Apr-09 3:42
dojohansen16-Apr-09 3:42 
GeneralRe: How to make a complex type visible to the client in .NET remoting and WCF? Pin
Farawin16-Apr-09 21:45
Farawin16-Apr-09 21:45 
NewsInteresting Article for C# and Navision Developers Pin
abhishek pareek200915-Apr-09 23:05
abhishek pareek200915-Apr-09 23:05 
QuestionHow do you implement the auto reload process from database data in windows form for display? Pin
calendarw15-Apr-09 22:26
calendarw15-Apr-09 22:26 
AnswerRe: How do you implement the auto reload process from database data in windows form for display? Pin
Mycroft Holmes15-Apr-09 23:20
professionalMycroft Holmes15-Apr-09 23:20 
GeneralRe: How do you implement the auto reload process from database data in windows form for display? Pin
calendarw15-Apr-09 23:41
calendarw15-Apr-09 23:41 
AnswerRe: How do you implement the auto reload process from database data in windows form for display? Pin
SeMartens15-Apr-09 23:21
SeMartens15-Apr-09 23:21 
GeneralRe: How do you implement the auto reload process from database data in windows form for display? Pin
calendarw15-Apr-09 23:47
calendarw15-Apr-09 23:47 
AnswerRe: How do you implement the auto reload process from database data in windows form for display? Pin
dojohansen16-Apr-09 1:15
dojohansen16-Apr-09 1:15 
QuestionDraw text along points Pin
baranils15-Apr-09 22:22
baranils15-Apr-09 22:22 

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.