|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
namespace ExControls
{
[System.ComponentModel.DefaultBindingProperty("EntryImage")]
public partial class PictureBoxEntry : BaseEntry
{
public PictureBoxEntry()
{
InitializeComponent();
SetHostedControl(entryPictureBox);
}
#region picture box properties
[DisplayName("PictureBox")]
[Category("PictureBoxEntry")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[Description("PictureBox Control")]
public PictureBox PictureBoxControl
{
get { return entryPictureBox; }
}
[DisplayName("Image")]
[Bindable(true)]
[Category("PictureBoxEntry")]
[Description("Picture Box Image")]
public Image EntryImage
{
get { return entryPictureBox.Image; }
set { entryPictureBox.Image = value; }
}
#endregion
new internal int TitleWidth
{
get { return base.TitleWidth; }
set { base.TitleWidth = value; }
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
With a heavy C++/MFC background started my way to the DotNet and C# world.
Going from device drivers to standard windows applications development using C++/MFC since 1998, I started the switch to .Net technology in 2004.
Currently I am the Technical Development Manager and Software Architect of Nebras Technology (Medical Software Vendor) and one of its executives owners.