-
- Tooltip on a piechart
by SanDoty
- 5 Replies
- Last post
by nobugz
- hi,
I have created a Pie chart and i want to show the Percentage on each of the Pie slices.I am able to set the Tool tip for the Form as a Whole.But how do i set the Tooltip for each of the slices in the Pie chart.
I wrote the Following code to set based on the Location on the Form itself.
Code Snippet
Public Class Form2
Private data As Integer ()
Privat
-
- Set BindingManagerBase Position After Refreshing DataSet
by PhilipJohn
- 1 Replies
- Last post
by Wei Zhou - MSFT
- Hi,
Referencing the code below how would I reset the " BindingManager.Position" t o the next record after the one I just deleted It keeps jumping back to the first record of the dataset. (See below)
When the form Loads I call the following...
Code Snippet
Private Sub MyDatabaseConnect()
MySQLConnection = New SqlConnection(ConfigurationManager.AppSetti
-
- Using a form inside a tab
by Hussain Deen
- 2 Replies
- Last post
by nobugz
- Hi, i need to use a windows form control in my project inside a tabpage in another form in the same project. how do i go about doing that. thanks in advance hussain
-
- Binding
by Haneli
- 2 Replies
- Last post
by Gavin Jin - MSFT
- Hi,
How can I bind Text property of a TextBox to one field in a SqlDataReader
Bye
-
- How to change the row height of a tablelayoutpanel, at run-time?
by TRID
- 1 Replies
- Last post
by TRID
- How to change the row height of a tablelayoutpanel, at run-time
Best Regards
Trinadh P.
-
- VB2005 filter using datetimepicker
by Bodylojohn
- 3 Replies
- Last post
by Bodylojohn
- Hello, In the field of my ms access database there is a field called 'OrderDatum' that contains the value '30-10-2006'. When I click on the field 'OrderDatum' in the ms access database the following value appears '30-10-2006 13:20:38'. So the time is added. I want to filter only on the date. So I want to find '30-10-2006' instead of '30-10-2006 13:20:38'. How do I have to adjust my code so that da
-
- Collection question
by Wee Bubba
- 3 Replies
- Last post
by Zhi-Xin Ye - MSFT
- hello there.
i need to create a collection for binding to a combobox. the collection i want will have a string name/value pair for each item. yet i feel that Dictionary and Hashtable is overkill for this purpose as i do not need this collection to be sortable or to be indexed by key. it really should be very simple.
ive been looking at what is the best way to do this.
i could create a mul
-
- DatePicker in DataGridView
by worldhello
- 1 Replies
- Last post
by Ken Tucker
- Hello everybody
How to embeed in simple and quick way DatePicker in any cell of DataGridView
Thank you
-
- Change timeout value for table adapter?
by bpeikes
- 3 Replies
- Last post
by fmsr
- Anyway to change the timeout value for a table adapter
-
- Getting value of unbound DataGridViewComboBoxColumn
by emra_aee
- 2 Replies
- Last post
by Yu Guo ¨C MSFT
- Hi,
I have a datagridview which I have bounded to some datasource. It has some columns which are bounded to my grid's datasource (i fill column datapropertyname properties from members of my grid's datasource). But I wanted to add one extra column of type DataGridViewComboBoxColumn, I select its datasource, displaymember and valuemember properties to another datasource which I want to fill
-
- Moving selected rows in DataGridView
by ggponti
- 2 Replies
- Last post
by ggponti
- I am trying to implement a functionality that will allow the users to move the selected rows up or down in a DataGridView, while maintaining the rows selected.
I can't find a solution that works. Any suggestions
-
- Host Controls in Windows Forms DataGridView Cells
by milicica
- 1 Replies
- Last post
by Zhi-Xin Ye - MSFT
- The following code example shows how to create a calendar column. But how change the code to get a time column Thanks in advance. using System; using System.Windows.Forms; public class CalendarColumn : DataGridViewColumn { public CalendarColumn() : base ( new CalendarCell()) { } public override DataGridViewCell CellTemplate { get { return base .CellTemplate; } set { // E
-
- Datatype Mismatch- VB.Net or VS 2005?
by Vaish
- 4 Replies
- Last post
by Damiaan
- Hi
I have a filed (ID) in a table and its datatype is number (long integer). I have select command in 'windows form' and textbox (TextBox1)control in the windows form, will be populated by the filed (ID) from the 'access 'database.
If I change the datatype of ID field in table from Number to Text its works. But if the field ID's datatype is number I am getting 'datatype mismatch'.
Could a
-
- adding tree node in run time
by adel atef
- 1 Replies
- Last post
by Oleh Svintsitskyy
- how can i add tree node in run time if i have a tree which i added noeds of it in desigh time using the property of tree node i mean that after expanding the tree in run time and wants to add tree node how can i do this i am using c# so please help me
-
- Image can't be retreive after ImageList being resized
by Han Qiao
- 1 Replies
- Last post
by Han Qiao
- Hi,
I have a listview that it's imagelist reference to an ImageList. I have a function that change the size of the ImageList, in the hope that the image on each item will resized as stated. But when the ImageList resized, it seems that the image collection is gone. Tried to re-reference the image to the ListViewItem, but no image shown up.
Here is the code:
private void resizeThumbn
-
- Uninstallation program
by kevdog114
- 2 Replies
- Last post
by Armthin
- Is there any way to include an uninstallation program with my setup files, and if so; how
Thanks in advance
-
- binding datagridview to a bindingsource
by steve1_rm
- 1 Replies
- Last post
by Wei Zhou - MSFT
- Hello, I am using a datagridview and have bound it to a bindingsource. In the datagridview i have a combo box column which gives the user a choice of either, ordered, pending, delivered. However, In this specific grid I just want to display the pending orders. But if I click on the status and select delivered, I want the grid to display "delivered", Until I click save. However, what is
-
- Registry Update during un-install
by ILAN_1
- 12 Replies
- Last post
by ILAN_1
- Hi, I want to update some registry values during uninstallation. I want to add some registry keys and also delete a few during uninstall. How can i achieve this I am using Visual Studio 2005 to build my MSI. I cannot do this in Custom Action because custom actions does not run in the elevated mode in Windows Vista, and i will not be able to edit the registry. This registry edit is very critical fo
-
- Status pop-up when cpu is being used.
by Fositron
- 3 Replies
- Last post
by nobugz
- Hello, I am programming a windows form application. It needs to make long time calls to sql server. I dont want the user to be bored or think that the program is not responding. Before the call to sql server I display a form called "working" in which there is a marquee progress bar and a simple label. I call the method working.Show() to display it. The problem i have is that the components, progre
-
- Icon?
by jan1024188_1
- 5 Replies
- Last post
by jan1024188_1
- Hello, Well there is yet one little bug in my application. There is no icon displaying (when you see list of programs in explorer there is default Vista icon for the application) So, can anyone tell me how to set this in C# wc.hIconSm = (HICON)LoadImage(GetModuleHandle(NULL), MAKEINTRESOURCE(IDI_ICON1), IMAGE_ICON, 16, 16, 0); Thanks in advance
-
- Force invoking the OnResize event handler
by ury
- 6 Replies
- Last post
by ury
- Hi,
I would like to force the invokation of the OnResize event handler of a control.
Currently I use (please forgive me) the following code:
Code Snippet
Parent.SuspendLayout();
Parent.Height++;
Parent.Height--;
Parent.ResumeLayout();
Any better suggestions
Thanks,
Ury
-
- How can I Installed different files according to the selection in the dialog
by reddy_rs
- 2 Replies
- Last post
by Yu Guo ¨C MSFT
- we need installation of server and client (userinterface selecting the radoibutton) using click once in windows application
-
- Expandable Property in Property box for custom control
by Navaneeth
- 1 Replies
- Last post
by ??????? ?À ?????
- Hi , I need to create a expandable property for a custom control. What is the attribute I have to specify I need a property something looks like a font property with a + sign on the left, which expands other related properties
-
- How to set control to focus when Form.OnLoad
by Eagle Tsui
- 2 Replies
- Last post
by nobugz
- I have a Win Form and I have already added two TextBox in the form. I implemented the following code in OnLoad
protected override void OnLoad(EventArgs e) { base.OnLoad(e);
int x = 2;
if (x == 1)
this.textBox1.Foucs();
else
this.textBox2.Foucs(); }
My problem is textBox2 never got focus. Why
How can I do
-
- UserControl not marked as serializable
by bucz
- 5 Replies
- Last post
by bucz
- I have some control MyControl derived from UserControl. I want to serialize this control - only a few data fields, not whole control itself. One of the field is reference to other MyControl. When I serialize those fields (some string, int) it is OK. When it comes to serialize an ArrayList with references to other MyControls I get an error that MyControl is not marked as Seralizable. When I mark it