Handles displaying grid this is not enabled

Added MyDisablePanel vlnPanel control
Added ApplDisplayMode property to StepPanel class
Added vlnPanel class
This commit is contained in:
Rich
2012-12-04 23:08:43 +00:00
parent 2549984e63
commit d29f45d322
5 changed files with 138 additions and 3 deletions

View File

@@ -22,6 +22,39 @@ namespace Volian.Controls.Library
public delegate void VlnFlexGridCursorMovementEvent(object sender, VlnFlexGridCursorMovementEventArgs args);
public delegate string VlnFlexGridPasteEvent(object sender, VlnFlexGridPasteEventArgs args);
public delegate void VlnFlexGridkeyEvent(object sender, KeyEventArgs args);
public partial class vlnPanel : Panel
{
private int _Opacity = 128;
//public int Opacity
//{
// get { return _Opacity; }
// set { _Opacity = value; }
//}
public vlnPanel()
{
InitializeComponent();
}
public vlnPanel(IContainer container)
{
container.Add(this);
InitializeComponent();
}
//protected override CreateParams CreateParams
//{
// get
// {
// CreateParams prams = base.CreateParams;
// prams.ExStyle |= 0x020; // transparent
// return prams;
// }
//}
//protected override void OnPaint(PaintEventArgs pe)
//{
// pe.Graphics.FillRectangle(new SolidBrush(Color.FromArgb(_Opacity, this.BackColor)), this.ClientRectangle);
//}
}
public partial class VlnFlexGrid : C1.Win.C1FlexGrid.C1FlexGrid
{