J
James Curran
Here's a question for the group.
I am presently writing a class, which is a simple Dialog/Form. It handles a
fairly common function, so I writing it to be generic enough to be dropped
into any application. Now, here's the problem: At one point, it pops up a
MessageBox --- What should I put into the Caption of that MessageBox. The
"official" (if somewhat abandoned) standard is to put the title of the
application there. But, since this is going to be a library form, I don't
know the application title. I could use Application.ProductName (and
currently that's what I am doing), but that depends on the use actually
filling in that attribute in the AssemblyInfo.cs file. Alternately, I
could use the AssemblyTitle which has a slightly better chance of being
filled in, but is a real B!+©# to get at in .Net v1.1 (It's much easier in
v2.0, but we haven't migrated yet).
Any suggestions?
I am presently writing a class, which is a simple Dialog/Form. It handles a
fairly common function, so I writing it to be generic enough to be dropped
into any application. Now, here's the problem: At one point, it pops up a
MessageBox --- What should I put into the Caption of that MessageBox. The
"official" (if somewhat abandoned) standard is to put the title of the
application there. But, since this is going to be a library form, I don't
know the application title. I could use Application.ProductName (and
currently that's what I am doing), but that depends on the use actually
filling in that attribute in the AssemblyInfo.cs file. Alternately, I
could use the AssemblyTitle which has a slightly better chance of being
filled in, but is a real B!+©# to get at in .Net v1.1 (It's much easier in
v2.0, but we haven't migrated yet).
Any suggestions?