Jump to content
Xtreme .Net Talk

ToniMontana

Avatar/Signature
  • Posts

    29
  • Joined

  • Last visited

Everything posted by ToniMontana

  1. Hi all, I want to use WinForm-Controls of the third-party-product "NetAdvantage" of the company Infragistics. I have heard, that it is better to implement these controls with an adapter, which is an often used design pattern. My questions are now: 1) Does anyone have an idea, whether I need this adapter or not and if it is a big work to develop all these adapter classes? 2) Does anyone have a short source example for usage of this adapter-design-pattern in C#?
  2. Hi, does anybody know how I can make a pictureBox in a form, which has a picture with a transparent background? I know from programs for picture-processing that it is possible to define a backgroundcolor, which should define the transparent parts of the picture, but how can I do this in .NET ? Toni.
  3. Hi all, I want to use the PrintPreviewDialog to preview a PrintDocument-Object. So I created a the object and set the Document-Property of the PrintPreviewDialog-Object to the object. If I call .Show on the PrintPreviewDialog-Object, I can see an empty page. So far, so good. But how can I fill this empty document? Just for a demo to show my boss....
  4. I think, you must give the GetType-Method the name of the concrete Form: E.g. if you have a class, which is derived from System.Windoes.Forms.Form and which is called "MyClass", then the code must look like this: Type t = Type.GetType("MyClass"); This way should be the right one, I think. Greetings from Germany! Toni.
×
×
  • Create New...