public SmartShadow(SmartForm owner) { _owner = owner; _timeToResizeOwner = false; InitializeComponent(); FormIni(); }
public MdiBarController(SmartForm owner) { _owner = owner; _listTabItems = new List<MdiGMTabItem>(); _newTabBtn = new WLButton(owner); _listAllBtn = new WLButton(owner); // ini _newtabbtn _newTabBtn.XTheme.ColorTable = NewTabBtnColor; _newTabBtn.XTheme.RoundedRadius = 0; _newTabBtn.Click += new EventHandler(OnNewTabBtnClick); _newTabBtn.ForePathGetter = new ButtonForePathGetter( GraphicsPathHelper.CreatePlusFlag); _listAllBtn.XTheme.ColorTable = ListAllBtnColor; _listAllBtn.XTheme.RoundedRadius = 0; _listAllBtn.Click += new EventHandler(OnListAllBtnClick); _listAllBtn.ForePathGetter = new ButtonForePathGetter( GraphicsPathHelper.CreateDownTriangleFlag); _listAllBtn.ForePathSize = new Size(10, 9); _listAllBtn.XTheme.TextFont = new Font("微软雅黑", 8); _listAllBtn.SpaceBetweenImageAndText = 1; _menuPopup = new ContextMenuStrip(); }
public ControlBoxManager(SmartForm owner) { _owner = owner; BtnIni(); }