Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
718 views
in Technique[技术] by (71.8m points)

c# - Can't Move Controls With Mouse on Windows Form Designer

I recently installed Visual Studio 2013 Professional, and found that in the Windows Forms Application project type I'm unable to move any controls on a form in design mode. I tested a few alternatives out and found the following:

  • Controls can be moved with the keyboard
  • Controls can be resized by dragging the keypoints on the outline of the control
  • Controls can be aligned using the commands in the Tools menu
  • Controls can be moved by setting the Location field manually in the designer property grid
  • Controls can be docked
  • Controls cannot be moved with the mouse

Furthermore, as you can see in the image below, the "cross" icon that indicates that the controls are movable is not visible on any controls.

A form showing no visible cross icon

I've tried the following, but have not yet been able to correct the issue:

  • Created a new project & solution (same issue)
  • Created a new form (same issue)
  • Verified that the Locked property of both the form and controls is set to False
  • Verified that the form inherits from Form (as expected, as this is a standard installation and the first time I've used it)
  • Googled for help (nothing that worked)

Any suggestions would be appreciated.

question from:https://stackoverflow.com/questions/22925065/cant-move-controls-with-mouse-on-windows-form-designer

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

Please log in or register to reply this article.

OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...