C# Class Cyjb.Projects.JigsawGame.NewGameForm

新建游戏的窗体。
Inheritance: System.Windows.Forms.Form
Show file Open project: CYJB/Cyjb.Projects.JigsawGame Class Usage Examples

Public Methods

Method Description
NewGameForm ( ) : System

构造函数。

Protected Methods

Method Description
Dispose ( bool disposing ) : void

清理所有正在使用的资源。

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

MultiplyFormat ( int left, int right ) : string

将指定数字格式化为相乘的格式。

PartitionImage ( ) : void

划分游戏图片。

btnOK_Click ( object sender, EventArgs e ) : void

确定按钮按下的事件。

btnPic_Click ( object sender, EventArgs e ) : void

浏览图片。

combDifficulty_SelectedIndexChanged ( object sender, EventArgs e ) : void

难度被改变的事件。

picture_Paint ( object sender, PaintEventArgs e ) : void

在图像上绘制网格。

picture_Resize ( object sender, EventArgs e ) : void

图片框大小被改变的事件。

tbarDifficulty_Scroll ( object sender, EventArgs e ) : void

更新游戏难度信息。

tbarRand_Scroll ( object sender, EventArgs e ) : void

随机程度被改变的事件。

Method Details

Dispose() protected method

清理所有正在使用的资源。
protected Dispose ( bool disposing ) : void
disposing bool 如果应释放托管资源,为 true;否则为 false
return void

NewGameForm() public method

构造函数。
public NewGameForm ( ) : System
return System