|
Ok, But why it will be good to do it? Or at all to write with classes ( i mean for example if i have only one form)?
|
|
|
|
|
A form IS a class.
And he's right. If you're going to have methods that you need to call from multiple forms, then the logic place to put those methods would be the class that stores the data that your app is manipulating.
|
|
|
|
|
Currently I am downloading exchange data and using DataGridView to display the data in real time.
I have as many as 6 DataGrids with 5 columns and many rows each that are updated about twice a second. The problem is, if only a few cells are modified, most of the time the whole grid is repainted degrading the performance of the DataGrid! I know this to be the case as some flicker is evident on cells that are unchanged. I have also implemented a simple counter in the CellPainting event to verify this.
Does anybody know how to only paint cells that have changed and bypass the others?
john1166
|
|
|
|
|
I Created C# Program and add FREngin and FineReader Components. Can I Create default Textblock using block in the same project
|
|
|
|
|
? Can I see how have you done that ?
|
|
|
|
|
Can you please share the code with me.....i am searching for the same from long....not unable to get the information on google.
or you can suggest any site wherein i'll get the code
|
|
|
|
|
Is that possible to draw a graph by getting the values from database in windows application
|
|
|
|
|
|
|
I don't pretend to be a .NET expert, but I saw a query that the OP could have got an answer to by doing a painfully obvious search. Had to vent it out.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
hello
i have acrystalreport wich is conect to dataset
i have ther textboxes in section 1 and in section 4
i want to change the text of these textboxe by acode in run time
thanks
|
|
|
|
|
this.BackColor = colorDialog1.Color;
The main Form disapears and I have to go into the control bar at the bottom to find it.
How do I use ToolTip after I placed one onto the form as a non-visual component? How do I link it to a component & choose the text on the tip?
|
|
|
|
|
1) That's odd.
2) You should see a tooltip property on each control on the form.
|
|
|
|
|
not all components, such as oval VB shape, have tooltip property
|
|
|
|
|
|
watch ur language
|
|
|
|
|
Me? You're the one who said "VB".
|
|
|
|
|
1. Very very odd.
2. See below code. You can add this in the Form_Load Event.
toolTip1.AutoPopDelay = 5000;
toolTip1.InitialDelay = 500;
toolTip1.ReshowDelay = 500;
toolTip1.ShowAlways = true;
toolTip1.SetToolTip(this.btnRun, "Run");
toolTip1.SetToolTip(this.btnSelectDirToSave, "Select Output Directory");
toolTip1.SetToolTip(this.btnSelectTxtFile, "Select File to Process");
Hope this helps
Excellence is doing ordinary things extraordinarily well.
|
|
|
|
|
PIEBALDConsult's reply answered my question, and I like to do things Visually using the editor anyhow
|
|
|
|
|
OK
Excellence is doing ordinary things extraordinarily well.
|
|
|
|
|
Hi!
I want to create few pannels(or any other object) that can be resized during run time.
Where can I see example of how to so.
I want that the mouse image will change to like in the design options in the .NET.
and so I will be able to controll few pannels(objects) in a form and to arrange them like I want .
Can some one show me a good example of this or code example.
Thanks
|
|
|
|
|
All you need to do is handle MouseDown, MouseUp, MouseMove and Paint events. Use Cursor property to change the cursor the way you like.
A bit of Googling will definitely give you some examples.
जय हिंद
|
|
|
|
|
Hello.
I have a application with a webclient. In that webclient I am loading a homepage with about 5 frames, but one of the frames are refreshing constantly each 30second.
That gives me problem when I want to use the source from another frame - because when I use IsBusy and it is refreshing the frame with constantly refreshing while I am navigating another frame, does the application think that frame is done navigating too, and then I of course get an error.
It happens very often, and stops the whole program.
So is there any way only to check one frame if it is done loading ?
Hope your guys can help me out.
|
|
|
|
|
Hello,
I have a button that opens a new form.
I want to check if the new form (form2) is already open then it will open another new form (form3). But if those 2 forms already open it will write a message. How can i do it?
|
|
|
|
|
FindWindow is a function For Finding Window.
If you can think then I Can.
|
|
|
|