Exemplo n.º 1
0
 private void DisposeThemes()
 {
     if (m_ThemeWindow != null)
     {
         m_ThemeWindow.Dispose();
         m_ThemeWindow = null;
     }
     if (m_ThemeRebar != null)
     {
         m_ThemeRebar.Dispose();
         m_ThemeRebar = null;
     }
     if (m_ThemeToolbar != null)
     {
         m_ThemeToolbar.Dispose();
         m_ThemeToolbar = null;
     }
     if (m_ThemeHeader != null)
     {
         m_ThemeHeader.Dispose();
         m_ThemeHeader = null;
     }
     if (m_ThemeScrollBar != null)
     {
         m_ThemeScrollBar.Dispose();
         m_ThemeScrollBar = null;
     }
     if (m_ThemeProgress != null)
     {
         m_ThemeProgress.Dispose();
         m_ThemeProgress = null;
     }
     if (m_ThemeExplorerBar != null)
     {
         m_ThemeExplorerBar.Dispose();
         m_ThemeExplorerBar = null;
     }
     if (m_ThemeButton != null)
     {
         m_ThemeButton.Dispose();
         m_ThemeButton = null;
     }
 }
Exemplo n.º 2
0
		private void RefreshThemes()
		{
			if(m_ThemeWindow!=null)
			{
				m_ThemeWindow.Dispose();
				m_ThemeWindow=new ThemeWindow(this);
			}
			if(m_ThemeRebar!=null)
			{
				m_ThemeRebar.Dispose();
				m_ThemeRebar=new ThemeRebar(this);
			}
			if(m_ThemeToolbar!=null)
			{
				m_ThemeToolbar.Dispose();
				m_ThemeToolbar=new ThemeToolbar(this);
			}
			if(m_ThemeHeader!=null)
			{
				m_ThemeHeader.Dispose();
				m_ThemeHeader=new ThemeHeader(this);
			}
			if(m_ThemeScrollBar!=null)
			{
				m_ThemeScrollBar.Dispose();
				m_ThemeScrollBar=new ThemeScrollBar(this);
			}
		}
Exemplo n.º 3
0
 protected void RefreshThemes()
 {
     if (m_ThemeWindow != null)
     {
         m_ThemeWindow.Dispose();
         m_ThemeWindow = new ThemeWindow(this);
     }
     if (m_ThemeRebar != null)
     {
         m_ThemeRebar.Dispose();
         m_ThemeRebar = new ThemeRebar(this);
     }
     if (m_ThemeToolbar != null)
     {
         m_ThemeToolbar.Dispose();
         m_ThemeToolbar = new ThemeToolbar(this);
     }
     if (m_ThemeHeader != null)
     {
         m_ThemeHeader.Dispose();
         m_ThemeHeader = new ThemeHeader(this);
     }
     if (m_ThemeScrollBar != null)
     {
         m_ThemeScrollBar.Dispose();
         m_ThemeScrollBar = new ThemeScrollBar(this);
     }
     if (m_ThemeProgress != null)
     {
         m_ThemeProgress.Dispose();
         m_ThemeProgress = new ThemeProgress(this);
     }
     if (m_ThemeExplorerBar != null)
     {
         m_ThemeExplorerBar.Dispose();
         m_ThemeExplorerBar = new ThemeExplorerBar(this);
     }
     if (m_ThemeButton != null)
     {
         m_ThemeButton.Dispose();
         m_ThemeButton = new ThemeButton(this);
     }
 }
Exemplo n.º 4
0
		private void DisposeThemes()
		{
			if(m_ThemeWindow!=null)
			{
				m_ThemeWindow.Dispose();
				m_ThemeWindow=null;
			}
			if(m_ThemeRebar!=null)
			{
				m_ThemeRebar.Dispose();
				m_ThemeRebar=null;
			}
			if(m_ThemeToolbar!=null)
			{
				m_ThemeToolbar.Dispose();
				m_ThemeToolbar=null;
			}
			if(m_ThemeHeader!=null)
			{
				m_ThemeHeader.Dispose();
				m_ThemeHeader=null;
			}
			if(m_ThemeScrollBar!=null)
			{
				m_ThemeScrollBar.Dispose();
				m_ThemeScrollBar=null;
			}
		}