|
Hello,
Apart from that I don't see why you want to use Forms to show images (waste of performance):
Ylno wrote: 1 the image-forms to appear within this panel and to be confined to its boundaries
If you want to add a Form in the Controls Container of a Panel, you have to set the TopLevel[^] property of the Form to "false".
Ylno wrote: 2 the image-forms to always be on top of the panel and hence always be
If you add it inside the panels container, it is automaticaly in front of the panel.
Ylno wrote: 3 the image-forms should not take control(focus) away from the main application window
Maybe Enabled[^] does what you want.
But again, you should think of other solutions, like painting the images directely on the MainForm or the panel.
Therefor you need:
OnPaint
DrawImage[^]
All the best,
Martin
|
|
|
|
|
The scenario you're describing is MDI. In fact, it's EXACTLY what MDI was invented for. If you have a sub form, for example, that contains a PictureBox set to Dock = Fill, you can then set the MdiParent of each form to your main form before showing it.
Make sure to set the IsMdiContainer to true for the main form.
The MDI area of the main form will occupy whatever leftover space is left in the main form. That is, if you have controls that you dock right, top, left, etc., the MDI area will only take up the space that is left. This means you don't need to worry about where the MDI forms will show up.
It has become appallingly obvious that our technology has exceeded our humanity. - Albert Einstein
|
|
|
|
|
is there any runtime environment required to open a crystal report in a c# application
|
|
|
|
|
Hi shabonaa
Are u try to opendevelopment PC or deployment PC?
thanks
Cheers,Earn and Enjoy
RRave
MCTS,MCPD
|
|
|
|
|
all I want to do is to transfer the application and reports to the user machine.
the application itself is running but when try to open the report it gives an error
|
|
|
|
|
Hi Shabonaa
Can you give post full error details in this post?
when you deploy ur report in suer PC u must install report comp.
pelase give a more details regard errors.
|
|
|
|
|
Hey guys and girls...
I'm having trouble making a chart in excel through c# that uses information from 2 different worksheets . I can't seem to find a way to specify 2 ranges for one chart. Any help would be greatly appreciated...
|
|
|
|
|
Ok, I'm struggling trying to solve this problem.
I've got two forms, one is inside an MDI and the other isn't. I want to get the panel, and it's content into the form that isn't in the MDI.
How can I do this?
|
|
|
|
|
DSdragondude,
When you create the form, store it somewhere. Then you can do:
Control[] controlArray = Controls.Find("nameOfPanel", true);
Panel formPanel = controlArray[0] as Panel;
Regards,
Gareth.
|
|
|
|
|
i need to make hard code in initialize of control or new method. but my code not execute at desgin time and execute in runtime
123
|
|
|
|
|
SVb.net,
Sorry, don't understand what your asking.
Regards,
Gareth.
|
|
|
|
|
Yes
PUT like this
#DESIGN
..................
#ENDDESIGN
may be name is incorrect, but syntax is correct.
just use this and define ur code two flow.
Cheers,Earn and Enjoy
RRave
MCTS,MCPD
|
|
|
|
|
If the above is correct, you want regions.
Regards,
Gareth.
|
|
|
|
|
have a look at Control.DesignMode property then.
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.
|
|
|
|
|
Hi all,
Thanks in advance ,
I m developing a software for MLM company any i have to calculate member in the left and member in right every month so, please help me to find the total number of member of a specific member let it be "1001".
help as a alias.
Be happy and make others happy.Cheer up...........
modified on Sunday, February 17, 2008 10:44 PM
|
|
|
|
|
I have to create a report.
The report will have the following format like
the shopkeeper creates the bill for the customer for purchasing three bags , 10 books.
Now both the items will be displayes as the header
and in the next line the first item will be displayed.
and under this item in the details section it will display the details of that item now example the first item is bag
Then in details section it will display three records for bag , each record will have the unique bar code.
Now in the second page the header will remain same and the item will come in the next heading
and under this heading the books detail will be enlisted.
wih serial number from 1 -10
each will have nuique bar code.
I know standard , coss tab and mail merge report but this time the situation is quiet different.
can somebody please explain how to start it?
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
Does somebody know how to stop execting the sql server .Problem is if somebody authenticates window password , then it becomes very easy for someone to make ammendments in the database .
Or somebody may be having any registry tips to edit the registry for sql server 2000 exe to stop executing it.
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
Yes
You can get all list of service in PC by the .net Process class .
after u can find with ur sql server service name.
and force to stop.
Cheers
RRave
MCTS,MCPD
|
|
|
|
|
Hi All,
i want to create a forum application.
but i dont now what will be the flow of the forum application.
plz any body describe me the flow of the forum application.
Thanks
Dhillon
|
|
|
|
|
what kind of forum do you want to create ?
|
|
|
|
|
Thanks abhijit for your response
i want to create a discussion forum application for a web site .
in which any user can add any question and any user can answer that question
Dhillon
|
|
|
|
|
Seems pretty obvious to me. Create users, then associate posts with users, and create ids for threads and parent posts if you want threading.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Nice question.
and i'm also give nice answer to u.
see this codeproject MessageBoard and get idea, let start to build forums application
Cheers
RRave
MCTS,MCPD
|
|
|
|
|
hi there,
i want to hide some graphics from print preview dialog, that mean if user see the print preview then that graphics should not show but that should be print
any one know how?
Becoming Programmer...
|
|
|
|
|
Detect if you're in print preview in your code that draws the graphics.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|