C# 实现 远程桌面

yeyanbinghappy 2010-04-02 05:42:45
public void CallRemoteWindow(String host, String user, String pass)
{
rdp.Visible = true;
this.Text = "Windows虚拟机" + host;

this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.WindowState = FormWindowState.Maximized;

rdp.Width = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width;
rdp.Height = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height;
rdp.Server = host;
rdp.FullScreenTitle = "yyb";
// rdp.

// rdp.SecuredSettings.FullScreen = 0;
rdp.UserName = user;
// rdp.SecuredSettings.
this.Visible = true;
rdp.Connect();

}
通过mstsc进入时,顶端会显示最大化最小化关闭,我设置后直接进入远程桌面页面,没有最大化最小化关闭,需要修改什么设置呢?
...全文
481 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
捷哥1999 2010-06-10
  • 打赏
  • 举报
回复
Multi Remote Desktop Client .NET
http://multirdpc.codeplex.com/
捷哥1999 2010-06-10
  • 打赏
  • 举报
回复
看看这个?
VncSharp: A .NET VNC Client Library
http://cdot.senecac.on.ca/projects/vncsharp/
灵度创想 2010-06-10
  • 打赏
  • 举报
回复
消灭0回复
yeyanbinghappy 2010-06-10
  • 打赏
  • 举报
回复
为什么没有答复呢?

110,536

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧