Click here to Skip to main content
15,845,196 members
Home / Discussions / C#
   

C#

 
GeneralRe: Additional information Pin
Pete O'Hanlon16-Aug-09 11:41
subeditorPete O'Hanlon16-Aug-09 11:41 
GeneralRe: Additional information Pin
DaveyM6916-Aug-09 11:52
professionalDaveyM6916-Aug-09 11:52 
GeneralRe: Additional information Pin
Pete O'Hanlon16-Aug-09 11:58
subeditorPete O'Hanlon16-Aug-09 11:58 
GeneralRe: Additional information Pin
Luc Pattyn16-Aug-09 12:14
sitebuilderLuc Pattyn16-Aug-09 12:14 
GeneralRe: Additional information Pin
Pete O'Hanlon16-Aug-09 12:19
subeditorPete O'Hanlon16-Aug-09 12:19 
GeneralRe: Additional information Pin
DaveyM6916-Aug-09 12:50
professionalDaveyM6916-Aug-09 12:50 
QuestionSelected tab that affect on listbox Pin
tamir90116-Aug-09 9:15
tamir90116-Aug-09 9:15 
AnswerRe: Selected tab that affect on listbox Pin
tamir90116-Aug-09 10:38
tamir90116-Aug-09 10:38 
I try to do this:
void tabControl1_GotFocus(object sender, EventArgs e)
        {

            foreach (TabPage item in tabControl1.TabPages)
            {
                if (item.Focus())
                {
                    for (int i = 0; i < listBoxUsers.ListBoxControl.Items.Count; i++)
                    {
                        if (item.Text==listBoxUsers.ListBoxControl.Items[i].ToString())
                        {
                            listBoxUsers.ListBoxControl.SelectedItem = item.Text;
                        }
                    }
                }
            }
        }


But it dosen't work so good,
can i improve it?
GeneralRe: Selected tab that affect on listbox Pin
Saksida Bojan16-Aug-09 11:57
Saksida Bojan16-Aug-09 11:57 
GeneralRe: Selected tab that affect on listbox Pin
Luc Pattyn16-Aug-09 12:34
sitebuilderLuc Pattyn16-Aug-09 12:34 
AnswerRe: Selected tab that affect on listbox Pin
DdoubleD16-Aug-09 16:32
DdoubleD16-Aug-09 16:32 
QuestionSend input to CMD from WINFORM Pin
Haim Nachum16-Aug-09 7:20
Haim Nachum16-Aug-09 7:20 
AnswerRe: Send input to CMD from WINFORM Pin
riced16-Aug-09 7:58
riced16-Aug-09 7:58 
AnswerRe: Send input to CMD from WINFORM Pin
Hristo-Bojilov16-Aug-09 8:33
Hristo-Bojilov16-Aug-09 8:33 
QuestionGetting type? Pin
Matt Cavanagh16-Aug-09 6:50
Matt Cavanagh16-Aug-09 6:50 
AnswerRe: Getting type? Pin
Saksida Bojan16-Aug-09 7:03
Saksida Bojan16-Aug-09 7:03 
GeneralRe: Getting type? Pin
Matt Cavanagh16-Aug-09 9:28
Matt Cavanagh16-Aug-09 9:28 
AnswerRe: Getting type? Pin
DdoubleD16-Aug-09 19:01
DdoubleD16-Aug-09 19:01 
GeneralRe: Getting type? Pin
Matt Cavanagh16-Aug-09 20:04
Matt Cavanagh16-Aug-09 20:04 
Questionurgent anyone can save me.... Pin
Member 444291616-Aug-09 5:21
Member 444291616-Aug-09 5:21 
AnswerRe: urgent anyone can save me.... Pin
Saksida Bojan16-Aug-09 6:54
Saksida Bojan16-Aug-09 6:54 
AnswerRe: urgent anyone can save me.... Pin
Not Active16-Aug-09 7:49
mentorNot Active16-Aug-09 7:49 
GeneralRe: urgent anyone can save me.... Pin
PIEBALDconsult16-Aug-09 10:03
mvePIEBALDconsult16-Aug-09 10:03 
AnswerRe: urgent anyone can save me.... Pin
Pete O'Hanlon16-Aug-09 10:58
subeditorPete O'Hanlon16-Aug-09 10:58 
Questionhow to dataset.Update Pin
sureyyan16-Aug-09 4:03
sureyyan16-Aug-09 4:03 

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.