各位大侠, 
请问下酒店房态图应该怎么实现啊? 
  界面就和元素周期表界面一样的,该怎么做呢?用什么方法实现呢? 
请高手赐教,小弟感激不尽.
有相关的实际例子给一个更好,只希望各位给个提示

解决方案 »

  1.   

    网上有个XPTable的自定义控件,里面每个cell都可以显示缩略图,这样不就可以实现像显示了吗?而且点击也可以用触发功能实现。
      

  2.   

    用BUTTON就行,记录下,颜色变个就好。
      

  3.   

    首先准备几张房间状态的图片,再在窗口上画几个图片框即pictureBox,根据你的需求更改图片框的图片即可.
      

  4.   

    http://download.csdn.net/source/1545620这个地址有房态图的用法,可以下看看
      

  5.   

    http://download.csdn.net/source/1545620这个地址有房态图的用法,可以下看看
      

  6.   

    再利用语名
    pictureBox1.Image =System.Drawing.Image.FromFile( @"C:\Documents and Settings\xiabings\My Documents\111\房间图示意\Resources\blogicon_002.png");
    @"C:\Documents and Settings\xiabings\My Documents\111\房间图示意\Resources\blogicon_002.png"为图片所在的目录.即可改变图片.
       
      

  7.   

    可以用 listView1 做this.listView1.View = View.LargeIcon;   //缩略图this.listView1.View = View.Details;     //列表
      

  8.   

    在 imageList 里填几个图片  然后做关联就OK了
      

  9.   

    litview里使用图片
    http://topic.csdn.net/u/20080416/13/d286bc8e-5936-4002-b753-3df4ced03976.html
    http://topic.csdn.net/u/20090622/14/c4f66d75-5b29-4992-9fb0-1deb99f467d7.html
      

  10.   

    controls["labelname"]找到label,修改背景图片

    protected override void OnPaint(PaintEventArgs e)
            {
                base.OnPaint(e);
                BackColor = Color.Transparent;
                Graphics g = e.Graphics;
                Pen p = new Pen(Color.Black, 1);
                Rectangle rect = ClientRectangle;
                rect.Location = new Point(2, 2);
                rect.Width = ClientRectangle.Width - 4;
                rect.Height = ClientRectangle.Height - 4;
      }重绘