Hi,
I've got a WPF app that has a WindowsFormsHost, which hosts a geobase map.
The problem I have is getting the mouse events through to the map. I've added MouseUp event handlers to the map (in code), but this does not work, and I've tried adding the MouseUp event handler on the Grid that contains the WindowsFormsHost, but the events...
How to speed optimize WinForm applications. I am not talking about apparent .NET opt. technics - like ngen-ing, caching objects, etc. Already tried that and what I am up to is to reduce the form initilization time from a 1500 msec down to 500msec.
Profiling has identified the slowest code and almost all of it is in the InitializeCompone...
Can anyone help me figure out what the problem is. I am trying to start up a C# winformsa app in visual studio and i keep getting this error:
Could not load file or assembly, Foo.dll version1.93343 or one of its dependencies
The system can't find the file specified
vs 2005, C# 2.0
any help
...
How to hide TabPage from TabControl in WinForms 2.0?
...
Hello all
I want to start creating an application that has a menu on the left(some items in a tree) and I want to open different pages on the right on the form when I click these items. Could anybody guide me in doing this correctly pls? I dont want to have tons of data in memory and just display these pages one in top of another.
Than...
I am new to Passive view, I would like to know if we have master and detail form on WinForm application. So when the user clicks on master's button, it will shows the detail form. Where do we instantiate view and presenter? I don't think, we instantiate at code behind of form. But if we instantiate at presenter's method, it means we coup...
Dear all;
i want to set a property that when the user clicks on X button in the title bar it check for some condition if all conditions are true then exit if no then do nothing and return to the form ..
but i noticed that FormClosing property exit the application howevere are my conditions ...
so how to do my scenario ?!?
i'm using vis...
We have a composite application with a DockPanelWorkspace as its main user interface area. Above this sits a MenuStrip with a window menu set as its MdiWindowListItem. Unfortunately, as I feared, the window menu isn't populated with the open views.
Is there an equivalent in CAB that will populate a menu with a list of the open views i...
Folks,
I'm looking for a syntax-highlighting Textbox component, preferably free, with source, and capable of being used in Winforms, ASP.NET and WPF alike. Also, it should support not just display, but also editing contents.
I've discovered the excellent, FREE ActiPro SyntaxHighlighter for ASP.NET - but that's unfortunately ONLY for AS...
Coming from many years of asp.net development back to a winforms application.
Looking for advice and tips on how to "style" winforms similar to how I would do with CSS/Master Pages in asp.net.
I am interested on how to update font/colors for certain types of controls in one place. How to maintain consistency for layouts.
Any pointe...
In web applications user login information is usually stored in a session but how about windows applications? Is using a singleton the right thing to do? Should I just use a static property?
Lets say that I store the login information in a static property ApplicationController. LoggedInUser. When a user logs in successfully, that proper...
I've built a winforms application which checks for CTR+ALT+S and CTRL+ALT+E keypresses, using by overriding the ProcessCmdKey method. This works great, but if the screensaver goes on and then goes off the form doesn't have focus and the keypresses aren't intercepted. How can I receive these even if the form does not have focus?
...
Is it possible to access information about the text selection within an editable TreeNode of a WinForms TreeView?
I discovered methods such as BeginEdit() and EndEdit(bool cancel), but I need finer granularity of control -- something like TextBoxBase.SelectionStart and SelectionLength properties, but on the node itself.
Is this possibl...
I cannot close one of my forms programmatically. Can someone help me?
Here's the code:
private void WriteCheck_Load(object sender, EventArgs e) {
SelectBankAccountDialog sbad = new SelectBankAccountDialog();
DialogResult result = sbad.ShowDialog();
if (result == DialogResult.Cancel) {
this.Close(...
I have an application that has been getting strange errors when canceling out of a dialog box. The application can't continue if the box is cancelled out of, so it exits, but it is not working for some reason, and thus it keeps running and crashes.
I debugged this problem, and somehow the application runs right past the Application.Exit...
Can Windows Presentation Foundation read/write WMF/EMF files without having to use WinForms Interop or Win32.
If it does not, what is the reason?
...
Hi,
I'm trying to develop a small utility (a WinForms app) and I was hoping (to save time) to use a WinForms equivalent of an ASP.net FormView or DetailsView (to bind to) - i.e. for single objects (as opposed to multiple objects, which we could use a DataGridView for).
It's been about three years since I did anything meaningful in the ...
I've recently noticed some behaviour with the Visual Studio Designer (C#) that I don't understand and was wondering if someone could clarify...
One some of my Windows Forms, the first line of the designer generated code reads;
this.components = new System.ComponentModel.Container();
When this is the case, the dispose method, in that ...
Hi, I have a datagridview and I am writing integers in to one of the columns, I would like these values not to have a comma in them when the value >= 1000. But at the moment, when i enter a value which is >= 1000 they appear in the form '1,000', the comma could be translated incorrectly in certain areas so I would prefer it to just appea...
Hi all
Need help in a very strange questions (at least it seems strange to me). I have a solution with one Windows Forms project and a few class libraries. There is a Service Reference added to the Windows Forms project.
When launching Visual Studio, I get the following error message:
Could not load type 'Microsoft.VisualStudio.Web...