请问各位大虾,我想改变winform中窗体名字的字体,颜色,怎么设置阿?
   假如我的窗体名字是“我的程序“,我想将这四个字加粗,字体大小为12,用font的话是指改变窗体中控件的字体阿,该怎么用,谢谢哦!!

解决方案 »

  1.   

    利用窗體的Font屬性試試。在IDE的屬性欄中設置。
      

  2.   

    那个用了的话我现在这个界面的size,控件与控件的间隔等都会变啊!!
      

  3.   

    哦,“zzy1254”那个可以改我吗?怎么弄阿?
      

  4.   

    请问“wdy9927()”具体怎么画啊?
      

  5.   

    如果重画的话,需要重写窗体的Drawing
    比较麻烦,说白了我也不会写,所以一般只用Windows自带的就可以了
      

  6.   

    如果真是就在你的程序范围改变标题,那么可能就要自己来画,这个不太容易,如果不想那么麻烦,只是觉得好玩些,那就不必了,还是和Window系统一致比较好.
      

  7.   

    窗体好像有个属性,叫什么scall的,可以设置Font改变的时候,窗体大小是否改变的。
      

  8.   

    自己画个窗体就可以实现了
    我这里的用一个Label和一个Button实现的,把Label的背景图片设为你生成的图片,和标题栏的蓝色一样,这样在Label中你就可以设置字体样式了,然后在右边的Button中实现关闭的效果
    实现Label的MouseDown、MouseUp和MouseMove方法
    private void MouseDown(object sender, MouseEventArgs e)
    {
    // when the mouse is down we must activate
    // a flag to say that the left button is down
    // and then store the current position
    // of the mouse and the form and we will 
    // use these posotions to calculate the offset
    // that must be added to the loaction
    if(e.Button==MouseButtons.Left)
    {
    mouseDown = true;
    MouseCurrrnetPos = Control.MousePosition;
    formPos = this.Location;
    }
    }private void MouseUp(object sender, MouseEventArgs e)
    {
    if(e.Button==MouseButtons.Left)
    mouseDown=false;
    }private void MouseMove(object sender, MouseEventArgs e)
    {
    if(mouseDown==true)
    {
    // get the position of the mouse in the screen
    MouseNewPos=Control.MousePosition; formNewPos.X=MouseNewPos.X-MouseCurrrnetPos.X+formPos.X;
    formNewPos.Y=MouseNewPos.Y-MouseCurrrnetPos.Y+formPos.Y; Location=formNewPos;
    formPos=formNewPos;
    MouseCurrrnetPos=MouseNewPos;
    }

    }
      

  9.   

    請問"game_over"具体是哪个属性阿?
      

  10.   

    谢谢各位支持哦,速度用“MatrixB“这种方法试试