Exemplo n.º 1
0
 static public void HideTaskbar()
 {
     SetTaskbarState(AppBarStates.AutoHide);
     Taskbar.Hide();
     System.Threading.Thread.Sleep(100);
     Taskbar.Hide();
 }
Exemplo n.º 2
0
        //-----------------------------------------------

        //Hide taskbar-----------------------------------
        private void button1_Click(object sender, EventArgs e)
        {
            SetTaskbarState(AppBarStates.AutoHide);
            Taskbar.Hide();
            System.Threading.Thread.Sleep(100);
            Taskbar.Hide();
        }
Exemplo n.º 3
0
        //-----------------------------------------------

        //Show taskbar-----------------------------------
        private void button2_Click(object sender, EventArgs e)
        {
            Taskbar.Show();
            SetTaskbarState(AppBarStates.AlwaysOnTop);
        }
Exemplo n.º 4
0
 static public void ShowTaskbar()
 {
     Taskbar.Show();
     SetTaskbarState(AppBarStates.AlwaysOnTop);
 }