help me

  • Thread starter Thread starter abd el moniem
  • Start date Start date
abd el moniem said:
how can i make the form like the "m"

???

\\\
Private Sub Form1_Load( _
ByVal sender As System.Object, _
ByVal e As System.EventArgs _
) Handles MyBase.Load
Dim g As New System.Drawing.Drawing2D.GraphicsPath()
g.AddString( _
"m", _
System.Drawing.FontFamily.GenericSansSerif, _
System.Drawing.FontStyle.Bold, _
100, _
New Point(0, 0), _
System.Drawing.StringFormat.GenericDefault _
)
Me.BackColor = Color.Red
Me.Region = New System.Drawing.Region(g)
End Sub
///
 
Hi Herfried,

Nice one!! I don't know if it's what he wants (but that's what it sounds like to me too), but either way - nice effect. :-)

Cheers,
Fergus
 
Fergus Cooney said:
Nice one!! I don't know if it's what he wants (but that's what it sounds
like to me too), but either way - nice effect. :-)

I forgot to call the 'GraphicsPath''s 'Dispose' method. Notice that the
same effect can be archieved on Windows 2000+ machines by setting the form's
'TransparencyKey' property and drawing the "m" onto the form.
 
Hi Herfried,

|| I forgot to call the 'GraphicsPath''s 'Dispose' method.

Posting less than perfect code?? I'm telling Jack Spry about you. He'll have a few words to say, I can tell you!!

;-)

Regards,
Fergus.
 
I did want to write it, same thoughts
But I did made a mistake at your webservice text (nothing to do with you
Herfried)
So I am a little bit careful
 
Hello,

Cor said:
I did want to write it, same thoughts
But I did made a mistake at your webservice text (nothing to do with you
Herfried)
So I am a little bit careful

Everybody makes mistakes except Nick.
 
Hello,

Cor said:
I think that is exactly what he means only a little bit small.

I know, but yesterday Chris asked me if I like large fonts...

;-)))
 
Hi Herfried,

He hasn't replied yet.

Perhaps I can administer the punishment. What are your preferences? [evil grin]

Regards,
Fergus
 
Hello,

Fergus Cooney said:
He hasn't replied yet.
;-(

Perhaps I can administer the punishment. What are your preferences?
[evil grin]

No, only Jack is allowed to punish people in the ng who write nonsense in
their postings.

;-)
 
Hi Herfried,

That's a shame. As punishment I was going to order you to come to London and do all of <our> MacDonalds in one day. - "gebloaten
zum Max".

Regards,
Fergus
 
Hello,

Fergus Cooney said:
That's a shame. As punishment I was going to order you to
come to London and do all of <our> MacDonalds in one day.
- "gebloaten zum Max".

*huh*.

EOT.
 
Back
Top