check point
This commit is contained in:
22
framework/MaterialSkin.Core/Controls/MaterialTabControl.cs
Normal file
22
framework/MaterialSkin.Core/Controls/MaterialTabControl.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace MaterialSkin.Controls
|
||||
{
|
||||
public class MaterialTabControl : TabControl, IMaterialControl
|
||||
{
|
||||
[Browsable(false)]
|
||||
public int Depth { get; set; }
|
||||
[Browsable(false)]
|
||||
public MaterialSkinManager SkinManager => MaterialSkinManager.Instance;
|
||||
[Browsable(false)]
|
||||
public MouseState MouseState { get; set; }
|
||||
|
||||
protected override void WndProc(ref Message m)
|
||||
{
|
||||
if (m.Msg == 0x1328 && !DesignMode) m.Result = (IntPtr)1;
|
||||
else base.WndProc(ref m);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user