public void FixtureInit() { m_window = new XWindow(); // delete any existing property table settings. m_window.PropertyTable.RemoveLocalAndGlobalSettings(); m_window.LoadUI(ConfigurationFilePath); //m_window.Show(); }
/// ------------------------------------------------------------------------------------ /// <summary> /// Counts the tree nodes in the far left pane. /// </summary> /// ------------------------------------------------------------------------------------ // public void search(AccessibleObject o) // { // System.Diagnostics.Debug.WriteLine(o.Name + ";"+ o.Role); // int i = o.GetChildCount(); // for(;i>0; i--) // { // AccessibleObject c = o.GetChild(i); // search(c); // } // // } // protected void ReopenWindow() { m_window.Close(); m_window.Dispose(); m_window = new XWindow(); m_window.LoadUI(ConfigurationFilePath); m_window.Show(); }
/// ------------------------------------------------------------------------------------ /// <summary> /// Counts the tree nodes in the far left pane. /// </summary> /// ------------------------------------------------------------------------------------ // public void search(AccessibleObject o) // { // System.Diagnostics.Debug.WriteLine(o.Name + ";"+ o.Role); // int i = o.GetChildCount(); // for(;i>0; i--) // { // AccessibleObject c = o.GetChild(i); // search(c); // } // // } // protected void ReopenWindow() { m_window.Close(); m_window.Dispose(); m_window = new XWindow(); m_window.PropertyTable.UserSettingDirectory = m_settingsPath; m_window.LoadUI(ConfigurationFilePath); m_window.Show(); }
public override void FixtureSetup() { base.FixtureSetup(); // load a persisted version of the property table. m_settingsPath = Path.Combine(TempPath, "settingsBackup"); if (!Directory.Exists(m_settingsPath)) { Directory.CreateDirectory(m_settingsPath); } m_window = new XWindow(); m_window.PropertyTable.UserSettingDirectory = m_settingsPath; // delete any existing property table settings. m_window.PropertyTable.RemoveLocalAndGlobalSettings(); m_window.LoadUI(ConfigurationFilePath); //m_window.Show(); }