📄 mhpreview.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace mBookMaker
{
/// <summary>
/// MhPreview 的摘要说明。
/// </summary>
public class MhPreview : System.Windows.Forms.Form
{
public System.Windows.Forms.PictureBox pbMhPreview;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public MhPreview()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.pbMhPreview = new System.Windows.Forms.PictureBox();
this.SuspendLayout();
//
// pbMhPreview
//
this.pbMhPreview.Location = new System.Drawing.Point(0, 0);
this.pbMhPreview.Name = "pbMhPreview";
this.pbMhPreview.Size = new System.Drawing.Size(176, 208);
this.pbMhPreview.TabIndex = 11;
this.pbMhPreview.TabStop = false;
//
// MhPreview
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(176, 205);
this.Controls.Add(this.pbMhPreview);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "MhPreview";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
this.Text = "漫画预览";
this.TopMost = true;
this.Closing += new System.ComponentModel.CancelEventHandler(this.MhPreview_Closing);
this.ResumeLayout(false);
}
#endregion
private void MhPreview_Closing(object sender, System.ComponentModel.CancelEventArgs e)
{
e.Cancel = true;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -