Esempio n. 1
0
        public bool ShowDataOperModuleDesign(IDBQuery dbHelper, DataOperModuleDesign dataOperDesign, IWin32Window owner)
        {
            _isOk           = false;
            _dataOperDesign = dataOperDesign;
            _dbHelper       = dbHelper;

            this.ShowDialog(owner);

            return(_isOk);
        }
        protected override void ReloadCustomDesign(string customContext)
        {
            if (string.IsNullOrEmpty(customContext))
            {
                return;
            }

            _dataOperDesign = JsonHelper.DeserializeObject <DataOperModuleDesign>(customContext);

            LoadDesign();
        }
        public DataOperControl()
        {
            InitializeComponent();

            _dataOperDesign = new DataOperModuleDesign();
        }