Click here to Skip to main content
15,949,686 members
Home / Discussions / C#
   

C#

 
GeneralRe: Additional information Pin
Pete O'Hanlon16-Aug-09 10:41
mvePete O'Hanlon16-Aug-09 10:41 
GeneralRe: Additional information Pin
DaveyM6916-Aug-09 10:52
professionalDaveyM6916-Aug-09 10:52 
GeneralRe: Additional information Pin
Pete O'Hanlon16-Aug-09 10:58
mvePete O'Hanlon16-Aug-09 10:58 
GeneralRe: Additional information Pin
Luc Pattyn16-Aug-09 11:14
sitebuilderLuc Pattyn16-Aug-09 11:14 
GeneralRe: Additional information Pin
Pete O'Hanlon16-Aug-09 11:19
mvePete O'Hanlon16-Aug-09 11:19 
GeneralRe: Additional information Pin
DaveyM6916-Aug-09 11:50
professionalDaveyM6916-Aug-09 11:50 
QuestionSelected tab that affect on listbox Pin
tamir90116-Aug-09 8:15
tamir90116-Aug-09 8:15 
AnswerRe: Selected tab that affect on listbox Pin
tamir90116-Aug-09 9:38
tamir90116-Aug-09 9: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 10:57
Saksida Bojan16-Aug-09 10:57 
GeneralRe: Selected tab that affect on listbox Pin
Luc Pattyn16-Aug-09 11:34
sitebuilderLuc Pattyn16-Aug-09 11:34 
AnswerRe: Selected tab that affect on listbox Pin
DdoubleD16-Aug-09 15:32
DdoubleD16-Aug-09 15:32 
QuestionSend input to CMD from WINFORM Pin
Haim Nachum16-Aug-09 6:20
Haim Nachum16-Aug-09 6:20 
AnswerRe: Send input to CMD from WINFORM Pin
riced16-Aug-09 6:58
riced16-Aug-09 6:58 
AnswerRe: Send input to CMD from WINFORM Pin
Hristo-Bojilov16-Aug-09 7:33
Hristo-Bojilov16-Aug-09 7:33 
QuestionGetting type? Pin
Matt Cavanagh16-Aug-09 5:50
Matt Cavanagh16-Aug-09 5:50 
AnswerRe: Getting type? Pin
Saksida Bojan16-Aug-09 6:03
Saksida Bojan16-Aug-09 6:03 
GeneralRe: Getting type? Pin
Matt Cavanagh16-Aug-09 8:28
Matt Cavanagh16-Aug-09 8:28 
AnswerRe: Getting type? Pin
DdoubleD16-Aug-09 18:01
DdoubleD16-Aug-09 18:01 
GeneralRe: Getting type? Pin
Matt Cavanagh16-Aug-09 19:04
Matt Cavanagh16-Aug-09 19:04 
Questionurgent anyone can save me.... Pin
Member 444291616-Aug-09 4:21
Member 444291616-Aug-09 4:21 
AnswerRe: urgent anyone can save me.... Pin
Saksida Bojan16-Aug-09 5:54
Saksida Bojan16-Aug-09 5:54 
AnswerRe: urgent anyone can save me.... Pin
Not Active16-Aug-09 6:49
mentorNot Active16-Aug-09 6:49 
GeneralRe: urgent anyone can save me.... Pin
PIEBALDconsult16-Aug-09 9:03
mvePIEBALDconsult16-Aug-09 9:03 
AnswerRe: urgent anyone can save me.... Pin
Pete O'Hanlon16-Aug-09 9:58
mvePete O'Hanlon16-Aug-09 9:58 
Questionhow to dataset.Update Pin
sureyyan16-Aug-09 3:03
sureyyan16-Aug-09 3: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.