Quantcast
Channel: Windows Forms General forum
Browsing all 12583 articles
Browse latest View live

bind datatable columns data to a specific 1 datagridviewer column

Hi, I have extracted one row of data with multiple columns from an excel file to a Datatable, and I tried to bind all this data to one specific column on a datagridviewer called "index". with the code...

View Article


Remove color from image

Hai all,         I have picture box with image i can draw any pattern on the image with help of texture brush but i can't remove pattern...pls help to clear this...thank u :)syam s a

View Article


Condensing dc.DrawString() text to fit rectangle region

Hello all,I am looking for a way to condense (squash) the text if it exceeds the length of the rectangle region it is in.What is the best way to do this?

View Article

Image may be NSFW.
Clik here to view.

Running a method from another form

Hi,I'm sorry if this has been asked several times, I'm a little unfamiliar with the terminology and thus I can get a little confused.I'm trying to have Form2 set a Label in Form1.I have come up with...

View Article

Printing only the Boxes I want

I have combo Boxes and text Boxes, how can I create a print preview in a new form of only the boxes I want private void button2_Click(object sender, EventArgs e) { Form2 secondForm = new Form2();...

View Article


Comparing Strings

I having a little problem, simple but...I have a string a="ABC" and b="A", and i have to compare if B is the begging of A, like i do in the BD(A like 'a%')I've tried with like using "*" but it didn't...

View Article

How to both scroll an Image in a picture box as well as zoom(reize) in/out of...

I have created code, using a combination of Panel and a picture box, which can scroll the image.  That works fine.  What I want is the same functionality, but also allow the user to zoom in/out of the...

View Article

Why I set a self-defined icon for the form, but it doesn't work on another...

I am developing on machine: WINDOWS 7 64 BIT, .NET 4 CLIENT PROFILEand trying to make the software work on : XP 32 BIT, .NET 4 CLIENT PROFILEI set the form's icon via form's icon property, the program...

View Article


How to get an Alert on a due before Finish Date

Hi Advance Thanks,i have created like parking .I have set 100 /per month and also  date display  From Date - Till Date. i need   popup or alert box 2 days before to tilldate.i have given my code...

View Article


EMULATING MOUSE CLICK ON SCREEN

chang Chi

View Article

Purpose of local sdf copy in the project.

Hi,Why the local copy Sql Compact DB is added to the project while creating new Data Connection in the windows application project?

View Article

Image may be NSFW.
Clik here to view.

How to show a tooltip on minimized form in mdi parent.

I have a C# windows form application. In which i have a mdi parent and i want to show tool tip on hower on minimized form.prakash kumar jha

View Article

Filling combo box using an xml document of an excel sheet.

Hi,I have this Excel file "Employee details", I want to use the xml document of this excel file and fill the combo box in my windows form application.So for doing this, first I have to upload a file...

View Article


Reference to a ToolStripMenuItem

I have two MenuStrip objects in a MDI form: menuStrip1 & menuStrip2I would like to change the text of a ToolStripMenuItem from menuStrip1 but i can't get reference to it!I mean: when I wrote, for...

View Article

moving focus after combobox selection

hello this is probably a ridiculous question just having an issue on where to stick the statement within my code to get the focus to switch after a selection in a drop down combo box is made.  the text...

View Article


SIMULATING MOUSE CLICK ON SCREEN

chang Chi

View Article

breakpoint problem

I have a datagridview in form1.When a button is clicked,form2 arises with form1 in open.Im clearing all the rows of dgv from form2 and adding a new empty row into it.While im executing sometimes it...

View Article


MouseDown event and MouseMove event

System.Windows.Forms.Control class has some Mouse events, such as MouseDown, MouseMove, MouseUp and MouseClick event.Generally, when I move mouse to upon a Panel control and then just click the mouse,...

View Article

Image may be NSFW.
Clik here to view.

How to Block only child window in Mdi Form Application.

Hi, every body.everyone known that window.alert method in a web page will block all windows in microsoft IE, following screen capture show this caserecently, i find a Web Browser Has a different...

View Article

Any equivalent for WPF datagrid subgrouping?

I saw an article in msdn          http://msdn.microsoft.com/en-us/library/ff407126%28v=vs.100%29.aspxThe screen shot is telling the grid could get grouped. Is there any equivalent of this in windows...

View Article
Browsing all 12583 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>