Click here to Skip to main content
15,867,310 members
Home / Discussions / C#
   

C#

 
Questionshowdialog box Pin
Tichaona J6-Aug-10 3:14
Tichaona J6-Aug-10 3:14 
AnswerRe: showdialog box Pin
kapax56-Aug-10 3:41
kapax56-Aug-10 3:41 
QuestionSending email in Asp.net Pin
arsendem6-Aug-10 2:32
arsendem6-Aug-10 2:32 
AnswerRe: Sending email in Asp.net Pin
Not Active6-Aug-10 2:36
mentorNot Active6-Aug-10 2:36 
GeneralRe: Sending email in Asp.net Pin
arsendem6-Aug-10 2:40
arsendem6-Aug-10 2:40 
AnswerRe: Sending email in Asp.net [modified] Pin
Vimalsoft(Pty) Ltd6-Aug-10 22:54
professionalVimalsoft(Pty) Ltd6-Aug-10 22:54 
GeneralRe: Sending email in Asp.net Pin
arsendem8-Aug-10 20:07
arsendem8-Aug-10 20:07 
QuestionlistBox Pin
Tichaona J6-Aug-10 2:04
Tichaona J6-Aug-10 2:04 
Hi - I am trying to get my application to automatically select the item that was last added to my list box but am not sure how to get this done. My code so far is as below. Please bear in mind that I am using Windows Presentation Foundation.

private void btnLoad_Click(object sender, RoutedEventArgs e)
{

//Declare an instance of the open file dialog...
OpenFileDialog dlg = new OpenFileDialog();

dlg.ShowDialog();

string fileName = dlg.FileName;

lstBxList.Items.Add(fileName);

//Once the file has been loaded, select it...

????????

}
AnswerRe: listBox Pin
V.6-Aug-10 2:18
professionalV.6-Aug-10 2:18 
AnswerRe: listBox Pin
Prosanta Kundu online6-Aug-10 2:18
Prosanta Kundu online6-Aug-10 2:18 
QuestionCheckbox Pin
kolisa6-Aug-10 1:51
kolisa6-Aug-10 1:51 
AnswerRe: Checkbox Pin
riced6-Aug-10 21:44
riced6-Aug-10 21:44 
Questiondatagrid Pin
kolisa6-Aug-10 1:48
kolisa6-Aug-10 1:48 
QuestionClick Once Publishing Pin
lourensG6-Aug-10 1:27
lourensG6-Aug-10 1:27 
AnswerRe: Click Once Publishing Pin
Łukasz Nowakowski6-Aug-10 1:55
Łukasz Nowakowski6-Aug-10 1:55 
GeneralRe: Click Once Publishing Pin
lourensG6-Aug-10 2:06
lourensG6-Aug-10 2:06 
GeneralRe: Click Once Publishing Pin
Łukasz Nowakowski6-Aug-10 2:07
Łukasz Nowakowski6-Aug-10 2:07 
GeneralRe: Click Once Publishing Pin
lourensG6-Aug-10 2:15
lourensG6-Aug-10 2:15 
GeneralRe: Click Once Publishing Pin
Łukasz Nowakowski6-Aug-10 2:19
Łukasz Nowakowski6-Aug-10 2:19 
GeneralRe: Click Once Publishing Pin
lourensG6-Aug-10 3:09
lourensG6-Aug-10 3:09 
GeneralRe: Click Once Publishing Pin
Łukasz Nowakowski6-Aug-10 3:11
Łukasz Nowakowski6-Aug-10 3:11 
QuestionSalary calculation Pin
nufail6-Aug-10 0:46
nufail6-Aug-10 0:46 
AnswerRe: Salary calculation Pin
Sauro Viti6-Aug-10 0:48
professionalSauro Viti6-Aug-10 0:48 
AnswerRe: Salary calculation Pin
Pete O'Hanlon6-Aug-10 1:01
subeditorPete O'Hanlon6-Aug-10 1:01 
AnswerRe: Salary calculation Pin
Abhinav S6-Aug-10 1:22
Abhinav S6-Aug-10 1:22 

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.