c#怎么样让窗口没有标题栏,但是有周围边框
this.FormBorderStyle = FormBorderStyle.None;这样连边框也没有
------解决方案--------------------ControlBox = false
MinimizeBox = false
MaximizeBox = false
ShowInTaskBar = false
Text = ""
------解决方案--------------------
namespace WindowsFormsApplication1
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify