xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 51.97MB
    文件類型: .zip
    金幣: 2
    下載: 4 次
    發布日期: 2023-02-19
  • 語言: C#
  • 標簽: C#WinForm??

資源簡介

198個經典C#WinForm實例源碼(超贊),窗體程序

資源截圖

代碼片段和文件信息

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


namespace?QQFrm
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
????????}

????????#region??公共變量
????????IntPtr?Tem_Handle;//獲取控件及窗體的句柄
????????Point?CPoint;//獲取控件中鼠標的坐標
????????static?int?Tem_place?=?0;
????????int?Frm_Height?=?0;
????????int?FrmHeight?=?0;

????????#endregion

????????#region??API聲明
????????//獲取當前鼠標下可視化控件的句柄
????????[DllImport(“user32.dll“)]
????????public?static?extern?int?WindowFromPoint(int?xPoint?int?yPoint);
????????//獲取指定句柄的父級句柄
????????[DllImport(“user32.dll“?ExactSpelling?=?true?CharSet?=?CharSet.Auto)]
????????public?static?extern?IntPtr?GetParent(IntPtr?hWnd);
????????//獲取屏幕的大小
????????[DllImport(“user32.dll“?EntryPoint?=?“GetSystemMetrics“)]
????????private?static?extern?int?GetSystemMetrics(int?mVal);
????????#endregion

????????#region??獲取當前鼠標下可視化控件的句柄
????????///?
????????///?獲取當前鼠標下可視化控件的句柄
????????///?

????????///?當前鼠標的X坐標
????????///?當前鼠標的Y坐標
????????public?IntPtr?FormNameAt(int?x?int?y)
????????{
????????????IntPtr?Tem_hWnd;//設置存儲句柄的變量
????????????Tem_Handle?=?(IntPtr)(WindowFromPoint(x?y));//獲取當前鼠標下可視化控件的句柄
????????????Tem_hWnd?=?Tem_Handle;//記錄原始句柄
????????????while?(Tem_hWnd?!=?((IntPtr)0))//遍歷該句柄的父級句柄
????????????{
????????????????Tem_Handle?=?Tem_hWnd;//記錄當前句柄
????????????????Tem_hWnd?=?GetParent(Tem_hWnd);//獲取父級句柄
????????????}
????????????return?Tem_Handle;//返回最底層的父級句柄
????????}
????????#endregion


????????private?void?timer1_Tick(object?sender?EventArgs?e)
????????{
????????????if?(this.Top?????????????????{
????????????????????if?(this.Handle?==?FormNameAt(Cursor.Position.X?Cursor.Position.Y))//當鼠標移致到該窗體上
????????????????????{
????????????????????????panel_title.Tag?=?1;//設置標識,用于判斷窗體在屏幕頂部
????????????????????????timer2.Enabled?=?false;//不對窗體進行拉伸操作
????????????????????????this.Top?=?0;//使窗體致頂
????????????????????}
????????????????????else
????????????????????{
????????????????????????panel_title.Tag?=?1;//設置標識,用于判斷窗體在屏幕頂部
????????????????????????timer2.Enabled?=?true;//將窗體在頂部進行隱藏
????????????????????}
????????????????}
????????????????else
????????????????{
????????????????????if?(this.Left??GetSystemMetrics(0)?-?3)//如果窗體被移到屏幕的左端或右端
????????????????????{
????????????????????????if?(this.Left?????????????????????????{
????????????????????????????if?(this.Handle?==?FormNameAt(Cursor.Position.X?Cursor.Position.Y))//當鼠標移致到該窗體上
????????????????????????????{
????????????????????????????????panel_title.Tag?=?2;//設置標識,用于判斷窗體在屏幕左端
????????????????????????????????timer2.Enabled?=?false;
?????????

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2012-05-02?09:58??198個經典C#WinForm實例源碼(超贊)\
?????目錄???????????0??2012-05-02?09:50??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\
?????目錄???????????0??2016-05-17?21:23??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\
?????目錄???????????0??2016-05-17?21:23??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\.vs\
?????目錄???????????0??2016-05-17?21:23??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\.vs\QQFrm\
?????目錄???????????0??2016-05-17?21:23??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\.vs\QQFrm\v14\
?????文件???????44032??2016-05-17?21:37??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\.vs\QQFrm\v14\.suo
?????目錄???????????0??2014-05-08?17:46??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\Backup\
?????目錄???????????0??2014-05-08?17:46??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\Backup\QQFrm\
?????文件????????7860??2009-02-07?15:06??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\Backup\QQFrm\Form1.cs
?????文件????????5297??2009-02-07?15:06??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\Backup\QQFrm\Form1.designer.cs
?????文件????????6203??2009-02-07?15:06??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\Backup\QQFrm\Form1.resx
?????目錄???????????0??2014-05-08?17:46??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\Backup\QQFrm\Image\
?????文件????????2104??2009-02-07?23:01??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\Backup\QQFrm\Image\01.BMP
?????文件??????156216??2010-08-18?17:50??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\Backup\QQFrm\Image\02.BMP
?????文件???????21134??2009-01-16?10:31??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\Backup\QQFrm\Image\1.bmp
?????文件??????210174??2010-08-18?17:50??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\Backup\QQFrm\Image\2.bmp
?????文件????????1210??2009-01-16?10:25??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\Backup\QQFrm\Image\Close.bmp
?????文件?????????486??2009-02-07?14:23??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\Backup\QQFrm\Program.cs
?????目錄???????????0??2014-05-08?17:46??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\Backup\QQFrm\Properties\
?????文件????????1342??2009-02-07?14:23??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\Backup\QQFrm\Properties\AssemblyInfo.cs
?????文件????????4059??2009-02-07?15:06??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\Backup\QQFrm\Properties\Resources.Designer.cs
?????文件????????7113??2009-02-07?15:06??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\Backup\QQFrm\Properties\Resources.resx
?????文件????????1090??2009-02-07?14:23??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\Backup\QQFrm\Properties\Settings.Designer.cs
?????文件?????????249??2009-02-07?14:23??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\Backup\QQFrm\Properties\Settings.settings
?????文件????????4099??2009-02-07?15:06??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\Backup\QQFrm\QQFrm.csproj
?????文件?????????905??2009-02-07?14:23??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\Backup\QQFrm.sln
?????文件???????15872??2009-02-07?15:57??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\Backup\QQFrm.suo
?????目錄???????????0??2016-05-17?21:28??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\QQFrm\
?????文件????????5797??2016-05-17?21:28??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\QQFrm\Form1.Designer.cs
?????文件????????7970??2016-05-17?21:28??198個經典C#WinForm實例源碼(超贊)\01-窗體技巧\QQ窗體\QQFrm\Form1.cs
............此處省略7033個文件信息

評論

共有 條評論