Click here to Skip to main content
15,904,348 members
Home / Discussions / C#
   

C#

 
GeneralRe: DataTable to Excel, row limit Pin
gauthee8-May-07 0:25
gauthee8-May-07 0:25 
QuestionCheck if open is already open Pin
soneliso7-May-07 23:22
soneliso7-May-07 23:22 
AnswerRe: Check if open is already open Pin
fang_eric7-May-07 23:34
fang_eric7-May-07 23:34 
GeneralRe: Check if open is already open Pin
Giorgi Dalakishvili7-May-07 23:39
mentorGiorgi Dalakishvili7-May-07 23:39 
GeneralRe: Check if open is already open Pin
fang_eric7-May-07 23:45
fang_eric7-May-07 23:45 
GeneralRe: Check if open is already open Pin
soneliso8-May-07 0:17
soneliso8-May-07 0:17 
GeneralRe: Check if open is already open Pin
soneliso7-May-07 23:49
soneliso7-May-07 23:49 
GeneralRe: Check if open is already open Pin
Nouman Bhatti8-May-07 0:31
Nouman Bhatti8-May-07 0:31 
Use singleton design pattern and it'll solve your problem

for example u want form1 to be checked if it's already opened

take a object of form1 with in your form1 class
make the constructor private of your form1 class
make a public static method
with in that method check if the object is null or not if null assign a new instance of your form1 and if not null then return the already initialized instance



AnswerRe: Check if open is already open Pin
Aron Mišerda8-May-07 1:46
Aron Mišerda8-May-07 1:46 
AnswerRe: Check if open is already open Pin
AFSEKI8-May-07 23:23
AFSEKI8-May-07 23:23 
Questionneed help with string onchange event handler Pin
neodeaths7-May-07 22:59
neodeaths7-May-07 22:59 
AnswerRe: need help with string onchange event handler Pin
Bijesh7-May-07 23:15
Bijesh7-May-07 23:15 
GeneralRe: need help with string onchange event handler Pin
neodeaths7-May-07 23:29
neodeaths7-May-07 23:29 
GeneralRe: need help with string onchange event handler Pin
Bijesh8-May-07 0:30
Bijesh8-May-07 0:30 
Questionon closing event of old form new form should be visible and after verification both form sh'd close Pin
fgfdhghgfd7-May-07 22:44
fgfdhghgfd7-May-07 22:44 
AnswerRe: on closing event of old form new form should be visible and after verification both form sh'd close Pin
Giorgi Dalakishvili7-May-07 22:49
mentorGiorgi Dalakishvili7-May-07 22:49 
AnswerRe: on closing event of old form new form should be visible and after verification both form sh'd close Pin
Christian Graus7-May-07 22:56
protectorChristian Graus7-May-07 22:56 
Question.NET remoting: inter-client communication Pin
ChrisKiki7-May-07 22:38
ChrisKiki7-May-07 22:38 
QuestionCommunication windows app with windows service Pin
Diego F.7-May-07 22:31
Diego F.7-May-07 22:31 
QuestionFiltering dataset Pin
Muammar©7-May-07 22:24
Muammar©7-May-07 22:24 
AnswerRe: Filtering dataset Pin
rah_sin7-May-07 22:30
professionalrah_sin7-May-07 22:30 
AnswerRe: Filtering dataset Pin
Giorgi Dalakishvili7-May-07 22:35
mentorGiorgi Dalakishvili7-May-07 22:35 
Questionwindow application problem - plz help Pin
Sekar Kumarasamy7-May-07 22:19
Sekar Kumarasamy7-May-07 22:19 
AnswerRe: window application problem - plz help Pin
rah_sin7-May-07 22:28
professionalrah_sin7-May-07 22:28 
AnswerRe: window application problem - plz help Pin
Christian Graus7-May-07 22:33
protectorChristian Graus7-May-07 22:33 

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.