- 博客(0)
- 资源 (4)
- 收藏
- 关注
Mapbar 地图 API
Mapbar 地图 API 让您可以使用 JavaScript 将 Mapbar地图嵌入您自己的网页中。API 提供了许多方法与地图交互(正如 http://www.mapbar.com/localsearch/index.html 网页上显示的),以及一系列向地图添加内容的服务,从而使您可以在自己的网站上创建稳定的地图应用程序。
2010-08-17
c# 防止 打开 重复子窗体
bool cwExists = false; //子窗体是否已经存在
foreach (System.Windows.Forms.Form ff in parentWindow.MdiChildren)
{
//把活动的子窗体最小化
ff.WindowState = System.Windows.Forms.FormWindowState.Minimized;
//如果是要打开的子窗体,激活并还原子窗体
if (ff.Name == childrenWindow.Name)
{
ff.Activate();
//ff.Size = ff.Parent.Size;
ff.WindowState = System.Windows.Forms.FormWindowState.Normal;
ff.Left = ff.Top = 0; //打开位置居于左上角
cwExists = true; //子窗体存在
}
}
//子窗体不存在,打开子窗体
if (cwExists == false)
{
parentWindow.IsMdiContainer = true;
childrenWindow.MdiParent = parentWindow;
childrenWindow.WindowState = System.Windows.Forms.FormWindowState.Normal;
childrenWindow.Show();
childrenWindow.Left = childrenWindow.Top = 0; //打开位置居于左上角
}
2010-07-30
c#壁纸切换c#代码
本程序介绍换壁纸/截取图片
g.CopyFromScreen(0, 0, 0, 0, Screen.PrimaryScreen.Bounds.Size);
g.Save();
//图像格式
2010-03-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人