1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
| using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace MesControlsCompactNET2
{
public partial class CustomControl1 : ListControl
{
//public CustomControl1()
//{
// InitializeComponent();
//}
protected override void SetItemsCore(System.Collections.IList items)
{
throw new NotImplementedException();
}
public override int SelectedIndex
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
protected override void OnPaint(PaintEventArgs pe)
{
// TODO*: ajoutez ici votre code de dessin personnalisé
// Calling the base class OnPaint
base.OnPaint(pe);
}
}
} |
Partager