Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
706 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 answer this question.

Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...