示例#1
0
 public MainForm()
 {
     InitializeComponent();
     CustomGraphics         = new NDX(this);
     CustomGraphics.Sizable = false;
     CustomGraphics.DoubleClickToMaximize = false;
     CustomGraphics.AutoScroll            = false;
     CustomGraphics.HasMaxButton          = false;
     CustomGraphics.DragbarBackColor      = Color.FromArgb(200, 200, 200);
     CustomGraphics.ParentFormDragStyle   = NDXDragStyle.Opacity;
     CustomGraphics.TitleTextColor        = Color.Black;
     CustomGraphics.InitializeNDX();
 }
示例#2
0
 public MainForm()
 {
     InitializeComponent();
     CustomDesign = new NDX(this);
     CustomDesign.DragbarBackColor      = Color.FromArgb(64, 64, 64);
     CustomDesign._ButtonBackColor      = Color.FromArgb(0, 122, 217);
     CustomDesign.MaxButtonBackColor    = Color.FromArgb(0, 122, 217);
     CustomDesign.ParentFormDragStyle   = NDXDragStyle.Opacity;
     CustomDesign.Sizable               = false;
     CustomDesign.AutoScroll            = false;
     CustomDesign.HasMaxButton          = false;
     CustomDesign.DoubleClickToMaximize = false;
     CustomDesign.InitializeNDX();
 }