-
- More information on the problem...
by Chuck S.
- 1 Replies
- Last post
by Chuck S.
- I'm having a bit of an issue when using inherited forms. What I've tried to do is to create a set of inherited configuration dialogs which mirror the inheritance tree of the objects to be configured. That is to say, the base object is configured by a base form, while an object derived from that object is configured by a form derived from the base form, and so on up the tree.
The upshot of all o
-
- how to create event in the text in rich text box?
by Scorpion1118
- 6 Replies
- Last post
by .Binny
- i'm making a little chat program,, i want to create an event for the sender and receiver text, so when the user click the sender's name in the rich text box, it will raise an event to change the the user's recever to the one just clicked.
how can i do that thanks
-
- GDI+
by Alexei_shk
- 12 Replies
- Last post
by Alexei_shk
- Hi,
How can I override the functions in System.Drawing.Graphics
I am using .Net 1.1.
Thank's
Alexei
-
- Graphics.drawString method
by Zarei Ramin
- 3 Replies
- Last post
by Miguell - MSFT
- the Graphics.drawString method create extra white spaces when i save graphic to bitmap image
how i can resolve this problem without any extra coding or how i can crop these white spaces
-
- DataGridView control - updating data values
by KurtRRyan
- 2 Replies
- Last post
by KurtRRyan
- I have a quite simple DataGridView control, that is bound to a single table from a dataset. The control displays the data correctly.
What I want to do is to "raise the case" of any data that is entered. The code that I use is:
Code Block
Private Sub dg_CellValidating( ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellVal
-
- Web browser control (Print() functionality) - Printing in landscape from code
by MadhuSri
- 1 Replies
- Last post
by Gavin Jin - MSFT
- Hi all,
I have developed a windows application in C#, which is going to display a report and print itt automatically without intimating the user.
The report is displayed in the web browser control using XSL in a windows forms application. I would like to know how to print the report in the landscape format The user should not be allowed to set the page options like Portrait/landscape.
Ple
-
- Autosize a checkedlistbox to its contents
by Alexwm24
- 1 Replies
- Last post
by nobugz
- Hello everyone I was just wondering if there was a way to allow a checkedlistbox to automatically change its size so it will display all of its contents without the use of a scrollbar. Thank you.
-
- Windows Forms does not display in NetMeeting
by postaldaytrader
- 2 Replies
- Last post
by Rong-Chun Zhang - MSFT
- Hi, I am experiencing problems with NetMeeting not displaying my application properly. My application uses Windows Forms and controls and when displayed in NetMeeting, most of the controls and the Form does not display so it is almost impossible to see the application in NetMeeting. Is there something I am doing wrong with the controls that could cause this Thanks.
-
- Can a WPF App be deployed via ClickOnce?
by Rob Ainscough
- 5 Replies
- Last post
by dhenry
- I'm working on a a WPF (VS 2008 Beta 2) application that I would like to deploy using ClickOnce. Some questions:
1. Can WPF Apps be deployed using ClickOnce
2. Can a ClickOnce deployed App write to the client's registry HKCU (i.e. saving user/password info encrypted - remember me)
3. Can Crystal Reports .rpt files be included with ClickOnce deployed App
Thanks, Rob.
-
- ordering records in Datagrid view control using windows app
by Bodis
- 2 Replies
- Last post
by Bodis
- I'm developing windows Application using C#... The App is basically a search app. when a support user(
assume the support guys ) searches for specific record... the query returns say some 100 rows and i display those data in a DATAGRIDVIEW control...
I need couple of things in this.:
1). In my Windows Form i have two buttons for sorting the Queue say like UP and DOWN arrow.
-
-
- datagridview databinding insert a empty row
by MedHelen
- 2 Replies
- Last post
by BabyFace Jay
- I have a weired problem in my windows application, I have a datagridview databinding to a datatable. It will trigger a useraddrow and rowvalidating event to insert a new row when user tab out the grid. It goes well but now it has a problem when people close the form and reopen it, a empty new row will automatically insert to the real database even I did not trigger any above event. I traced it and
-
- Disable Self Repair?
by Carl Woodhouse
- 3 Replies
- Last post
by PhilWilson
- Hello,
I was wondering what the best way of disabling self repair for an installation would be, I have a need to be able to let users rename certain files without it triggering the repair installer the next time they run the application.
I have used the condition "NOT REINSTALL" to successfully manage this, however this will only work if the original MSI is in a reachable lo
-
- extend binding navigator service
by moh hassan
- 12 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Hi I want to add two button controls to the binding navigator for query by example first button: filter , in that case , all controls of the form are cleared , and user can enter values in the controls. second button: apply filter, when user click it , the filter which is composed by reading every control value is applied to the base table and data is reterieved. i want to add these services to th
-
- Visual inheritance in derived Forms
by paha
- 11 Replies
- Last post
by Dejan Stanic
- Hi, is it planned to add the possibility to edit collection-based controls like strips and grids in derived forms I really don't like the situation, where i must place the same menu on every derived form, because i must hide some parent buttons and add some new. Yes, i can do it in code, but it's really inconvenient, isn't it I've read similar topic, where it was explained, that the collection pro
-
- Serializing in RESX?
by Barguast
- 0 Replies
- Last post
by Barguast
- Hey all, I'm trying to create a working TypeConverter for a custom class, but it's causing me no end of problems. At the moment, everything seems to be working except for the code generation. Rather than initialising the objects in InitializeComponent, the designer is trying to do so via the Form's RESX file. The relevant line in the InitializeComponent function looks like this; this.graph1.Po
-
- Resetting back to default disabled for DataGridView
by MSMit
- 1 Replies
- Last post
by Zhi-Xin Ye - MSFT
- In property window quite clearly I do have changed value ( in bold ) for RowsDefaultCellStyle but reset is disabled as if designer thinks it is still default. At the same time I was able to reset ColumnHeadersDefaultCellStyle. I understand , I may accurately clean it up in *.designer.cs code if I want to or just roll back everything back field by field, , just wondering is there a general rule
-
- ClickOnce questions!
by blood_on_ice
- 9 Replies
- Last post
by Munirul Abedin
- Hello!
I've a few questions about ClickOnce in VisualStudio 2005. The installation of my application works fine, I published the files on a webserver and installed the app on a winxp client, updates works also fine. But here's my first question: - Our app produces xml-files on startup, which stores several informations like gui-settings etc...now when I publish a new version and my app update
-
- Shortcut for ToolStripMenuItem
by swingme
- 1 Replies
- Last post
by nobugz
- Hallo, What is wrong with the following code
Code Snippet
ToolStripMenuItem deleteLabel = new ToolStripMenuItem(); deleteLabel.ShortcutKeys = Keys.Alt | Keys.L; deleteLabel.ShortcutKeyDisplayString = "&D"; deleteLabel.Text = "Delete"; Why it not displayed in window like "&Delete" Displayed will be like "Delete D" ..when i press Alt+L
-
- Having two forms sharing the same toolstrip reference
by Thibaud
- 2 Replies
- Last post
by Thibaud
- Hi, I have two forms, each created on a separate thread. When the second form is created I want to add to its controls the toolstrip of the first form, something like form2.Controls.Add(form1.toolstrip). But : - when I do it through a form2.Invoke, I get a cross thread exception about the toolstrip - when I do it through a form1.toolstrip.Invoke, I get the same exception, this time concerning for
-
- Selecting a TreeView node in code
by Azurewrath
- 5 Replies
- Last post
by Azurewrath
- Hi all,
Anyone knows how to do this, so it acts like I clicked a node
Thanks,
aw
-
- Problem lining up text in RichTextBox and ComboBox. Snapshot inside.
by Aleksey Nagoga.
- 5 Replies
- Last post
by Aleksey Nagoga.
- Hi, All
I have a control that contains a RichTextBox and a ComboBox lined up next to each other. When I set RichTextBox's BorderStyle to None and ComboBox's FlatStyle to Flat, the Text in the controls is not lined up to each other anymore. None of these controls have vertical justification of the text and the controls are Docked to the Left so I cannot change their Top property at runtime.
-
- Getting controls under mouse pointer
by Azurewrath
- 4 Replies
- Last post
by Azurewrath
- Hi all,
Is it possible to know which control is under the mouse Say I am using photoshop and my mouse is over a spinner, can I find out which control it is If so, can I change it's value
Thanks,
aw
-
- How to cut and paste a datagridview row
by Can-Ann
- 1 Replies
- Last post
by Gavin Jin - MSFT
- Does anyone know if its possible to cut and paste a complete row from a datagridview using the right mouse button
A code sample would be nice.
-
- Why I can perform int operations on a numericupdown control's value?
by Azurewrath
- 4 Replies
- Last post
by Azurewrath
- Hi,
I use numFirst.value + numSecond.value but it gives me an error.
Do I have to convert them myself I thought their value was integers.
Thanks,
aw
-
- ComboBox in DataGridView problems
by Steveinbeloit
- 4 Replies
- Last post
by Steveinbeloit
- I have set up a test form that contains a DataGridView from dragging a table (tableA) over from the DataSoure Tab. I then edited the columns and changed one column to a combobox. It contains the key to tableB. So DatPropertyName is still set to the key value in table A. For DataSource, I drilled down through the dataset until I found my tableB. Display member is the text field from table B, Value