예제 #1
0
        public QueryControl()
        {
            InitializeComponent();

            queryFace1.SimpleState         = false;
            queryFace1.OnRequestSystemPar += RequestSystemPar;

            _queryDesign = new QueryModuleDesign();
        }
예제 #2
0
        public bool ShowDesign(QueryModuleDesign queryDesign, IDBQuery dbHelper, IWin32Window owner)
        {
            _isOk        = false;
            _queryDesign = queryDesign;
            _dbHelper    = dbHelper;

            this.ShowDialog(owner);

            return(_isOk);
        }
예제 #3
0
        protected override void ReloadCustomDesign(string customContext)
        {
            if (string.IsNullOrEmpty(customContext))
            {
                return;
            }

            _queryDesign = JsonHelper.DeserializeObject <QueryModuleDesign>(customContext);


            LoadDesign();
        }