protected override void OnConnect() { RealNode.ExpandNode(); if (m_conn.Settings.Tree().AutoExpandTables) { MainWindow.Instance.RunInMainWindow(RealNode.ChildByName("tables").ExpandNode); } }
protected override void OnConnect() { RealNode.ExpandNode(); bool expand; try { expand = m_conn.Connection.FindSettings(null).Tree().AutoExpandDatabases; } catch { expand = false; } if (expand) { MainWindow.Instance.RunInMainWindow(RealNode.ChildByName("databases").ExpandNode); } }