偶尔浏图像编程的小例子。想想自己学了这么多天,还不知道图像编程是怎么回事呢。于是,小试了一下。等功力提升再完善吧。
- namespace WindowsApplication1
- {
- partial class Form1
- {
- /// <summary>
- /// 必需的设计器变量。
- /// </summary>
- private System.ComponentModel.IContainer components = null;
- /// <summary>
- /// 清理所有正在使用的资源。
- /// </summary>
- /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
- #region Windows 窗体设计器生成的代码
- /// <summary>
- /// 设计器支持所需的方法 - 不要
- /// 使用代码编辑器修改此方法的内容。
- /// </summary>
- private void InitializeComponent()
- {
- this.pcbA = new System.Windows.Forms.PictureBox();
- this.btnLoadBmp = new System.Windows.Forms.Button();
- this.pcbB = new System.Windows.Forms.PictureBox();
- this.btnTurnRed = new System.Windows.Forms.Button();
- this.label1 = new System.Windows.Forms.Label();
- this.label2 = new System.Windows.Forms.Label();
- ((System.ComponentModel.ISupportInitialize)(this.pcbA)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this