-
- CheckBox will not change.
by red-ned
- 4 Replies
- Last post
by red-ned
- I'm building a dataTable where one of the colums is a boolean value. The dataGrid that goes along with it uses a DataGridBoolColumn. The formating and all works but when I click on the box to change it to an empty or checked box nothing happens until the cell looses focus, (I click somewhere else). To make a change I have to Click once to select the cell. then again to change the value and then I
-
- How to select a row in a datagrid...
by Tapan
- 1 Replies
- Last post
by Ken Tucker
- My objective is that i have a datagrid having 3 columns as Roll,Name & Address having values as follows
Roll Name Address
------- --------- ---------------
1 tapan bbsr
2 chandan ctc
3 uttam bls
There is a Text box to search(Roll wise), My objective is when i insert the value 2,then press the search button, the
-
- Best Practices Disposing under inherited controls
by dfirka
- 2 Replies
- Last post
by Mike Danes
- Dear Sirs:
Two quick questions:
1) I have a MyLabel: Control, that creates a different Font to use as default, the constructor looks like:
public MyLabel() { mFont= new Font(...); Font = mFont; }
Question: should I override Dispose(bool) from Control and call mFont.Dispose() Or that will be taken care of by Control
2) To speed things up, I cache a LinearGradientBrush (mBrush),
-
- why my custom uitypeeditor does no change my generated property value
by mld93
- 2 Replies
- Last post
by MLD.Studio
- i have a class that have some property when i edit them from property grid the uitypeeditor work but when i close the form in design mode and reopen it i see that all of change is lost , i see that changing that class property value from uitypeeditor does not change generated property value i want to see why and what should i do please help i search very long but cannot find the answer
-
- ListView is not showing groups
by Aamer
- 14 Replies
- Last post
by Aamer
- I am using VS 2005 and trying to show some strings in ListView in Three groups. I have tried creating groups both by code and desingner. No one works.
Can any one point out some reason. The ListView is using 'Details' style. But I have tried with 'List' style as well.
-
- RichTextBox Syntax Highlighting issue
by Latheesan
- 2 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Hello,
I am writing an editor for a custom programming language. I needed a syntax highlighting feature in the editor, so i came across this article - http://www.codeproject.com/cs/miscctrl/SyntaxHighlighting.asp
I downloaded the demo project and had a look at the form. It had no rtb on it, however, the main form was linked to an form load action called form1_Load();
So,
-
- How handle certificates?
by rcook349
- 0 Replies
- Last post
by rcook349
- I uncheck the certificates box and somehow it keeps getting re-checked. Our app will be deployed on the Intranet so local only to our company. Can I force the checkbox permanently unchecked Of course, if it will preventr the ugly message about software coming from an untrusted source and do they wish to proceed, I suppose the checkbox would be nice to have.
But do we have to have some mig
-
- image transparent background
by malkie
- 5 Replies
- Last post
by malkie
- I want to add an .bmp image to a label. The image has a transparent background. When I add the image the transparent part becomes white.
How can I add the image to the label in a way that the background will not turn white.
thanks
-
- DataGridView very slow when reducing RowCount in VirtualMode
by Lee Gillie
- 1 Replies
- Last post
by Dames
- I just installed Visual Studio 2005 SP1 today, and did not notice if
this updated the CLR. I don't know if this is a bug, or my own lack of
understanding, but wanted to report this slow down here to see if
anyone could tell me why before I report this as a bug.
I have a datagridview, in virtual mode, with maybe 9 columns. Initially
the data I am presenting is about 800 rows. The user can
-
- How to highlight dates in Calendar control (WinForms)?
by Jayanta Dey
- 4 Replies
- Last post
by Paul Selormey
- Hi, I want to highlight certain dates in the Calendar control. I am developing a C# (VS.NET 2005) Windows Forms application in Windows XP. I know we can do the same by adding the dates to BoldedDate arrays and the dates will appear in bold font. But i want to highlight in a different way. Like changing the back color or drawing a small square around the dates. I think this can be achieved through
-
- INotifyPropertyChanged event through BindingSource updates all bound properties on a form
by Damien Morton
- 12 Replies
- Last post
by aztec2_step
- Ive been heavily using databinding to build my application, specifically having a bindingsource on a form, to which all properties are bound. I noticed today that when a notification of change for a single property is fired, all properties refresh their values. This is very much undesireable behavior. When I tell the system that one property has changed, I expect that only one property will be upd
-
- Weird low performance Datagridview
by ITCubo
- 2 Replies
- Last post
by MPowers
- Hi all.
I`d read a lot about datagridview performance. But I have a simple example that It's weird for me. I have a datagridview (of course) I load a dataTable from my database (It's not the problem).
Datagridview paint is the problem of the performance. It's stay painting about 30 seconds. The number of rows loaded from database is 349 and I have 7 columns per row.
I don¡¯t co
-
- Microsoft Product Keys
by VitCon
- 5 Replies
- Last post
by abohl
- Hello everybody, I intend to write a proram which can detect Microsoft Product Keys, such as Microsoft Windows, Microsoft Office, Microsoft Visual Studio... from the registry. But I don't know how to begin. Can you help me If you know an open source similar software, that is great ! Or can you teach me how to to this
-
- Treeview - Multi Color Nodes
by BBBSCoder
- 5 Replies
- Last post
by Jeris
- Is there a way to use a treview and have multi color nodes. I am aware you can set the foreground/background colour on a node, but can you have something along the lines of data = value As the text on a node ( preserving the colours ). Any help appreciated. RK
-
- Unable to display special characters in winforms app
by JstnWright
- 3 Replies
- Last post
by nobugz
- I am having a problem displaying special characters in a winforms app.
The data is being pulled from a Sybase ASE 12.5 database with the character set at cp850.
When I pull the data and display it in my application, special characters like the trademark symbol, international characters, etc. do not display properly.
I've tried setting the charset in the connection string and vario
-
- Adjusting MSI-files
by Dirk Haest
- 2 Replies
- Last post
by Dirk Haest
- I need to update approximatly 150 msi-files. We need to alter the Table property, Allusers to 2 instead of 1.
I know I can do it with Orca, but I need an automatic process that change all the msi-files at once (through a loop in coding) to alter that key.
Does somebody know if there is a source code available from orca (or simular) to alter 1 value in the msi-file
-
- value not showing in datagridviewcombo box from the dataset filling the DGV
by Ljhopkins
- 1 Replies
- Last post
by Gavin Jin - MSFT
- I am populating a DGVComboBox using a data set. I then fill the datagrid the combobox dataproperityname is filed from a field in my database. however when a value is present in the DB it is not being shown in the combo box. but if I fill the combo box using a data reader and itemadd the selected value of the CBO will be the value of the DB field.
here is how I am filling my CBO. I need to do it
-
- Problem with DataGridView
by Hiranya
- 3 Replies
- Last post
by Christopher Payne
- I'm involved in a C#.net software development project. In my application I use a DataGridView object along with a sqlDataAdapter to display the contents of a table in a MS-SQL server (Express) database. Users are allowed to insert, update and delete records using the DataGridView control. However when inserting new records the primary ID field of the table does not get numbered automatically in th
-
- How to add Date to the title of a form for Window App
by ethantran
- 2 Replies
- Last post
by ethantran
- Hi EveryOne,
Could someone please tell me how to add the current date to the title of a form for Window App. that is suppose the default form title is Form1 then I need it to be Form1 + the current date ==== Form1 October 22, 2007 Thanks in advance
-
- "dateTimePicker_ValueChanged" event
by yogiberr
- 7 Replies
- Last post
by yogiberr
- winforms 2.0
hiya,
I want to run some code, based on the value that a user has selected within a dateTimePicker.
However, if the user browses to a different month, then the event fires BEFORE the user has actually selected a date within said month.
why
which event should I use
many thanks,
yogi
-
- Inherited UserControls issues
by Fabio Salvalai
- 2 Replies
- Last post
by Fabio Salvalai
- I Recently ran into a tricky situation :
1)
I had a UserControl (BasePanel) setting a few properties in it's constructor ( one of which was Dock )
I then had to specialize this control. I made a new inherited UserControl (OptionPanel) deriving from BasePanel. the problem is that everytime I opened it in the designer, the InitializeComponent() method would be rewritten by the designer
-
- DataGridViewRow.Tag is set to null after sorting
by GreatEscape
- 1 Replies
- Last post
by krankimkopf
- Hi,
I have a problem with a bound DataGridView.
I after populating a DataTable, I set DataGridViewRow. Tag for all grid rows.
Everything is OK until a sort is done.
After Sorted event occurs, all DataGridViewRow.Tag are null .
Any idea how to solve that
Thanks for help
Michael
-
- Installing an MSI in admin mode
by R.J.
- 3 Replies
- Last post
by R.J.
- How can I create a setup so that it can only be install by admin on that machine
Thanks,
rj
-
- Control Cannot flow??
by Umesh_karthy_41cdd8
- 3 Replies
- Last post
by Figo Fei - MSFT
- hi for(int cnt=0;...) { switch(cnt) case 1: ... .... case 2: .... ... } i have a similar code. but i'm getting an compilation error as follows: "control cannot flow thro from one case lable to another." can u help me with this what does it mean what should i do to rectify it
-
- Overriding UserControl.Text bugged? or just unfriendly?
by Alan M.
- 2 Replies
- Last post
by Alan M.
- I searched for this problem because it is common, and although I found people with the same problem I did not find the answer. A common need is to create a custom user control that has some Text associated with it. The user control already contains a property for "Text" but it is not visible by default in the designer. Also, if I want to create a control such as a Label or a Button with