visual-c#-express-2010

Visual Studio C# 2010 Express Debug running Faster than Release

半世苍凉 提交于 2019-12-10 04:13:52
问题 I have a Windows Forms application with exactly 2 threads. These threads have ZERO interaction with each other, Ala the first thread runs without messing with the second thread. There is no Synchronization between them, as there is no need for that to be happening. The first thread deals with the UI of the application, changing colors and labels and has One timer running to catch some user input this timer fires every 200 milliseconds. The second Thread is more involved and runs through its

Form with a MainMenu shrinks every time the project is run

心已入冬 提交于 2019-12-07 22:05:50
问题 Whenever I build the following program Form1 's size shrinks by 20. (In some cases I need to make a change to the form, such as moving someLaggyControl1 by a few pixels, but not always. It's weird.) The form uses a MainMenu for the menu, not a MenuStrip. Yes, MainMenu is older and not recommended for use, but I need to use it for several reasons, one of which being radio-button items. Changing to a MenuStrip isn't a valid solution for me. Here's the code needed to reproduce this issue: Form1

Visual Studio C# 2010 Express Debug running Faster than Release

我的未来我决定 提交于 2019-12-05 04:23:10
I have a Windows Forms application with exactly 2 threads. These threads have ZERO interaction with each other, Ala the first thread runs without messing with the second thread. There is no Synchronization between them, as there is no need for that to be happening. The first thread deals with the UI of the application, changing colors and labels and has One timer running to catch some user input this timer fires every 200 milliseconds. The second Thread is more involved and runs through its coding constantly until shutdown by the user by exiting the application. The Second Thread first reads

Good practice for working with multiple solutions in Visual C# Express

被刻印的时光 ゝ 提交于 2019-12-04 04:51:08
Background : My team is made up of 3 fairly inexperienced developers. We are developing in-house software for our company. Currently we have a number of smaller and separate solutions. Many of these are interdependent. Currently these depencies are made by referencing the output dll's in the respective release-folder. Updates are pushed around by manually rebuilding dependent solutions. Example: Solution A uses features of solution B. The connection is made having Solution A referencing ...\Release\B.dll . Changes to B propagates by building solution B, then building solution A and so forth.

Notify Icon Ballon Tip Not showing in C#?

こ雲淡風輕ζ 提交于 2019-12-03 12:07:33
i am using this code under my form1_load notifyIcon1.Visible = true; notifyIcon1.ShowBalloonTip(5000, "Welcome", "Hello " + User, ToolTipIcon.Info); I even checked my registery and the value was 1. Why is the baloon not showing? I do have a icon form my notify icon. and it is showing up. The Baloon is not though! You may need to post the rest of the code that's in your form's load event, but here's a couple of suggestions: Make sure the form's Load event is actually hooked up. Make sure you've assigned an icon for the notify icon. Also, note that the balloon tip isn't guaranteed to show. See

How can I choose between 32-bit or 64-bit build in C# Express?

血红的双手。 提交于 2019-12-03 09:19:21
问题 I'm having a problem when I try to build my solution in C# Express 2008. I need to build it for 32-bit architecture, but it always build for 64-bit. In Visual Studio 2008 I can choose the architecture, but I can't find this option in C# Express. Is there a way to do this in C# Express? 回答1: Have a look at what the differences look like in the project file in the full Visual Studio, and hand-craft the same edits to your C# Express project - VS will respect those changes, even if it won't let

Form with Rounded Borders in C#? [duplicate]

孤街浪徒 提交于 2019-12-02 23:44:22
This question already has answers here : How to Draw a Rounded Rectangle with WinForms (.NET)? (6 answers) I am using this code to make the form have no border style: this.FormBorderStyle = FormBorderStyle.None; I need to make rounded edges on the form. Is there an easy way? How do I do it? Take a look at this: http://msdn.microsoft.com/en-us/library/system.windows.forms.control.region.aspx The Form class inherits from the Control class, so try doing the same sample that you have on the link to the Form's Region property (and do it on the form event of course): // This method will change the

How can I choose between 32-bit or 64-bit build in C# Express?

对着背影说爱祢 提交于 2019-12-02 23:31:41
I'm having a problem when I try to build my solution in C# Express 2008. I need to build it for 32-bit architecture, but it always build for 64-bit. In Visual Studio 2008 I can choose the architecture, but I can't find this option in C# Express. Is there a way to do this in C# Express? Jon Skeet Have a look at what the differences look like in the project file in the full Visual Studio, and hand-craft the same edits to your C# Express project - VS will respect those changes, even if it won't let you make them from within the IDE. EDIT: As Jeff points out in the comments, if you go to Tools ->

Deploying to Program Files directory

橙三吉。 提交于 2019-12-01 20:31:57
问题 I have developed a C# application and I would like to deploy it to the C:\Program Files\Company Name\Product folder. I am not seeing the "Company Name" folder created on the target machine. I copy the files from the "published" directory onto a memory stick (thumb drive). I take the memory stick to a Windows NT machine and double click on setup.exe . The application is installed, as it appears in the *Start Menu". I have no idea where the actually destination is. I know it is not in C:

Deploying to Program Files directory

你离开我真会死。 提交于 2019-12-01 19:00:19
I have developed a C# application and I would like to deploy it to the C:\Program Files\Company Name\Product folder. I am not seeing the "Company Name" folder created on the target machine. I copy the files from the "published" directory onto a memory stick (thumb drive). I take the memory stick to a Windows NT machine and double click on setup.exe . The application is installed, as it appears in the *Start Menu". I have no idea where the actually destination is. I know it is not in C:\Program Files\Company Name\Product folder. I am using MS Visual C# 2008 Express Edition Version 3.5 SP1. This