WinFormsPopupAlerts/TopFormBase.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using System.Drawing;
namespace WinFormsPopupAlerts
{
/// <summary>
/// Represents an always top window.
/// </summary>
[System.ComponentModel.ToolboxItem(false)]
public abstract class TopFormBase : Form
{
public virtual Rectangle RealBounds
{
get
{
return Rectangle.Empty;
}
set
{
}
}
protected override CreateParams CreateParams
{
get
{
CreateParams createParams = base.CreateParams;
createParams.ExStyle |= 128;
return createParams;
}
}
protected virtual bool IsTopMost
{
get
{
return true;
}
}
protected virtual IntPtr InsertAfterWindow
{
get
{
return (IntPtr)(this.IsTopMost ? -1 : 0);
}
}
protected override bool ShowWithoutActivation
{
get
{
return true;
}
}
后面还有 97 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。