コード例 #1
0
ファイル: XWindowTestsBase.cs プロジェクト: sillsdev/WorldPad
        /// ------------------------------------------------------------------------------------
        /// <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();
        }
コード例 #2
0
        /// ------------------------------------------------------------------------------------
        /// <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();
        }
コード例 #3
0
ファイル: XWindowTestsBase.cs プロジェクト: sillsdev/WorldPad
		/// ------------------------------------------------------------------------------------
		/// <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();

		}