Click here to Skip to main content
15,890,506 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# Repeating Random Problem Pin
tuhami23-Apr-12 8:08
tuhami23-Apr-12 8:08 
Questionsimple memory leak Pin
Member 784572018-Apr-12 15:52
Member 784572018-Apr-12 15:52 
AnswerRe: simple memory leak Pin
Abhinav S18-Apr-12 16:53
Abhinav S18-Apr-12 16:53 
GeneralRe: simple memory leak Pin
Vipin_Arora19-Apr-12 2:39
Vipin_Arora19-Apr-12 2:39 
AnswerRe: simple memory leak Pin
Vipin_Arora18-Apr-12 19:09
Vipin_Arora18-Apr-12 19:09 
GeneralRe: simple memory leak Pin
VJ Reddy20-Apr-12 4:53
VJ Reddy20-Apr-12 4:53 
GeneralRe: simple memory leak Pin
Vipin_Arora20-Apr-12 6:17
Vipin_Arora20-Apr-12 6:17 
QuestionSearch form problem Pin
Amr Mohammed Rashad18-Apr-12 13:39
Amr Mohammed Rashad18-Apr-12 13:39 
Greetings,

I wanna make a form that is used to search for something in a database and I wanna make it as a general search from, means I wanna use it with all project forms each one appear different data and dealing with different table in the database, this is not the case, the case is, I will call that search form from another one. I made a constructour which take 3 arguments when called that define the table name on which the search will be made the selection/condition columns in that search form so when I make an instance from another form I pass to that instance the specified arguments and on the search form I made fields that are of the same type as the arguments so when the instance is made it initialize those fields which will be used by the method of search when that form comes in action. I wanna provide the user with options to search by name or by code and of course, with each choice the selection/condition columns will be changed one with the other, and this is my case now. For example, I have a form that displays, saves, deletes records of resources in the factory I will, when clicking mouse right button, make a search form instance.

(searchform) [instance] = new searchform(argTable, argSelectionCol, argConditionCol);

call the search form [instance].show();

So I will give it the table but in the search form itself I wanna make a code/name selection choice for searching process and that will not apply as I already passed, when I made the instance, the selection/condition column.

I wanna know how to made such form and if anyone have another better way/idea about makng such search form based on my requirement I described above I will be grateful for that Smile | :)

Sorry about so lengthy Smile | :)
AnswerRe: Search form problem Pin
Amr Mohammed Rashad18-Apr-12 18:31
Amr Mohammed Rashad18-Apr-12 18:31 
GeneralRe: Search form problem Pin
phil.o19-Apr-12 0:35
professionalphil.o19-Apr-12 0:35 
Questionconvert large files into byte [] Pin
abbd18-Apr-12 8:27
abbd18-Apr-12 8:27 
AnswerRe: convert large files into byte [] Pin
jschell18-Apr-12 8:53
jschell18-Apr-12 8:53 
AnswerRe: convert large files into byte [] Pin
OriginalGriff18-Apr-12 9:22
mveOriginalGriff18-Apr-12 9:22 
QuestionLambda expression tree building [Solved - I think] Pin
wizardzz18-Apr-12 7:43
wizardzz18-Apr-12 7:43 
QuestionSelecting desktop icon Pin
MitchG92_2418-Apr-12 2:32
MitchG92_2418-Apr-12 2:32 
AnswerRe: Selecting desktop icon Pin
Richard MacCutchan18-Apr-12 3:03
mveRichard MacCutchan18-Apr-12 3:03 
GeneralMessage Removed Pin
18-Apr-12 3:08
MitchG92_2418-Apr-12 3:08 
GeneralRe: Selecting desktop icon Pin
Richard MacCutchan18-Apr-12 3:26
mveRichard MacCutchan18-Apr-12 3:26 
AnswerRe: Selecting desktop icon Pin
Eddy Vluggen18-Apr-12 5:07
professionalEddy Vluggen18-Apr-12 5:07 
AnswerRe: Selecting desktop icon Pin
Richard MacCutchan18-Apr-12 5:13
mveRichard MacCutchan18-Apr-12 5:13 
QuestionHow to update in settings.settings file Pin
NarVish18-Apr-12 2:29
NarVish18-Apr-12 2:29 
AnswerRe: How to update in settings.settings file Pin
Eddy Vluggen18-Apr-12 5:03
professionalEddy Vluggen18-Apr-12 5:03 
GeneralRe: How to update in settings.settings file Pin
NarVish18-Apr-12 20:15
NarVish18-Apr-12 20:15 
AnswerRe: How to update in settings.settings file Pin
Eddy Vluggen19-Apr-12 0:23
professionalEddy Vluggen19-Apr-12 0:23 
GeneralRe: How to update in settings.settings file Pin
NarVish19-Apr-12 0:37
NarVish19-Apr-12 0:37 

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.