What is the reason why you want to place those panels in one form and not creating 3 different forms? Is it you want to reuse the method, function and properties of form you've created and you don't want to repeat this codes in other form plus they have the same look and feel with some slight differences in Pane1, Panel 2 and Panel3. If your answer is YES you should go to inherited form.
NOTE: Methods and Properties of Parent Form are visible to inherited Form (Only Public and Protected access modifiers).
Create a base class Shape that contains width,height,x, and y. Inherit your shapes from the base class and each shape should know how to paint or draw themselves.
Create another class such as handle or nodes that is assigned to your shapes. This class will resize your shapes while dragging the handles
I knew there had to be a better way and it would present itself eventually.
I've just never had need of the Path class before (or didn't know I did).
The FileInfo class really ought to have this member as well.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
hi guys, how will i convert byte array to a file, then open it.
i searched the internet, but they usually create the file first then save it to their local disk, before opening... i just want to open the file(from byte array) from virtual memory.. is it possible?
This is my first post in this forum that is full of excellent information I'm so glad I found it.
I have a c# program I'm working on it opens an excell file and displayes the results in a DataGrid at the moment I have it selecting the cell with the code below.
//Set excel sheet range
exr.SheetRange = "A1:C5";
What I'm trying to make it do is select the data from cells M3, M4, E5, G5, H5, R5 then go to cell G7 and read till the last empty cell to the right of G7 then read down from G7 to the last empty cell.
Any one know how to do this?
Last Visit: 23-Sep-20 20:25 Last Update: 23-Sep-20 20:25