Click here to Skip to main content
15,888,600 members
Home / Discussions / C#
   

C#

 
GeneralRe: Plugin Interface Architecture and Invalid Cast Exceptions Pin
gerdhub4-Sep-07 12:32
gerdhub4-Sep-07 12:32 
QuestionLostfocus Pin
Assaf824-Sep-07 8:53
Assaf824-Sep-07 8:53 
AnswerRe: Lostfocus Pin
Christian Graus4-Sep-07 9:05
protectorChristian Graus4-Sep-07 9:05 
GeneralRe: Lostfocus Pin
Assaf824-Sep-07 9:16
Assaf824-Sep-07 9:16 
GeneralRe: Lostfocus Pin
Christian Graus4-Sep-07 9:23
protectorChristian Graus4-Sep-07 9:23 
GeneralRe: Lostfocus Pin
Assaf824-Sep-07 9:24
Assaf824-Sep-07 9:24 
GeneralRe: Lostfocus Pin
Urs Enzler4-Sep-07 21:31
Urs Enzler4-Sep-07 21:31 
Questionpassing a collection of objects Pin
jon-804-Sep-07 8:35
professionaljon-804-Sep-07 8:35 
I would like to pass a collection of classes as part of the parameters for the constructor of a class.

It was suggested to use an arraylist.

How does it fit within my code?
public class Table
    {
        public Table (Database _database, string _tableName)
            //TODO: pass collection of columns to create
        { 

        }
    }

public class Column
    {
        public Column   (   ref Database _database,
                            ref Table _table,
                            ref string _dataType,
                            ref string _columnName,
                            bool _primaryKey,
                            string _fkReferences)
        { 
        
        }

        public Column   (   ref Database _database,
                            ref Table _table,
                            ref string _dataType,
                            ref string _columnName,
                            ref bool _primaryKey)
        {

        }
       
        public bool PrimaryKey
        {
            get
            {
                return PrimaryKey;
            }
            set
            {
                PrimaryKey = value;
            }
        }
        public string fkReference
        {
            get
            {
                return fkReference;
            }
            set
            {
                fkReference = value;
            }
        }
   }


Jon

AnswerRe: passing a collection of objects Pin
Christian Graus4-Sep-07 8:50
protectorChristian Graus4-Sep-07 8:50 
GeneralRe: passing a collection of objects Pin
jon-804-Sep-07 12:49
professionaljon-804-Sep-07 12:49 
Questiondraw on transparent form Pin
greekius4-Sep-07 8:06
greekius4-Sep-07 8:06 
AnswerRe: draw on transparent form Pin
Spacix One4-Sep-07 8:55
Spacix One4-Sep-07 8:55 
QuestionCapturing every minimize and restore Pin
Spacix One4-Sep-07 6:37
Spacix One4-Sep-07 6:37 
AnswerRe: Capturing every minimize and restore Pin
Giorgi Dalakishvili4-Sep-07 7:25
mentorGiorgi Dalakishvili4-Sep-07 7:25 
GeneralRe: Capturing every minimize and restore [modified] Pin
Spacix One4-Sep-07 7:48
Spacix One4-Sep-07 7:48 
GeneralRe: Capturing every minimize and restore Pin
Skippums4-Sep-07 12:05
Skippums4-Sep-07 12:05 
GeneralRe: Capturing every minimize and restore Pin
Spacix One4-Sep-07 14:19
Spacix One4-Sep-07 14:19 
AnswerRe: Capturing every minimize and restore Pin
Spacix One6-Sep-07 5:14
Spacix One6-Sep-07 5:14 
GeneralRe: Capturing every minimize and restore Pin
Giorgi Dalakishvili6-Sep-07 5:36
mentorGiorgi Dalakishvili6-Sep-07 5:36 
GeneralRe: Capturing every minimize and restore Pin
Spacix One6-Sep-07 6:52
Spacix One6-Sep-07 6:52 
QuestionFailed to import C++ COM DLL in to C# in .NET 2005 Pin
Jack Rong4-Sep-07 5:48
Jack Rong4-Sep-07 5:48 
QuestionPassing IP from client across servers Pin
Gump6194-Sep-07 5:38
Gump6194-Sep-07 5:38 
Questionhow to get a list of all avilable controls in a namespace Pin
Amar Chaudhary4-Sep-07 5:21
Amar Chaudhary4-Sep-07 5:21 
AnswerRe: how to get a list of all avilable controls in a namespace Pin
led mike4-Sep-07 5:39
led mike4-Sep-07 5:39 
QuestionRe: how to get a list of all avilable controls in a namespace Pin
Amar Chaudhary4-Sep-07 6:55
Amar Chaudhary4-Sep-07 6:55 

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.