public void ShowDesign(InfoModuleDesign infoDesign, IDBQuery dbHelper, IWin32Window owner)
        {
            _infoDesign = infoDesign;
            _dbHelper   = dbHelper;

            this.ShowDialog(owner);
        }
        public InfoControl()
        {
            InitializeComponent();
            _infoDesign = new InfoModuleDesign();

            _ic = new InfoConfig();

            _ic.ZoomFactor = 1;
        }
        protected override void ReloadCustomDesign(string customContext)
        {
            if (string.IsNullOrEmpty(customContext))
            {
                return;
            }

            _infoDesign = JsonHelper.DeserializeObject <InfoModuleDesign>(customContext);

            if (_infoDesign != null)
            {
                if (this.DesignMode)
                {
                    _curBizData = new BizDataItem();

                    ReloadData();
                }
            }
        }