请问:
如何用程序控制隐藏或去掉任务栏?

解决方案 »

  1.   

    [DllImport ("user32.dll")]
    public static extern int ShowWindow (IntPtr hWnd, int nCmdShow);[DllImport("User32.dll", CharSet=CharSet.Auto)] 
    private static extern IntPtr FindWindow(string lpClassName, string lpWindowName); private const int SW_SHOW = 5;
    private const int SW_HIDE = 0;//show
    IntPtr handle;
    int result;
    handle = FindWindow("Shell_TrayWnd", null);
    result = ShowWindow(handle, SW_SHOW);
    MessageBox.Show(result.ToString());//hide
    IntPtr handle;
    int result;
    handle = FindWindow("Shell_TrayWnd", null);
    result = ShowWindow(handle, SW_HIDE);
    MessageBox.Show(result.ToString());
      

  2.   

    请问有没有.Net的QQ群组织啊?