public override void OnClick() { if (_context.MainView.ControlType != GISControlType.PageLayout) { _context.MainView.ActivatePageLayout(); } if (_autoLayoutViewService == null) { _autoLayoutViewService = _context.Container.GetInstance <AutoLayoutViewService>(); } _autoLayoutViewService.Hide(); if (_dockService == null) { _dockService = _context.Container.GetInstance <MapTemplateViewService>(); } if (_dockService.Visible == false) { _dockService.Show(); _dockService.InitEvents(); } _plugin.IsDeign = true; }
public override void OnClick() { if (_dockService == null) { _dockService = _context.Container.GetInstance <MapTemplateViewService>(); } if (_dockService.Visible == false) { _dockService.Show(); return; } }
public override void OnClick() { if (_dockService == null) { _dockService = _context.Container.GetInstance <MapTemplateViewService>(); } if (_dockService.Visible == true) { _dockService.Hide(); _dockService.ClearEvents(); } _plugin.IsDeign = false; }