I'm having some trouble with the bolded dates in monthcalendar (it's a windows forms project).
When I set all the dates I want to be bold to bold, I can't see them bold, but then if i change Vista visualisation to classic I can see the bolded dates. I've also noted that on a classmate's computer who is also using Vista, I can see the bo...
I'm looking at trying to create a simple 'slider puzzle' game. You've seen the ones, you have an image and you shuffle the tiles.
However, I want to make one that will play back videos instead. What I'm trying to determine is whether it's possible to playback a video in C# and render the video on different controls (probably buttons, or...
I have a WCF service with single instance. I have consume it in silverlight and windows forms also. It's working fine in silverlight application but in windows it not create an service object. it tell me 3 parameters in service method. like
InstanceContext, EndPoint, Binding
the 2nd and 3rd argument I have passed but 1st argument what...
Simple question: I have a WinForms button, and I want to make it both (conditionally) invisible and disabled (to be sure that if someone clicks in the space where the invisible button lives, it won't activate it.) Does button.Visible = false also imply button.Enabled = false, or do I need to set/reset both properties at the appropriate...
I have a treeview using BackGround worker to add nodes when you expand any. I display a "Loading.." message after the expand and remove it after the nodes are loaded. It works fine and all. Now I want to change the loading message to "Loading...node n/n". I was able to do it but the problem is this message is not displayed(updated to) wh...
Hello:
I am learning WPF / Silverlight and saw in an MS vidcast that it is now recommended to use RoutedEventArgs over EventArgs; although it didn't say exactly why.
I have a win forms app that uses interfaces for "widgets" in an attempt to not be tied to a specific display technology (in Presenters / ViewModels), so if my IButton Clic...
Is it possible to force a textbox in a windows forms application to work in "overwrite mode", i.e. have characters replaced when the user types instead of added?
Otherwise, is there a standard way to get this behavior?
...
windows form application
I want desine keypad like pda device .I want all numeric keys in one group therfore I want to arrange all these button on one frame or panel . second frame or panel which contain all the special function keys . I want design this keyboard at runtime after reading xml file description of keypad.
please guide me ...
hi therem
i have an app here and i let the user drag link labels around on the form, but i need to be able to do stuff when the linklabel they are dragging around touches another control on the form. can anybody please point me in the right direction? or offer any suggestions/advice?
thanks lots
jase
...
Hi, I'm currently working on a brownfield application, it's written with winforms,
as a preparation to use WPF in a later version, out team plans to at least use the
MVVM/Presentation model, and bind it against winforms...
I've explored the subject, including the posts in this site (which i love very much),
when boiled down, the main a...
Hi i am developing windows application , i want to use datagrid.
I want a button column in each row for deleting that particular row . Can you please help me how to do it.
.Net framework 1.1
...
I'm trying to figure out how when simply showing a WinForms dialog (code below) I get the following Exception and callstack. This doesn't happen all the time, but I'm seeing it in my exception logs. Any ideas? I can't figure out what would be referencing a disposed object?
I've verified (via the rest of the callstack) that the applicat...
One of our users has sent in a log for our .NET Winforms application that indicates that the Activated event is occurring before the Load event. I didn't think this was possible and have coded with the assumption that Load would always happen before Activated.
Has anyone else observed Activated occurring before Load?
If so, why and ...
Is the general advice re windows apps technology to develop in "aim to develop WPF unless you need to drop back to Windows Forms".
I known there are some specific pros/cons for particular scenarios/requirements (e.g. assumptions about what version of .net is available on the desktop) however I'm just after overall general advice. Li...
I'm developing a program where I've had to add a keyboard shortcuts system.
The problem is it uses a third party OCX for a part of its display, and it is catching some essential WM_KEYDOWN messages when in focus, like Ctrl+C, Ctrl+V, etc. I've tried catching the WM_KEYDOWN message through WndProc, but the message is not propagating, so ...
I'd like to set the max value in the Winforms NumericUpDown control to infinity. How can I do this?
...
I am creating a custom control, constisting of DataGridView, a few additional buttons and useful functions.
For user of the control to be able editing grid's columns I added Columns property of type DataGridViewColumnCollection.
Now it's possible to edit columns through Property Editor (clicking by a small button near Columns prope...
What does that method do exactly? I was thinking that it maybe went out into a separate thread, but handled things like control updating on the correct thread. But now I am starting to think that it maybe just runs on the UI thread. Which means that calling BeginInvoke on a control from the UI is pretty much the same as calling Invoke? O...
How can I program a web like GUI for my Winforms Desktop Application?
For example, Visual Studio 2008 Start Page.
...
Hi
I have a simple question. I have a main form, and then a startup form from where I can select a new 3D model to generate. When selecting a new 3D model from the startup form, I want to check first whether the previous model I worked on has been saved or not. I simply want to pass a boolean value from the main form to the startup form...