Click here to Skip to main content
15,894,106 members
Articles / Programming Languages / C#

Applied Use of LinFu/Cecil and Aspect-Oriented Programming Concepts - A Library

Rate me:
Please Sign up or sign in to vote.
4.88/5 (8 votes)
4 Sep 2008CPOL17 min read 35.2K   160   32  
A library of useful functionality using Aspect-Oriented Programming concepts, and implemented using the LinFu and Cecil.Mono projects/frameworks.
namespace AOPDemo
{
	partial class BankAccountControl
	{
		/// <summary> 
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.IContainer components = null;

		/// <summary> 
		/// Clean up any resources being used.
		/// </summary>
		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
		protected override void Dispose(bool disposing)
		{
			if (disposing && (components != null))
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}

		#region Component Designer generated code

		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			System.Windows.Forms.Label currentAccountBalanceLabel;
			this.btnWithdraw = new System.Windows.Forms.Button();
			this.label1 = new System.Windows.Forms.Label();
			this.withdrawlAmount = new System.Windows.Forms.NumericUpDown();
			this.btnAdd100 = new System.Windows.Forms.Button();
			this.currentAccountBalanceTextBox = new System.Windows.Forms.TextBox();
			this.panel1 = new System.Windows.Forms.Panel();
			currentAccountBalanceLabel = new System.Windows.Forms.Label();
			((System.ComponentModel.ISupportInitialize)(this.withdrawlAmount)).BeginInit();
			this.panel1.SuspendLayout();
			this.SuspendLayout();
			// 
			// currentAccountBalanceLabel
			// 
			currentAccountBalanceLabel.AutoSize = true;
			currentAccountBalanceLabel.Location = new System.Drawing.Point(3, 9);
			currentAccountBalanceLabel.Name = "currentAccountBalanceLabel";
			currentAccountBalanceLabel.Size = new System.Drawing.Size(129, 13);
			currentAccountBalanceLabel.TabIndex = 18;
			currentAccountBalanceLabel.Text = "Current Account Balance:";
			// 
			// btnWithdraw
			// 
			this.btnWithdraw.Location = new System.Drawing.Point(204, 34);
			this.btnWithdraw.Name = "btnWithdraw";
			this.btnWithdraw.Size = new System.Drawing.Size(184, 23);
			this.btnWithdraw.TabIndex = 23;
			this.btnWithdraw.Text = "Make Withdrawl";
			this.btnWithdraw.UseVisualStyleBackColor = true;
			this.btnWithdraw.Click += new System.EventHandler(this.btnWithdraw_Click);
			// 
			// label1
			// 
			this.label1.AutoSize = true;
			this.label1.Location = new System.Drawing.Point(3, 39);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(105, 13);
			this.label1.TabIndex = 22;
			this.label1.Text = "Withdrawl Amount $:";
			// 
			// withdrawlAmount
			// 
			this.withdrawlAmount.DecimalPlaces = 2;
			this.withdrawlAmount.Increment = new decimal(new int[] {
            10,
            0,
            0,
            0});
			this.withdrawlAmount.Location = new System.Drawing.Point(138, 37);
			this.withdrawlAmount.Maximum = new decimal(new int[] {
            400,
            0,
            0,
            0});
			this.withdrawlAmount.Name = "withdrawlAmount";
			this.withdrawlAmount.Size = new System.Drawing.Size(50, 20);
			this.withdrawlAmount.TabIndex = 21;
			this.withdrawlAmount.Value = new decimal(new int[] {
            40,
            0,
            0,
            0});
			// 
			// btnAdd100
			// 
			this.btnAdd100.Location = new System.Drawing.Point(204, 4);
			this.btnAdd100.Name = "btnAdd100";
			this.btnAdd100.Size = new System.Drawing.Size(184, 23);
			this.btnAdd100.TabIndex = 20;
			this.btnAdd100.Text = "Deposit $100";
			this.btnAdd100.UseVisualStyleBackColor = true;
			this.btnAdd100.Click += new System.EventHandler(this.btnAdd100_Click);
			// 
			// currentAccountBalanceTextBox
			// 
			this.currentAccountBalanceTextBox.Location = new System.Drawing.Point(138, 6);
			this.currentAccountBalanceTextBox.Name = "currentAccountBalanceTextBox";
			this.currentAccountBalanceTextBox.ReadOnly = true;
			this.currentAccountBalanceTextBox.Size = new System.Drawing.Size(60, 20);
			this.currentAccountBalanceTextBox.TabIndex = 19;
			this.currentAccountBalanceTextBox.TextChanged += new System.EventHandler(this.currentAccountBalanceTextBox_TextChanged);
			// 
			// panel1
			// 
			this.panel1.Controls.Add(currentAccountBalanceLabel);
			this.panel1.Controls.Add(this.btnAdd100);
			this.panel1.Controls.Add(this.btnWithdraw);
			this.panel1.Controls.Add(this.label1);
			this.panel1.Controls.Add(this.currentAccountBalanceTextBox);
			this.panel1.Controls.Add(this.withdrawlAmount);
			this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
			this.panel1.Location = new System.Drawing.Point(0, 0);
			this.panel1.Name = "panel1";
			this.panel1.Size = new System.Drawing.Size(391, 69);
			this.panel1.TabIndex = 24;
			// 
			// BankAccountControl
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.Controls.Add(this.panel1);
			this.Name = "BankAccountControl";
			this.Size = new System.Drawing.Size(391, 69);
			this.Load += new System.EventHandler(this.BankAccountControl_Load);
			((System.ComponentModel.ISupportInitialize)(this.withdrawlAmount)).EndInit();
			this.panel1.ResumeLayout(false);
			this.panel1.PerformLayout();
			this.ResumeLayout(false);

		}

		#endregion

		private System.Windows.Forms.Button btnWithdraw;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.NumericUpDown withdrawlAmount;
		private System.Windows.Forms.Button btnAdd100;
		private System.Windows.Forms.TextBox currentAccountBalanceTextBox;
		private System.Windows.Forms.Panel panel1;
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Troppus Software
United States United States
Currently working as a Senior Silverlight Developer with Troppus Software in Superior, CO. I enjoy statistics, programming, new technology, playing the cello, and reading codeproject articles. Smile | :)

Comments and Discussions