Hi
Trying to use a DataGridView like the old VB6 FlexGrid, and add the coloumns manually via addrow (built a Row containing TextCells) and my Coloums are all added (and display ok) but as soon as I try to add a row I get the message "Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bou...
Hey Folks,
I've got a file organizer application I'm working on. The files are regularly 500MB to 2GB. Everything works fine, but it is extremely annoying that the application "Stops Responding." What I'd like to do is a byte by byte or meg by meg copy with some Application.DoEvents() in there after each read/write action. Something...
I'm working with a ListView control in Windows Forms using C# and .NET 3.5. I have several items that I'm adding to this ListView control, and I have functionality in place that is supposed to allow the user to select different ways to group the items in the list. However, sometimes items get dumped into the automatically generated "Defa...
I would like to be able to display a DateTimePicker that has a default value of nothing, i.e. no date.
For example, I have a start date dtTaskStart and an end date dtTaskEnd for a task, but the end date is not known, and not populated initially.
I have specified a custom format of yyyy-MM-dd for both controls.
Setting the value to nul...
I'm writing a function to draw UI handles (rotate, resize and so on) in my client area in a Windows Forms application. The function is called when an object is selected.
The caller sends me a Graphics object properly rotated, scaled and translated to fit into the larger scheme of things (the selected object has its own rotation/translat...
Hi!
I have a TreeView in my form for which I dont want to have key input enabled.
Which means that if I have this tree structure:
Root
|
-- Abba
|
-- Basic
|
-- Center
...and press "b"-key. I do not want "Basic" to be selected. I only want the user to be able to select nodes using mouse input.
Any ideas on how to achieve this?
...
hello,
in my c#/winforms application i would like to do something like application wide keyboardshortcuts, which should be triggered anywhere, except if the focus is in a control where the user can edit text, like a textbox.
currently i am overwriting this function to do this.
protected override bool ProcessCmdKey(ref Message msg, Ke...
Hi,
I'm using the Microsoft Chart Controls for .NET 3.5, and struggles with getting the chart control to support window/control resizing.
I have graphs where the X value is dates, and want the chart to display the maximum available of intervals/labels on the chart axis when I resize the window.
The closes I've come is to call this fro...
I want to use a win-form in C# and display its contents or the whole form in a panel used in another form.
Lets say i have a form A with a panel Panel_of_A
and a form B with a panel Panel_of_B
I want to display contents of Panel_of_A into Panel_of_B or you may say i want to use Panel_of_A in another form.
Or you may provid...
Are there any frameworks for building squarified treemaps in C# 2.0 WinForms?
Something similar to this:
(from http://www.codeproject.com/KB/recipes/treemaps.aspx)
...
Hi, I have a windows forms application in 2.0 which uses a DataGridView. We have a new requirement to customize the DataGridView per user i.e. which columns need to be displayed, the order of the columns and column sizes would be stored by the users in a template. The template would be stored in the database against the user. When the us...
I have a dataset which is about 3 million records, and I would like to load them in to a Data Grid within an application (WinForm).
What is the best approach / method of displaying the data.
I need to be able to run a filter to the data to reduce down the data set, ideas would be welcomed
...
Is there a way I can set an Alpha value that affects all subsequent GDI/GDI+ calls? in other words, I am looking to set the transparency for all calls on a Graphics object.
(I'm looking for something similar to how the *Transform functions affect the Graphics object they are called on)
...
Hi i've plan to implement a feature like session in window application but not for the purpose to hold use information at first.the main purpose is to log out or at least prompt for login/password after session expires.I can't find information regarding to timeout feature on it online.I would be very gratefull if someone can point me to ...
I'm developing a custom control, which most resembles a text area. I am drawing text, which works correctly, and accepting input which also works.. But I (the user) am left guessing where the caret is while I type, since I'm doing everything manually.
How do I draw a blinking caret to show where I am currently typing? Is there a standard...
I have a .net based windows application which is running in memory. I want to trigger one of the function in the app from an external application which is not .net based. How can I achieve this? The triggering should be real time.
...
I have a menu that used to be a treeview control but now I want to make each item a bit more visual and add some more information to each object in the tree.
My first intention was to make a user control that represents an item and add them to a panel at runtime. Is this a good aproach? There could sometimes be over one hundred items.
I...
Is it possible to host Silverlight in the Windows.Forms without the WebBrowser control to avoid unnecessary COM marshaling?
EDIT: The goal is to use a rich graphic content like WPF or Silverlight on older platforms like Windows 2000.
...
How to implement a splash-screen using an image with alpha channels transparency/opacity in WinForms?
...
I'm trying to create a rich text DataGridViewCell. I can host a RichTextBox as the editing control, but when the cell isn't in editing mode I need to paint the rich text myself. I don't want to parse the text - I just need an equivalent of Graphics.DrawString that works with rich text.
...