Click here to Skip to main content
15,921,295 members
Home / Discussions / C#
   

C#

 
QuestionMouse speed Pin
conemajstor25-Dec-06 8:25
conemajstor25-Dec-06 8:25 
AnswerRe: Mouse speed Pin
Laubi25-Dec-06 11:15
Laubi25-Dec-06 11:15 
QuestionGet All Open Windows Pin
MasterYoda7925-Dec-06 8:05
MasterYoda7925-Dec-06 8:05 
AnswerRe: Get All Open Windows Pin
Laubi25-Dec-06 11:18
Laubi25-Dec-06 11:18 
GeneralRe: Get All Open Windows Pin
MasterYoda7925-Dec-06 15:26
MasterYoda7925-Dec-06 15:26 
QuestionHow to develop line art based program Pin
code_explorer25-Dec-06 6:03
code_explorer25-Dec-06 6:03 
AnswerRe: How to develop line art based program Pin
gnadeem25-Dec-06 7:40
gnadeem25-Dec-06 7:40 
QuestionQ About composite control Pin
Lior S25-Dec-06 5:23
Lior S25-Dec-06 5:23 
Hello,

I created a composite control and one of the properties isn't initiating on the design mode and i get ,because of other function which uses this value, an error massage.

 [Bindable(true),<br />
        Category("Cells"),<br />
        DefaultValue(typeof(Color),"White"),<br />
        Description("The cells Color of the table")]<br />
        public Color CellsColor<br />
        {<br />
            get<br />
            {<br />
<br />
                EnsureChildControls();<br />
                if (((object)ViewState["CellsColor"]) == null)<br />
                    return Color.White;<br />
                return ((Color)ViewState["CellsColor"]);<br />
            }<br />
            set<br />
            {<br />
<br />
                EnsureChildControls();<br />
                if (value.IsSystemColor)<br />
                    DataGrid.ItemStyle.BackColor = Color.White;<br />
                else<br />
                    DataGrid.ItemStyle.BackColor = (Color)value;<br />
                ViewState["CellsColor"] = DGrec.ItemStyle.BackColor;<br />
<br />
            }<br />
        }



i get the error massage when i drag the control to a page for the first time,
after i change the value in the property box also for the first time,
the variable gets the proper value and the error massage clears so i can see the actual control in the design view.

is someone familiar with the property initiation and why i get this error?
Questiontexteditor with linenumbering Pin
nightrider1325-Dec-06 3:41
nightrider1325-Dec-06 3:41 
AnswerRe: texteditor with linenumbering Pin
Zakaria Bin Abdur Rouf25-Dec-06 4:09
Zakaria Bin Abdur Rouf25-Dec-06 4:09 
AnswerRe: texteditor with linenumbering Pin
Ravi Bhavnani25-Dec-06 4:55
professionalRavi Bhavnani25-Dec-06 4:55 
QuestionHow to open next page by clicking on Button Pin
jaganil25-Dec-06 3:25
jaganil25-Dec-06 3:25 
AnswerRe: How to open next page by clicking on Button Pin
Zakaria Bin Abdur Rouf25-Dec-06 4:03
Zakaria Bin Abdur Rouf25-Dec-06 4:03 
Questionuser control Pin
muharrem25-Dec-06 3:05
muharrem25-Dec-06 3:05 
AnswerRe: user control Pin
rEgEn2k25-Dec-06 3:34
rEgEn2k25-Dec-06 3:34 
AnswerRe: user control Pin
il_masacratore27-Dec-06 2:45
il_masacratore27-Dec-06 2:45 
GeneralRe: user control Pin
muharrem28-Dec-06 9:52
muharrem28-Dec-06 9:52 
Questionhow to Disable Logon promt of Crystal Report Viwer used by writing a command sql in c# Pin
jaganil25-Dec-06 2:29
jaganil25-Dec-06 2:29 
Questiontimer! Pin
vandaivn25-Dec-06 0:49
vandaivn25-Dec-06 0:49 
AnswerRe: timer! Pin
Stefan Troschuetz25-Dec-06 3:18
Stefan Troschuetz25-Dec-06 3:18 
AnswerRe: timer! Pin
Zakaria Bin Abdur Rouf25-Dec-06 4:07
Zakaria Bin Abdur Rouf25-Dec-06 4:07 
QuestionWhy AddRange to to certain MenuItem disables the EventHandler of that MenuItem??? how to avoid it? Pin
vedmack25-Dec-06 0:26
vedmack25-Dec-06 0:26 
AnswerRe: Why AddRange to to certain MenuItem disables the EventHandler of that MenuItem??? how to avoid it? Pin
Stefan Troschuetz25-Dec-06 3:14
Stefan Troschuetz25-Dec-06 3:14 
QuestionLink needed to Automatic Number Plate Recognition software on Win CE 4.2? Pin
Nitin198124-Dec-06 22:36
Nitin198124-Dec-06 22:36 
AnswerRe: Link needed to Automatic Number Plate Recognition software on Win CE 4.2? Pin
Dave Kreskowiak25-Dec-06 17:57
mveDave Kreskowiak25-Dec-06 17:57 

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.