private void SettingForm_Load(object sender, EventArgs e) { //初始化调用不规则窗体生成代码 BitmapRegion BitmapRegion = new BitmapRegion();//此为生成不规则窗体和控件的类 //BitmapRegion.CreateControlRegion(this, EJZLibrary.Properties.ResourceBackgroundImage.configFormBackground_01); //打开窗体特效 AnimateWindow(this.Handle, 1000, AW_CENTER | AW_ACTIVATE); tckback.Value = Convert.ToInt32(PublicClass.Diaphaneity); }
private void Form1_Load(object sender, EventArgs e) { //初始化调用不规则窗体生成代码 BitmapRegion BitmapRegion = new BitmapRegion();//此为生成不规则窗体和控件的类 // BitmapRegion.CreateControlRegion(this, EJZLibrary.Properties.ResourceBackgroundImage.MainFormBackground_01); //磁性窗体的页面加载事件《下》; _x = this.Location.X + this.Width; //变量_x等于窗体x轴大小; _y = this.Location.Y; //变量_y等于窗体y轴大小 }