Click here to Skip to main content
15,917,953 members
Home / Discussions / C#
   

C#

 
AnswerRe: Advice needed Pin
Gerry Schmitz26-May-16 7:13
mveGerry Schmitz26-May-16 7:13 
QuestionConvert Pin
Bakeel25-May-16 9:36
Bakeel25-May-16 9:36 
QuestionRe: Convert Pin
CHill6025-May-16 10:53
mveCHill6025-May-16 10:53 
AnswerRe: Convert Pin
ZurdoDev29-Aug-16 9:12
professionalZurdoDev29-Aug-16 9:12 
QuestionHow to get Client Certificate using sslStream TCP Client/Server application? Pin
Jaimesh.241125-May-16 3:18
Jaimesh.241125-May-16 3:18 
QuestionTool licensing information Pin
partha14324-May-16 21:07
partha14324-May-16 21:07 
AnswerRe: Tool licensing information Pin
OriginalGriff24-May-16 21:30
mveOriginalGriff24-May-16 21:30 
QuestionHow to redraw the items in CheckedListBox control? Pin
Member 1247280923-May-16 21:16
Member 1247280923-May-16 21:16 
Hi,

Currently i'm working on WindowsForms application. In that i have used checkedlistbox to display the display member of combobox column. i need to draw the display member of the combobox column instead of value member, How to change the text of the checkedListBox items.

C#
internal class CheckedListBoxAdv:System.Windows.Forms.CheckedListBox
    {
            
    public CheckedListBoxAdv()
          :base()
    { }
    protected override void OnDrawItem(System.Windows.Forms.DrawItemEventArgs e)
    {
       if(this.Items.Count > 0)
       {
          if (excelFilter.displayMemberColList.ContainsKey(this.Items[e.Index].ToString()))
                                e.Graphics.DrawString(excelFilter.displayMemberColList[this.Items[e.Index].ToString()], Font, Brushes.Black, e.Bounds);
       }
                    
    }
    base.OnDrawItem(e);
    }
         }

AnswerRe: How to redraw the items in CheckedListBox control? Pin
George Jonsson28-May-16 23:14
professionalGeorge Jonsson28-May-16 23:14 
QuestionProviding Passphrase for GPG encryption to the command prompt Pin
Kandepu Rajesh23-May-16 7:55
Kandepu Rajesh23-May-16 7:55 
AnswerRe: Providing Passphrase for GPG encryption to the command prompt Pin
Dave Kreskowiak23-May-16 8:30
mveDave Kreskowiak23-May-16 8:30 
AnswerRe: Providing Passphrase for GPG encryption to the command prompt Pin
Richard MacCutchan23-May-16 21:29
mveRichard MacCutchan23-May-16 21:29 
QuestionCash Drawer And C# Pin
Zeyad Jalil22-May-16 6:26
professionalZeyad Jalil22-May-16 6:26 
AnswerRe: Cash Drawer And C# Pin
OriginalGriff22-May-16 6:37
mveOriginalGriff22-May-16 6:37 
GeneralRe: Cash Drawer And C# Pin
Zeyad Jalil22-May-16 6:47
professionalZeyad Jalil22-May-16 6:47 
GeneralRe: Cash Drawer And C# Pin
OriginalGriff22-May-16 7:40
mveOriginalGriff22-May-16 7:40 
AnswerRe: Cash Drawer And C# Pin
jkirkerx22-May-16 11:00
professionaljkirkerx22-May-16 11:00 
QuestionCertificate in TCPListnear Pin
Jaimesh.241120-May-16 21:11
Jaimesh.241120-May-16 21:11 
AnswerRe: Certificate in TCPListnear Pin
Garth J Lancaster20-May-16 21:26
professionalGarth J Lancaster20-May-16 21:26 
GeneralRe: Certificate in TCPListnear Pin
Jaimesh.241120-May-16 21:38
Jaimesh.241120-May-16 21:38 
GeneralRe: Certificate in TCPListnear Pin
Garth J Lancaster20-May-16 21:47
professionalGarth J Lancaster20-May-16 21:47 
GeneralRe: Certificate in TCPListnear Pin
Jaimesh.241120-May-16 21:59
Jaimesh.241120-May-16 21:59 
GeneralRe: Certificate in TCPListnear Pin
Garth J Lancaster20-May-16 22:19
professionalGarth J Lancaster20-May-16 22:19 
AnswerRe: Certificate in TCPListnear Pin
Afzaal Ahmad Zeeshan20-May-16 22:28
professionalAfzaal Ahmad Zeeshan20-May-16 22:28 
GeneralRe: Certificate in TCPListnear Pin
Jaimesh.241120-May-16 23:36
Jaimesh.241120-May-16 23:36 

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.