Click here to Skip to main content
15,175,837 members
Home / Discussions / C#
   

C#

 
AnswerRe: Advice needed Pin
Gerry Schmitz26-May-16 8:13
mveGerry Schmitz26-May-16 8:13 
QuestionConvert Pin
Bakeel25-May-16 10:36
MemberBakeel25-May-16 10:36 
QuestionRe: Convert Pin
CHill6025-May-16 11:53
mveCHill6025-May-16 11:53 
AnswerRe: Convert Pin
ZurdoDev29-Aug-16 10:12
professionalZurdoDev29-Aug-16 10:12 
QuestionHow to get Client Certificate using sslStream TCP Client/Server application? Pin
Jaimesh.241125-May-16 4:18
MemberJaimesh.241125-May-16 4:18 
QuestionTool licensing information Pin
partha14324-May-16 22:07
Memberpartha14324-May-16 22:07 
AnswerRe: Tool licensing information Pin
OriginalGriff24-May-16 22:30
mveOriginalGriff24-May-16 22:30 
QuestionHow to redraw the items in CheckedListBox control? Pin
Member 1247280923-May-16 22:16
MemberMember 1247280923-May-16 22: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 Jonsson29-May-16 0:14
professionalGeorge Jonsson29-May-16 0:14 
QuestionProviding Passphrase for GPG encryption to the command prompt Pin
Kandepu Rajesh23-May-16 8:55
MemberKandepu Rajesh23-May-16 8:55 
AnswerRe: Providing Passphrase for GPG encryption to the command prompt Pin
Dave Kreskowiak23-May-16 9:30
mveDave Kreskowiak23-May-16 9:30 
AnswerRe: Providing Passphrase for GPG encryption to the command prompt Pin
Richard MacCutchan23-May-16 22:29
mveRichard MacCutchan23-May-16 22:29 
QuestionCash Drawer And C# Pin
Zeyad Jalil22-May-16 7:26
professionalZeyad Jalil22-May-16 7:26 
AnswerRe: Cash Drawer And C# Pin
OriginalGriff22-May-16 7:37
mveOriginalGriff22-May-16 7:37 
GeneralRe: Cash Drawer And C# Pin
Zeyad Jalil22-May-16 7:47
professionalZeyad Jalil22-May-16 7:47 
GeneralRe: Cash Drawer And C# Pin
OriginalGriff22-May-16 8:40
mveOriginalGriff22-May-16 8:40 
AnswerRe: Cash Drawer And C# Pin
jkirkerx22-May-16 12:00
professionaljkirkerx22-May-16 12:00 
QuestionCertificate in TCPListnear Pin
Jaimesh.241120-May-16 22:11
MemberJaimesh.241120-May-16 22:11 
AnswerRe: Certificate in TCPListnear Pin
Garth J Lancaster20-May-16 22:26
professionalGarth J Lancaster20-May-16 22:26 
GeneralRe: Certificate in TCPListnear Pin
Jaimesh.241120-May-16 22:38
MemberJaimesh.241120-May-16 22:38 
GeneralRe: Certificate in TCPListnear Pin
Garth J Lancaster20-May-16 22:47
professionalGarth J Lancaster20-May-16 22:47 
GeneralRe: Certificate in TCPListnear Pin
Jaimesh.241120-May-16 22:59
MemberJaimesh.241120-May-16 22:59 
GeneralRe: Certificate in TCPListnear Pin
Garth J Lancaster20-May-16 23:19
professionalGarth J Lancaster20-May-16 23:19 
AnswerRe: Certificate in TCPListnear Pin
Afzaal Ahmad Zeeshan20-May-16 23:28
mveAfzaal Ahmad Zeeshan20-May-16 23:28 
GeneralRe: Certificate in TCPListnear Pin
Jaimesh.241121-May-16 0:36
MemberJaimesh.241121-May-16 0: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.