Click here to Skip to main content
15,905,776 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionPhoto Realistic Controls Pin
Leslie Sanford21-Aug-07 10:53
Leslie Sanford21-Aug-07 10:53 
AnswerRe: Photo Realistic Controls Pin
Eduard Keilholz22-Aug-07 6:29
Eduard Keilholz22-Aug-07 6:29 
QuestionServices Pin
Sam Heller21-Aug-07 9:57
Sam Heller21-Aug-07 9:57 
Questionbig problem: Validating the items in a listbox Pin
ctoma200520-Aug-07 21:53
ctoma200520-Aug-07 21:53 
AnswerRe: big problem: Validating the items in a listbox Pin
Luc Pattyn20-Aug-07 22:54
sitebuilderLuc Pattyn20-Aug-07 22:54 
GeneralRe: big problem: Validating the items in a listbox Pin
ctoma200522-Aug-07 4:17
ctoma200522-Aug-07 4:17 
GeneralRe: big problem: Validating the items in a listbox Pin
Luc Pattyn22-Aug-07 4:34
sitebuilderLuc Pattyn22-Aug-07 4:34 
GeneralRe: big problem: Validating the items in a listbox Pin
ctoma200524-Aug-07 0:49
ctoma200524-Aug-07 0:49 
Damn, i can't understand, in my app it doesn't show nothing.
My code looks like this:
<br />
public class MyTextBox : TextBox<br />
    {<br />
        public override string ToString()<br />
        {<br />
            return Text;<br />
        }<br />
    }<br />
    public partial class Form1 : Form<br />
    {<br />
        public Form1()<br />
        {<br />
            InitializeComponent();<br />
            MyTextBox x = new MyTextBox();<br />
            x.Text = "aaa";<br />
            listBox1.Items.Add(x);<br />
        }<br />
    }<br />


My listbox is blank after this.. If it would show "aaa", now all i would have to do is add an validating event and my job is finished. I'm doing something wrong?
GeneralRe: big problem: Validating the items in a listbox [modified] Pin
Luc Pattyn24-Aug-07 1:46
sitebuilderLuc Pattyn24-Aug-07 1:46 
GeneralRe: big problem: Validating the items in a listbox Pin
ctoma200524-Aug-07 3:26
ctoma200524-Aug-07 3:26 
GeneralRe: big problem: Validating the items in a listbox Pin
Luc Pattyn24-Aug-07 3:39
sitebuilderLuc Pattyn24-Aug-07 3:39 
GeneralRe: big problem: Validating the items in a listbox Pin
ctoma200524-Aug-07 4:02
ctoma200524-Aug-07 4:02 
GeneralRe: big problem: Validating the items in a listbox Pin
Luc Pattyn24-Aug-07 4:17
sitebuilderLuc Pattyn24-Aug-07 4:17 
Questionextracting data from the datagridview Pin
helloise20-Aug-07 21:16
helloise20-Aug-07 21:16 
AnswerRe: extracting data from the datagridview Pin
Giorgi Dalakishvili20-Aug-07 21:42
mentorGiorgi Dalakishvili20-Aug-07 21:42 
Questionchar distribution in office document Pin
czyhsoul20-Aug-07 2:31
czyhsoul20-Aug-07 2:31 
QuestionConnecting a data field to a TextBox Pin
virtual_jpr19-Aug-07 21:56
virtual_jpr19-Aug-07 21:56 
AnswerRe: Connecting a data field to a TextBox Pin
Christian Graus20-Aug-07 0:56
protectorChristian Graus20-Aug-07 0:56 
QuestionmySqlDataAdapter.Update(myDataSet, "Staff"); not updating my DB Pin
helloise19-Aug-07 21:43
helloise19-Aug-07 21:43 
AnswerRe: mySqlDataAdapter.Update(myDataSet, "Staff"); not updating my DB Pin
Rocky#20-Aug-07 1:47
Rocky#20-Aug-07 1:47 
QuestionForms with only a Menu Bar Pin
TyrionTheImp19-Aug-07 19:49
TyrionTheImp19-Aug-07 19:49 
AnswerRe: Forms with only a Menu Bar Pin
kubben20-Aug-07 3:46
kubben20-Aug-07 3:46 
GeneralRe: Forms with only a Menu Bar Pin
TyrionTheImp20-Aug-07 18:38
TyrionTheImp20-Aug-07 18:38 
GeneralRe: Forms with only a Menu Bar Pin
kubben21-Aug-07 1:41
kubben21-Aug-07 1:41 
GeneralRe: Forms with only a Menu Bar Pin
TyrionTheImp29-Aug-07 3:40
TyrionTheImp29-Aug-07 3:40 

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.