Click here to Skip to main content
15,895,462 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: help me Pin
Christian Graus13-Sep-05 14:31
protectorChristian Graus13-Sep-05 14:31 
QuestionCompact Framework strange exception Pin
David Menéndez Cisterna13-Sep-05 2:24
David Menéndez Cisterna13-Sep-05 2:24 
Questionshortcut and InputLanguage Pin
Anonymous12-Sep-05 21:33
Anonymous12-Sep-05 21:33 
QuestionHow to create different IPC channels in both server and client configuration files Pin
SongDog12-Sep-05 19:13
SongDog12-Sep-05 19:13 
Questioninstaller of c#.net project Pin
AvinashKundal12-Sep-05 19:12
AvinashKundal12-Sep-05 19:12 
AnswerRe: installer of c#.net project Pin
rwestgraham13-Sep-05 9:04
rwestgraham13-Sep-05 9:04 
QuestionFound incredible notepad like source editor Pin
Heinz_9-Sep-05 17:24
Heinz_9-Sep-05 17:24 
QuestionOne inherited form from FormBase has one toolbar and one imagelist Pin
Emerson Valente9-Sep-05 2:59
Emerson Valente9-Sep-05 2:59 
In a Windows Form project, one inherited form from FormBase has one toolbar and one imagelist, both are public.
The imagelist object is linked to toolbar object. My problem is that the images don´t appear on the buttons of toolbar object when I add new buttons to toolbar, new images to imagelist object ,link them through Imageindex property and compile the code.
I realized that the source code generated for buttons in the InitializeComponent session are in the upper position of the source code generated for toolbar object. It may have cause the problem because the buttons have been defined before the toolbar is initialized.
How could I solve this problem? I would like to inherit others forms from FormBase and customize the toolbars per each form.
Please find below the code sample for InitializeComponent method. Please see that the ToolBarButton1 is added to toolbar before its definition.

'
'ImageList
'
Me.ImageList.ImageStream = CType(resources.GetObject("ImageList.ImageStream"), System.Windows.Forms.ImageListStreamer)
'
'Toolbar
'
Me.Toolbar.Buttons.AddRange(New System.Windows.Forms.ToolBarButton() {Me.ToolBarButton1})
Me.Toolbar.Name = "Toolbar"
Me.Toolbar.Size = New System.Drawing.Size(345, 28)
'
'ToolBarButton1
'
Me.ToolBarButton1.ImageIndex = 0


Att,

Emerson Valente



-- modified at 16:18 Tuesday 13th September, 2005
AnswerRe: Funcionamento de Toolbar publica em Form herdado Pin
Dave Kreskowiak9-Sep-05 4:31
mveDave Kreskowiak9-Sep-05 4:31 
QuestionVB.net ListView Flicker Pin
Gate Crasher8-Sep-05 16:29
Gate Crasher8-Sep-05 16:29 
AnswerRe: VB.net ListView Flicker Pin
Christian Graus8-Sep-05 16:43
protectorChristian Graus8-Sep-05 16:43 
GeneralRe: VB.net ListView Flicker Pin
[Marc]10-Sep-05 0:28
[Marc]10-Sep-05 0:28 
AnswerRe: VB.net ListView Flicker Pin
S. Senthil Kumar16-Sep-05 6:14
S. Senthil Kumar16-Sep-05 6:14 
QuestionBeginner Help Pin
Anonymous8-Sep-05 9:38
Anonymous8-Sep-05 9:38 
AnswerRe: Beginner Help Pin
Colin Angus Mackay8-Sep-05 11:01
Colin Angus Mackay8-Sep-05 11:01 
Questionpopup control ruined my app Pin
texasjames8-Sep-05 9:05
texasjames8-Sep-05 9:05 
AnswerRe: popup control ruined my app Pin
Colin Angus Mackay9-Sep-05 5:57
Colin Angus Mackay9-Sep-05 5:57 
Question.Net C# Word Add-in install Pin
tartancli8-Sep-05 8:19
tartancli8-Sep-05 8:19 
AnswerRe: .Net C# Word Add-in install Pin
rwestgraham11-Sep-05 11:18
rwestgraham11-Sep-05 11:18 
GeneralRe: .Net C# Word Add-in install Pin
tartancli11-Sep-05 11:54
tartancli11-Sep-05 11:54 
GeneralKill the VB/C# debate! Pin
ComputerGuyCJ8-Sep-05 7:32
ComputerGuyCJ8-Sep-05 7:32 
GeneralRe: Kill the VB/C# debate! Pin
Dave Kreskowiak8-Sep-05 9:06
mveDave Kreskowiak8-Sep-05 9:06 
GeneralRe: Kill the VB/C# debate! Pin
Paul Conrad14-Sep-05 19:49
professionalPaul Conrad14-Sep-05 19:49 
GeneralRe: Kill the VB/C# debate! Pin
Christian Graus8-Sep-05 12:36
protectorChristian Graus8-Sep-05 12:36 
GeneralRe: Kill the VB/C# debate! Pin
Dan Neely9-Sep-05 5:42
Dan Neely9-Sep-05 5:42 

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.