控件:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
namespace MakeUpTest
{
public partial class SPic : UserControl
{
private int _seq = -1;
public SPic()
{
InitializeComponent();
}
public int sWidth
{
set
{
this.Width = value;
}
}
public int sHeight
{
set
{
this.Height = value;
}
}
public int sSeq
{
set
{
_seq = value;
}
get
{
return _seq;
}
}
public Image sImg
{
set
{
this.sPicBox.Image = value;
}
}