Click here to Skip to main content
15,914,162 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionTooltip for Combobox Pin
Vikram.....3-Apr-09 1:48
Vikram.....3-Apr-09 1:48 
AnswerRe: Tooltip for Combobox Pin
Juan1R13-Apr-09 4:28
Juan1R13-Apr-09 4:28 
QuestionListView Virtual data from disk Pin
Polity2-Apr-09 9:23
Polity2-Apr-09 9:23 
AnswerRe: ListView Virtual data from disk Pin
Mycroft Holmes2-Apr-09 22:14
professionalMycroft Holmes2-Apr-09 22:14 
GeneralRe: ListView Virtual data from disk Pin
Polity3-Apr-09 5:51
Polity3-Apr-09 5:51 
QuestionSourceGrid, how to use different fonts in different cells Pin
balukg2-Apr-09 5:01
balukg2-Apr-09 5:01 
AnswerRe: SourceGrid, how to use different fonts in different cells Pin
Henry Minute2-Apr-09 6:59
Henry Minute2-Apr-09 6:59 
QuestionIs it possible to shadow IsMdiContainer? Pin
Gregory Gadow1-Apr-09 16:47
Gregory Gadow1-Apr-09 16:47 
This is what I am trying to do:

VB.NET
Public Class MainForm

    Private Split As SplitContainer = Nothing

    Public Shadows Property IsMdiContainer() As Boolean
        Get
            Return (Split IsNot Nothing)
        End Get
        Set(ByVal value As Boolean)
            If value Then
                If Split Is Nothing Then
                    Split = New SplitContainer
                    Split.Dock = DockStyle.Fill
                    Split.Panel1.BackColor = Color.Aqua
                    Split.Panel2.BackColor = Color.Wheat
                    Me.Controls.Add(Split)
                End If
            Else
                If Split IsNot Nothing Then
                    Me.Controls.Remove(Split)
                    Split = Nothing
                End If
            End If
            Me.Invalidate()
        End Set
    End Property

End Class
With this code, I should be adding and removing a SplitContainer to my form instead of an MdiClient control. When I set IsMdiContainer in the Properties panel, however, my code is never run and the framework adds the MdiClient. If I can get this running, I believe I can create a custom Mdi set-up that allows for the parent form to have a sizable sidebar.

What am I doing wrong?
AnswerRe: Is it possible to shadow IsMdiContainer? Pin
Colin Angus Mackay1-Apr-09 23:49
Colin Angus Mackay1-Apr-09 23:49 
GeneralRe: Is it possible to shadow IsMdiContainer? Pin
Gregory Gadow2-Apr-09 3:37
Gregory Gadow2-Apr-09 3:37 
QuestionOnly MySqlParameter objects may be stored Pin
naim khan1-Apr-09 11:21
naim khan1-Apr-09 11:21 
AnswerRe: Only MySqlParameter objects may be stored Pin
Henry Minute1-Apr-09 12:01
Henry Minute1-Apr-09 12:01 
AnswerRe: Only MySqlParameter objects may be stored Pin
Henry Minute2-Apr-09 7:07
Henry Minute2-Apr-09 7:07 
GeneralRe: Only MySqlParameter objects may be stored Pin
Luc Pattyn2-Apr-09 9:01
sitebuilderLuc Pattyn2-Apr-09 9:01 
QuestionNeed sugestion on what font to use with Unicode chars Pin
Christian Wikander1-Apr-09 2:39
Christian Wikander1-Apr-09 2:39 
QuestionRe: Need sugestion on what font to use with Unicode chars Pin
led mike1-Apr-09 5:32
led mike1-Apr-09 5:32 
GeneralRe: Need sugestion on what font to use with Unicode chars Pin
Christian Wikander1-Apr-09 22:36
Christian Wikander1-Apr-09 22:36 
GeneralRe: Need sugestion on what font to use with Unicode chars Pin
led mike10-Apr-09 4:41
led mike10-Apr-09 4:41 
GeneralRe: Need sugestion on what font to use with Unicode chars Pin
Christian Wikander13-Apr-09 21:00
Christian Wikander13-Apr-09 21:00 
Questiongenerate a html help file Pin
soussouprog31-Mar-09 3:10
soussouprog31-Mar-09 3:10 
AnswerRe: generate a html help file Pin
Eddy Vluggen31-Mar-09 3:53
professionalEddy Vluggen31-Mar-09 3:53 
QuestionUpdate MDIChild->dataset(datagridview) when Combobox value in MDIParent changes Pin
paulray31-Mar-09 3:09
paulray31-Mar-09 3:09 
AnswerRe: Update MDIChild->dataset(datagridview) when Combobox value in MDIParent changes Pin
paulray3-Apr-09 3:24
paulray3-Apr-09 3:24 
QuestionHow can i find my installation path during installation.? Pin
RA|-|UL PATEL31-Mar-09 1:37
RA|-|UL PATEL31-Mar-09 1:37 
AnswerRe: How can i find my installation path during installation.? Pin
Eddy Vluggen4-Apr-09 0:49
professionalEddy Vluggen4-Apr-09 0:49 

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.