Windows form design not updated when running? [closed] - c#

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I'm using VS2012(c# winforms w/ devexpress).
I added a Ribbon Control and tried to debug the project.
I have noticed the form doesn't have a Ribbon Control.
I tried deleting the bin folder, but that did not helped.

Step 1. Delete the bin folder and the rebuild the project.
Step 2. If step 1 doesn't work check the visibility property of your ribbon control maybe it is set to false

Related

selenium with C# on IE [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
Switching multiple windows in IE.
First page has LOGIN button which on clicked goes to second window.
Second window takes credentials and has a NEXT button which on clicked goes to third window.
Third window has a button which on clicking moves to the fourth window.
How do I navigate mutiple windows using Selenium with C#.My website runs on IE only.
To switch to the new window after it opens you can use
driver.SwitchTo().Window(driver.WindowHandles.Last());

WinForms moving object C# [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I want to move an object on WinForms (with WASD) and it goes pretty well,but when I add a button at the Form, the object doesn't move anymore.
Controls like Button take focus and "eat" the keypress events. A form will always set focus to one of its child controls if there is one that allows getting focus.
Set KeyPreview = true on your form to receive these events regardless.

Visual C# - How can I layer the status strip to be behind my list view? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
When I resize my window, the StatusStrip I have located at the bottom of the form sits on top of the ListView.
How I can set the StatusStrip to be behind the list view?
I figured it out! You just have to right click on the StatusStrip and click "Send To Back"
Set Anchor property of StatusStrip to Bottom, or you can add the code on maximize - statusStrip.SendToBack()

Closing windows form via taskbar different to close button? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I have a windows forms program which saves properties like its size, location, splitter bar locations &c in a properties file in hte usual way. I've noticed that whenever I close the application by right clicking on its taskbar icon and choosing 'close window', these properties don't save correctly and my application then either won't start or starts with size 0 or something.
Of course I can catch these problems and hack around them, but I would like to know what is different between closing via the form and via the taskbar, so I can handle the appropiate events.
As the first commenter to recommend the use of Form.Closed, I'm demanding my ransom money! :-)

How to build Pentomino game [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I want to build the Pentomino game in C#/XAML for Windows 8(8.1). I need field and draggable figures.
How I can do it? For draggable I'm using ManipulationDelta property, but how do I know that the figure is in the field and how do I attach it (figure in field)?
As your question stands, it's too broad.
For future reference, you should try splitting your problem into smaller problems, and asking seprate questions for each of them after doing some home research first.
Also, sharing some code about what you've tried can get more people to help you.
Having said that, I've never worked with XAML, though I've worked with C# for some time now.
About your problems:
For pentomino you will need a board. using Grid or DataGridView sounds like a good approch to me.
For representing your figures, your grid can be queried to find out if your figure can be droped on a certain square. Prepare for writing some for loops.
Abput drag'n drop, here are some links that you may find useful:
XAML GridView to GridView Drag and Drop Mouse vs Touch
Dropping an item on an UserControl item in GridView doesnt trigger Drop event (includes sample project)
How do I drag an element in Windows 8 XAML app?

Categories

Resources