public QueryControl() { InitializeComponent(); queryFace1.SimpleState = false; queryFace1.OnRequestSystemPar += RequestSystemPar; _queryDesign = new QueryModuleDesign(); }
public bool ShowDesign(QueryModuleDesign queryDesign, IDBQuery dbHelper, IWin32Window owner) { _isOk = false; _queryDesign = queryDesign; _dbHelper = dbHelper; this.ShowDialog(owner); return(_isOk); }
protected override void ReloadCustomDesign(string customContext) { if (string.IsNullOrEmpty(customContext)) { return; } _queryDesign = JsonHelper.DeserializeObject <QueryModuleDesign>(customContext); LoadDesign(); }