Click here to Skip to main content
15,902,635 members
Home / Discussions / C#
   

C#

 
AnswerRe: Type casting Pin
DaveyM6918-Jun-08 5:08
professionalDaveyM6918-Jun-08 5:08 
AnswerRe: Type casting Pin
led mike18-Jun-08 5:21
led mike18-Jun-08 5:21 
AnswerRe: Type casting Pin
Pete O'Hanlon18-Jun-08 8:37
mvePete O'Hanlon18-Jun-08 8:37 
QuestionCustom Control implementation at Runtime via Code vs. Designtime via Toolbox Pin
rcaciopp18-Jun-08 5:01
rcaciopp18-Jun-08 5:01 
AnswerRe: Custom Control implementation at Runtime via Code vs. Designtime via Toolbox Pin
led mike18-Jun-08 5:26
led mike18-Jun-08 5:26 
GeneralRe: Custom Control implementation at Runtime via Code vs. Designtime via Toolbox Pin
rcaciopp18-Jun-08 6:24
rcaciopp18-Jun-08 6:24 
GeneralRe: Custom Control implementation at Runtime via Code vs. Designtime via Toolbox Pin
darkelv18-Jun-08 6:31
darkelv18-Jun-08 6:31 
GeneralRe: Custom Control implementation at Runtime via Code vs. Designtime via Toolbox Pin
rcaciopp18-Jun-08 6:48
rcaciopp18-Jun-08 6:48 
Yes, I did. Hmmm. This time around I guess I'm reading a difference in that it generates a SuspendLayout() / ResumeLayout() call. I'm frankly not yet familiar with these methods vs. just looking at the progressBarLabel1....Otherwise, I don't see anything that 'turns the switch' to invoke OnPaint(). Here's the Designer-generated code for a dragged/dropped ProgressBarLabel:

private void InitializeComponent()
{
    this.progressBarLabel1 = new ProgressBarLabel.ProgressBarLabel();
    this.SuspendLayout();
    //
    // progressBarLabel1
    //
    this.progressBarLabel1.Location = new System.Drawing.Point(78, 122);
    this.progressBarLabel1.Name = "progressBarLabel1";
    this.progressBarLabel1.ProgressBarBackColor = System.Drawing.SystemColors.Control;
    this.progressBarLabel1.ProgressBarWidthRatio = 0F;
    this.progressBarLabel1.Size = new System.Drawing.Size(137, 23);
    this.progressBarLabel1.TabIndex = 0;
    this.progressBarLabel1.Text = "progressBarLabel1";
    //
    // Form1
    //
    this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    this.ClientSize = new System.Drawing.Size(292, 266);
    this.Controls.Add(this.progressBarLabel1);
    this.Name = "Form1";
    this.Text = "Form1";
    this.Load += new System.EventHandler(this.Form1_Load);
    this.ResumeLayout(false);

}

GeneralRe: Custom Control implementation at Runtime via Code vs. Designtime via Toolbox Pin
darkelv18-Jun-08 6:58
darkelv18-Jun-08 6:58 
AnswerRe: Custom Control implementation at Runtime via Code vs. Designtime via Toolbox Pin
rcaciopp18-Jun-08 7:26
rcaciopp18-Jun-08 7:26 
QuestionCulture independant Dates? Pin
Megidolaon18-Jun-08 3:59
Megidolaon18-Jun-08 3:59 
AnswerRe: Culture independant Dates? Pin
Luc Pattyn18-Jun-08 4:17
sitebuilderLuc Pattyn18-Jun-08 4:17 
AnswerRe: Culture independant Dates? Pin
PIEBALDconsult18-Jun-08 4:45
mvePIEBALDconsult18-Jun-08 4:45 
GeneralRe: Culture independant Dates? Pin
Megidolaon19-Jun-08 21:01
Megidolaon19-Jun-08 21:01 
Questionxcopy in post build event Pin
Russell Jones18-Jun-08 3:29
Russell Jones18-Jun-08 3:29 
QuestionListViewItem image overlay [modified] Pin
ajtunbridge18-Jun-08 2:59
ajtunbridge18-Jun-08 2:59 
AnswerRe: ListViewItem image overlay Pin
led mike18-Jun-08 5:24
led mike18-Jun-08 5:24 
GeneralRe: ListViewItem image overlay Pin
ajtunbridge18-Jun-08 5:48
ajtunbridge18-Jun-08 5:48 
Questionhow to check the database connected is readonly? Pin
nicolus18-Jun-08 2:46
nicolus18-Jun-08 2:46 
AnswerRe: how to check the database connected is readonly? Pin
Bert delaVega18-Jun-08 16:27
Bert delaVega18-Jun-08 16:27 
Questionfloat representation Pin
George_George18-Jun-08 2:24
George_George18-Jun-08 2:24 
AnswerRe: float representation Pin
Alan Balkany18-Jun-08 3:14
Alan Balkany18-Jun-08 3:14 
GeneralRe: float representation Pin
George_George18-Jun-08 3:29
George_George18-Jun-08 3:29 
GeneralRe: float representation Pin
Colin Angus Mackay18-Jun-08 3:34
Colin Angus Mackay18-Jun-08 3:34 
GeneralRe: float representation Pin
George_George18-Jun-08 3:46
George_George18-Jun-08 3: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.