Click here to Skip to main content
15,917,176 members
Home / Discussions / C#
   

C#

 
AnswerRe: adding 2 hashtable Pin
Christian Graus1-Jan-09 2:09
protectorChristian Graus1-Jan-09 2:09 
AnswerRe: adding 2 hashtable Pin
User 66581-Jan-09 2:56
User 66581-Jan-09 2:56 
QuestionCustom control's property problem Pin
Xmen Real 31-Dec-08 18:35
professional Xmen Real 31-Dec-08 18:35 
AnswerRe: Custom control's property problem Pin
beatles169231-Dec-08 23:28
beatles169231-Dec-08 23:28 
GeneralRe: Custom control's property problem Pin
Xmen Real 31-Dec-08 23:31
professional Xmen Real 31-Dec-08 23:31 
AnswerRe: Custom control's property problem Pin
Pedram Behroozi1-Jan-09 0:49
Pedram Behroozi1-Jan-09 0:49 
GeneralRe: Custom control's property problem Pin
Xmen Real 1-Jan-09 0:55
professional Xmen Real 1-Jan-09 0:55 
GeneralRe: Custom control's property problem Pin
Pedram Behroozi1-Jan-09 1:21
Pedram Behroozi1-Jan-09 1:21 
Ummm... So you set the ShowThing value to false but when you run your application they're visible?
Maybe you changed some values in PropertyBinding or DataBinding. Make sure their values are set to none.
I have a UC like you. It has a property named TextMultiLine, here:
public partial class LabeledTextBox : UserControl
{
    public bool TextMultiLine
    {
        get { return txtText.Multiline; }
        set { txtText.Multiline = value; }
    }
}

And I have no problem with it:
public partial class frmMain : Form
{
    public frmMain()
    {
        InitializeComponent();
        LabeldTextBox ltxt = new LabeledTextBox();
        
        ltxt.TextMultiLine = true; // And it works in runtime and everywhere else
    }
}


I think your problem is in somewhere else. I hope you can find it Smile | :)

I died as a mineral and became a plant,
I died as plant and rose to animal,
I died as animal and I was Man.
Why should I fear? When was I less by dying?
-- Rumi[^]

My blog

GeneralRe: Custom control's property problem Pin
Xmen Real 1-Jan-09 1:51
professional Xmen Real 1-Jan-09 1:51 
GeneralRe: Custom control's property problem Pin
Eddy Vluggen2-Jan-09 2:07
professionalEddy Vluggen2-Jan-09 2:07 
GeneralRe: Custom control's property problem Pin
Xmen Real 2-Jan-09 3:22
professional Xmen Real 2-Jan-09 3:22 
GeneralRe: Custom control's property problem Pin
Eddy Vluggen2-Jan-09 21:53
professionalEddy Vluggen2-Jan-09 21:53 
GeneralRe: Custom control's property problem Pin
Xmen Real 2-Jan-09 22:02
professional Xmen Real 2-Jan-09 22:02 
QuestionDatagrid Combo box binding Pin
mrcooll31-Dec-08 2:46
mrcooll31-Dec-08 2:46 
AnswerRe: Datagrid Combo box binding Pin
mrcooll31-Dec-08 5:13
mrcooll31-Dec-08 5:13 
QuestionNeed regular expression for spliting string Pin
Ramesh Ramalingam31-Dec-08 1:45
Ramesh Ramalingam31-Dec-08 1:45 
AnswerRe: Need regular expression for spliting string Pin
Rob Philpott31-Dec-08 1:50
Rob Philpott31-Dec-08 1:50 
GeneralRe: Need regular expression for spliting string Pin
PIEBALDconsult31-Dec-08 4:12
mvePIEBALDconsult31-Dec-08 4:12 
GeneralRe: Need regular expression for spliting string Pin
#realJSOP31-Dec-08 4:32
professional#realJSOP31-Dec-08 4:32 
AnswerRe: Need regular expression for spliting string Pin
User 665831-Dec-08 1:59
User 665831-Dec-08 1:59 
AnswerRe: Need regular expression for spliting string Pin
#realJSOP31-Dec-08 4:31
professional#realJSOP31-Dec-08 4:31 
GeneralRe: Need regular expression for spliting string Pin
PIEBALDconsult31-Dec-08 8:44
mvePIEBALDconsult31-Dec-08 8:44 
GeneralRe: Need regular expression for spliting string [modified] Pin
#realJSOP31-Dec-08 8:51
professional#realJSOP31-Dec-08 8:51 
AnswerRe: Need regular expression for spliting string Pin
Guffa31-Dec-08 15:52
Guffa31-Dec-08 15:52 
GeneralRe: Need regular expression for spliting string Pin
PIEBALDconsult31-Dec-08 16:46
mvePIEBALDconsult31-Dec-08 16:46 

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.