private void CreateGdiObjects() { if ((this.m_brushShortcutsBack == null) || (this.m_brushShortcutsBack.Color != this.ShortcutsBackColor)) { this.m_brushShortcutsBack = OutlookShortcutBar.GetBrush(this.ShortcutsBackColor); } }
private void CreateGdiObjects() { if ((this.m_brushGroupsFore == null) || (this.m_brushGroupsFore.Color != this.ForeColor)) { this.m_brushGroupsFore = OutlookShortcutBar.GetBrush(this.ForeColor); } if ((this.m_brushSelGroupsBack == null) || (this.m_brushSelGroupsBack.Color != this.SelBackColor)) { this.m_brushSelGroupsBack = OutlookShortcutBar.GetBrush(this.SelBackColor); } if ((this.m_brushSelGroupsFore == null) || (this.m_brushSelGroupsFore.Color != this.SelForeColor)) { this.m_brushSelGroupsFore = OutlookShortcutBar.GetBrush(this.SelForeColor); } }