Author Topic: I didnt show a form from my "commands.cs" class sheet. Where is my false?  (Read 1708 times)

0 Members and 1 Guest are viewing this topic.

ekoneo

  • Newt
  • Posts: 66
Hi All,

I spent too much time for my researches about showing a form from a class page. I m using a civil3d template. In this template I have a class file. Also I have a form in the solution explorer. The Class file runs first then after all calculations completed the form become visible. Then I press a butoon in the form an array will be written in an excell sheet. I spent 5 days but I didnt do what I think. I didnt show the form from my "commands.cs" class sheet. Where is my false?
« Last Edit: November 20, 2015, 02:13:22 AM by ekoneo »

n.yuan

  • Bull Frog
  • Posts: 348
Re: I didnt show a form from my "commands.cs" class sheet. Where is my false?
« Reply #1 on: November 20, 2015, 10:06:13 AM »
Showing picture of the "Solution Explorer" does nothing helping understand your issue. You need to show your code, especially the code in the CommandMethod.

If I have guess, it could be the issue of understanding whether the command being "static" or not. It would also make difference if the form is shown as modal, or as modeless.

These posts may be helpful:

http://drive-cad-with-code.blogspot.ca/2010/09/command-method-static-or-not-static.html
http://drive-cad-with-code.blogspot.ca/2014_02_01_archive.html