Click here to Skip to main content
16,007,610 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to find the minimum cost path in a matrix Pin
Christian Graus30-Apr-07 1:15
protectorChristian Graus30-Apr-07 1:15 
QuestiononMouseEnter strange behaviour... Pin
Seishin#30-Apr-07 0:22
Seishin#30-Apr-07 0:22 
GeneralRe: onMouseEnter strange behaviour... Pin
Seishin#30-Apr-07 1:34
Seishin#30-Apr-07 1:34 
QuestionObject of my own written type is not updated at design time [modified] Pin
microslav29-Apr-07 23:54
microslav29-Apr-07 23:54 
QuestionXML lookup table [modified] Pin
mail57235229-Apr-07 23:48
mail57235229-Apr-07 23:48 
AnswerRe: XML lookup tablString Pin
Brady Kelly30-Apr-07 0:15
Brady Kelly30-Apr-07 0:15 
GeneralRe: XML lookup tablString Pin
mail57235230-Apr-07 1:19
mail57235230-Apr-07 1:19 
QuestionProblem with overloaded constructor Pin
microslav29-Apr-07 23:40
microslav29-Apr-07 23:40 
I have written a component called PlotPanel which inherits from System.Windows.Forms.Panel. When the control is used in the design window the default constructor "this.plotPanelReal = new PlotPanel();" is generated in "Windows Form Designer generated code". I want to use an overloaded constructor instead: "this.plotPanelReal = new SEA.PlotPanel(nbXMin, nbXMax, nbYMin, nbYMax);" (nbXXXX is number boxes which inherits from TextBox).

If I just change the row "this.plotPanelReal = new PlotPanel();" in "Windows Form Designer generated code" to "this.plotPanelReal = new SEA.PlotPanel(nbXMin, nbXMax, nbYMin, nbYMax);" it works until I do some changes in the designer then row is changed to the default constructor again.

If I just leave the row "this.plotPanelReal = new PlotPanel();" in "Windows Form Designer generated code" and instead place "this.plotPanelReal = new SEA.PlotPanel(nbXMin, nbXMax, nbYMin, nbYMax);" in, for example, the constructor of the main class the arguments is not making any difference. The reference of the number boxes is not passed to the PlotPanel object.

Please, help needed

/Anders

AnswerRe: Problem with overloaded constructor Pin
Colin Angus Mackay29-Apr-07 23:49
Colin Angus Mackay29-Apr-07 23:49 
QuestionAuthenticate to a site Pin
ne0h29-Apr-07 22:30
ne0h29-Apr-07 22:30 
AnswerRe: Authenticate to a site Pin
althamda29-Apr-07 22:42
althamda29-Apr-07 22:42 
GeneralRe: Authenticate to a site Pin
ne0h29-Apr-07 23:41
ne0h29-Apr-07 23:41 
GeneralRe: Authenticate to a site Pin
althamda29-Apr-07 23:54
althamda29-Apr-07 23:54 
QuestionManually displaying a context menu Pin
jozsurf29-Apr-07 21:57
jozsurf29-Apr-07 21:57 
AnswerRe: Manually displaying a context menu Pin
Seishin#30-Apr-07 0:26
Seishin#30-Apr-07 0:26 
GeneralRe: Manually displaying a context menu Pin
jozsurf2-May-07 14:54
jozsurf2-May-07 14:54 
QuestionDate Measurements in C# Pin
zoroyster29-Apr-07 21:32
zoroyster29-Apr-07 21:32 
AnswerRe: Date Measurements in C# Pin
Colin Angus Mackay29-Apr-07 21:43
Colin Angus Mackay29-Apr-07 21:43 
GeneralRe: Date Measurements in C# Pin
zoroyster30-Apr-07 15:11
zoroyster30-Apr-07 15:11 
QuestionHow can I use existing .resx file in a new project. Pin
asithabk29-Apr-07 21:12
asithabk29-Apr-07 21:12 
AnswerRe: How can I use existing .resx file in a new project. Pin
netJP12L30-Apr-07 16:10
netJP12L30-Apr-07 16:10 
GeneralRe: How can I use existing .resx file in a new project. Pin
asithabk1-May-07 13:30
asithabk1-May-07 13:30 
QuestionExport PDF images Pin
danasegaranea29-Apr-07 21:11
danasegaranea29-Apr-07 21:11 
AnswerRe: Export PDF images Pin
Christian Graus29-Apr-07 22:49
protectorChristian Graus29-Apr-07 22:49 
GeneralRe: Export PDF images Pin
danasegaranea30-Apr-07 1:52
danasegaranea30-Apr-07 1:52 

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.