> Das Form ist vom Typ System.Windows.Forms.Form

> Du kannst nat�rlich auch object nehmen und dann zur�ck casten ...

Hab ich auch so geamcht, und es funtioniert.
Danke. Hier noch der lauff�hige Source :)


                private void fadeOut(object formname)
                {
                        Form frm = (Form) formname;
                        while (frm.Opacity > 0)
                        {
                                if (frm.Opacity < 0.1)
                                {
                                        frm.Close();
                                }
                                frm.Opacity -= 0.02;
                        }
                }
> Micha

Gr��e
Rene


| [dotnetdecsharp] als [email protected] subscribed
| http://www.dotnetgerman.com/archiv/dotnetdecsharp/ = Listenarchiv
| Listenregeln, sowie An- und Abmeldung zu dieser Liste:
| http://www.dotnetgerman.com/listen/dotnetdecsharp.asp

Antwort per Email an