Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

The Windows Access Control Model Part 3

, 1 Jul 2005
In the third part of this series, we will take a tour of the new access control classes coming in .NET v2.0.
namespace NetAccessControl
{
	partial class Inheritance<DatType>
	{
		/// <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.OKButton = new System.Windows.Forms.Button();
			this.cancelButton = new System.Windows.Forms.Button();
			this.label1 = new System.Windows.Forms.Label();
			this.ciCheck = new System.Windows.Forms.CheckBox();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.npCheck = new System.Windows.Forms.CheckBox();
			this.faCheck = new System.Windows.Forms.CheckBox();
			this.saCheck = new System.Windows.Forms.CheckBox();
			this.ioCheck = new System.Windows.Forms.CheckBox();
			this.idCheck = new System.Windows.Forms.CheckBox();
			this.oiCheck = new System.Windows.Forms.CheckBox();
			this.groupBox1.SuspendLayout();
			this.SuspendLayout();
			// 
			// OKButton
			// 
			this.OKButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.OKButton.DialogResult = System.Windows.Forms.DialogResult.OK;
			this.OKButton.Location = new System.Drawing.Point(114, 168);
			this.OKButton.Name = "OKButton";
			this.OKButton.Size = new System.Drawing.Size(75, 23);
			this.OKButton.TabIndex = 2;
			this.OKButton.Text = "&OK";
			this.OKButton.Click += new System.EventHandler(this.OKButton_Click);
			// 
			// cancelButton
			// 
			this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.cancelButton.Location = new System.Drawing.Point(195, 168);
			this.cancelButton.Name = "cancelButton";
			this.cancelButton.Size = new System.Drawing.Size(75, 23);
			this.cancelButton.TabIndex = 3;
			this.cancelButton.Text = "&Cancel";
			// 
			// label1
			// 
			this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.label1.Location = new System.Drawing.Point(13, 13);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(257, 34);
			this.label1.TabIndex = 0;
			this.label1.Text = "The check boxes represents the inheritance and audit flags for the selected acces" +
				"s control entry.";
			// 
			// ciCheck
			// 
			this.ciCheck.AutoSize = true;
			this.ciCheck.Location = new System.Drawing.Point(6, 19);
			this.ciCheck.Name = "ciCheck";
			this.ciCheck.Size = new System.Drawing.Size(99, 17);
			this.ciCheck.TabIndex = 0;
			this.ciCheck.Text = "Container Inherit";
			// 
			// groupBox1
			// 
			this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
						| System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.groupBox1.Controls.Add(this.npCheck);
			this.groupBox1.Controls.Add(this.faCheck);
			this.groupBox1.Controls.Add(this.saCheck);
			this.groupBox1.Controls.Add(this.ioCheck);
			this.groupBox1.Controls.Add(this.idCheck);
			this.groupBox1.Controls.Add(this.oiCheck);
			this.groupBox1.Controls.Add(this.ciCheck);
			this.groupBox1.Location = new System.Drawing.Point(14, 50);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(256, 112);
			this.groupBox1.TabIndex = 1;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "&ACE Flags";
			// 
			// npCheck
			// 
			this.npCheck.AutoSize = true;
			this.npCheck.Location = new System.Drawing.Point(6, 88);
			this.npCheck.Name = "npCheck";
			this.npCheck.Size = new System.Drawing.Size(88, 17);
			this.npCheck.TabIndex = 3;
			this.npCheck.Text = "No Propagate";
			// 
			// faCheck
			// 
			this.faCheck.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.faCheck.AutoSize = true;
			this.faCheck.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.faCheck.Location = new System.Drawing.Point(163, 65);
			this.faCheck.Name = "faCheck";
			this.faCheck.Size = new System.Drawing.Size(80, 17);
			this.faCheck.TabIndex = 6;
			this.faCheck.Text = "Audit Failure";
			this.faCheck.Visible = false;
			// 
			// saCheck
			// 
			this.saCheck.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.saCheck.AutoSize = true;
			this.saCheck.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.saCheck.Location = new System.Drawing.Point(153, 42);
			this.saCheck.Name = "saCheck";
			this.saCheck.Size = new System.Drawing.Size(90, 17);
			this.saCheck.TabIndex = 5;
			this.saCheck.Text = "Audit Success";
			this.saCheck.Visible = false;
			// 
			// ioCheck
			// 
			this.ioCheck.AutoSize = true;
			this.ioCheck.Location = new System.Drawing.Point(6, 65);
			this.ioCheck.Name = "ioCheck";
			this.ioCheck.Size = new System.Drawing.Size(75, 17);
			this.ioCheck.TabIndex = 2;
			this.ioCheck.Text = "Inherit Only";
			// 
			// idCheck
			// 
			this.idCheck.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.idCheck.AutoSize = true;
			this.idCheck.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.idCheck.Enabled = false;
			this.idCheck.Location = new System.Drawing.Point(156, 19);
			this.idCheck.Name = "idCheck";
			this.idCheck.Size = new System.Drawing.Size(87, 17);
			this.idCheck.TabIndex = 4;
			this.idCheck.Text = "Inherited ACE";
			// 
			// oiCheck
			// 
			this.oiCheck.AutoSize = true;
			this.oiCheck.Location = new System.Drawing.Point(6, 42);
			this.oiCheck.Name = "oiCheck";
			this.oiCheck.Size = new System.Drawing.Size(85, 17);
			this.oiCheck.TabIndex = 1;
			this.oiCheck.Text = "Object Inherit";
			// 
			// Inheritance
			// 
			this.AcceptButton = this.OKButton;
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.CancelButton = this.cancelButton;
			this.ClientSize = new System.Drawing.Size(282, 203);
			this.Controls.Add(this.groupBox1);
			this.Controls.Add(this.label1);
			this.Controls.Add(this.cancelButton);
			this.Controls.Add(this.OKButton);
			this.MinimumSize = new System.Drawing.Size(290, 200);
			this.Name = "Inheritance";
			this.Text = "Inheritance Flags";
			this.Load += new System.EventHandler(this.Inheritance_Load);
			this.groupBox1.ResumeLayout(false);
			this.groupBox1.PerformLayout();
			this.ResumeLayout(false);

		}

		#endregion

		private System.Windows.Forms.Button OKButton;
		private System.Windows.Forms.Button cancelButton;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.CheckBox ciCheck;
		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.CheckBox ioCheck;
		private System.Windows.Forms.CheckBox idCheck;
		private System.Windows.Forms.CheckBox oiCheck;
		private System.Windows.Forms.CheckBox npCheck;
		private System.Windows.Forms.CheckBox faCheck;
		private System.Windows.Forms.CheckBox saCheck;
	}
}

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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

oshah
Web Developer
United States United States
Mr. Shah is a reclusive C++/C# developer lurking somewhere in the depths of the city of London. He learnt physics at Kings' College London and obtained a Master in Science there. Having earned an MCAD, he teeters on the brink of transitioning from C++ to C#, unsure of which language to jump to. Fortunately, he also knows how to use .NET interop to merge code between the two languages (which means he won't have to make the choice anytime soon).
 
His interests (apart from programming) are walking, football (the real one!), philosophy, history, retro-gaming, strategy gaming, and any good game in general.
 
He maintains a website / blog / FAQ / junk at shexec32.serveftp.net, where he places the best answers he's written to the questions you've asked. If you can find him, maybe you can hire Mr. Shah to help you with anything C++[/CLI]/C#/.NET related Smile | :) .

| Advertise | Privacy | Mobile
Web01 | 2.8.140814.1 | Last Updated 1 Jul 2005
Article Copyright 2005 by oshah
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid