SocialControls: Facebook & Flattr Buttons in .NET

Filed under: Entwicklung

SocialControls is a small open-source library written in .NET C#. It provides two simple buttons for Flattr Donations and Facebook Likes for embedding into a .NET Application.

SocialControls Demo Application

The techonolgy behind is simple: an adjusted WebBrowser control which loads the Iframe that is used for web embedding. The controls include properties to change layout and behaviour of the buttons.

Flattr Button

This control has two customizable properties:

  • ThingUrl – The URL used when the thing was submitted to Flattr
  • Compact – If set true, a flat button layout is used instead of the box (see screenshot)

Facebook Like Button

The like button offers some more properties:

  • ThingUrl – URL that can be liked with the button
  • Compact – If set true, a flat button layout is used instead of the box (see screenshot)
  • ColorScheme – Light or Dark
  • Verb – Like or Recommend

SocialControls Facebook Properties

To use the Buttons in the VisualStudio Designer, right click the Toolbox and click on “Chose Items”. Open the Tab “.NET Framework Components” and click “Browse…”. Select the SocialControls.dll and the new buttons should appear in the list. You can now just drag the controls out of the toolbox on your Form and define the properties.

Creative Commons Lizenzvertrag

SocialControls
SocialControls
SocialControls-v1.0.zip
Version: 1.0
6.1 KiB
664 Downloads
Details...
SocialControls Src
SocialControls Src
SocialControls_src.zip
26.0 KiB
75 Downloads
Details...
SocialControlsDemo
SocialControlsDemo
SocialControlsDemo.zip
9.2 KiB
79 Downloads
Details...

Kommentare

Noch keine Kommentare

Hinterlasse einen Kommentar

Notify me of followup comments via e-mail.

RSS Feed für Kommentare zu diesem Artikel. TrackBack URL