Пример #1
0
        public void ShowDesign(InfoModuleDesign infoDesign, IDBQuery dbHelper, IWin32Window owner)
        {
            _infoDesign = infoDesign;
            _dbHelper   = dbHelper;

            this.ShowDialog(owner);
        }
Пример #2
0
        public InfoControl()
        {
            InitializeComponent();
            _infoDesign = new InfoModuleDesign();

            _ic = new InfoConfig();

            _ic.ZoomFactor = 1;
        }
Пример #3
0
        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();
                }
            }
        }