Click here to Skip to main content
15,901,283 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to make a button transparent? Pin
82.san17-May-07 21:50
82.san17-May-07 21:50 
GeneralRe: How to make a button transparent? Pin
Sonia Gupta17-May-07 21:54
Sonia Gupta17-May-07 21:54 
GeneralRe: How to make a button transparent? Pin
82.san17-May-07 21:57
82.san17-May-07 21:57 
GeneralRe: How to make a button transparent? Pin
Manoj Kumar Rai17-May-07 23:57
professionalManoj Kumar Rai17-May-07 23:57 
GeneralRe: How to make a button transparent? Pin
82.san20-May-07 19:48
82.san20-May-07 19:48 
AnswerRe: How to make a button transparent? Pin
PandemoniumPasha18-May-07 0:30
PandemoniumPasha18-May-07 0:30 
GeneralRe: How to make a button transparent? Pin
long zihang8-Apr-12 23:42
long zihang8-Apr-12 23:42 
QuestionC# Programmme of Vocabulary Learning (involving 6 correct wordpairs, separated by '\t') Pin
Ntoki17-May-07 18:35
Ntoki17-May-07 18:35 
using System;
using System.Collections.Generic;
using System.Text;

namespace My practice page
{
class WordPair
{
string[] rightpair = new string[] {"below\tunter", "blue\tgel", "cat\tgelb", "cat\tdie Katze",
"red\trot","the dog\tder Hund","to read\tlesen"};
string [] wrongpair = new string []{"below\trot", "bue\tlesen", "cat\tunter", "red\tgelb",
"the dog\tdie katze"};
}
}

I am a beginner in C# programming and seeking advice.
What I am trying to do here is to build up an application in 4 parts.

Part A.
Which I have already started with the code above, to be an application that has the class WordPair implemented. The application creates a word pair object and calls the method for matching with two different strings-one that produces a match and one that doesn't & to show the results of these matches.

Part B.
An application in the same programme but as part B, that reads in the 'word_list.text' ( that is located in the solution folder). This part to be able to check each line.If the line has a word pair(i.e. two strings separated by a '\t') it puts this string into an ArrayList. If the line does NOT have a word pair, the application put that line into a file 'wrong_lines.txt'(that will be located in the solution folder).This application to count the number of lines without word pairs and reports this number to the user & shows all the input lines in a rich text box. If the word list file is not available, the program to produce an error an appropriate message.

Part C
Trying to have this part of the programme to be an application that reads the wordlist, puts the word pairs into an ArrayList of word pair objects, writes the wrong_lines files, reports on faulty pairs, allows the user to ask for a word and attempt the answer, also tells if the user's answer is correct.

Part D.
This to be a combination of Part A, Part B and Part C.

AM NOT SURE IF AM ON THE RIGHT TRACK WITH THE PART OF MY CODE ABOVE.SEEKING ADVICE ON WHAT COULD BE A BETTER WAY OF WRITING THE RELEVANT CODES.



Ntoki

AnswerRe: C# Programmme of Vocabulary Learning (involving 6 correct wordpairs, separated by '\t') Pin
mav.northwind17-May-07 19:32
mav.northwind17-May-07 19:32 
QuestionExecuting Javascript in ASPX Pin
darora317-May-07 18:17
darora317-May-07 18:17 
AnswerRe: Executing Javascript in ASPX Pin
Sathesh Sakthivel17-May-07 18:37
Sathesh Sakthivel17-May-07 18:37 
GeneralRe: Executing Javascript in ASPX Pin
darora317-May-07 23:22
darora317-May-07 23:22 
QuestionMultiple Instance Performance Counter not working Pin
jchilberto17-May-07 18:05
jchilberto17-May-07 18:05 
AnswerRe: Multiple Instance Performance Counter not working Pin
jchilberto20-May-07 11:03
jchilberto20-May-07 11:03 
QuestionHelp with declaring variables (int vs float ) Pin
crash89317-May-07 15:39
crash89317-May-07 15:39 
AnswerRe: Help with declaring variables (int vs float ) Pin
Christian Graus17-May-07 15:42
protectorChristian Graus17-May-07 15:42 
AnswerRe: Help with declaring variables (int vs float ) Pin
Sathesh Sakthivel17-May-07 15:44
Sathesh Sakthivel17-May-07 15:44 
AnswerRe: Help with declaring variables (int vs float ) Pin
theney18-May-07 10:44
theney18-May-07 10:44 
QuestionEquation Editor Pin
hungvuong_hdu17-May-07 14:47
hungvuong_hdu17-May-07 14:47 
AnswerRe: Equation Editor Pin
Christian Graus17-May-07 15:53
protectorChristian Graus17-May-07 15:53 
GeneralRe: Equation Editor Pin
hungvuong_hdu17-May-07 16:26
hungvuong_hdu17-May-07 16:26 
QuestionHow To Force Webservice To Use Integrated Windows Authentication Pin
classNoob17-May-07 14:13
classNoob17-May-07 14:13 
AnswerRe: How To Force Webservice To Use Integrated Windows Authentication Pin
Sathesh Sakthivel17-May-07 15:09
Sathesh Sakthivel17-May-07 15:09 
GeneralRe: How To Force Webservice To Use Integrated Windows Authentication Pin
classNoob18-May-07 8:10
classNoob18-May-07 8:10 
Questionadding dropdownlist to a datagridview Pin
balanjingot17-May-07 14:10
balanjingot17-May-07 14:10 

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.