91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 7.45MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-09-22
  • 語言: C#
  • 標簽: WinForm??

資源簡介

WinForm界面美化浮動彈窗源碼 源碼描述: 運行環境:VS2010 NET2.0 技術特點: 透明界面美化 彈窗 登入框驗證,注冊表記錄用戶及密碼,進度條,登入信息保存 功能描述: 1 登入界面功能:登入框驗證,注冊表記錄用戶及密碼,進度條,winform登入信息保存 2 主界面功能:透明界面美化,透明按鈕切換,用戶信息傳遞,最大化,最小化,關閉,移動窗口,定時器,彈窗,頁面傳值 3 右下角浮動彈窗功能:透明界面美化, 透明按鈕切換,關閉,移動窗口,頁面傳值

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?System.Runtime.InteropServices;
using?System.Drawing.Imaging;
using?Product.Forms;

namespace?Product
{
????public?partial?class?ArtDialog?:?Form
????{

????????public?ArtDialog()
????????{
????????????InitializeComponent();

????????????//?初始化提示框窗體的狀態及位置
????????????area?=?Screen.GetWorkingArea(this);??//?獲取顯示器的工作區域,即顯示器的桌面區域,不包括任務欄及停靠窗口和停靠工具欄
????????????this.Left?=?area.Width?-?this.Width;
????????????this.Top?=?area.Height;
????????}

????????Rectangle?area?=?new?Rectangle();
????????bool?isStop?=?false;?//?初始化提示框窗體為隨時可上升

????????int?step?=?12;?//?設置窗體每次上升與下降時的高度
????????int?StayTime?=?10;?//設置窗體停靠的時間(單位為秒)

????????DateTime?beginTime;
????????bool?isClose?=?false;?//?設置窗體是否關閉的狀態標志位



????????private?void?ArtDialog_Load(object?sender?EventArgs?e)
????????{
????????????//?設置記錄消息
????????????this.labtitle.Text?=?title;
????????????this.lbText.Text?=?Content;
????????????this.timeDialog.Start();

????????????this.panBody.BackgroundImage?=?Image.FromStream(Shared.AssemblyWinUI.GetManifestResourceStream(“Product.Resources.MainWin.ArtDialog.bg.png“));

????????????Bitmap?closeICO?=?new?Bitmap(Bitmap.FromStream(Shared.AssemblyWinUI.GetManifestResourceStream(“Product.Resources.MainWin.ArtDialog.ArtDialog_Close.png“)));
????????????this.btnClose.NormalImage?=?closeICO.Clone(new?Rectangle(0?0?36?16)?PixelFormat.Format64bppPArgb);
????????????this.btnClose.MouseMoveImage?=?closeICO.Clone(new?Rectangle(36?0?36?16)?PixelFormat.Format64bppPArgb);
????????????this.btnClose.MouseDownImage?=?closeICO.Clone(new?Rectangle(72?0?36?16)?PixelFormat.Format64bppPArgb);

????????}

????????public?string?Content?{?get;?set;?}
????????public?string?title?{?get;?set;?}
????????public?DateTime?DateTime?{?get;?set;?}
????????public?string?Url?{?get;?set;?}

????????#region?移動窗體
????????private?void?Win_MouseMove(object?sender?MouseEventArgs?e)
????????{
????????????if?(WindowState?==?FormWindowState.Maximized)?return;


????????????((Control)sender).Cursor?=?Cursors.Default;
????????????if?(e.Button?==?MouseButtons.Left?&&?e.Y?<=?SystemInformation.CaptionHeight)
????????????{
????????????????Win32.ReleaseCapture();
????????????????Win32.SendMessage(Handle?274?61440?+?9?0);
????????????}
????????}
????????#endregion

????????private?void?btnClose_Click(object?sender?EventArgs?e)
????????{
????????????isClose?=?true;
????????}

????????private?void?lbText_linkClicked(object?sender?linkLabellinkClickedEventArgs?e)
????????{
????????????MainWin?item?=?(MainWin)this.Owner;
????????????item.WebBrowserUrl(Url);
????????????item.Show();
????????}

????????private?void?timeDialog_Tick(object?sender?EventArgs?e)
????????{
????????????//?如果狀態為顯示提示框(即isStop為false),則使其距離顯示器的上部越來越小(即減小Top的值),窗體的位置及慢慢上升
???????

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????156??2012-11-14?10:10??app.config
?????文件????????4390??2012-11-14?10:10??ArtDialog.cs
?????文件????????6213??2012-11-14?10:10??ArtDialog.Designer.cs
?????文件????????6015??2012-11-14?10:10??ArtDialog.resx
?????文件????????4945??2012-11-14?10:10??from.gif
?????文件????????6957??2012-11-14?10:10??Login.cs
?????文件???????12225??2012-11-14?10:10??Login.Designer.cs
?????文件??????155637??2012-11-14?10:10??Login.resx
?????文件???????99678??2012-11-14?10:10??logo.ico
?????文件?????????762??2012-11-14?10:10??MainWin.cs
?????文件????????2723??2012-11-14?10:10??MainWin.Designer.cs
?????文件??????156390??2012-11-14?10:10??MainWin.resx
?????文件????????8335??2012-11-14?10:10??Product.csproj
?????文件?????????227??2012-11-14?10:10??Product.csproj.user
?????文件????????1482??2012-11-14?10:10??Product.idc
?????文件?????????855??2012-11-14?10:10??Product.sln
?????文件???????28160??2012-11-14?10:10??Product.suo
?????文件?????????491??2012-11-14?10:10??Program.cs
?????文件??????863232??2012-11-14?10:10??bin\Debug\Product.exe
?????文件?????????156??2012-11-14?10:10??bin\Debug\Product.exe.config
?????文件??????140800??2012-11-14?10:10??bin\Debug\Product.pdb
?????文件???????11608??2012-11-14?10:10??bin\Debug\Product.vshost.exe
?????文件?????????156??2012-11-14?10:10??bin\Debug\Product.vshost.exe.config
?????文件?????????490??2012-11-14?10:10??bin\Debug\Product.vshost.exe.manifest
?????文件?????2927616??2012-11-14?10:10??bin\Debug\System.Data.dll
?????文件??????970752??2012-11-14?10:10??bin\Debug\System.Deployment.dll
?????文件?????3190784??2012-11-14?10:10??bin\Debug\System.dll
?????文件??????630784??2012-11-14?10:10??bin\Debug\System.Drawing.dll
?????文件?????5025792??2012-11-14?10:10??bin\Debug\System.Windows.Forms.dll
?????文件?????2048000??2012-11-14?10:10??bin\Debug\System.xml.dll
?????文件?????????156??2012-11-14?10:10??bin\Release\Product.exe.config
............此處省略112個文件信息

評論

共有 條評論