public ConstraintForm(Form parent, string indexName, DBRegistrationClass dbReg) { InitializeComponent(); this.MdiParent = parent; _dbReg = dbReg; IndexName = indexName; NewIndexName = indexName; _localNotify.Notify.OnRaiseErrorHandler += Notify_OnRaiseErrorHandler; _localNotify.Notify.OnRaiseInfoHandler += Notify_OnRaiseInfoHandler; TableName = RefreshIndicesAndGetTablename(); TableObject = StaticTreeClass.GetTableObjectForConstraintForm(_dbReg, TableName); }