Click here to Skip to main content
15,898,222 members
Home / Discussions / C#
   

C#

 
AnswerRe: WebBrowser 2.0 in Multithread application Pin
cardy125-Apr-07 3:41
cardy125-Apr-07 3:41 
QuestionHow to open last form on startup Pin
AndrusM15-Apr-07 8:07
AndrusM15-Apr-07 8:07 
AnswerRe: How to open last form on startup Pin
Christian Graus15-Apr-07 11:28
protectorChristian Graus15-Apr-07 11:28 
GeneralRe: How to open last form on startup Pin
AndrusM15-Apr-07 11:52
AndrusM15-Apr-07 11:52 
GeneralRe: How to open last form on startup Pin
Christian Graus15-Apr-07 12:02
protectorChristian Graus15-Apr-07 12:02 
GeneralRe: How to open last form on startup Pin
AndrusM15-Apr-07 12:12
AndrusM15-Apr-07 12:12 
GeneralRe: How to open last form on startup Pin
Christian Graus15-Apr-07 12:21
protectorChristian Graus15-Apr-07 12:21 
GeneralRe: How to open last form on startup Pin
AndrusM16-Apr-07 5:05
AndrusM16-Apr-07 5:05 
Christian Graus wrote:
you had hundreds of form types in your app, isn't that a little unusual/confusing


Thank you for excellent question. I'm converting existing ERP application to C#. It has forms for customer, invoice, item, payment term, order, offer etc. etc. database contains 500 tables.
I think that this is very common.

I think I can add some code to form base class constructor for this which stores child form name in isolated storage.

Switch statement is too big for this and so it is ugly.
Based on your responses I think about the following approach:

1. Retrieve actual calling class name from base class constructor and store it in isolated storage (application can be run form web browser also).

2. At startup retrieve form name and create mdi child from it using reflection.

I'm new to C#. Where to find any sample code for this?

Andrus

QuestionC# Asynchronous Sockets Pin
snapplegil15-Apr-07 7:49
snapplegil15-Apr-07 7:49 
AnswerRe: C# Asynchronous Sockets Pin
pbraun15-Apr-07 12:36
pbraun15-Apr-07 12:36 
GeneralRe: C# Asynchronous Sockets Pin
snapplegil15-Apr-07 17:15
snapplegil15-Apr-07 17:15 
GeneralRe: C# Asynchronous Sockets Pin
pbraun15-Apr-07 17:29
pbraun15-Apr-07 17:29 
Questiondrag & drop problem Pin
xtremetechnology15-Apr-07 6:23
xtremetechnology15-Apr-07 6:23 
AnswerRe: drag & drop problem Pin
Luc Pattyn15-Apr-07 8:54
sitebuilderLuc Pattyn15-Apr-07 8:54 
GeneralRe: drag & drop problem Pin
xtremetechnology15-Apr-07 9:05
xtremetechnology15-Apr-07 9:05 
GeneralRe: drag & drop problem Pin
Luc Pattyn15-Apr-07 9:15
sitebuilderLuc Pattyn15-Apr-07 9:15 
QuestionUsing Reports in Visual C#.NET 2005 Pin
Beuckelaere Tom15-Apr-07 5:33
Beuckelaere Tom15-Apr-07 5:33 
Questionconverting number String to Float ?! Pin
sanaziuse15-Apr-07 5:22
sanaziuse15-Apr-07 5:22 
AnswerRe: converting number String to Float ?! Pin
Guffa15-Apr-07 5:28
Guffa15-Apr-07 5:28 
GeneralRe: converting number String to Float ?! Pin
sanaziuse15-Apr-07 5:55
sanaziuse15-Apr-07 5:55 
AnswerRe: converting number String to Float ?! Pin
Jaiprakash M Bankolli15-Apr-07 7:33
Jaiprakash M Bankolli15-Apr-07 7:33 
AnswerRe: converting number String to Float ?! Pin
Martin#15-Apr-07 7:53
Martin#15-Apr-07 7:53 
Question.Net 30 y .Net20 Pin
123456uio15-Apr-07 5:21
123456uio15-Apr-07 5:21 
AnswerRe: .Net 30 y .Net20 Pin
Guffa15-Apr-07 5:33
Guffa15-Apr-07 5:33 
AnswerRe: .Net 30 y .Net20 Pin
Thomas Stockwell15-Apr-07 5:37
professionalThomas Stockwell15-Apr-07 5:37 

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.