Hi xinjie,
You're welcome! Well, most of us I think come from the Clipper days, where everything was untyped and that was ok for that time, but since then computer languages have evolved a lot, and still not using strong typing may be handy at times, but loses so much in many aspects of writing code...
Unable to open forms created based on customized winform classes using the form designer
Re: Unable to open forms created based on customized winform classes using the form designer
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Re: Unable to open forms created based on customized winform classes using the form designer
Hi, Chris
I think I may have found another X# bug.
You can easily verify this using the attachment I provided( assuming that the issues raised earlier have been resolved ):
In Form1 of the Windows Forms Application project,If you type "This." or "self:",The list of members displayed is also “incomplete”.
It is similar to the previous “Questions about object members lists(https://www.xsharp.eu/forum/topic/4854)”.
But other controls based on custom classes (e.g. commands/labels, etc.) seem to show the normal list of members.
I think I may have found another X# bug.
You can easily verify this using the attachment I provided( assuming that the issues raised earlier have been resolved ):
In Form1 of the Windows Forms Application project,If you type "This." or "self:",The list of members displayed is also “incomplete”.
It is similar to the previous “Questions about object members lists(https://www.xsharp.eu/forum/topic/4854)”.
But other controls based on custom classes (e.g. commands/labels, etc.) seem to show the normal list of members.
Last edited by xinjie on Tue Oct 29, 2024 11:44 pm, edited 1 time in total.
简单的东西重复做,你能成为专家;重复的东西用心做,你能成为赢家!
Re: Unable to open forms created based on customized winform classes using the form designer
Hi xinjie,
Yes, that's the same bug.xinjie wrote: ↑Tue Oct 29, 2024 11:32 pm
I think I may have found another X# bug.
You can easily verify this using the attachment I provided( assuming that the issues raised earlier have been resolved ):
In Form1 of the Windows Forms Application project,If you type "This." or "self:",The list of members displayed is also “incomplete”.
It is similar to the previous “Questions about object members lists(https://www.xsharp.eu/forum/topic/4854)”.
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Re: Unable to open forms created based on customized winform classes using the form designer
Hi, Chris
I have one more question:
If I use “This.Size = System.Drawing.Size{200, 200}” in the constructor of my custom form class "Form1", then after adjusting the Size of myForm inherited from Form1, I can use the shortcut menu in the properties window to “Reset” the Size of myForm.
However, if it is another custom class, such as Command, then the Size “reset” is not the Size specified in the custom Command class, but the Size of DotNet's Command.
I haven't tested the other properties, but I'm guessing that this situation may be a manifestation of the other properties as well.
Is this a bug?
I have one more question:
If I use “This.Size = System.Drawing.Size{200, 200}” in the constructor of my custom form class "Form1", then after adjusting the Size of myForm inherited from Form1, I can use the shortcut menu in the properties window to “Reset” the Size of myForm.
However, if it is another custom class, such as Command, then the Size “reset” is not the Size specified in the custom Command class, but the Size of DotNet's Command.
I haven't tested the other properties, but I'm guessing that this situation may be a manifestation of the other properties as well.
Is this a bug?
简单的东西重复做,你能成为专家;重复的东西用心做,你能成为赢家!
Re: Unable to open forms created based on customized winform classes using the form designer
Hi xinjie,
Sorry, I do not think I understood what you mean this time, which context menu are you using the to reset the size, and what is the Command class? Maybe you can show a couple screenshots to explain more?
Sorry, I do not think I understood what you mean this time, which context menu are you using the to reset the size, and what is the Command class? Maybe you can show a couple screenshots to explain more?
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Re: Unable to open forms created based on customized winform classes using the form designer
Hi, Chris
The following screenshots are arranged according to the operation steps: The operation shown in the above screenshot is reasonable.
However, if you are adding a custom button class to the form (that's what I mean by Command, sorry, I'm used to using VFP), then this operation will not restore the Size defined in the custom button class.
The following screenshots are arranged according to the operation steps: The operation shown in the above screenshot is reasonable.
However, if you are adding a custom button class to the form (that's what I mean by Command, sorry, I'm used to using VFP), then this operation will not restore the Size defined in the custom button class.
简单的东西重复做,你能成为专家;重复的东西用心做,你能成为赢家!