Click here to Skip to main content
15,920,633 members
Home / Discussions / C#
   

C#

 
AnswerRe: FCL C# source code Pin
Eddy Vluggen14-Oct-14 4:58
professionalEddy Vluggen14-Oct-14 4:58 
QuestionRAPI2 in C# not returning multiword Pin
Spidy113-Oct-14 19:22
Spidy113-Oct-14 19:22 
AnswerRe: RAPI2 in C# not returning multiword Pin
Richard MacCutchan13-Oct-14 21:53
mveRichard MacCutchan13-Oct-14 21:53 
GeneralRe: RAPI2 in C# not returning multiword Pin
Spidy114-Oct-14 14:00
Spidy114-Oct-14 14:00 
Questionporting from XNA to MonoGame Pin
paulrm13-Oct-14 6:25
paulrm13-Oct-14 6:25 
AnswerRe: porting from XNA to MonoGame Pin
Richard MacCutchan13-Oct-14 6:37
mveRichard MacCutchan13-Oct-14 6:37 
GeneralRe: porting from XNA to MonoGame Pin
paulrm13-Oct-14 6:59
paulrm13-Oct-14 6:59 
GeneralRe: porting from XNA to MonoGame Pin
Pete O'Hanlon13-Oct-14 10:55
mvePete O'Hanlon13-Oct-14 10:55 
AnswerRe: porting from XNA to MonoGame Pin
Gerry Schmitz13-Oct-14 11:25
mveGerry Schmitz13-Oct-14 11:25 
GeneralRe: porting from XNA to MonoGame Pin
paulrm13-Oct-14 12:44
paulrm13-Oct-14 12:44 
AnswerRe: porting from XNA to MonoGame Pin
paulrm13-Oct-14 13:59
paulrm13-Oct-14 13:59 
QuestionHow to embed a video in my c# based dot net website which should be compatible in all browsers especially chrome. Pin
Member 1107698013-Oct-14 1:18
Member 1107698013-Oct-14 1:18 
AnswerRe: How to embed a video in my c# based dot net website which should be compatible in all browsers especially chrome. Pin
Pete O'Hanlon13-Oct-14 3:03
mvePete O'Hanlon13-Oct-14 3:03 
QuestionAutomation for WPF application with using Coded UI tool Pin
Member 1114888912-Oct-14 23:04
Member 1114888912-Oct-14 23:04 
AnswerRe: Automation for WPF application with using Coded UI tool Pin
Pete O'Hanlon13-Oct-14 0:08
mvePete O'Hanlon13-Oct-14 0:08 
Questionmovable combobox in datagridview in C# windows application Pin
ranjeet1112-Oct-14 21:51
ranjeet1112-Oct-14 21:51 
QuestionAccessing WCF from Excel/VBA Pin
devvvy12-Oct-14 5:19
devvvy12-Oct-14 5:19 
QuestionRe: Accessing WCF from Excel/VBA Pin
Richard MacCutchan12-Oct-14 8:57
mveRichard MacCutchan12-Oct-14 8:57 
AnswerRe: Accessing WCF from Excel/VBA Pin
CHill6012-Oct-14 9:11
mveCHill6012-Oct-14 9:11 
AnswerRe: Accessing WCF from Excel/VBA Pin
devvvy14-Oct-14 8:04
devvvy14-Oct-14 8:04 
AnswerRe: Accessing WCF from Excel/VBA Pin
Mycroft Holmes12-Oct-14 12:46
professionalMycroft Holmes12-Oct-14 12:46 
GeneralRe: Accessing WCF from Excel/VBA Pin
devvvy13-Oct-14 9:29
devvvy13-Oct-14 9:29 
GeneralRe: Accessing WCF from Excel/VBA Pin
Mycroft Holmes13-Oct-14 12:28
professionalMycroft Holmes13-Oct-14 12:28 
GeneralRe: Accessing WCF from Excel/VBA Pin
devvvy14-Oct-14 8:05
devvvy14-Oct-14 8:05 
Questionhow to delete a member of list<class> (list is Generic), by clicking button in form. Pin
cicill12-Oct-14 4:42
cicill12-Oct-14 4:42 
I want to delete member of list with ID that user enter in textbox in form (WPF C#)
my code is:
class Course
{
public int CodeCourse { get; set; }
public string NameCourse { get; set; }
public int UnitCourse { get; set; }
}
class Education
{
public Education()
{
courses = new List<course>();
studentes = new List<student>();
}
public List<course> courses { get; set; }
public List<student> studentes { get; set; }

}


public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
education = new Education();

}
private Education education;

private void AddCourse_Click(object sender, RoutedEventArgs e)
{

Course crs = new Course();
crs.CodeCourse = int.Parse(CodeCourse.Text);
crs.NameCourse = NameCourse.Text ;
crs.UnitCourse = int.Parse(UnitCourse.Text);
education.courses.Add(crs);

}

private void DeleteCourse_Click(object sender, RoutedEventArgs e)
{
//delete a member of list<course>
}

private void EditCourse_Click(object sender, RoutedEventArgs e)
{
//edit a member of list<course>
}

modified 12-Oct-14 10:58am.

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.