I have two questions:
First, according to this link http://msdn2.microsoft.com/en-us/library/system.io.path.getfullpath.aspx, path.GetFullPath should get the full path where my application is located. But when I use
path.GetFullPath("\") is my application, I got only "C:\". Why?
Second, I want the form can be sized the width but not the height in run time. The form original size is width 498 and height 188. When I type 188 in the height maximum size, the form width size automatically changed to 122 and not allow my to type in 498 in design mode. What did I miss?
Thanks.
DanYeung
First, according to this link http://msdn2.microsoft.com/en-us/library/system.io.path.getfullpath.aspx, path.GetFullPath should get the full path where my application is located. But when I use
path.GetFullPath("\") is my application, I got only "C:\". Why?
Second, I want the form can be sized the width but not the height in run time. The form original size is width 498 and height 188. When I type 188 in the height maximum size, the form width size automatically changed to 122 and not allow my to type in 498 in design mode. What did I miss?
Thanks.
DanYeung