Click here to Skip to main content
15,914,109 members
Home / Discussions / C#
   

C#

 
GeneralRe: crystal reports Pin
monuSaini29-Jul-07 20:48
monuSaini29-Jul-07 20:48 
QuestionXML Root tag Pin
M. J. Jaya Chitra27-Jul-07 23:13
M. J. Jaya Chitra27-Jul-07 23:13 
Questiondelete a control containing label and textbox while assigning text at runtime Pin
trulyyy27-Jul-07 22:57
trulyyy27-Jul-07 22:57 
AnswerRe: delete a control containing label and textbox while assigning text at runtime Pin
Martin#30-Jul-07 10:38
Martin#30-Jul-07 10:38 
Questioni have design a controle using following code Pin
cuteAisha27-Jul-07 22:56
cuteAisha27-Jul-07 22:56 
AnswerRe: i have design a controle using following code Pin
Guffa27-Jul-07 23:12
Guffa27-Jul-07 23:12 
GeneralRe: i have design a controle using following code Pin
cuteAisha28-Jul-07 1:39
cuteAisha28-Jul-07 1:39 
AnswerRe: i have design a controle using following code Pin
Luc Pattyn28-Jul-07 2:04
sitebuilderLuc Pattyn28-Jul-07 2:04 
Hi,

I dont understand all of it;
not using the PRE tags makes this harder to read than is necessary.

But with what I can figure out, seems to me there are many mistakes:

1.
g.Dispose(): as Guffa already said, dont dispose of things you did not create.

2.
I am puzzled by your NO_Click()
cant figure out what control would invoke this, nor what sense it makes
just changing a border style.
Showing the constructor might have been useful...

3.
on button1_Click you create a new NO
so every time it happens another NO is added, 50 dots to the right of the
previous one? is that really the intention?
if you only need either none or one NO object, I suggest you create it beforehand
(probably using Designer) and keep it invisible until you want to see it.

4.
un_Click(): why is it you set the keydown event only after having clicked "un" ?
I guess you could have done that right away, it would only fire when is has
focus anyway. You are making things more complex than necessary.

5.
it might help us if you better explain (and show code about):
- what the intial state should be and is;
- what the functionality of the NO class is;
- and exactly what goes wrong, after exactly which actions the user takes.

But maybe you first want to clean-up your code based on the above input,
then replublish it inside PRE tags (have a look at other messages, then
use the little "pre" button under the window where you enter your messages...

Smile | :)


Questionapplication connect to sql data base Pin
prasadbuddhika27-Jul-07 22:43
prasadbuddhika27-Jul-07 22:43 
AnswerRe: application connect to sql data base Pin
Colin Angus Mackay27-Jul-07 23:08
Colin Angus Mackay27-Jul-07 23:08 
QuestionRefreshing a Form Pin
sangramkp27-Jul-07 21:46
sangramkp27-Jul-07 21:46 
AnswerRe: Refreshing a Form Pin
ekynox27-Jul-07 21:49
ekynox27-Jul-07 21:49 
GeneralRe: Refreshing a Form Pin
sangramkp27-Jul-07 21:57
sangramkp27-Jul-07 21:57 
GeneralRe: Refreshing a Form Pin
ekynox27-Jul-07 23:17
ekynox27-Jul-07 23:17 
GeneralRe: Refreshing a Form Pin
sangramkp28-Jul-07 0:03
sangramkp28-Jul-07 0:03 
Questionhi friends Pin
Baljit Singh Grewal27-Jul-07 20:58
Baljit Singh Grewal27-Jul-07 20:58 
AnswerRe: hi friends Pin
Christian Graus27-Jul-07 21:31
protectorChristian Graus27-Jul-07 21:31 
AnswerRe: hi friends Pin
Guffa27-Jul-07 21:57
Guffa27-Jul-07 21:57 
Questionselect from DataBase Pin
Thaer Hamael27-Jul-07 18:10
Thaer Hamael27-Jul-07 18:10 
AnswerRe: select from DataBase Pin
Christian Graus27-Jul-07 18:24
protectorChristian Graus27-Jul-07 18:24 
AnswerRe: select from DataBase Pin
Paul Conrad27-Jul-07 19:44
professionalPaul Conrad27-Jul-07 19:44 
QuestionSelecte max(Feild)from Pin
Thaer Hamael27-Jul-07 17:58
Thaer Hamael27-Jul-07 17:58 
AnswerRe: Selecte max(Feild)from Pin
Paul Conrad27-Jul-07 19:44
professionalPaul Conrad27-Jul-07 19:44 
QuestionPointers Performance Pin
Leslie Sanford27-Jul-07 16:53
Leslie Sanford27-Jul-07 16:53 
AnswerRe: Pointers Performance Pin
J. Dunlap27-Jul-07 17:37
J. Dunlap27-Jul-07 17: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.