Click here to Skip to main content
16,005,682 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to create a line from nodes? Pin
Colin Angus Mackay30-Aug-04 2:28
Colin Angus Mackay30-Aug-04 2:28 
GeneralRe: How to create a line from nodes? Pin
adnanh7530-Aug-04 2:36
adnanh7530-Aug-04 2:36 
GeneralRe: How to create a line from nodes? Pin
Colin Angus Mackay30-Aug-04 3:35
Colin Angus Mackay30-Aug-04 3:35 
GeneralRe: How to create a line from nodes? Pin
adnanh7530-Aug-04 3:40
adnanh7530-Aug-04 3:40 
GeneralRe: How to create a line from nodes? Pin
mav.northwind30-Aug-04 7:09
mav.northwind30-Aug-04 7:09 
GeneralClose a form and new it again occur error Pin
ting66829-Aug-04 23:57
ting66829-Aug-04 23:57 
GeneralRe: Close a form and new it again occur error Pin
sreejith ss nair30-Aug-04 0:47
sreejith ss nair30-Aug-04 0:47 
GeneralRe: Close a form and new it again occur error Pin
ting66830-Aug-04 4:14
ting66830-Aug-04 4:14 
sorry~

I have a class group all the form together.
First, I create an instance of class Form1 by using this statement
"Form1 f1 = new Form1()";

Then I somewhere call "f1.Close()".

As the object f1 is close, then I execute this statement again"
"f1 = new Form1();" in the grouping class

note the instance "f1" is the same instance as the previous call.
then after I execute this statement and execute "f1.Show()", f1 is shown on the screen. However, when I use the method of the control and this form, say, "this.textBox1.Text = "something"; ", it causes an System.ObjectDisposedException.

I think I new f1 again through it is closed before. However, exception occurs. WHy?

Thanks



GeneralRe: Close a form and new it again occur error Pin
sreejith ss nair30-Aug-04 17:00
sreejith ss nair30-Aug-04 17:00 
GeneralRe: Close a form and new it again occur error Pin
ting66830-Aug-04 17:38
ting66830-Aug-04 17:38 
GeneralRe: Close a form and new it again occur error Pin
sreejith ss nair30-Aug-04 17:43
sreejith ss nair30-Aug-04 17:43 
QuestionWait for external application to complite and than continue?? Pin
adnanh7529-Aug-04 22:20
adnanh7529-Aug-04 22:20 
AnswerRe: Wait for external application to complite and than continue?? Pin
leppie29-Aug-04 22:24
leppie29-Aug-04 22:24 
Answerdoesnt work :( Pin
adnanh7529-Aug-04 22:50
adnanh7529-Aug-04 22:50 
GeneralRe: doesnt work :( Pin
mav.northwind29-Aug-04 22:55
mav.northwind29-Aug-04 22:55 
GeneralRe: doesnt work :( Pin
adnanh7529-Aug-04 23:18
adnanh7529-Aug-04 23:18 
GeneralRe: doesnt work :( Pin
mav.northwind29-Aug-04 23:28
mav.northwind29-Aug-04 23:28 
GeneralTHANKS :) Pin
adnanh7529-Aug-04 23:41
adnanh7529-Aug-04 23:41 
Questiondraw something then save to image,how to do? Pin
Xytme29-Aug-04 22:17
Xytme29-Aug-04 22:17 
Questioni want draw string follow a polyline, how to do? Pin
Xytme29-Aug-04 21:45
Xytme29-Aug-04 21:45 
AnswerRe: i want draw string follow a polyline, how to do? Pin
leppie29-Aug-04 22:28
leppie29-Aug-04 22:28 
GeneralSorting Algorithm Pin
azusakt29-Aug-04 21:35
azusakt29-Aug-04 21:35 
GeneralRe: Sorting Algorithm Pin
leppie29-Aug-04 22:21
leppie29-Aug-04 22:21 
GeneralRe: Sorting Algorithm Pin
Marc Clifton30-Aug-04 2:51
mvaMarc Clifton30-Aug-04 2:51 
GeneralDisabling Some items in ComboBox Pin
Osrald29-Aug-04 19:09
Osrald29-Aug-04 19:09 

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.