I'm using standard BMP images for buttons that come with visual studio. When using these images within a resource (resx) file, how do I set the transparency key?
This has always worked fine for me using an ImageList, but I want to reuse the images among many dialogs within the same assembly which I would also like the ability to control...
Hi
I have used WeifenLuo.WinFormsUI.Docking Dockpanel in my project. I have three Document Style DockContent (i.e. A, B, C)in my application which has been arranged in tabbed style. On Focus() method of any of this dockContent (i.e. A, B, C) its getting activated and getting focus well. As per requirement i need to hide all three dockc...
hello,
I'm looking for a winform control that permit to zoom in a picture.
It has to be really fast !
I'm using .NET framework 3.5
Thanks for all propositions
Sam
...
I want a list view control (or any list like control) in which each row (item), not only has text, but also some other controls. For example, each row (item) in my list view is composed of a checkbox, button, a slider, a image and a label. I tried the corresponding renderer classes (CheckBox renderer) in the owner drawn event, but i am n...
Using WinForms, I have a string which I want to set into a ToolTip. The string is separated by lines with Environment.NewLine, like so:
x.ToolTipText = "aaaaaa" + Environment.NewLine + "bbb";
when this string is set to the ToolTip it looks:
aaaaaa
bbb
But my problem is when I want it to be localized to Arabic and ToolTip does not ...
How can I access ConfigurationManager.AppSettings in my Windows Forms Application?
The error message reads: The name 'ConfigurationManager' does not exist in the current context.
...
I have a glitch in a WinForms C# ListView (with custom modifications to sort and filters on all columns, but it happened also in a standard ListView).
I modify the ListView Items with this (fairly standard) pattern:
BeginUpdate();
// add some items
// remove some other items
Sort();
EndUpdate();
But if I call this code when the ListV...
I have a 3 tier applicaiton, winforms, business and data layers. I just pulled the projects out of souce control. My winforms application references business which references data. I added a reference to my business layer and my winforms project is not seeing the reference.
"Names or type specified in the Imports . . . doesn't conta...
Hi,
I would need to display certain images and text in c# winforms application, so I decided to use webBrowser. Both images and text are retrieved from the database. However, I dont know how to combine them in the document creation.
Thank you!
...
I have two ListViews in my app, with an initially identical collection of columns. When the user reorders the columns in one, I want the columns in the other to be reordered.
I have the following event handler on one of the views' ColumnReordered event, and the corresponding handler on the other:
private volatile bool reorderingColumn...
Using WinForms; Is there a better way to find the checked RadioButton for a group? It seems to me that the code below should not be necessary. When you check a different RadioButton then it knows which one to uncheck… so it should know which is checked. How do I pull that information without doing a lot of if statements (or a switch).
...
Hi
Firstly I tried fiding some similar posts but could not quite find anything. Mainly because I see this problem in FF and not IE only.
I had a web page that was updating a mysql db no problem with some data. Then today, I switched the way it does this so that I can use an ID instead of a value, so for sizes, instead of small, medium ...
Hi all,
Here is the scene.....
I 2 separate contexts in LINQ, the actual database is one, and the contexts basicaly break concerns, and in this case, I using 3 tables.
Table 1 (AccountId) (Context 1)
Table 2 (PersonId) (Context 2)
Table 3 (AccountId, PersonId) (Context 2)
So what happens here is that (Context 2) can only create a re...
is it possible to create a new alias for a given namespace for the entire project?
that is i dont want to write a "using DO = App.Do.App33;" in each cs file of the project.
but i want to do it one time in some configuration or maybe in some cs file.
and then simply DO will refer to App.Do.App33 in the entire Application.
...
Hi there!
In my winforms app, i have a datagridview that takes about 0.8 seconds to be populated with +/- 5000rows - if all columns are textbox columns.
One of the columns is an integer column, so I decided to change that column to an ImageColumn and in the Cell_formatting event of the grid, I use the following code to determine the ap...
Our development team has been tasked with "creating" (or reusing an existing) GUI application that will display certain objects (be they people, cars, tools, w/e) in a certain field that could range in size between a couple of blocks to an entire city.
Generally our users divide the area off into four or more quadrents and assign other ...
Hi,
I do not understand why there is Control.padding.all which is int and according to hint there is set as well as get but I cannot set it (Control.Padding.All=5)? I would be grateful for explanation. Thanks!
...
hi
i have gridview control in that control i need to add and image in a cell how to do it in c#.....
please help me thanks in advance....
...
Hi there!
Firstly, I know I should be using proper Threading techniques (Threadpool, BeginInvoke, etc.) to accomplish this, but thats a bit over my head currently and will call for some time to read over material and understand it (if you have any URL references for my scenario, please feel free to post it).
In the interim I am using...
I have a picture box set to AutoSize so that the image forces it to grow to the image's full size.
The picture box is in a panel with autoScroll = true, so that scroll bars appear when the picture is larger than the panel.
How can I programmatically scroll the panel as the user clicks the drags on the image, thereby repositioning the i...