diff Demo/WinForms/Forms/MainForm.Designer.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Demo/WinForms/Forms/MainForm.Designer.cs	Thu Mar 27 21:46:09 2014 +0400
@@ -0,0 +1,319 @@
+namespace BLToolkit.Demo.Forms
+{
+	partial class MainForm
+	{
+		/// <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 Windows Form 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()
+		{
+			this.components = new System.ComponentModel.Container();
+			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
+			System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+			this.personGridView = new System.Windows.Forms.DataGridView();
+			this.toolStripContainer = new System.Windows.Forms.ToolStripContainer();
+			this.menu = new System.Windows.Forms.MenuStrip();
+			this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+			this.exitMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+			this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+			this.newMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+			this.editMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+			this.deleteMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+			this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+			this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+			this.tool = new System.Windows.Forms.ToolStrip();
+			this.newToolStripButton = new System.Windows.Forms.ToolStripButton();
+			this.editToolStripButton = new System.Windows.Forms.ToolStripButton();
+			this.deleteToolStripButton = new System.Windows.Forms.ToolStripButton();
+			this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
+			this.helpToolStripButton = new System.Windows.Forms.ToolStripButton();
+			this.iDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+			this.fullNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+			this.genderDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+			this.personBinder = new BLToolkit.ComponentModel.ObjectBinder(this.components);
+			((System.ComponentModel.ISupportInitialize)(this.personGridView)).BeginInit();
+			this.toolStripContainer.ContentPanel.SuspendLayout();
+			this.toolStripContainer.TopToolStripPanel.SuspendLayout();
+			this.toolStripContainer.SuspendLayout();
+			this.menu.SuspendLayout();
+			this.tool.SuspendLayout();
+			this.SuspendLayout();
+			// 
+			// personGridView
+			// 
+			this.personGridView.AllowUserToOrderColumns = true;
+			this.personGridView.AutoGenerateColumns = false;
+			this.personGridView.BorderStyle = System.Windows.Forms.BorderStyle.None;
+			this.personGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+			this.personGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.iDDataGridViewTextBoxColumn,
+            this.fullNameDataGridViewTextBoxColumn,
+            this.genderDataGridViewTextBoxColumn});
+			this.personGridView.DataSource = this.personBinder;
+			this.personGridView.Dock = System.Windows.Forms.DockStyle.Fill;
+			this.personGridView.Location = new System.Drawing.Point(0, 0);
+			this.personGridView.Name = "personGridView";
+			this.personGridView.Size = new System.Drawing.Size(615, 344);
+			this.personGridView.TabIndex = 0;
+			this.personGridView.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.personGridView_CellDoubleClick);
+			// 
+			// toolStripContainer
+			// 
+			// 
+			// toolStripContainer.ContentPanel
+			// 
+			this.toolStripContainer.ContentPanel.Controls.Add(this.personGridView);
+			this.toolStripContainer.ContentPanel.Size = new System.Drawing.Size(615, 344);
+			this.toolStripContainer.Dock = System.Windows.Forms.DockStyle.Fill;
+			this.toolStripContainer.Location = new System.Drawing.Point(0, 0);
+			this.toolStripContainer.Name = "toolStripContainer";
+			this.toolStripContainer.Size = new System.Drawing.Size(615, 393);
+			this.toolStripContainer.TabIndex = 2;
+			this.toolStripContainer.Text = "toolStripContainer1";
+			// 
+			// toolStripContainer.TopToolStripPanel
+			// 
+			this.toolStripContainer.TopToolStripPanel.Controls.Add(this.menu);
+			this.toolStripContainer.TopToolStripPanel.Controls.Add(this.tool);
+			// 
+			// menu
+			// 
+			this.menu.Dock = System.Windows.Forms.DockStyle.None;
+			this.menu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+            this.fileToolStripMenuItem,
+            this.editToolStripMenuItem,
+            this.helpToolStripMenuItem});
+			this.menu.Location = new System.Drawing.Point(0, 0);
+			this.menu.Name = "menu";
+			this.menu.Size = new System.Drawing.Size(615, 24);
+			this.menu.TabIndex = 0;
+			this.menu.Text = "menuStrip1";
+			// 
+			// fileToolStripMenuItem
+			// 
+			this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+            this.exitMenuItem});
+			this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
+			this.fileToolStripMenuItem.Size = new System.Drawing.Size(40, 20);
+			this.fileToolStripMenuItem.Text = "&File";
+			// 
+			// exitMenuItem
+			// 
+			this.exitMenuItem.Name = "exitMenuItem";
+			this.exitMenuItem.Size = new System.Drawing.Size(109, 22);
+			this.exitMenuItem.Text = "E&xit";
+			this.exitMenuItem.Click += new System.EventHandler(this.exit_Click);
+			// 
+			// editToolStripMenuItem
+			// 
+			this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+            this.newMenuItem,
+            this.editMenuItem,
+            this.deleteMenuItem});
+			this.editToolStripMenuItem.Name = "editToolStripMenuItem";
+			this.editToolStripMenuItem.Size = new System.Drawing.Size(41, 20);
+			this.editToolStripMenuItem.Text = "&Edit";
+			// 
+			// newMenuItem
+			// 
+			this.newMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newMenuItem.Image")));
+			this.newMenuItem.Name = "newMenuItem";
+			this.newMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
+			this.newMenuItem.Size = new System.Drawing.Size(158, 22);
+			this.newMenuItem.Text = "&New";
+			this.newMenuItem.Click += new System.EventHandler(this.new_Click);
+			// 
+			// editMenuItem
+			// 
+			this.editMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("editMenuItem.Image")));
+			this.editMenuItem.Name = "editMenuItem";
+			this.editMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E)));
+			this.editMenuItem.Size = new System.Drawing.Size(158, 22);
+			this.editMenuItem.Text = "&Edit";
+			this.editMenuItem.Click += new System.EventHandler(this.edit_Click);
+			// 
+			// deleteMenuItem
+			// 
+			this.deleteMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("deleteMenuItem.Image")));
+			this.deleteMenuItem.Name = "deleteMenuItem";
+			this.deleteMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Delete;
+			this.deleteMenuItem.Size = new System.Drawing.Size(158, 22);
+			this.deleteMenuItem.Text = "&Delete";
+			this.deleteMenuItem.Click += new System.EventHandler(this.delete_Click);
+			// 
+			// helpToolStripMenuItem
+			// 
+			this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+            this.aboutToolStripMenuItem});
+			this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
+			this.helpToolStripMenuItem.Size = new System.Drawing.Size(45, 20);
+			this.helpToolStripMenuItem.Text = "&Help";
+			// 
+			// aboutToolStripMenuItem
+			// 
+			this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
+			this.aboutToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
+			this.aboutToolStripMenuItem.Text = "&About";
+			// 
+			// tool
+			// 
+			this.tool.Dock = System.Windows.Forms.DockStyle.None;
+			this.tool.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+            this.newToolStripButton,
+            this.editToolStripButton,
+            this.deleteToolStripButton,
+            this.toolStripSeparator7,
+            this.helpToolStripButton});
+			this.tool.Location = new System.Drawing.Point(3, 24);
+			this.tool.Name = "tool";
+			this.tool.Size = new System.Drawing.Size(110, 25);
+			this.tool.TabIndex = 1;
+			this.tool.Text = "toolStrip1";
+			// 
+			// newToolStripButton
+			// 
+			this.newToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+			this.newToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripButton.Image")));
+			this.newToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
+			this.newToolStripButton.Name = "newToolStripButton";
+			this.newToolStripButton.Size = new System.Drawing.Size(23, 22);
+			this.newToolStripButton.Text = "&New";
+			this.newToolStripButton.Click += new System.EventHandler(this.new_Click);
+			// 
+			// editToolStripButton
+			// 
+			this.editToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+			this.editToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("editToolStripButton.Image")));
+			this.editToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
+			this.editToolStripButton.Name = "editToolStripButton";
+			this.editToolStripButton.Size = new System.Drawing.Size(23, 22);
+			this.editToolStripButton.Text = "&Edit";
+			this.editToolStripButton.Click += new System.EventHandler(this.edit_Click);
+			// 
+			// deleteToolStripButton
+			// 
+			this.deleteToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+			this.deleteToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("deleteToolStripButton.Image")));
+			this.deleteToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
+			this.deleteToolStripButton.Name = "deleteToolStripButton";
+			this.deleteToolStripButton.Size = new System.Drawing.Size(23, 22);
+			this.deleteToolStripButton.Text = "&Delete";
+			this.deleteToolStripButton.Click += new System.EventHandler(this.delete_Click);
+			// 
+			// toolStripSeparator7
+			// 
+			this.toolStripSeparator7.Name = "toolStripSeparator7";
+			this.toolStripSeparator7.Size = new System.Drawing.Size(6, 25);
+			// 
+			// helpToolStripButton
+			// 
+			this.helpToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+			this.helpToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("helpToolStripButton.Image")));
+			this.helpToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
+			this.helpToolStripButton.Name = "helpToolStripButton";
+			this.helpToolStripButton.Size = new System.Drawing.Size(23, 22);
+			this.helpToolStripButton.Text = "He&lp";
+			// 
+			// iDDataGridViewTextBoxColumn
+			// 
+			this.iDDataGridViewTextBoxColumn.DataPropertyName = "ID";
+			dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+			dataGridViewCellStyle1.Padding = new System.Windows.Forms.Padding(0, 0, 5, 0);
+			this.iDDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
+			this.iDDataGridViewTextBoxColumn.HeaderText = "ID";
+			this.iDDataGridViewTextBoxColumn.MinimumWidth = 20;
+			this.iDDataGridViewTextBoxColumn.Name = "iDDataGridViewTextBoxColumn";
+			// 
+			// fullNameDataGridViewTextBoxColumn
+			// 
+			this.fullNameDataGridViewTextBoxColumn.DataPropertyName = "FullName";
+			this.fullNameDataGridViewTextBoxColumn.HeaderText = "Name";
+			this.fullNameDataGridViewTextBoxColumn.Name = "fullNameDataGridViewTextBoxColumn";
+			this.fullNameDataGridViewTextBoxColumn.ReadOnly = true;
+			this.fullNameDataGridViewTextBoxColumn.Width = 250;
+			// 
+			// genderDataGridViewTextBoxColumn
+			// 
+			this.genderDataGridViewTextBoxColumn.DataPropertyName = "Gender";
+			this.genderDataGridViewTextBoxColumn.FillWeight = 200F;
+			this.genderDataGridViewTextBoxColumn.HeaderText = "Gender";
+			this.genderDataGridViewTextBoxColumn.Name = "genderDataGridViewTextBoxColumn";
+			// 
+			// personBinder
+			// 
+			this.personBinder.AllowEdit = false;
+			this.personBinder.AllowNew = false;
+			this.personBinder.AllowRemove = false;
+			this.personBinder.IsNull = null;
+			this.personBinder.ItemType = typeof(BLToolkit.Demo.ObjectModel.Person);
+			// 
+			// MainForm
+			// 
+			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+			this.ClientSize = new System.Drawing.Size(615, 393);
+			this.Controls.Add(this.toolStripContainer);
+			this.MainMenuStrip = this.menu;
+			this.Name = "MainForm";
+			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+			this.Text = "Business Logic Toolkit Demo";
+			((System.ComponentModel.ISupportInitialize)(this.personGridView)).EndInit();
+			this.toolStripContainer.ContentPanel.ResumeLayout(false);
+			this.toolStripContainer.TopToolStripPanel.ResumeLayout(false);
+			this.toolStripContainer.TopToolStripPanel.PerformLayout();
+			this.toolStripContainer.ResumeLayout(false);
+			this.toolStripContainer.PerformLayout();
+			this.menu.ResumeLayout(false);
+			this.menu.PerformLayout();
+			this.tool.ResumeLayout(false);
+			this.tool.PerformLayout();
+			this.ResumeLayout(false);
+
+		}
+
+		#endregion
+
+		private BLToolkit.ComponentModel.ObjectBinder personBinder;
+		private System.Windows.Forms.DataGridView personGridView;
+		private System.Windows.Forms.ToolStripContainer toolStripContainer;
+		private System.Windows.Forms.MenuStrip menu;
+		private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
+		private System.Windows.Forms.ToolStripMenuItem exitMenuItem;
+		private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem;
+		private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
+		private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
+		private System.Windows.Forms.ToolStrip tool;
+		private System.Windows.Forms.ToolStripButton newToolStripButton;
+		private System.Windows.Forms.ToolStripButton editToolStripButton;
+		private System.Windows.Forms.ToolStripButton deleteToolStripButton;
+		private System.Windows.Forms.ToolStripSeparator toolStripSeparator7;
+		private System.Windows.Forms.ToolStripButton helpToolStripButton;
+		private System.Windows.Forms.ToolStripMenuItem deleteMenuItem;
+		private System.Windows.Forms.ToolStripMenuItem editMenuItem;
+		private System.Windows.Forms.ToolStripMenuItem newMenuItem;
+		private System.Windows.Forms.DataGridViewTextBoxColumn iDDataGridViewTextBoxColumn;
+		private System.Windows.Forms.DataGridViewTextBoxColumn fullNameDataGridViewTextBoxColumn;
+		private System.Windows.Forms.DataGridViewTextBoxColumn genderDataGridViewTextBoxColumn;
+	}
+}
\ No newline at end of file