Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #3K
~5K People Reached
Favorite Forums

18 Posted Topics

Member Avatar for kaizen202

I have a custom combobox as below public class ListViewCombo : ComboBox { ToolStripControlHost listViewHost; ToolStripDropDown dropDown; public ListViewCombo() { ListView lstView = new ListView(); lstView.BorderStyle = BorderStyle.None; listViewHost = new ToolStripControlHost(lstView); dropDown = new ToolStripDropDown(); dropDown.Items.Add(listViewHost); } public ListView TListView { get { return listViewHost.Control as ListView; } } …

0
164
Member Avatar for kaizen202

I have hosted my custom combobox (ComboBoxEx) on datagridview by following the steps in http://msdn.microsoft.com/en-us/library/7tas5c80.aspx. 1. I have created DataGridVIewComboExColumn derrived from DataGridViewColumn 2. Custom cell named "DataGridVIewComboExCell" is created from DataGridViewCell 3. Finally my custom edit control "ComboExEditCtrl" (derived from ComboBoxEx and implements IDataGridViewEditingControl) is created. 4. In ComboExEditCtrl, …

0
87
Member Avatar for kaizen202

How to shrink the client area of a multiline textbox (Windows.Forms.Textbox) from the non-client area? That is I need to draw a focus line in-between verticalscrollbar and the text area of textbox (i.e line to be drawn inside textbox). So I need a space between the client area (typable area) …

Member Avatar for Ketsuekiame
0
175
Member Avatar for kaizen202

I have my own ListView class, inheriting from Forms.ListView. When double clicking on the column divider, the columns resize to show the column items in full size. However, for me this doesnt work properly - some words are partially hidden because I am using large font size to draw items. …

Member Avatar for ChrisHunter
0
852
Member Avatar for kaizen202

I am using LIstView control in virtual mode with the property listView.VirtualMode=True and I have subscribed the event listView1_RetrieveVirtualItem(). But this event is being called many times for each item. What is the reason or How can I prevent RetrieveVirtualItem() from executing many times? Please check the below code. public …

Member Avatar for lolafuertes
0
1K
Member Avatar for kaizen202

I have skinned most controls in my winform application, except scrollbar in combobox. Any ideas?

Member Avatar for kaizen202
0
205
Member Avatar for kaizen202

In my project, I need a stand alone scroll bar for my text box. So I have created a customized scroll bar. Any idea How to use my customized scroll bar(both Horizontal and Vertical) in the text box instead of built-in scroll bar?

Member Avatar for kaizen202
0
471
Member Avatar for nesa24casa

You can draw a border by setting the SmoothingMode as AntiAlias. // Set the SmoothingMode property to smooth the line. e.Graphics.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;

Member Avatar for nesa24casa
0
177
Member Avatar for kaizen202

In my project, I have created around 12 custom controls(checkbox,radiobutton,editbox,progressbar,scrollbar,button etc...). Custom painting is done in all controls for the extended look and feel using Pen,Brushes,Graphics, GraphicPath,Images,Region and Bitmaps ect. After the use of these objects, I have disposed the objects using the Dispose() method. I am using these controls …

Member Avatar for kaizen202
0
411
Member Avatar for kaizen202

Hi All, Is there any event to catch the column visibility change of datagridview? I am using a custom datagridview. I need to update the horizontal scrollbar maximum value whenever the column visibility is changed. Please provide some idea. Thank you.

Member Avatar for kaizen202
0
472
Member Avatar for kaizen202

Hi, I have a custom combobox(say comboboxEX) derived from System.Windows.Forms.ComboBox. OnPaint() event I have some background color and styles for the combobox. Every thing works fine. My problem is, I can't set background color when DropDownStyle is "**DropDown**" and **Enabled = false**. But it workes when DropDownStyle is "DropDownList" and …

Member Avatar for kaizen202
0
264
Member Avatar for kaizen202

Hi all. I am new in C#. How can i use NETCONNECTINFOSTRUCT Structure.Wht r the related APIs. Can any one help me? Thanks in advance.........

Member Avatar for Eng_Gaza
0
114
Member Avatar for kaizen202

Hi, all I am downloading a file using webclient class in C#. Can I calculate the downloading speed using any custom PerformanceCounter.Can any one help me. Thanks in advance..

Member Avatar for kaizen202
0
138
Member Avatar for kaizen202

hi all, How can i zip and unzip a file using SharpZipLib. I am wrking in C#. Can any one help me? Thanks in Advance

Member Avatar for scru
0
71
Member Avatar for Sawamura

hi all.. how can i zip and unzip a file using SharpzipLib.Dll. Can any one help me?. Thanks in advance...

Member Avatar for choudhuryshouvi
0
146
Member Avatar for josh06

hi all, I want to catch an error and report to a remote Database in a server.how can i do it? can any one help me.. thankz

Member Avatar for Jugortha
0
95
Member Avatar for kaizen202

Hi All I want to catch an error and report it into a Database in a remote server.(C#.NET). Can anyone help me?. thanks in advance....

Member Avatar for kaizen202
0
96
Member Avatar for Questions???

[QUOTE=RamyMahrous;486117]You should answer with "true" or "false" to avoid exception raising...[/QUOTE] use == instead of =

Member Avatar for Questions???
0
263

The End.