Ejemplo n.º 1
1
        public void PropertyValueChanged(PropertyValueChangedEventArgs e, PropertyGrid mPropertyGrid)
        {
            UnreferencedFilesManager.Self.ProcessRefreshOfUnreferencedFiles();

            #region Check for Errors

            if (mPropertyGrid == null)
            {
                System.Windows.Forms.MessageBox.Show("There has been an internal error in Glue related to updating the PropertyGrid.  This likely happens if there has been an earlier error in Glue.  You should probably restart Glue.");
                MainGlueWindow.Self.HasErrorOccurred = true;
            }

            #endregion

            string changedMember = e.ChangedItem.PropertyDescriptor.Name;
            object oldValue = e.OldValue;
            string variableName = e.ChangedItem.Label;
            string parentGridItemName = null;
            if (e.ChangedItem != null && e.ChangedItem.Parent != null)
            {
                parentGridItemName = e.ChangedItem.Parent.Label;
            }

            ReactToPropertyChanged(changedMember, oldValue, variableName, parentGridItemName);
        }
Ejemplo n.º 2
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
            this.pgSettings = new System.Windows.Forms.PropertyGrid();
            this.SuspendLayout();
            // 
            // pgSettings
            // 
            this.pgSettings.Dock = System.Windows.Forms.DockStyle.Fill;
            this.pgSettings.LineColor = System.Drawing.SystemColors.ScrollBar;
            this.pgSettings.Location = new System.Drawing.Point(0, 0);
            this.pgSettings.Name = "pgSettings";
            this.pgSettings.Size = new System.Drawing.Size(300, 237);
            this.pgSettings.TabIndex = 0;
            this.pgSettings.ToolbarVisible = false;
            // 
            // EditSettings
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(300, 237);
            this.Controls.Add(this.pgSettings);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
            this.Name = "EditSettings";
            this.Opacity = 0.97D;
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "Edit Settings";
            this.ResumeLayout(false);

		}
 /// <summary>
 /// Erforderliche Methode für die Designerunterstützung. 
 /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
 /// </summary>
 private void InitializeComponent()
 {
     this.propGrid = new System.Windows.Forms.PropertyGrid();
     this.SuspendLayout();
     //
     // propGrid
     //
     this.propGrid.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.propGrid.CommandsVisibleIfAvailable = true;
     this.propGrid.LargeButtons = false;
     this.propGrid.LineColor = System.Drawing.SystemColors.ScrollBar;
     this.propGrid.Location = new System.Drawing.Point(0, 0);
     this.propGrid.Name = "propGrid";
     this.propGrid.Size = new System.Drawing.Size(352, 323);
     this.propGrid.TabIndex = 2;
     this.propGrid.Text = "Configuration";
     this.propGrid.ViewBackColor = System.Drawing.SystemColors.Window;
     this.propGrid.ViewForeColor = System.Drawing.SystemColors.WindowText;
     //
     // ConfigurationEditor
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(352, 323);
     this.Controls.Add(this.propGrid);
     this.Name = "ConfigurationEditor";
     this.Text = "Configuration Editor";
     this.Load += new System.EventHandler(this.ConfigurationEditor_Load);
     this.ResumeLayout(false);
 }
Ejemplo n.º 4
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
            this.grid = new System.Windows.Forms.PropertyGrid();
            this.splitter1 = new System.Windows.Forms.Splitter();
            this.tboxElementHtml = new System.Windows.Forms.TextBox();
            this.SuspendLayout();
            // 
            // grid
            // 
            this.grid.BackColor = System.Drawing.SystemColors.Control;
            this.grid.CommandsVisibleIfAvailable = true;
            this.grid.Dock = System.Windows.Forms.DockStyle.Right;
            this.grid.HelpVisible = false;
            this.grid.LargeButtons = false;
            this.grid.LineColor = System.Drawing.SystemColors.ScrollBar;
            this.grid.Location = new System.Drawing.Point(376, 0);
            this.grid.Name = "grid";
            this.grid.PropertySort = System.Windows.Forms.PropertySort.Categorized;
            this.grid.Size = new System.Drawing.Size(232, 310);
            this.grid.TabIndex = 0;
            this.grid.Text = "propertyGrid1";
            this.grid.ViewBackColor = System.Drawing.Color.White;
            this.grid.ViewForeColor = System.Drawing.SystemColors.WindowText;
            // 
            // splitter1
            // 
            this.splitter1.Dock = System.Windows.Forms.DockStyle.Right;
            this.splitter1.Location = new System.Drawing.Point(373, 0);
            this.splitter1.Name = "splitter1";
            this.splitter1.Size = new System.Drawing.Size(3, 310);
            this.splitter1.TabIndex = 1;
            this.splitter1.TabStop = false;
            // 
            // tboxElementHtml
            // 
            this.tboxElementHtml.BackColor = System.Drawing.Color.White;
            this.tboxElementHtml.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tboxElementHtml.Location = new System.Drawing.Point(0, 0);
            this.tboxElementHtml.Multiline = true;
            this.tboxElementHtml.Name = "tboxElementHtml";
            this.tboxElementHtml.ReadOnly = true;
            this.tboxElementHtml.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
            this.tboxElementHtml.Size = new System.Drawing.Size(373, 310);
            this.tboxElementHtml.TabIndex = 2;
            this.tboxElementHtml.Text = "";
            // 
            // ElementProperties
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(608, 310);
            this.Controls.Add(this.tboxElementHtml);
            this.Controls.Add(this.splitter1);
            this.Controls.Add(this.grid);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
            this.Name = "ElementProperties";
            this.Text = "Element Properties";
            this.Resize += new System.EventHandler(this.ElementProperties_Resize);
            this.ResumeLayout(false);

        }
Ejemplo n.º 5
0
 public bool doQuery(PropertyGrid grid)
 {
     input = (SearchRequest)grid.SelectedObject; ;
     this.res = bing.Search(input);
     grid.SelectedObject = this.res;
     return (this.res != null);
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.pgShape = new PropertyGrid();
     this.SuspendLayout();
     //
     // pgShape
     //
     this.pgShape.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pgShape.LineColor = System.Drawing.SystemColors.ScrollBar;
     this.pgShape.Location = new System.Drawing.Point(0, 0);
     this.pgShape.Name = "pgShape";
     this.pgShape.PropertySort = System.Windows.Forms.PropertySort.Alphabetical;
     this.pgShape.Size = new System.Drawing.Size(200, 328);
     this.pgShape.TabIndex = 0;
     this.pgShape.ToolbarVisible = false;
     this.pgShape.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.pgShape_PropertyValueChanged);
     //
     // PropertyForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(200, 328);
     this.Controls.Add(this.pgShape);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
     this.Name = "PropertyForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.ResumeLayout(false);
 }
Ejemplo n.º 7
0
 private void InitializeComponent()
 {
   this.groupBox1 = new GroupBox();
   this.propertyGrid = new PropertyGrid();
   this.groupBox1.SuspendLayout();
   this.SuspendLayout();
   this.groupBox1.Controls.Add((Control) this.propertyGrid);
   this.groupBox1.Location = new Point(16, 16);
   this.groupBox1.Name = "groupBox1";
   this.groupBox1.Size = new Size(368, 328);
   this.groupBox1.TabIndex = 0;
   this.groupBox1.TabStop = false;
   this.groupBox1.Text = "Settings";
   this.propertyGrid.Dock = DockStyle.Fill;
   this.propertyGrid.HelpVisible = false;
   this.propertyGrid.Location = new Point(3, 16);
   this.propertyGrid.Name = "propertyGrid";
   this.propertyGrid.Size = new Size(362, 309);
   this.propertyGrid.TabIndex = 0;
   this.propertyGrid.ToolbarVisible = false;
   this.propertyGrid.PropertyValueChanged += new PropertyValueChangedEventHandler(this.propertyGrid_PropertyValueChanged);
   this.AutoScaleDimensions = new SizeF(6f, 13f);
   this.Controls.Add((Control) this.groupBox1);
   this.Name = "EditorOptionsPanel";
   this.groupBox1.ResumeLayout(false);
   this.ResumeLayout(false);
 }
 public CategoryGridEntry(PropertyGrid ownerGrid, GridEntry peParent, string name, GridEntry[] childGridEntries) : base(ownerGrid, peParent)
 {
     this.name = name;
     if (categoryStates == null)
     {
         categoryStates = new Hashtable();
     }
     lock (categoryStates)
     {
         if (!categoryStates.ContainsKey(name))
         {
             categoryStates.Add(name, true);
         }
     }
     this.IsExpandable = true;
     for (int i = 0; i < childGridEntries.Length; i++)
     {
         childGridEntries[i].ParentGridEntry = this;
     }
     base.ChildCollection = new GridEntryCollection(this, childGridEntries);
     lock (categoryStates)
     {
         this.InternalExpanded = (bool) categoryStates[name];
     }
     this.SetFlag(0x40, true);
 }
Ejemplo n.º 9
0
        /// <summary>
        /// Shows a dialog box with a property grid.
        /// </summary>
        /// <param name="title"></param>
        /// <param name="value"></param>
        /// <returns></returns>
        public static DialogResult Show(string title, ref Entity_cl value)
        {
            Form mForm = new Form();
            PropertyGrid mPropertyGrid = new PropertyGrid();
            Button mOKButton = new Button();

            mForm.Text = title + " Properties";
            mPropertyGrid.SelectedObject = value;
            mOKButton.Text = "OK";
            mOKButton.DialogResult = DialogResult.OK;

            mForm.ClientSize = new Size(320, 320);
            mPropertyGrid.SetBounds(4, 4, mForm.ClientSize.Width - 4, mForm.ClientSize.Height - 40);
            mOKButton.SetBounds(mForm.ClientSize.Width / 2 - 32, mForm.ClientSize.Height - 36, 64, 22);

            mPropertyGrid.Anchor = AnchorStyles.Top;
            mOKButton.Anchor = AnchorStyles.Bottom;

            mForm.Controls.AddRange(new Control[] { mPropertyGrid, mOKButton });
            mForm.FormBorderStyle = FormBorderStyle.FixedSingle;
            mForm.StartPosition = FormStartPosition.CenterScreen;
            mForm.MinimizeBox = false;
            mForm.MaximizeBox = false;
            mForm.AcceptButton = mOKButton;

            DialogResult dialogResult = mForm.ShowDialog();
            return dialogResult;
        }
Ejemplo n.º 10
0
        private static bool ResizePropertyGridDescriptionArea(PropertyGrid propertyGrid, int lines)
        {
            try
            {
                PropertyInfo propertyInfo = propertyGrid.GetType().GetProperty("Controls");
                Control.ControlCollection controlCollection = (Control.ControlCollection)propertyInfo.GetValue(propertyGrid, null);

                foreach (Control control in controlCollection)
                {
                    Type type = control.GetType();
                    string typeName = type.Name;

                    if (typeName == "DocComment")
                    {
                        propertyInfo = type.GetProperty("Lines");
                        propertyInfo.SetValue(control, lines, null);

                        FieldInfo fieldInfo = type.BaseType.GetField("userSized", BindingFlags.Instance | BindingFlags.NonPublic);
                        fieldInfo.SetValue(control, true);
                    }
                }

                return true;
            }
            catch (Exception)
            {
                return false;
            }
        }
Ejemplo n.º 11
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
			this.SuspendLayout();
			// 
			// propertyGrid1
			// 
			this.propertyGrid1.CommandsVisibleIfAvailable = true;
			this.propertyGrid1.LargeButtons = false;
			this.propertyGrid1.LineColor = System.Drawing.SystemColors.ScrollBar;
			this.propertyGrid1.Location = new System.Drawing.Point(8, 12);
			this.propertyGrid1.Name = "propertyGrid1";
			this.propertyGrid1.Size = new System.Drawing.Size(384, 200);
			this.propertyGrid1.TabIndex = 0;
			this.propertyGrid1.Text = "propertyGrid1";
			this.propertyGrid1.ViewBackColor = System.Drawing.SystemColors.Window;
			this.propertyGrid1.ViewForeColor = System.Drawing.SystemColors.WindowText;
			// 
			// frmSample31
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(400, 241);
			this.Controls.Add(this.propertyGrid1);
			this.Name = "frmSample31";
			this.Text = "Application settings";
			this.ResumeLayout(false);

		}
Ejemplo n.º 12
0
 internal PrepProperties(PropertyGrid prpGrd)
 {
     _gh3 = true;
     _tierSongs = null;
     SetPreset(Presets.FullPrep);
     _prpGrd = prpGrd;
 }
 public DashboardGroupNameDialog(PropertyGrid sourceGrid, DashboardPropertyGroup group)
 {
     m_sourceGrid = sourceGrid;
     m_group = @group;
     InitializeComponent();
     groupNameText.Text = group.PropertyName;
 }
Ejemplo n.º 14
0
            public monitor(DynamicNode n)
            {
                //MessageBox.Show(n.Owner.ToString());

                props = n.GetType().GetProperties();

                this.Text = "Resource monitor - " + n.ToString();
                this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
                this.ClientSize = new System.Drawing.Size(480, 640);
                this.StartPosition = FormStartPosition.Manual;
                //this.Location = new Point(this.Parent

                // TABS
                tc = new TabControl();
                tc.Dock = DockStyle.Fill;
                tp_props = new TabPage();
                tc.Controls.AddRange(new Control[] { tp_props });

                // Datagrid for properties
                pg_props = new PropertyGrid();
                pg_props.SelectedObject = n;
                pg_props.Dock = DockStyle.Fill;
                tp_props.Controls.Add(pg_props);

                t = new Timer();
                t.Interval = 100;
                t.Tick += delegate(object sender, EventArgs e) { pg_props.Refresh(); };
                t.Start();

                this.Controls.Add(tc);
            }
Ejemplo n.º 15
0
        public CategoryGridEntry(PropertyGrid ownerGrid, GridEntry peParent,string name, GridEntry[] childGridEntries)
        : base(ownerGrid, peParent) {
            this.name = name;

#if DEBUG
            for (int n = 0;n < childGridEntries.Length; n++) {
                Debug.Assert(childGridEntries[n] != null, "Null item in category subproperty list");
            }
#endif
            if (categoryStates == null) {
                categoryStates = new Hashtable();
            }

            lock (categoryStates) {
                if (!categoryStates.ContainsKey(name)) {
                    categoryStates.Add(name, true);
                }
            }

            this.IsExpandable = true;
            
            for (int i = 0; i < childGridEntries.Length; i++) {
                childGridEntries[i].ParentGridEntry = this;
            }
            
            this.ChildCollection = new GridEntryCollection(this, childGridEntries);

            lock (categoryStates) {
                this.InternalExpanded = (bool)categoryStates[name];
            }

            this.SetFlag(GridEntry.FLAG_LABEL_BOLD,true);
        }
Ejemplo n.º 16
0
        private void editEngineconf_Click(object sender, EventArgs e)
        {
            // Neues Fenster öffnen
            Form newWindow = new Form();
            newWindow.Size = new System.Drawing.Size(800, 600);

            // Property Grid erstellen
            PropertyGrid newWin = new PropertyGrid();
            newWin.Top = 25;
            newWin.Size = new System.Drawing.Size(800, 600);

            Button saveButton = new Button();
            saveButton.Select();
            saveButton.Text = "Speichern";
            saveButton.Click += new System.EventHandler(saveButton_Click);

            // Füge Property Grid in neues Fenster ein
            newWindow.Controls.Add(newWin);
            newWindow.Controls.Add(saveButton);

            // Wir lesen zuerst die Config Datei ein
            // Dateipfad
            string path = "../Common/engine.conf";

            // Alles in einen string packen
            string text = File.ReadAllText(path);

            dynamic stuff = JsonConvert.DeserializeObject(text);

            Settings conf = new Settings(stuff);

            newWin.SelectedObject = conf;

            newWindow.Show();
        }
Ejemplo n.º 17
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.propertyGrid = new System.Windows.Forms.PropertyGrid();
     this.SuspendLayout();
     //
     // propertyGrid
     //
     this.propertyGrid.CommandsVisibleIfAvailable = true;
     this.propertyGrid.Dock = System.Windows.Forms.DockStyle.Fill;
     this.propertyGrid.LargeButtons = false;
     this.propertyGrid.LineColor = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid.Location = new System.Drawing.Point(0, 0);
     this.propertyGrid.Name = "propertyGrid";
     this.propertyGrid.Size = new System.Drawing.Size(290, 319);
     this.propertyGrid.TabIndex = 0;
     this.propertyGrid.Text = "propertyGrid1";
     this.propertyGrid.ViewBackColor = System.Drawing.SystemColors.Window;
     this.propertyGrid.ViewForeColor = System.Drawing.SystemColors.WindowText;
     //
     // PropertyBrowser
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(290, 319);
     this.Controls.Add(this.propertyGrid);
     this.Name = "PropertyBrowser";
     this.Text = "PropertyBrowser";
     this.ResumeLayout(false);
 }
Ejemplo n.º 18
0
 /// <summary>
 /// Gets the (private) PropertyGridView instance.
 /// </summary>
 /// <param name="propertyGrid">The property grid.</param>
 /// <returns>The PropertyGridView instance.</returns>
 private static object GetPropertyGridView(PropertyGrid propertyGrid)
 {
     //private PropertyGridView GetPropertyGridView();
     //PropertyGridView is an internal class...
     MethodInfo methodInfo = typeof(PropertyGrid).GetMethod("GetPropertyGridView", BindingFlags.NonPublic | BindingFlags.Instance);
     return methodInfo.Invoke(propertyGrid, new object[] { });
 }
Ejemplo n.º 19
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.pgShape = new PropertyGrid();
     this.SuspendLayout();
     //
     // pgShape
     //
     this.pgShape.CommandsVisibleIfAvailable = true;
     this.pgShape.Dock = DockStyle.Fill;
     this.pgShape.LargeButtons = false;
     this.pgShape.LineColor = SystemColors.ScrollBar;
     this.pgShape.Location = new Point(0, 0);
     this.pgShape.Name = "pgShape";
     this.pgShape.PropertySort = PropertySort.Alphabetical;
     this.pgShape.Size = new Size(200, 328);
     this.pgShape.TabIndex = 0;
     this.pgShape.Text = "PropertyGrid";
     this.pgShape.ToolbarVisible = false;
     this.pgShape.ViewBackColor = SystemColors.Window;
     this.pgShape.ViewForeColor = SystemColors.WindowText;
     this.pgShape.PropertyValueChanged += new PropertyValueChangedEventHandler(this.pgShape_PropertyValueChanged);
     //
     // SketchShapeBasePropertiesForm
     //
     this.AutoScaleBaseSize = new Size(5, 13);
     this.ClientSize = new Size(200, 328);
     this.Controls.Add(this.pgShape);
     this.FormBorderStyle = FormBorderStyle.SizableToolWindow;
     this.Name = "PropertyForm";
     this.ShowInTaskbar = false;
     this.StartPosition = FormStartPosition.CenterParent;
     this.Text = "Sketch Shape Properties";
     this.Load += new EventHandler(this.PropertyForm_Load);
     this.ResumeLayout(false);
 }
Ejemplo n.º 20
0
 /// <summary>
 /// �f�U�C�i �T�|�[�g�ɕK�v�ȃ��\�b�h�ł��B���̃��\�b�h�̓�e��
 /// �R�[�h �G�f�B�^�ŕύX���Ȃ��ł��������B
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormOptions));
     this.PropertyGridOptions = new System.Windows.Forms.PropertyGrid();
     this.SuspendLayout();
     //
     // PropertyGridOptions
     //
     this.PropertyGridOptions.Dock = System.Windows.Forms.DockStyle.Fill;
     this.PropertyGridOptions.LineColor = System.Drawing.SystemColors.ScrollBar;
     this.PropertyGridOptions.Location = new System.Drawing.Point(0, 0);
     this.PropertyGridOptions.Name = "PropertyGridOptions";
     this.PropertyGridOptions.Size = new System.Drawing.Size(472, 454);
     this.PropertyGridOptions.TabIndex = 0;
     //
     // FormOptions
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 12);
     this.ClientSize = new System.Drawing.Size(472, 454);
     this.Controls.Add(this.PropertyGridOptions);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "FormOptions";
     this.Text = "�I�v�V����";
     this.ResumeLayout(false);
 }
Ejemplo n.º 21
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
     this.SuspendLayout();
     //
     // propertyGrid1
     //
     this.propertyGrid1.CommandsVisibleIfAvailable = true;
     this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.propertyGrid1.HelpVisible = false;
     this.propertyGrid1.LargeButtons = false;
     this.propertyGrid1.LineColor = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid1.Location = new System.Drawing.Point(0, 0);
     this.propertyGrid1.Name = "propertyGrid1";
     this.propertyGrid1.Size = new System.Drawing.Size(168, 104);
     this.propertyGrid1.TabIndex = 0;
     this.propertyGrid1.Text = "propertyGrid1";
     this.propertyGrid1.ViewBackColor = System.Drawing.SystemColors.Window;
     this.propertyGrid1.ViewForeColor = System.Drawing.SystemColors.WindowText;
     //
     // PropertyWindow
     //
     this.Controls.Add(this.propertyGrid1);
     this.Name = "PropertyWindow";
     this.Size = new System.Drawing.Size(168, 104);
     this.ResumeLayout(false);
 }
Ejemplo n.º 22
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.c_DebugPropertyGrid = new System.Windows.Forms.PropertyGrid();
     this.c_AutoRefreshProperties = new System.Windows.Forms.Timer(this.components);
     this.SuspendLayout();
     //
     // c_DebugPropertyGrid
     //
     this.c_DebugPropertyGrid.Dock = System.Windows.Forms.DockStyle.Fill;
     this.c_DebugPropertyGrid.Location = new System.Drawing.Point(0, 0);
     this.c_DebugPropertyGrid.Name = "c_DebugPropertyGrid";
     this.c_DebugPropertyGrid.Size = new System.Drawing.Size(284, 262);
     this.c_DebugPropertyGrid.TabIndex = 0;
     //
     // c_AutoRefreshProperties
     //
     this.c_AutoRefreshProperties.Enabled = true;
     this.c_AutoRefreshProperties.Tick += new System.EventHandler(this.c_AutoRefreshProperties_Tick);
     //
     // DebugWindow
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize = new System.Drawing.Size(284, 262);
     this.Controls.Add(this.c_DebugPropertyGrid);
     this.Name = "DebugWindow";
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.prpg = new System.Windows.Forms.PropertyGrid();
     this.SuspendLayout();
     //
     // prpg
     //
     this.prpg.CommandsVisibleIfAvailable = true;
     this.prpg.Dock = System.Windows.Forms.DockStyle.Fill;
     this.prpg.LargeButtons = false;
     this.prpg.LineColor = System.Drawing.SystemColors.ScrollBar;
     this.prpg.Name = "prpg";
     this.prpg.Size = new System.Drawing.Size(280, 429);
     this.prpg.TabIndex = 0;
     this.prpg.Text = "propertyGrid1";
     this.prpg.ViewBackColor = System.Drawing.SystemColors.Window;
     this.prpg.ViewForeColor = System.Drawing.SystemColors.WindowText;
     //
     // PropertyInspector
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(280, 429);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                   this.prpg});
     this.Name = "PropertyInspector";
     this.Text = "Property Inspector";
     this.ResumeLayout(false);
 }
Ejemplo n.º 24
0
 public bool doQuery(PropertyGrid grid)
 {
     input = (Input)grid.SelectedObject; ;
     this.res = amz.searchArtistList("anything","anything", input.Query, input.Field);
     grid.SelectedObject = this.res;
     return (this.res != null);
 }
Ejemplo n.º 25
0
        public static void Main(string[] args)
        {
            var win = new OpenTK.GameWindow (200, 200, GraphicsMode.Default, "", OpenTK.GameWindowFlags.Default);

            var form1 = new Form ();
            form1.Size = new Size(400, 1000);
            PropertyGrid propertyGrid1 = new PropertyGrid ();
            propertyGrid1.CommandsVisibleIfAvailable = true;
            propertyGrid1.Location = new Point (10, 20);
            propertyGrid1.TabIndex = 1;
            propertyGrid1.Text = "Property Grid";
            propertyGrid1.Dock = DockStyle.Fill;
            propertyGrid1.Font = new Font("URW Gothic L", 10.25f, GraphicsUnit.Point);
            propertyGrid1.CategoryForeColor = SystemColors.ControlLight;
            propertyGrid1.ViewForeColor = SystemColors.ControlText;
            propertyGrid1.ViewBackColor = SystemColors.Control;
            propertyGrid1.LineColor = SystemColors.ControlLight;
            form1.Controls.Add (propertyGrid1);
            form1.Show ();

            win.RenderFrame += (sender, aaa) => { Application.DoEvents (); };

            using(var system = (new System6.System6()).GetInstance (win))
            {
                //system.PropertyChanged += (sender, e) => propertyGrid1.Refresh();
                propertyGrid1.SelectedObject = system;
                win.Run ();
            }
        }
Ejemplo n.º 26
0
 public PropertyGridManager(PropertyGrid propertyGrid, RuntimeOptions runtimeOptions)
 {
     mRuntimeOptions = runtimeOptions;
     propertyGrid.PropertyValueChanged += new PropertyValueChangedEventHandler(OnPropertyValueChanged);
     mNosDisplayer.DisplayMode = NamedObjectPropertyGridDisplayer.DisplayModes.VariablesOnly;
     mPropertyGrid = propertyGrid;
 }
Ejemplo n.º 27
0
        /// <summary>
        /// Attaches the <see cref="ShrinkerEventHandler"/> to a <see cref="PropertyGrid"/>.
        /// </summary>
        /// <param name="pg">The <see cref="PropertyGrid"/> to attach the event to.</param>
        public static void AttachShrinkerEventHandler(PropertyGrid pg)
        {
            if (pg == null)
                return;

            pg.SelectedObjectsChanged += ShrinkerEventHandler;
        }
Ejemplo n.º 28
0
        /// <summary>
        /// Attaches the <see cref="RefresherEventHandler"/> to a <see cref="PropertyGrid"/>.
        /// </summary>
        /// <param name="pg">The <see cref="PropertyGrid"/> to attach the event to.</param>
        public static void AttachRefresherEventHandler(PropertyGrid pg)
        {
            if (pg == null)
                return;

            pg.SelectedGridItemChanged += RefresherEventHandler;
        }
Ejemplo n.º 29
0
        /// <summary>
        /// Initializes a new instance of the <see cref="BSPConvert"/> class.
        /// </summary>
        /// <param name="map">The map.</param>
        /// <param name="test">The test.</param>
        /// <remarks></remarks>
        public H1BSPConvert(Map map, ref PropertyGrid test)
        {
            switch (map.HaloVersion)
            {
                case HaloVersionEnum.Halo1:
                case HaloVersionEnum.HaloCE:
                    map.OpenMap(MapTypes.Internal);
                    H1SBSP h1bsp = new H1SBSP(map.BSP.sbsp[0].TagIndex, map);
                    test.SelectedObject = h1bsp.Header;
                    map.CloseMap();
                    break;
                case HaloVersionEnum.Halo2:
                case HaloVersionEnum.Halo2Vista:
                    MessageBox.Show("Open an H1 Map first");
                    break;
            }

            // OpenFileDialog open = new OpenFileDialog();
            // open.Filter = "*.map|*.map";
            // if (open.ShowDialog() == DialogResult.Cancel)  return;
            // int h2map=Maps.Add(open.FileName);
            // Halo2BSP h2bsp = new Halo2BSP(h2map);

            // Maps.Remove(h2map);
        }
Ejemplo n.º 30
0
 /// <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.Windows.Forms.ListViewGroup             listViewGroup1 = new System.Windows.Forms.ListViewGroup("Explicit Functions", System.Windows.Forms.HorizontalAlignment.Left);
     System.Windows.Forms.ListViewGroup             listViewGroup2 = new System.Windows.Forms.ListViewGroup("Implicit Functions", System.Windows.Forms.HorizontalAlignment.Left);
     System.Windows.Forms.ListViewGroup             listViewGroup3 = new System.Windows.Forms.ListViewGroup("Parametric Functions", System.Windows.Forms.HorizontalAlignment.Left);
     System.Windows.Forms.ListViewGroup             listViewGroup4 = new System.Windows.Forms.ListViewGroup("Parametric Surface", System.Windows.Forms.HorizontalAlignment.Left);
     System.ComponentModel.ComponentResourceManager resources      = new System.ComponentModel.ComponentResourceManager(typeof(FormDemo3D));
     this.panel1        = new System.Windows.Forms.Panel();
     this.lvSources     = new System.Windows.Forms.ListView();
     this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
     this.panel2        = new System.Windows.Forms.Panel();
     this.btPlot        = new System.Windows.Forms.Button();
     this.panel3        = new System.Windows.Forms.Panel();
     this.splitter1     = new System.Windows.Forms.Splitter();
     this.imageList1    = new System.Windows.Forms.ImageList(this.components);
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel3.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.lvSources);
     this.panel1.Controls.Add(this.propertyGrid1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(256, 502);
     this.panel1.TabIndex = 0;
     //
     // lvSources
     //
     this.lvSources.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.lvSources.FullRowSelect = true;
     this.lvSources.GridLines     = true;
     listViewGroup1.Header        = "Explicit Functions";
     listViewGroup1.Name          = "Explicit Functions";
     listViewGroup2.Header        = "Implicit Functions";
     listViewGroup2.Name          = "Implicit Functions";
     listViewGroup3.Header        = "Parametric Functions";
     listViewGroup3.Name          = "Parametric Functions";
     listViewGroup4.Header        = "Parametric Surface";
     listViewGroup4.Name          = "Parametric Surface";
     this.lvSources.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] {
         listViewGroup1,
         listViewGroup2,
         listViewGroup3,
         listViewGroup4
     });
     this.lvSources.Location = new System.Drawing.Point(8, 12);
     this.lvSources.Name     = "lvSources";
     this.lvSources.Size     = new System.Drawing.Size(240, 206);
     this.lvSources.TabIndex = 2;
     this.lvSources.TileSize = new System.Drawing.Size(168, 14);
     this.lvSources.UseCompatibleStateImageBehavior = false;
     this.lvSources.View         = System.Windows.Forms.View.Tile;
     this.lvSources.DoubleClick += new System.EventHandler(this.lvSources_DoubleClick);
     //
     // propertyGrid1
     //
     this.propertyGrid1.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.propertyGrid1.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.propertyGrid1.LineColor = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid1.Location  = new System.Drawing.Point(8, 224);
     this.propertyGrid1.Name      = "propertyGrid1";
     this.propertyGrid1.Size      = new System.Drawing.Size(240, 272);
     this.propertyGrid1.TabIndex  = 1;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.btPlot);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(256, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(400, 502);
     this.panel2.TabIndex = 1;
     //
     // btPlot
     //
     this.btPlot.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.btPlot.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btPlot.Location  = new System.Drawing.Point(8, 470);
     this.btPlot.Name      = "btPlot";
     this.btPlot.Size      = new System.Drawing.Size(384, 23);
     this.btPlot.TabIndex  = 1;
     this.btPlot.Text      = "Plot";
     this.btPlot.Click    += new System.EventHandler(this.btPlot_Click);
     //
     // panel3
     //
     this.panel3.Controls.Add(this.splitter1);
     this.panel3.Controls.Add(this.panel2);
     this.panel3.Controls.Add(this.panel1);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(0, 0);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(656, 502);
     this.panel3.TabIndex = 2;
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(256, 0);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(3, 502);
     this.splitter1.TabIndex = 2;
     this.splitter1.TabStop  = false;
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth16Bit;
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // FormDemo3D
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(656, 502);
     this.Controls.Add(this.panel3);
     this.Icon  = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name  = "FormDemo3D";
     this.Text  = "MathX Demo 3D";
     this.Load += new System.EventHandler(this.FormDemo2D_Load);
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     this.cboType             = new System.Windows.Forms.ComboBox();
     this.lstParameters       = new System.Windows.Forms.ListBox();
     this.btnChangeEvent      = new System.Windows.Forms.Button();
     this.lblEventId          = new System.Windows.Forms.Label();
     this.lblEventName        = new System.Windows.Forms.Label();
     this.lblParamDescription = new System.Windows.Forms.Label();
     this.btnCancel           = new System.Windows.Forms.Button();
     this.btnDone             = new System.Windows.Forms.Button();
     this.lblName2            = new System.Windows.Forms.Label();
     this.lblName1            = new System.Windows.Forms.Label();
     this.valueGrid           = new System.Windows.Forms.PropertyGrid();
     this.requirementPanel    = new System.Windows.Forms.Panel();
     this.chkNot          = new System.Windows.Forms.CheckBox();
     this.label1          = new System.Windows.Forms.Label();
     this.cboRequirement  = new System.Windows.Forms.ComboBox();
     this.offsetPanel     = new System.Windows.Forms.Panel();
     this.offsetOkay      = new System.Windows.Forms.Button();
     this.comboBox1       = new System.Windows.Forms.ComboBox();
     this.comboBox2       = new System.Windows.Forms.ComboBox();
     this.comboBox3       = new System.Windows.Forms.ComboBox();
     this.label2          = new System.Windows.Forms.Label();
     this.label3          = new System.Windows.Forms.Label();
     this.label4          = new System.Windows.Forms.Label();
     this.mainPanel       = new System.Windows.Forms.Panel();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.typePanel       = new System.Windows.Forms.Panel();
     this.requirementPanel.SuspendLayout();
     this.offsetPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.typePanel.SuspendLayout();
     this.SuspendLayout();
     //
     // cboType
     //
     this.cboType.FormattingEnabled = true;
     this.cboType.Items.AddRange(new object[] {
         "Value",
         "Scalar",
         "Pointer",
         "Boolean",
         "Unknown",
         "Variable",
         "Requirement"
     });
     this.cboType.Location              = new System.Drawing.Point(46, 0);
     this.cboType.Name                  = "cboType";
     this.cboType.Size                  = new System.Drawing.Size(82, 21);
     this.cboType.TabIndex              = 63;
     this.cboType.SelectedIndexChanged += new System.EventHandler(this.cboType_SelectedIndexChanged);
     //
     // lstParameters
     //
     this.lstParameters.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lstParameters.FormattingEnabled = true;
     this.lstParameters.IntegralHeight    = false;
     this.lstParameters.Location          = new System.Drawing.Point(0, 21);
     this.lstParameters.Name                  = "lstParameters";
     this.lstParameters.Size                  = new System.Drawing.Size(93, 92);
     this.lstParameters.TabIndex              = 62;
     this.lstParameters.SelectedIndexChanged += new System.EventHandler(this.lstParameters_SelectedIndexChanged);
     //
     // btnChangeEvent
     //
     this.btnChangeEvent.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnChangeEvent.Location = new System.Drawing.Point(171, 2);
     this.btnChangeEvent.Name     = "btnChangeEvent";
     this.btnChangeEvent.Size     = new System.Drawing.Size(56, 23);
     this.btnChangeEvent.TabIndex = 61;
     this.btnChangeEvent.Text     = "Change";
     this.btnChangeEvent.UseVisualStyleBackColor = true;
     this.btnChangeEvent.Click += new System.EventHandler(this.btnChangeEvent_Click);
     //
     // lblEventId
     //
     this.lblEventId.Anchor      = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.lblEventId.BackColor   = System.Drawing.Color.WhiteSmoke;
     this.lblEventId.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lblEventId.Location    = new System.Drawing.Point(107, 3);
     this.lblEventId.Name        = "lblEventId";
     this.lblEventId.Size        = new System.Drawing.Size(66, 20);
     this.lblEventId.TabIndex    = 60;
     this.lblEventId.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // lblEventName
     //
     this.lblEventName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.lblEventName.BackColor   = System.Drawing.Color.WhiteSmoke;
     this.lblEventName.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lblEventName.Location    = new System.Drawing.Point(2, 3);
     this.lblEventName.Name        = "lblEventName";
     this.lblEventName.Size        = new System.Drawing.Size(105, 20);
     this.lblEventName.TabIndex    = 59;
     this.lblEventName.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblParamDescription
     //
     this.lblParamDescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                             | System.Windows.Forms.AnchorStyles.Right)));
     this.lblParamDescription.BackColor   = System.Drawing.SystemColors.Control;
     this.lblParamDescription.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lblParamDescription.Font        = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblParamDescription.Location    = new System.Drawing.Point(2, 140);
     this.lblParamDescription.Name        = "lblParamDescription";
     this.lblParamDescription.Size        = new System.Drawing.Size(225, 63);
     this.lblParamDescription.TabIndex    = 58;
     //
     // btnCancel
     //
     this.btnCancel.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.Location = new System.Drawing.Point(169, 206);
     this.btnCancel.Name     = "btnCancel";
     this.btnCancel.Size     = new System.Drawing.Size(58, 24);
     this.btnCancel.TabIndex = 57;
     this.btnCancel.Text     = "Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // btnDone
     //
     this.btnDone.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnDone.Location = new System.Drawing.Point(105, 206);
     this.btnDone.Name     = "btnDone";
     this.btnDone.Size     = new System.Drawing.Size(58, 24);
     this.btnDone.TabIndex = 56;
     this.btnDone.Text     = "Done";
     this.btnDone.UseVisualStyleBackColor = true;
     this.btnDone.Click += new System.EventHandler(this.btnDone_Click);
     //
     // lblName2
     //
     this.lblName2.BackColor   = System.Drawing.Color.WhiteSmoke;
     this.lblName2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lblName2.Location    = new System.Drawing.Point(0, 0);
     this.lblName2.Name        = "lblName2";
     this.lblName2.Size        = new System.Drawing.Size(45, 21);
     this.lblName2.TabIndex    = 55;
     this.lblName2.Text        = "Type:";
     this.lblName2.TextAlign   = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblName1
     //
     this.lblName1.BackColor   = System.Drawing.Color.WhiteSmoke;
     this.lblName1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lblName1.Dock        = System.Windows.Forms.DockStyle.Top;
     this.lblName1.Location    = new System.Drawing.Point(0, 0);
     this.lblName1.Name        = "lblName1";
     this.lblName1.Size        = new System.Drawing.Size(93, 21);
     this.lblName1.TabIndex    = 54;
     this.lblName1.Text        = "Parameter:";
     this.lblName1.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // valueGrid
     //
     this.valueGrid.Dock           = System.Windows.Forms.DockStyle.Fill;
     this.valueGrid.HelpVisible    = false;
     this.valueGrid.Location       = new System.Drawing.Point(0, 21);
     this.valueGrid.Name           = "valueGrid";
     this.valueGrid.Size           = new System.Drawing.Size(128, 92);
     this.valueGrid.TabIndex       = 8;
     this.valueGrid.ToolbarVisible = false;
     //
     // requirementPanel
     //
     this.requirementPanel.Controls.Add(this.chkNot);
     this.requirementPanel.Controls.Add(this.label1);
     this.requirementPanel.Controls.Add(this.cboRequirement);
     this.requirementPanel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.requirementPanel.Location = new System.Drawing.Point(0, 21);
     this.requirementPanel.Name     = "requirementPanel";
     this.requirementPanel.Size     = new System.Drawing.Size(128, 92);
     this.requirementPanel.TabIndex = 64;
     //
     // chkNot
     //
     this.chkNot.AutoSize = true;
     this.chkNot.Location = new System.Drawing.Point(81, 3);
     this.chkNot.Name     = "chkNot";
     this.chkNot.Size     = new System.Drawing.Size(43, 17);
     this.chkNot.TabIndex = 65;
     this.chkNot.Text     = "Not";
     this.chkNot.UseVisualStyleBackColor = true;
     this.chkNot.CheckedChanged         += new System.EventHandler(this.Requirement_Handle);
     //
     // label1
     //
     this.label1.BackColor   = System.Drawing.Color.WhiteSmoke;
     this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.label1.Location    = new System.Drawing.Point(0, 0);
     this.label1.Name        = "label1";
     this.label1.Size        = new System.Drawing.Size(75, 21);
     this.label1.TabIndex    = 64;
     this.label1.Text        = "Requirement:";
     this.label1.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // cboRequirement
     //
     this.cboRequirement.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.cboRequirement.FormattingEnabled = true;
     this.cboRequirement.Location          = new System.Drawing.Point(0, 22);
     this.cboRequirement.Name                  = "cboRequirement";
     this.cboRequirement.Size                  = new System.Drawing.Size(128, 21);
     this.cboRequirement.TabIndex              = 0;
     this.cboRequirement.SelectedIndexChanged += new System.EventHandler(this.Requirement_Handle);
     //
     // offsetPanel
     //
     this.offsetPanel.Controls.Add(this.offsetOkay);
     this.offsetPanel.Controls.Add(this.comboBox1);
     this.offsetPanel.Controls.Add(this.comboBox2);
     this.offsetPanel.Controls.Add(this.comboBox3);
     this.offsetPanel.Controls.Add(this.label2);
     this.offsetPanel.Controls.Add(this.label3);
     this.offsetPanel.Controls.Add(this.label4);
     this.offsetPanel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.offsetPanel.Location = new System.Drawing.Point(0, 21);
     this.offsetPanel.Name     = "offsetPanel";
     this.offsetPanel.Size     = new System.Drawing.Size(128, 92);
     this.offsetPanel.TabIndex = 66;
     //
     // offsetOkay
     //
     this.offsetOkay.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.offsetOkay.Location = new System.Drawing.Point(-1, 69);
     this.offsetOkay.Name     = "offsetOkay";
     this.offsetOkay.Size     = new System.Drawing.Size(129, 23);
     this.offsetOkay.TabIndex = 13;
     this.offsetOkay.Text     = "Okay";
     this.offsetOkay.UseVisualStyleBackColor = true;
     this.offsetOkay.Click += new System.EventHandler(this.offsetOkay_Click);
     //
     // comboBox1
     //
     this.comboBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.comboBox1.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Items.AddRange(new object[] {
         "Actions",
         "SubActions",
         "SubRoutines",
         "External",
         "Null"
     });
     this.comboBox1.Location              = new System.Drawing.Point(46, 3);
     this.comboBox1.Name                  = "comboBox1";
     this.comboBox1.Size                  = new System.Drawing.Size(82, 21);
     this.comboBox1.TabIndex              = 7;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // comboBox2
     //
     this.comboBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.comboBox2.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox2.FormattingEnabled = true;
     this.comboBox2.Location          = new System.Drawing.Point(46, 24);
     this.comboBox2.Name     = "comboBox2";
     this.comboBox2.Size     = new System.Drawing.Size(82, 21);
     this.comboBox2.TabIndex = 9;
     //
     // comboBox3
     //
     this.comboBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.comboBox3.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox3.FormattingEnabled = true;
     this.comboBox3.Location          = new System.Drawing.Point(46, 45);
     this.comboBox3.Name     = "comboBox3";
     this.comboBox3.Size     = new System.Drawing.Size(82, 21);
     this.comboBox3.TabIndex = 11;
     //
     // label2
     //
     this.label2.BackColor   = System.Drawing.Color.WhiteSmoke;
     this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.label2.Location    = new System.Drawing.Point(0, 3);
     this.label2.Name        = "label2";
     this.label2.Size        = new System.Drawing.Size(45, 21);
     this.label2.TabIndex    = 8;
     this.label2.Text        = "List:";
     this.label2.TextAlign   = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.BackColor   = System.Drawing.Color.WhiteSmoke;
     this.label3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.label3.Location    = new System.Drawing.Point(0, 24);
     this.label3.Name        = "label3";
     this.label3.Size        = new System.Drawing.Size(45, 21);
     this.label3.TabIndex    = 10;
     this.label3.Text        = "Action:";
     this.label3.TextAlign   = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label4
     //
     this.label4.BackColor   = System.Drawing.Color.WhiteSmoke;
     this.label4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.label4.Location    = new System.Drawing.Point(0, 45);
     this.label4.Name        = "label4";
     this.label4.Size        = new System.Drawing.Size(45, 21);
     this.label4.TabIndex    = 12;
     this.label4.Text        = "Type:";
     this.label4.TextAlign   = System.Drawing.ContentAlignment.MiddleRight;
     //
     // mainPanel
     //
     this.mainPanel.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.mainPanel.Location = new System.Drawing.Point(2, 25);
     this.mainPanel.Name     = "mainPanel";
     this.mainPanel.Size     = new System.Drawing.Size(225, 113);
     this.mainPanel.TabIndex = 0;
     //
     // splitContainer1
     //
     this.splitContainer1.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.splitContainer1.Location = new System.Drawing.Point(2, 25);
     this.splitContainer1.Name     = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.lstParameters);
     this.splitContainer1.Panel1.Controls.Add(this.lblName1);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.offsetPanel);
     this.splitContainer1.Panel2.Controls.Add(this.valueGrid);
     this.splitContainer1.Panel2.Controls.Add(this.requirementPanel);
     this.splitContainer1.Panel2.Controls.Add(this.typePanel);
     this.splitContainer1.Size             = new System.Drawing.Size(225, 113);
     this.splitContainer1.SplitterDistance = 93;
     this.splitContainer1.TabIndex         = 9;
     //
     // typePanel
     //
     this.typePanel.Controls.Add(this.lblName2);
     this.typePanel.Controls.Add(this.cboType);
     this.typePanel.Dock     = System.Windows.Forms.DockStyle.Top;
     this.typePanel.Location = new System.Drawing.Point(0, 0);
     this.typePanel.Name     = "typePanel";
     this.typePanel.Size     = new System.Drawing.Size(128, 21);
     this.typePanel.TabIndex = 64;
     //
     // EventModifier
     //
     this.AutoSize = true;
     this.Controls.Add(this.splitContainer1);
     this.Controls.Add(this.mainPanel);
     this.Controls.Add(this.btnChangeEvent);
     this.Controls.Add(this.lblEventId);
     this.Controls.Add(this.lblEventName);
     this.Controls.Add(this.lblParamDescription);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnDone);
     this.Name = "EventModifier";
     this.Size = new System.Drawing.Size(230, 233);
     this.requirementPanel.ResumeLayout(false);
     this.requirementPanel.PerformLayout();
     this.offsetPanel.ResumeLayout(false);
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.typePanel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 32
0
 public void AssociateSelectionPropertyGrid(PropertyGrid propertyGrid)
 {
     entityGrid = propertyGrid;
 }
Ejemplo n.º 33
0
        /// <include file='doc\SysInfoForm.uex' path='docs/doc[@for="SysInfoForm.InitializeComponent"]/*' />
        /// <devdoc>
        ///    Required method for Designer support - do not modify
        ///    the contents of this method with an editor
        /// </devdoc>
        private void InitializeComponent()
        {
            this.components                    = new Container();
            this.sysInfo                       = new TabPage();
            this.versionColumn                 = new ColumnHeader();
            this.fileVersionColumn             = new ColumnHeader();
            this.loadedAssemblyList            = new ListView();
            this.switchesList                  = new ListView();
            this.appInfo                       = new TabPage();
            this.tabControl1                   = new TabControl();
            this.asmNameColumn                 = new ColumnHeader();
            this.codeBaseColumn                = new ColumnHeader();
            this.switchNameColumn              = new ColumnHeader();
            this.displayNameColumn             = new ColumnHeader();
            this.secInfo                       = new TabPage();
            this.bugReportInfo                 = new TabPage();
            this.bugReportLabel                = new Label();
            this.switchInfo                    = new TabPage();
            this.closeButton                   = new Button();
            this.securityLabel                 = new Label();
            this.bugReportDescription          = new TextBox();
            this.includeSystemInformation      = new CheckBox();
            this.includeApplicationInformation = new CheckBox();
            this.saveBugReport                 = new Button();
            this.submitBugReport               = new Button();
            this.switchLabel                   = new Label();
            this.bugReportPanel                = new Panel();

            this.appProps = new PropertyGrid();

            //@design this.TrayLargeIcon = false;
            //@design this.TrayAutoArrange = true;
            //@design this.TrayHeight = 0;
            //@design this.GridSize = new System.Drawing.Size(4, 4);
            this.Text = SR.SecurityAboutDialog;
            this.AutoScaleDimensions = new System.Drawing.Size(6, 13);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(442, 273);
            this.MinimizeBox         = false;
            this.MaximizeBox         = false;
            this.ControlBox          = false;
            this.CancelButton        = closeButton;
            this.Font = new Font("Tahoma", 8);

            sysInfo.Size     = new System.Drawing.Size(428, 210);
            sysInfo.TabIndex = 1;
            sysInfo.Text     = SR.SecurityAssembliesTab;

            versionColumn.Text      = SR.SecurityVersionColumn;
            versionColumn.Width     = 100;
            versionColumn.TextAlign = HorizontalAlignment.Left;

            fileVersionColumn.Text      = SR.SecurityFileVersionColumn;
            fileVersionColumn.Width     = 100;
            fileVersionColumn.TextAlign = HorizontalAlignment.Left;

            loadedAssemblyList.Size          = new System.Drawing.Size(428, 210);
            loadedAssemblyList.Dock          = DockStyle.Fill;
            loadedAssemblyList.TabIndex      = 0;
            loadedAssemblyList.FullRowSelect = true;
            loadedAssemblyList.View          = View.Details;
            loadedAssemblyList.Columns.Clear();
            loadedAssemblyList.Columns.AddRange(new ColumnHeader[] { asmNameColumn,
                                                                     fileVersionColumn,
                                                                     versionColumn,
                                                                     codeBaseColumn });

            switchLabel.Size = new Size(428, 25);
            switchLabel.Dock = DockStyle.Bottom;
            switchLabel.Text = SR.SecuritySwitchLabel;

            switchesList.Size          = new System.Drawing.Size(428, 210);
            switchesList.Dock          = DockStyle.Fill;
            switchesList.ItemCheck    += new ItemCheckEventHandler(SwitchChecked);
            switchesList.TabIndex      = 0;
            switchesList.CheckBoxes    = true;
            switchesList.FullRowSelect = true;
            switchesList.View          = View.Details;
            switchesList.Columns.Clear();
            switchesList.Columns.AddRange(new ColumnHeader[] { switchNameColumn,
                                                               displayNameColumn });

            appInfo.Size            = new System.Drawing.Size(428, 210);
            appInfo.TabIndex        = 2;
            appInfo.Text            = SR.SecurityApplication;
            appInfo.DockPadding.All = 2;

            switchInfo.Size     = new System.Drawing.Size(428, 210);
            switchInfo.TabIndex = 4;
            switchInfo.Text     = SR.SecuritySwitchesTab;

            bugReportDescription.Multiline = true;
            bugReportDescription.Dock      = DockStyle.Fill;
            bugReportDescription.WordWrap  = true;

            bugReportLabel.Dock = DockStyle.Top;
            bugReportLabel.Size = new System.Drawing.Size(428, 36);
            bugReportLabel.Text = SR.SecurityBugReportLabel;

            includeSystemInformation.Checked   = true;
            includeSystemInformation.Dock      = DockStyle.Bottom;
            includeSystemInformation.FlatStyle = FlatStyle.System;
            includeSystemInformation.Text      = SR.SecurityIncludeSysInfo;

            includeApplicationInformation.Checked   = true;
            includeApplicationInformation.Dock      = DockStyle.Bottom;
            includeApplicationInformation.FlatStyle = FlatStyle.System;
            includeApplicationInformation.Text      = SR.SecurityIncludeAppInfo;

            saveBugReport.Text      = SR.SecuritySaveBug;
            saveBugReport.Location  = new Point(2, 2);
            saveBugReport.FlatStyle = FlatStyle.System;
            saveBugReport.Size      = new Size(75, 23);
            saveBugReport.Click    += new EventHandler(SaveBugReport);

            submitBugReport.Text      = SR.SecuritySubmitBug;
            submitBugReport.Location  = new Point(79, 2);
            submitBugReport.FlatStyle = FlatStyle.System;
            submitBugReport.Size      = new Size(75, 23);
            submitBugReport.Click    += new EventHandler(SubmitBugReport);

            bugReportPanel.Dock = DockStyle.Bottom;
            bugReportPanel.Size = new Size(428, 27);

            appProps.Dock           = DockStyle.Fill;
            appProps.ToolbarVisible = false;

            tabControl1.Location              = new System.Drawing.Point(4, 4);
            tabControl1.Size                  = new System.Drawing.Size(436, 236);
            tabControl1.Anchor                = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top | AnchorStyles.Bottom;
            tabControl1.SelectedIndex         = 0;
            tabControl1.TabIndex              = 0;
            tabControl1.SelectedIndexChanged += new EventHandler(TabSelectionChanged);

            asmNameColumn.Text      = SR.SecurityAsmNameColumn;
            asmNameColumn.Width     = 150;
            asmNameColumn.TextAlign = HorizontalAlignment.Left;

            switchNameColumn.Text      = SR.SecuritySwitchNameColumn;
            switchNameColumn.Width     = 150;
            switchNameColumn.TextAlign = HorizontalAlignment.Left;

            displayNameColumn.Text      = SR.SecuritySwitchDescrColumn;
            displayNameColumn.Width     = 300;
            displayNameColumn.TextAlign = HorizontalAlignment.Left;

            codeBaseColumn.Text      = SR.SecurityCodeBaseColumn;
            codeBaseColumn.Width     = 400;
            codeBaseColumn.TextAlign = HorizontalAlignment.Left;

            secInfo.Size     = new System.Drawing.Size(428, 210);
            secInfo.TabIndex = 0;
            secInfo.Text     = SR.SecurityInfoTab;

            bugReportInfo.Size     = new System.Drawing.Size(428, 210);
            bugReportInfo.TabIndex = 0;
            bugReportInfo.Text     = SR.SecurityBugReportTab;

            securityLabel.Dock = DockStyle.Fill;

            closeButton.Size         = new System.Drawing.Size(75, 23);
            closeButton.FlatStyle    = FlatStyle.System;
            closeButton.TabIndex     = 1;
            closeButton.Location     = new System.Drawing.Point(344, 248);
            closeButton.Text         = SR.SecurityClose;
            closeButton.Anchor       = AnchorStyles.Right | AnchorStyles.Bottom;
            closeButton.DialogResult = DialogResult.OK;

            this.Controls.Add(closeButton);
            this.Controls.Add(tabControl1);
            switchInfo.Controls.Add(switchesList);
            switchInfo.Controls.Add(switchLabel);
            sysInfo.Controls.Add(loadedAssemblyList);
            secInfo.Controls.Add(securityLabel);
            appInfo.Controls.Add(appProps);
            bugReportPanel.Controls.Add(saveBugReport);
            bugReportPanel.Controls.Add(submitBugReport);
            bugReportInfo.Controls.Add(bugReportDescription);
            bugReportInfo.Controls.Add(bugReportLabel);
            bugReportInfo.Controls.Add(includeSystemInformation);
            bugReportInfo.Controls.Add(includeApplicationInformation);
            bugReportInfo.Controls.Add(bugReportPanel);
            tabControl1.Controls.Add(secInfo);
            tabControl1.Controls.Add(appInfo);
            tabControl1.Controls.Add(sysInfo);
            tabControl1.Controls.Add(switchInfo);
            tabControl1.Controls.Add(bugReportInfo);
        }
Ejemplo n.º 34
0
 /// <summary>
 ///  Constructs new instance of PropertyGridToolStripAccessibleObject
 /// </summary>
 /// <param name="owningPropertyGridToolStrip">The PropertyGridToolStrip owning control.</param>
 /// <param name="parentPropertyGrid">The parent PropertyGrid control.</param>
 public PropertyGridToolStripAccessibleObject(PropertyGridToolStrip owningPropertyGridToolStrip, PropertyGrid parentPropertyGrid) : base(owningPropertyGridToolStrip)
 {
     _parentPropertyGrid = parentPropertyGrid;
 }
Ejemplo n.º 35
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.grid1       = new System.Windows.Forms.PropertyGrid();
     this.grid2       = new System.Windows.Forms.PropertyGrid();
     this.cmdRun      = new System.Windows.Forms.Button();
     this.button1     = new System.Windows.Forms.Button();
     this.button2     = new System.Windows.Forms.Button();
     this.button3     = new System.Windows.Forms.Button();
     this.button4     = new System.Windows.Forms.Button();
     this.textBox1    = new System.Windows.Forms.TextBox();
     this.txtSortedBy = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // pictureBox3
     //
     this.pictureBox3.Location = new System.Drawing.Point(552, 8);
     this.pictureBox3.Name     = "pictureBox3";
     //
     // grid1
     //
     this.grid1.CommandsVisibleIfAvailable = true;
     this.grid1.HelpVisible    = false;
     this.grid1.LargeButtons   = false;
     this.grid1.LineColor      = System.Drawing.SystemColors.ScrollBar;
     this.grid1.Location       = new System.Drawing.Point(8, 67);
     this.grid1.Name           = "grid1";
     this.grid1.PropertySort   = System.Windows.Forms.PropertySort.Alphabetical;
     this.grid1.Size           = new System.Drawing.Size(232, 272);
     this.grid1.TabIndex       = 4;
     this.grid1.Text           = "propertyGrid1";
     this.grid1.ToolbarVisible = false;
     this.grid1.ViewBackColor  = System.Drawing.SystemColors.Window;
     this.grid1.ViewForeColor  = System.Drawing.SystemColors.WindowText;
     //
     // grid2
     //
     this.grid2.CommandsVisibleIfAvailable = true;
     this.grid2.HelpVisible    = false;
     this.grid2.LargeButtons   = false;
     this.grid2.LineColor      = System.Drawing.SystemColors.ScrollBar;
     this.grid2.Location       = new System.Drawing.Point(416, 67);
     this.grid2.Name           = "grid2";
     this.grid2.PropertySort   = System.Windows.Forms.PropertySort.Alphabetical;
     this.grid2.Size           = new System.Drawing.Size(232, 272);
     this.grid2.TabIndex       = 5;
     this.grid2.Text           = "propertyGrid1";
     this.grid2.ToolbarVisible = false;
     this.grid2.ViewBackColor  = System.Drawing.SystemColors.Window;
     this.grid2.ViewForeColor  = System.Drawing.SystemColors.WindowText;
     //
     // cmdRun
     //
     this.cmdRun.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)),
                                                           ((System.Byte)(0)),
                                                           ((System.Byte)(110)));
     this.cmdRun.Font = new System.Drawing.Font("Tahoma",
                                                9.75F,
                                                System.Drawing.FontStyle.Bold,
                                                System.Drawing.GraphicsUnit.Point,
                                                ((System.Byte)(0)));
     this.cmdRun.ForeColor = System.Drawing.Color.Gainsboro;
     this.cmdRun.Location  = new System.Drawing.Point(248, 224);
     this.cmdRun.Name      = "cmdRun";
     this.cmdRun.Size      = new System.Drawing.Size(160, 34);
     this.cmdRun.TabIndex  = 6;
     this.cmdRun.Text      = "Sort By City >";
     this.cmdRun.Click    += new System.EventHandler(this.SortByCity_Click);
     //
     // button1
     //
     this.button1.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)),
                                                            ((System.Byte)(0)),
                                                            ((System.Byte)(110)));
     this.button1.Font = new System.Drawing.Font("Tahoma",
                                                 9.75F,
                                                 System.Drawing.FontStyle.Bold,
                                                 System.Drawing.GraphicsUnit.Point,
                                                 ((System.Byte)(0)));
     this.button1.ForeColor = System.Drawing.Color.Gainsboro;
     this.button1.Location  = new System.Drawing.Point(248, 80);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(160, 34);
     this.button1.TabIndex  = 7;
     this.button1.Text      = "Sort By ID >";
     this.button1.Click    += new System.EventHandler(this.SortByCustomerId_Click);
     //
     // button2
     //
     this.button2.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)),
                                                            ((System.Byte)(0)),
                                                            ((System.Byte)(110)));
     this.button2.Font = new System.Drawing.Font("Tahoma",
                                                 9.75F,
                                                 System.Drawing.FontStyle.Bold,
                                                 System.Drawing.GraphicsUnit.Point,
                                                 ((System.Byte)(0)));
     this.button2.ForeColor = System.Drawing.Color.Gainsboro;
     this.button2.Location  = new System.Drawing.Point(248, 128);
     this.button2.Name      = "button2";
     this.button2.Size      = new System.Drawing.Size(160, 34);
     this.button2.TabIndex  = 8;
     this.button2.Text      = "Sort By Company >";
     this.button2.Click    += new System.EventHandler(this.SortByCompanyName_Click);
     //
     // button3
     //
     this.button3.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)),
                                                            ((System.Byte)(0)),
                                                            ((System.Byte)(110)));
     this.button3.Font = new System.Drawing.Font("Tahoma",
                                                 9.75F,
                                                 System.Drawing.FontStyle.Bold,
                                                 System.Drawing.GraphicsUnit.Point,
                                                 ((System.Byte)(0)));
     this.button3.ForeColor = System.Drawing.Color.Gainsboro;
     this.button3.Location  = new System.Drawing.Point(248, 176);
     this.button3.Name      = "button3";
     this.button3.Size      = new System.Drawing.Size(160, 34);
     this.button3.TabIndex  = 9;
     this.button3.Text      = "Sort By Name >";
     this.button3.Click    += new System.EventHandler(this.SortByContactName_Click);
     //
     // button4
     //
     this.button4.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)),
                                                            ((System.Byte)(0)),
                                                            ((System.Byte)(110)));
     this.button4.Font = new System.Drawing.Font("Tahoma",
                                                 9.75F,
                                                 System.Drawing.FontStyle.Bold,
                                                 System.Drawing.GraphicsUnit.Point,
                                                 ((System.Byte)(0)));
     this.button4.ForeColor = System.Drawing.Color.Gainsboro;
     this.button4.Location  = new System.Drawing.Point(248, 272);
     this.button4.Name      = "button4";
     this.button4.Size      = new System.Drawing.Size(160, 34);
     this.button4.TabIndex  = 10;
     this.button4.Text      = "Sort By Country >";
     this.button4.Click    += new System.EventHandler(this.SortByCountry_Click);
     //
     // textBox1
     //
     this.textBox1.Font = new System.Drawing.Font("Courier New",
                                                  8.25F,
                                                  System.Drawing.FontStyle.Regular,
                                                  System.Drawing.GraphicsUnit.Point,
                                                  ((System.Byte)(0)));
     this.textBox1.Location  = new System.Drawing.Point(8, 344);
     this.textBox1.Multiline = true;
     this.textBox1.Name      = "textBox1";
     this.textBox1.ReadOnly  = true;
     this.textBox1.Size      = new System.Drawing.Size(640, 72);
     this.textBox1.TabIndex  = 12;
     this.textBox1.Text      = "FileHelperEngine engine = new FileHelperEngine(typeof (CustomersVerticalBar));\r\nC" +
                               "ustomerVerticalBar[] res  = (CustomerVerticalBar[]) engine.ReadFile(\"infile.txt\"" +
                               ");\r\n\r\nCommonEngine.SortRecordsByField(res, \"FieldName\");";
     this.textBox1.WordWrap = false;
     //
     // txtSortedBy
     //
     this.txtSortedBy.BackColor = System.Drawing.Color.Transparent;
     this.txtSortedBy.Font      = new System.Drawing.Font("Tahoma",
                                                          9F,
                                                          System.Drawing.FontStyle.Bold,
                                                          System.Drawing.GraphicsUnit.Point,
                                                          ((System.Byte)(0)));
     this.txtSortedBy.ForeColor = System.Drawing.Color.White;
     this.txtSortedBy.Location  = new System.Drawing.Point(416, 51);
     this.txtSortedBy.Name      = "txtSortedBy";
     this.txtSortedBy.Size      = new System.Drawing.Size(216, 16);
     this.txtSortedBy.TabIndex  = 13;
     //
     // frmSort
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize        = new System.Drawing.Size(656, 446);
     this.Controls.Add(this.txtSortedBy);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.button4);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.cmdRun);
     this.Controls.Add(this.grid2);
     this.Controls.Add(this.grid1);
     this.MaximizeBox = false;
     this.Name        = "frmSort";
     this.Text        = "Sorting Example";
     this.Load       += new System.EventHandler(this.frmSort_Load);
     this.Controls.SetChildIndex(this.pictureBox3, 0);
     this.Controls.SetChildIndex(this.grid1, 0);
     this.Controls.SetChildIndex(this.grid2, 0);
     this.Controls.SetChildIndex(this.cmdRun, 0);
     this.Controls.SetChildIndex(this.button1, 0);
     this.Controls.SetChildIndex(this.button2, 0);
     this.Controls.SetChildIndex(this.button3, 0);
     this.Controls.SetChildIndex(this.button4, 0);
     this.Controls.SetChildIndex(this.textBox1, 0);
     this.Controls.SetChildIndex(this.txtSortedBy, 0);
     this.ResumeLayout(false);
 }
Ejemplo n.º 36
0
 internal PropertyTabCollection(PropertyGrid ownerPropertyGrid)
 {
     // Probably we should throw an ArgumentNullException(nameof(ownerPropertyGrid))
     // to make sure _ownerPropertyGrid never be null
     _ownerPropertyGrid = ownerPropertyGrid;
 }
 public SnappableControl(PropertyGrid ownerPropertyGrid)
 {
     OwnerPropertyGrid = ownerPropertyGrid;
     SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
 }
 public PropertyGridAccessibleObject(PropertyGrid owningPropertyGrid) : base(owningPropertyGrid)
 {
     _owningPropertyGrid = owningPropertyGrid;
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.treeView1           = new System.Windows.Forms.TreeView();
     this.splitter1           = new System.Windows.Forms.Splitter();
     this.panel1              = new System.Windows.Forms.Panel();
     this.notSupportedTextBox = new System.Windows.Forms.TextBox();
     this.propertyGrid1       = new System.Windows.Forms.PropertyGrid();
     this.detailView          = new System.Windows.Forms.DataGrid();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.detailView)).BeginInit();
     this.SuspendLayout();
     //
     // treeView1
     //
     this.treeView1.BackColor  = System.Drawing.SystemColors.Window;
     this.treeView1.Dock       = System.Windows.Forms.DockStyle.Left;
     this.treeView1.ImageIndex = -1;
     this.treeView1.Location   = new System.Drawing.Point(0, 0);
     this.treeView1.Name       = "treeView1";
     this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
         new System.Windows.Forms.TreeNode("All Product Info", new System.Windows.Forms.TreeNode[] {
             new System.Windows.Forms.TreeNode("Basic Info"),
             new System.Windows.Forms.TreeNode("Refrenced Assemblies"),
             new System.Windows.Forms.TreeNode("Loaded Modules"),
             new System.Windows.Forms.TreeNode("Resource Names"),
             new System.Windows.Forms.TreeNode("Modules"),
             new System.Windows.Forms.TreeNode("Defined Types"),
             new System.Windows.Forms.TreeNode("Environment"),
             new System.Windows.Forms.TreeNode("Assembly Info"),
             new System.Windows.Forms.TreeNode("Executable File Info"),
             new System.Windows.Forms.TreeNode("Task View"),
             new System.Windows.Forms.TreeNode("Culture Info"),
             new System.Windows.Forms.TreeNode("Time Zone"),
             new System.Windows.Forms.TreeNode("Date Time Formats"),
             new System.Windows.Forms.TreeNode("Number Formats"),
             new System.Windows.Forms.TreeNode("Region Info")
         })
     });
     this.treeView1.SelectedImageIndex = -1;
     this.treeView1.Size         = new System.Drawing.Size(144, 308);
     this.treeView1.TabIndex     = 0;
     this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(144, 0);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(3, 308);
     this.splitter1.TabIndex = 1;
     this.splitter1.TabStop  = false;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.notSupportedTextBox);
     this.panel1.Controls.Add(this.propertyGrid1);
     this.panel1.Controls.Add(this.detailView);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(147, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(285, 308);
     this.panel1.TabIndex = 5;
     //
     // notSupportedTextBox
     //
     this.notSupportedTextBox.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.notSupportedTextBox.Location  = new System.Drawing.Point(0, 0);
     this.notSupportedTextBox.Multiline = true;
     this.notSupportedTextBox.Name      = "notSupportedTextBox";
     this.notSupportedTextBox.Size      = new System.Drawing.Size(285, 308);
     this.notSupportedTextBox.TabIndex  = 5;
     this.notSupportedTextBox.Text      = "";
     //
     // propertyGrid1
     //
     this.propertyGrid1.CommandsVisibleIfAvailable = true;
     this.propertyGrid1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.propertyGrid1.HelpVisible   = false;
     this.propertyGrid1.LargeButtons  = false;
     this.propertyGrid1.LineColor     = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid1.Location      = new System.Drawing.Point(0, 0);
     this.propertyGrid1.Name          = "propertyGrid1";
     this.propertyGrid1.PropertySort  = System.Windows.Forms.PropertySort.Alphabetical;
     this.propertyGrid1.Size          = new System.Drawing.Size(285, 308);
     this.propertyGrid1.TabIndex      = 6;
     this.propertyGrid1.Text          = "propertyGrid1";
     this.propertyGrid1.ViewBackColor = System.Drawing.SystemColors.Window;
     this.propertyGrid1.ViewForeColor = System.Drawing.SystemColors.WindowText;
     //
     // detailView
     //
     this.detailView.CaptionVisible  = false;
     this.detailView.DataMember      = "";
     this.detailView.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.detailView.FlatMode        = true;
     this.detailView.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.detailView.Location        = new System.Drawing.Point(0, 0);
     this.detailView.Name            = "detailView";
     this.detailView.ReadOnly        = true;
     this.detailView.Size            = new System.Drawing.Size(285, 308);
     this.detailView.TabIndex        = 3;
     //
     // AssemblyInfoViewerUserControl
     //
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.treeView1);
     this.Name  = "AssemblyInfoViewerUserControl";
     this.Size  = new System.Drawing.Size(432, 308);
     this.Load += new System.EventHandler(this.AssemblyInfoViewerUserControl_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.detailView)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 40
0
 /// <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();
     this.notifyIcon   = new System.Windows.Forms.NotifyIcon(this.components);
     this.pGrid        = new System.Windows.Forms.PropertyGrid();
     this.tabControl1  = new System.Windows.Forms.TabControl();
     this.properties   = new System.Windows.Forms.TabPage();
     this.tabPage2     = new System.Windows.Forms.TabPage();
     this.timer1       = new System.Windows.Forms.Timer(this.components);
     this.label1       = new System.Windows.Forms.Label();
     this.progressBar1 = new System.Windows.Forms.ProgressBar();
     this.cpu          = new System.Windows.Forms.Label();
     this.label2       = new System.Windows.Forms.Label();
     this.tabControl1.SuspendLayout();
     this.properties.SuspendLayout();
     this.tabPage2.SuspendLayout();
     this.SuspendLayout();
     //
     // notifyIcon
     //
     this.notifyIcon.Text    = "";
     this.notifyIcon.Visible = true;
     //
     // pGrid
     //
     this.pGrid.CommandsVisibleIfAvailable = true;
     this.pGrid.HelpVisible    = false;
     this.pGrid.LargeButtons   = false;
     this.pGrid.LineColor      = System.Drawing.SystemColors.ScrollBar;
     this.pGrid.Location       = new System.Drawing.Point(8, 8);
     this.pGrid.Name           = "pGrid";
     this.pGrid.Size           = new System.Drawing.Size(216, 152);
     this.pGrid.TabIndex       = 0;
     this.pGrid.Text           = "PropertyGrid";
     this.pGrid.ToolbarVisible = false;
     this.pGrid.ViewBackColor  = System.Drawing.SystemColors.Window;
     this.pGrid.ViewForeColor  = System.Drawing.SystemColors.WindowText;
     //
     // tabControl1
     //
     this.tabControl1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.properties,
         this.tabPage2
     });
     this.tabControl1.Location              = new System.Drawing.Point(8, 8);
     this.tabControl1.Name                  = "tabControl1";
     this.tabControl1.SelectedIndex         = 0;
     this.tabControl1.Size                  = new System.Drawing.Size(240, 192);
     this.tabControl1.TabIndex              = 1;
     this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged);
     //
     // properties
     //
     this.properties.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.pGrid
     });
     this.properties.Location = new System.Drawing.Point(4, 22);
     this.properties.Name     = "properties";
     this.properties.Size     = new System.Drawing.Size(232, 166);
     this.properties.TabIndex = 0;
     this.properties.Text     = "Properties";
     //
     // tabPage2
     //
     this.tabPage2.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label2,
         this.cpu,
         this.progressBar1,
         this.label1
     });
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name     = "tabPage2";
     this.tabPage2.Size     = new System.Drawing.Size(232, 166);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text     = "CPU Usage";
     //
     // timer1
     //
     this.timer1.Interval = 750;
     this.timer1.Tick    += new System.EventHandler(this.timer1_Tick);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 24);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(128, 24);
     this.label1.TabIndex = 0;
     this.label1.Text     = "The current CPU usage:";
     //
     // progressBar1
     //
     this.progressBar1.Location = new System.Drawing.Point(8, 48);
     this.progressBar1.Name     = "progressBar1";
     this.progressBar1.Size     = new System.Drawing.Size(216, 16);
     this.progressBar1.TabIndex = 1;
     //
     // cpu
     //
     this.cpu.Location = new System.Drawing.Point(136, 24);
     this.cpu.Name     = "cpu";
     this.cpu.Size     = new System.Drawing.Size(40, 16);
     this.cpu.TabIndex = 2;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(8, 72);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(216, 32);
     this.label2.TabIndex  = 3;
     this.label2.Text      = "Take a look at the System Tray too !";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(258, 216);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.tabControl1
     });
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.Name            = "Form1";
     this.Text            = "NotifyIconChart example";
     this.Load           += new System.EventHandler(this.Form1_Load);
     this.tabControl1.ResumeLayout(false);
     this.properties.ResumeLayout(false);
     this.tabPage2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 41
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.pg           = new System.Windows.Forms.PropertyGrid();
     this.spProperty   = new System.Windows.Forms.Splitter();
     this.Designer     = new Easychart.Finance.Win.ChartWinControl();
     this.mmMain       = new System.Windows.Forms.MainMenu();
     this.miFile       = new System.Windows.Forms.MenuItem();
     this.miOpen       = new System.Windows.Forms.MenuItem();
     this.miSave       = new System.Windows.Forms.MenuItem();
     this.miSp1        = new System.Windows.Forms.MenuItem();
     this.miExit       = new System.Windows.Forms.MenuItem();
     this.miHelp       = new System.Windows.Forms.MenuItem();
     this.miWebSite    = new System.Windows.Forms.MenuItem();
     this.miFeatures   = new System.Windows.Forms.MenuItem();
     this.miSingleLine = new System.Windows.Forms.MenuItem();
     this.miSelect     = new System.Windows.Forms.MenuItem();
     this.ofd          = new System.Windows.Forms.OpenFileDialog();
     this.sfd          = new System.Windows.Forms.SaveFileDialog();
     this.pnRight      = new System.Windows.Forms.Panel();
     this.spTree       = new System.Windows.Forms.Splitter();
     this.ObjectTree   = new Easychart.Finance.Objects.ObjectTree();
     this.ToolPanel    = new Easychart.Finance.Objects.ObjectToolPanel();
     this.pnTop        = new System.Windows.Forms.Panel();
     this.btnArc       = new System.Windows.Forms.Button();
     this.btnLabel     = new System.Windows.Forms.Button();
     this.btnFib       = new System.Windows.Forms.Button();
     this.btnSegment   = new System.Windows.Forms.Button();
     this.miRemoveAll  = new System.Windows.Forms.MenuItem();
     this.pnRight.SuspendLayout();
     this.pnTop.SuspendLayout();
     this.SuspendLayout();
     //
     // pg
     //
     this.pg.CommandsVisibleIfAvailable = true;
     this.pg.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.pg.LargeButtons  = false;
     this.pg.LineColor     = System.Drawing.SystemColors.ScrollBar;
     this.pg.Location      = new System.Drawing.Point(0, 179);
     this.pg.Name          = "pg";
     this.pg.Size          = new System.Drawing.Size(200, 278);
     this.pg.TabIndex      = 3;
     this.pg.Text          = "PropertyGrid";
     this.pg.ViewBackColor = System.Drawing.SystemColors.Window;
     this.pg.ViewForeColor = System.Drawing.SystemColors.WindowText;
     //
     // spProperty
     //
     this.spProperty.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.spProperty.Dock        = System.Windows.Forms.DockStyle.Right;
     this.spProperty.Location    = new System.Drawing.Point(565, 40);
     this.spProperty.MinExtra    = 0;
     this.spProperty.MinSize     = 0;
     this.spProperty.Name        = "spProperty";
     this.spProperty.Size        = new System.Drawing.Size(3, 417);
     this.spProperty.TabIndex    = 4;
     this.spProperty.TabStop     = false;
     //
     // Designer
     //
     this.Designer.CausesValidation = false;
     this.Designer.DefaultFormulas  = "MAIN#AreaBB#MA(50)#MA(200);VOLMA;SlowSTO;MACD;RSI(14)#RSI(28)";
     this.Designer.Designing        = false;
     this.Designer.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.Designer.EndTime          = new System.DateTime(((long)(0)));
     this.Designer.FavoriteFormulas = "VOLMA;AreaRSI;DEMO.MACD;CCI;OBV;ATR;FastSTO;SlowSTO;ROC;TRIX;WR;AD;CMF;PPO;StochR" +
                                      "SI;ULT;BBWidth;PVO";
     this.Designer.LatestValueType  = Easychart.Finance.LatestValueType.None;
     this.Designer.Location         = new System.Drawing.Point(117, 40);
     this.Designer.MaxPrice         = 0;
     this.Designer.MinPrice         = 0;
     this.Designer.Name             = "Designer";
     this.Designer.PriceLabelFormat = null;
     this.Designer.ShowStatistic    = false;
     this.Designer.Size             = new System.Drawing.Size(448, 417);
     this.Designer.StartTime        = new System.DateTime(((long)(0)));
     this.Designer.Symbol           = null;
     this.Designer.TabIndex         = 5;
     this.Designer.NativePaint     += new Easychart.Finance.NativePaintHandler(this.Designer_NativePaint);
     this.Designer.MouseDown       += new System.Windows.Forms.MouseEventHandler(this.Designer_MouseDown);
     //
     // mmMain
     //
     this.mmMain.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.miFile,
         this.miHelp,
         this.miFeatures
     });
     //
     // miFile
     //
     this.miFile.Index = 0;
     this.miFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.miOpen,
         this.miSave,
         this.miSp1,
         this.miExit
     });
     this.miFile.Text = "&File";
     //
     // miOpen
     //
     this.miOpen.Index  = 0;
     this.miOpen.Text   = "&Open";
     this.miOpen.Click += new System.EventHandler(this.miOpen_Click);
     //
     // miSave
     //
     this.miSave.Index  = 1;
     this.miSave.Text   = "&Save";
     this.miSave.Click += new System.EventHandler(this.miSave_Click);
     //
     // miSp1
     //
     this.miSp1.Index = 2;
     this.miSp1.Text  = "-";
     //
     // miExit
     //
     this.miExit.Index  = 3;
     this.miExit.Text   = "&Exit";
     this.miExit.Click += new System.EventHandler(this.miExit_Click);
     //
     // miHelp
     //
     this.miHelp.Index = 1;
     this.miHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.miWebSite
     });
     this.miHelp.Text = "&Help";
     //
     // miWebSite
     //
     this.miWebSite.Index  = 0;
     this.miWebSite.Text   = "&Web Site";
     this.miWebSite.Click += new System.EventHandler(this.miWebSite_Click);
     //
     // miFeatures
     //
     this.miFeatures.Index = 2;
     this.miFeatures.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.miSingleLine,
         this.miSelect,
         this.miRemoveAll
     });
     this.miFeatures.Text = "F&eatures";
     //
     // miSingleLine
     //
     this.miSingleLine.Index  = 0;
     this.miSingleLine.Text   = "Single Line in Vol Area";
     this.miSingleLine.Click += new System.EventHandler(this.miSingleLine_Click);
     //
     // miSelect
     //
     this.miSelect.Index  = 1;
     this.miSelect.Text   = "Select First Object";
     this.miSelect.Click += new System.EventHandler(this.miSelect_Click);
     //
     // ofd
     //
     this.ofd.Filter = "Object File(*.xml)|*.xml";
     //
     // sfd
     //
     this.sfd.DefaultExt = "xml";
     this.sfd.Filter     = "Object File(*.xml)|*.xml";
     //
     // pnRight
     //
     this.pnRight.Controls.Add(this.pg);
     this.pnRight.Controls.Add(this.spTree);
     this.pnRight.Controls.Add(this.ObjectTree);
     this.pnRight.Dock     = System.Windows.Forms.DockStyle.Right;
     this.pnRight.Location = new System.Drawing.Point(568, 0);
     this.pnRight.Name     = "pnRight";
     this.pnRight.Size     = new System.Drawing.Size(200, 457);
     this.pnRight.TabIndex = 6;
     //
     // spTree
     //
     this.spTree.Dock     = System.Windows.Forms.DockStyle.Top;
     this.spTree.Location = new System.Drawing.Point(0, 176);
     this.spTree.Name     = "spTree";
     this.spTree.Size     = new System.Drawing.Size(200, 3);
     this.spTree.TabIndex = 5;
     this.spTree.TabStop  = false;
     //
     // ObjectTree
     //
     this.ObjectTree.Dock     = System.Windows.Forms.DockStyle.Top;
     this.ObjectTree.Location = new System.Drawing.Point(0, 0);
     this.ObjectTree.Name     = "ObjectTree";
     this.ObjectTree.Size     = new System.Drawing.Size(200, 176);
     this.ObjectTree.TabIndex = 4;
     //
     // ToolPanel
     //
     this.ToolPanel.Dock                = System.Windows.Forms.DockStyle.Left;
     this.ToolPanel.Location            = new System.Drawing.Point(0, 0);
     this.ToolPanel.Name                = "ToolPanel";
     this.ToolPanel.ResetAfterEachDraw  = true;
     this.ToolPanel.Size                = new System.Drawing.Size(117, 457);
     this.ToolPanel.TabIndex            = 7;
     this.ToolPanel.AfterButtonCreated += new Easychart.Finance.Objects.ObjectButtonEventHandler(this.ToolPanel_AfterButtonCreated);
     //
     // pnTop
     //
     this.pnTop.Controls.Add(this.btnArc);
     this.pnTop.Controls.Add(this.btnLabel);
     this.pnTop.Controls.Add(this.btnFib);
     this.pnTop.Controls.Add(this.btnSegment);
     this.pnTop.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pnTop.Location = new System.Drawing.Point(117, 0);
     this.pnTop.Name     = "pnTop";
     this.pnTop.Size     = new System.Drawing.Size(451, 40);
     this.pnTop.TabIndex = 8;
     //
     // btnArc
     //
     this.btnArc.Location = new System.Drawing.Point(248, 8);
     this.btnArc.Name     = "btnArc";
     this.btnArc.TabIndex = 3;
     this.btnArc.Text     = "Fill Circle";
     this.btnArc.Click   += new System.EventHandler(this.btnArc_Click);
     //
     // btnLabel
     //
     this.btnLabel.Location = new System.Drawing.Point(168, 8);
     this.btnLabel.Name     = "btnLabel";
     this.btnLabel.TabIndex = 2;
     this.btnLabel.Text     = "Label";
     this.btnLabel.Click   += new System.EventHandler(this.btnLabel_Click);
     //
     // btnFib
     //
     this.btnFib.Location = new System.Drawing.Point(88, 8);
     this.btnFib.Name     = "btnFib";
     this.btnFib.TabIndex = 1;
     this.btnFib.Text     = "Fibonacci";
     this.btnFib.Click   += new System.EventHandler(this.btnFib_Click);
     //
     // btnSegment
     //
     this.btnSegment.Location = new System.Drawing.Point(8, 8);
     this.btnSegment.Name     = "btnSegment";
     this.btnSegment.TabIndex = 0;
     this.btnSegment.Text     = "Segment";
     this.btnSegment.Click   += new System.EventHandler(this.btnSegment_Click);
     //
     // miRemoveAll
     //
     this.miRemoveAll.Index  = 2;
     this.miRemoveAll.Text   = "Remove All";
     this.miRemoveAll.Click += new System.EventHandler(this.miRemoveAll_Click);
     //
     // ObjectDesignerForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(768, 457);
     this.Controls.Add(this.Designer);
     this.Controls.Add(this.spProperty);
     this.Controls.Add(this.pnTop);
     this.Controls.Add(this.pnRight);
     this.Controls.Add(this.ToolPanel);
     this.Font        = new System.Drawing.Font("Verdana", 8.25F);
     this.KeyPreview  = true;
     this.Menu        = this.mmMain;
     this.Name        = "ObjectDesignerForm";
     this.Text        = "Object Designer Form";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load       += new System.EventHandler(this.ObjectDesignerForm_Load);
     this.pnRight.ResumeLayout(false);
     this.pnTop.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 42
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.panel1           = new System.Windows.Forms.Panel();
     this.C_CopyStat       = new System.Windows.Forms.Button();
     this.C_MoveDown       = new System.Windows.Forms.Button();
     this.C_MoveUp         = new System.Windows.Forms.Button();
     this.C_Remove         = new System.Windows.Forms.Button();
     this.C_NewStat        = new System.Windows.Forms.Button();
     this.C_PropertyGrid   = new System.Windows.Forms.PropertyGrid();
     this.C_Menu           = new System.Windows.Forms.ContextMenu();
     this.Menu_AddStat     = new System.Windows.Forms.MenuItem();
     this.Menu_CopyStat    = new System.Windows.Forms.MenuItem();
     this.Menu_RemoveGroup = new System.Windows.Forms.MenuItem();
     this.Menu_MoveUp      = new System.Windows.Forms.MenuItem();
     this.Menu_MoveDown    = new System.Windows.Forms.MenuItem();
     this.splitter1        = new System.Windows.Forms.Splitter();
     this.C_GroupInfoTree  = new System.Windows.Forms.TreeView();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.C_CopyStat);
     this.panel1.Controls.Add(this.C_MoveDown);
     this.panel1.Controls.Add(this.C_MoveUp);
     this.panel1.Controls.Add(this.C_Remove);
     this.panel1.Controls.Add(this.C_NewStat);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(600, 40);
     this.panel1.TabIndex = 0;
     //
     // C_CopyStat
     //
     this.C_CopyStat.BackColor = System.Drawing.SystemColors.Control;
     this.C_CopyStat.Location  = new System.Drawing.Point(120, 8);
     this.C_CopyStat.Name      = "C_CopyStat";
     this.C_CopyStat.Size      = new System.Drawing.Size(104, 23);
     this.C_CopyStat.TabIndex  = 4;
     this.C_CopyStat.Text      = "Copy Stat";
     this.C_CopyStat.Click    += new System.EventHandler(this.Menu_CopyStat_Click);
     //
     // C_MoveDown
     //
     this.C_MoveDown.BackColor = System.Drawing.SystemColors.Control;
     this.C_MoveDown.Location  = new System.Drawing.Point(419, 8);
     this.C_MoveDown.Name      = "C_MoveDown";
     this.C_MoveDown.Size      = new System.Drawing.Size(85, 23);
     this.C_MoveDown.TabIndex  = 3;
     this.C_MoveDown.Text      = "Move Down";
     this.C_MoveDown.Click    += new System.EventHandler(this.Menu_MoveDown_Click);
     //
     // C_MoveUp
     //
     this.C_MoveUp.BackColor = System.Drawing.SystemColors.Control;
     this.C_MoveUp.Location  = new System.Drawing.Point(341, 8);
     this.C_MoveUp.Name      = "C_MoveUp";
     this.C_MoveUp.Size      = new System.Drawing.Size(70, 23);
     this.C_MoveUp.TabIndex  = 2;
     this.C_MoveUp.Text      = "Move Up";
     this.C_MoveUp.Click    += new System.EventHandler(this.Menu_MoveUp_Click);
     //
     // C_Remove
     //
     this.C_Remove.BackColor = System.Drawing.SystemColors.Control;
     this.C_Remove.Location  = new System.Drawing.Point(232, 8);
     this.C_Remove.Name      = "C_Remove";
     this.C_Remove.Size      = new System.Drawing.Size(100, 23);
     this.C_Remove.TabIndex  = 1;
     this.C_Remove.Text      = "Remove Item";
     this.C_Remove.Click    += new System.EventHandler(this.Menu_RemoveItem_Click);
     //
     // C_NewStat
     //
     this.C_NewStat.BackColor = System.Drawing.SystemColors.Control;
     this.C_NewStat.Location  = new System.Drawing.Point(8, 8);
     this.C_NewStat.Name      = "C_NewStat";
     this.C_NewStat.Size      = new System.Drawing.Size(104, 23);
     this.C_NewStat.TabIndex  = 0;
     this.C_NewStat.Text      = "Add Stat";
     this.C_NewStat.Click    += new System.EventHandler(this.Menu_AddStat_Click);
     //
     // C_PropertyGrid
     //
     this.C_PropertyGrid.CommandsVisibleIfAvailable = true;
     this.C_PropertyGrid.Cursor        = System.Windows.Forms.Cursors.HSplit;
     this.C_PropertyGrid.Dock          = System.Windows.Forms.DockStyle.Right;
     this.C_PropertyGrid.LargeButtons  = false;
     this.C_PropertyGrid.LineColor     = System.Drawing.SystemColors.Control;
     this.C_PropertyGrid.Location      = new System.Drawing.Point(320, 40);
     this.C_PropertyGrid.Name          = "C_PropertyGrid";
     this.C_PropertyGrid.Size          = new System.Drawing.Size(280, 260);
     this.C_PropertyGrid.TabIndex      = 1;
     this.C_PropertyGrid.Text          = "propertyGrid1";
     this.C_PropertyGrid.ViewBackColor = System.Drawing.SystemColors.Window;
     this.C_PropertyGrid.ViewForeColor = System.Drawing.SystemColors.WindowText;
     //
     // C_Menu
     //
     this.C_Menu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.Menu_AddStat,
         this.Menu_CopyStat,
         this.Menu_RemoveGroup,
         this.Menu_MoveUp,
         this.Menu_MoveDown
     });
     //
     // Menu_AddStat
     //
     this.Menu_AddStat.Index  = 0;
     this.Menu_AddStat.Text   = "Add Stat";
     this.Menu_AddStat.Click += new System.EventHandler(this.Menu_AddStat_Click);
     //
     // Menu_CopyStat
     //
     this.Menu_CopyStat.Index  = 1;
     this.Menu_CopyStat.Text   = "Copy Stat";
     this.Menu_CopyStat.Click += new System.EventHandler(this.Menu_CopyStat_Click);
     //
     // Menu_RemoveGroup
     //
     this.Menu_RemoveGroup.Index  = 2;
     this.Menu_RemoveGroup.Text   = "Remove Item";
     this.Menu_RemoveGroup.Click += new System.EventHandler(this.Menu_RemoveItem_Click);
     //
     // Menu_MoveUp
     //
     this.Menu_MoveUp.Index  = 3;
     this.Menu_MoveUp.Text   = "Move Up";
     this.Menu_MoveUp.Click += new System.EventHandler(this.Menu_MoveUp_Click);
     //
     // Menu_MoveDown
     //
     this.Menu_MoveDown.Index  = 4;
     this.Menu_MoveDown.Text   = "Move Down";
     this.Menu_MoveDown.Click += new System.EventHandler(this.Menu_MoveDown_Click);
     //
     // splitter1
     //
     this.splitter1.Dock     = System.Windows.Forms.DockStyle.Right;
     this.splitter1.Location = new System.Drawing.Point(315, 40);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(5, 260);
     this.splitter1.TabIndex = 3;
     this.splitter1.TabStop  = false;
     //
     // C_GroupInfoTree
     //
     this.C_GroupInfoTree.ContextMenu        = this.C_Menu;
     this.C_GroupInfoTree.Dock               = System.Windows.Forms.DockStyle.Fill;
     this.C_GroupInfoTree.Font               = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.C_GroupInfoTree.ForeColor          = System.Drawing.Color.Black;
     this.C_GroupInfoTree.ImageIndex         = -1;
     this.C_GroupInfoTree.ItemHeight         = 16;
     this.C_GroupInfoTree.Location           = new System.Drawing.Point(0, 40);
     this.C_GroupInfoTree.Name               = "C_GroupInfoTree";
     this.C_GroupInfoTree.SelectedImageIndex = -1;
     this.C_GroupInfoTree.Size               = new System.Drawing.Size(320, 260);
     this.C_GroupInfoTree.TabIndex           = 2;
     this.C_GroupInfoTree.KeyDown           += new System.Windows.Forms.KeyEventHandler(this.C_GroupInfoTree_KeyDown);
     this.C_GroupInfoTree.Click             += new System.EventHandler(this.C_GroupInfoTree_Click);
     this.C_GroupInfoTree.AfterSelect       += new System.Windows.Forms.TreeViewEventHandler(this.C_GroupInfoTree_AfterSelect);
     this.C_GroupInfoTree.BeforeSelect      += new System.Windows.Forms.TreeViewCancelEventHandler(this.C_GroupInfoTree_BeforeSelect);
     this.C_GroupInfoTree.Enter             += new System.EventHandler(this.C_GroupInfoTree_Click);
     //
     // ConfigStatInfo
     //
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.C_GroupInfoTree);
     this.Controls.Add(this.C_PropertyGrid);
     this.Controls.Add(this.panel1);
     this.Name = "ConfigStatInfo";
     this.Size = new System.Drawing.Size(600, 300);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 43
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\MainWindow.xaml"
                ((DropsEditor.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.YbDropOpenMenu = ((System.Windows.Controls.MenuItem)(target));

            #line 14 "..\..\MainWindow.xaml"
                this.YbDropOpenMenu.Click += new System.Windows.RoutedEventHandler(this.YbDropOpenMenu_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.SaveButton = ((System.Windows.Controls.Button)(target));

            #line 20 "..\..\MainWindow.xaml"
                this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.ReloadButton = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.NewButton = ((System.Windows.Controls.Button)(target));

            #line 22 "..\..\MainWindow.xaml"
                this.NewButton.Click += new System.Windows.RoutedEventHandler(this.NewButton_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.DeleteButton = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.DataListBox = ((System.Windows.Controls.ListBox)(target));

            #line 26 "..\..\MainWindow.xaml"
                this.DataListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.FilterName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.FilterLevel = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.propertyGrid = ((System.Windows.Forms.PropertyGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 44
0
 /// <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));
     this.mainMenu               = new System.Windows.Forms.MainMenu(this.components);
     this.mnuFile                = new System.Windows.Forms.MenuItem();
     this.mnuSaveAs              = new System.Windows.Forms.MenuItem();
     this.mnuOpen                = new System.Windows.Forms.MenuItem();
     this.mnuDash1               = new System.Windows.Forms.MenuItem();
     this.mnuExit                = new System.Windows.Forms.MenuItem();
     this.menuItem3              = new System.Windows.Forms.MenuItem();
     this.mnuNewDiagram          = new System.Windows.Forms.MenuItem();
     this.mnuRandomDiagram       = new System.Windows.Forms.MenuItem();
     this.mnuDash4               = new System.Windows.Forms.MenuItem();
     this.mnuAddRandomNode       = new System.Windows.Forms.MenuItem();
     this.mnuCenterRoot          = new System.Windows.Forms.MenuItem();
     this.mnuAddChild            = new System.Windows.Forms.MenuItem();
     this.mnuDash3               = new System.Windows.Forms.MenuItem();
     this.mnuCollapseAll         = new System.Windows.Forms.MenuItem();
     this.mnuExpandAll           = new System.Windows.Forms.MenuItem();
     this.mnuDash2               = new System.Windows.Forms.MenuItem();
     this.mnuForceLayout         = new System.Windows.Forms.MenuItem();
     this.mnuLayoutDirection     = new System.Windows.Forms.MenuItem();
     this.mnuVerticalDirection   = new System.Windows.Forms.MenuItem();
     this.mnuHorizontalDirection = new System.Windows.Forms.MenuItem();
     this.menuItem1              = new System.Windows.Forms.MenuItem();
     this.mnuDFTInfo             = new System.Windows.Forms.MenuItem();
     this.mnuBFTInfo             = new System.Windows.Forms.MenuItem();
     this.mnuXMLExport           = new System.Windows.Forms.MenuItem();
     this.mnuColorLevels         = new System.Windows.Forms.MenuItem();
     this.mnuHelp                = new System.Windows.Forms.MenuItem();
     this.mnuHelpHelp            = new System.Windows.Forms.MenuItem();
     this.mnuDash5               = new System.Windows.Forms.MenuItem();
     this.mnuGotoGraphLib        = new System.Windows.Forms.MenuItem();
     this.mnuGotoNetronLight     = new System.Windows.Forms.MenuItem();
     this.mnuTheNetronProject    = new System.Windows.Forms.MenuItem();
     this.mnuClassReference      = new System.Windows.Forms.MenuItem();
     this.statusBar              = new System.Windows.Forms.StatusBar();
     this.rightPanel             = new System.Windows.Forms.Panel();
     this.rightTabControl        = new System.Windows.Forms.TabControl();
     this.tabProperties          = new System.Windows.Forms.TabPage();
     this.propertyGrid           = new System.Windows.Forms.PropertyGrid();
     this.tabOutput              = new System.Windows.Forms.TabPage();
     this.outputBox              = new System.Windows.Forms.TextBox();
     this.splitter1              = new System.Windows.Forms.Splitter();
     this.mainPanel              = new System.Windows.Forms.Panel();
     this.lithiumMenu            = new System.Windows.Forms.ContextMenu();
     this.cmnuNewDiagram         = new System.Windows.Forms.MenuItem();
     this.cmnuDash1              = new System.Windows.Forms.MenuItem();
     this.cmnuCenterRoot         = new System.Windows.Forms.MenuItem();
     this.cmnuAddChild           = new System.Windows.Forms.MenuItem();
     this.cmnuDelete             = new System.Windows.Forms.MenuItem();
     this.cmnuDash2              = new System.Windows.Forms.MenuItem();
     this.lithiumControl         = new Netron.Lithium.LithiumControl();
     this.rightPanel.SuspendLayout();
     this.rightTabControl.SuspendLayout();
     this.tabProperties.SuspendLayout();
     this.tabOutput.SuspendLayout();
     this.mainPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // mainMenu
     //
     this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuFile,
         this.menuItem3,
         this.menuItem1,
         this.mnuHelp
     });
     //
     // mnuFile
     //
     this.mnuFile.Index = 0;
     this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuSaveAs,
         this.mnuOpen,
         this.mnuDash1,
         this.mnuExit
     });
     this.mnuFile.Text = "File";
     //
     // mnuSaveAs
     //
     this.mnuSaveAs.Index  = 0;
     this.mnuSaveAs.Text   = "Save as...";
     this.mnuSaveAs.Click += new System.EventHandler(this.mnuSaveAs_Click);
     //
     // mnuOpen
     //
     this.mnuOpen.Index  = 1;
     this.mnuOpen.Text   = "Open...";
     this.mnuOpen.Click += new System.EventHandler(this.mnuOpen_Click);
     //
     // mnuDash1
     //
     this.mnuDash1.Index = 2;
     this.mnuDash1.Text  = "-";
     //
     // mnuExit
     //
     this.mnuExit.Index  = 3;
     this.mnuExit.Text   = "Exit";
     this.mnuExit.Click += new System.EventHandler(this.mnuExit_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index = 1;
     this.menuItem3.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuNewDiagram,
         this.mnuRandomDiagram,
         this.mnuDash4,
         this.mnuAddRandomNode,
         this.mnuCenterRoot,
         this.mnuAddChild,
         this.mnuDash3,
         this.mnuCollapseAll,
         this.mnuExpandAll,
         this.mnuDash2,
         this.mnuForceLayout,
         this.mnuLayoutDirection
     });
     this.menuItem3.Text = "Diagram";
     //
     // mnuNewDiagram
     //
     this.mnuNewDiagram.Index  = 0;
     this.mnuNewDiagram.Text   = "New diagram";
     this.mnuNewDiagram.Click += new System.EventHandler(this.mnuNewDiagram_Click);
     //
     // mnuRandomDiagram
     //
     this.mnuRandomDiagram.Index  = 1;
     this.mnuRandomDiagram.Text   = "Random diagram";
     this.mnuRandomDiagram.Click += new System.EventHandler(this.mnuRandomDiagram_Click);
     //
     // mnuDash4
     //
     this.mnuDash4.Index = 2;
     this.mnuDash4.Text  = "-";
     //
     // mnuAddRandomNode
     //
     this.mnuAddRandomNode.Index  = 3;
     this.mnuAddRandomNode.Text   = "Add random node";
     this.mnuAddRandomNode.Click += new System.EventHandler(this.mnuAddRandom_Click);
     //
     // mnuCenterRoot
     //
     this.mnuCenterRoot.Index  = 4;
     this.mnuCenterRoot.Text   = "Center root";
     this.mnuCenterRoot.Click += new System.EventHandler(this.mnuCenterRoot_Click);
     //
     // mnuAddChild
     //
     this.mnuAddChild.Index  = 5;
     this.mnuAddChild.Text   = "Add child";
     this.mnuAddChild.Click += new System.EventHandler(this.mnuAddChild_Click);
     //
     // mnuDash3
     //
     this.mnuDash3.Index = 6;
     this.mnuDash3.Text  = "-";
     //
     // mnuCollapseAll
     //
     this.mnuCollapseAll.Index  = 7;
     this.mnuCollapseAll.Text   = "Collapse all";
     this.mnuCollapseAll.Click += new System.EventHandler(this.mnuCollapseAll_Click);
     //
     // mnuExpandAll
     //
     this.mnuExpandAll.Index  = 8;
     this.mnuExpandAll.Text   = "Expand all";
     this.mnuExpandAll.Click += new System.EventHandler(this.mnuExpandAll_Click);
     //
     // mnuDash2
     //
     this.mnuDash2.Index = 9;
     this.mnuDash2.Text  = "-";
     //
     // mnuForceLayout
     //
     this.mnuForceLayout.Checked = true;
     this.mnuForceLayout.Index   = 10;
     this.mnuForceLayout.Text    = "Force layout";
     this.mnuForceLayout.Click  += new System.EventHandler(this.mnuForceLayout_Click);
     //
     // mnuLayoutDirection
     //
     this.mnuLayoutDirection.Index = 11;
     this.mnuLayoutDirection.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuVerticalDirection,
         this.mnuHorizontalDirection
     });
     this.mnuLayoutDirection.Text = "Layout direction";
     //
     // mnuVerticalDirection
     //
     this.mnuVerticalDirection.Index  = 0;
     this.mnuVerticalDirection.Text   = "Vertical";
     this.mnuVerticalDirection.Click += new System.EventHandler(this.mnuVerticalDirection_Click);
     //
     // mnuHorizontalDirection
     //
     this.mnuHorizontalDirection.Checked = true;
     this.mnuHorizontalDirection.Index   = 1;
     this.mnuHorizontalDirection.Text    = "Horizontal";
     this.mnuHorizontalDirection.Click  += new System.EventHandler(this.mnuHorizontalDirection_Click);
     //
     // menuItem1
     //
     this.menuItem1.Index = 2;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuDFTInfo,
         this.mnuBFTInfo,
         this.mnuXMLExport,
         this.mnuColorLevels
     });
     this.menuItem1.Text = "Examples";
     //
     // mnuDFTInfo
     //
     this.mnuDFTInfo.Index  = 0;
     this.mnuDFTInfo.Text   = "DFT of the diagram";
     this.mnuDFTInfo.Click += new System.EventHandler(this.mnuDFTInfo_Click);
     //
     // mnuBFTInfo
     //
     this.mnuBFTInfo.Index  = 1;
     this.mnuBFTInfo.Text   = "BFT of the diagram";
     this.mnuBFTInfo.Click += new System.EventHandler(this.mnuBFTInfo_Click);
     //
     // mnuXMLExport
     //
     this.mnuXMLExport.Index  = 2;
     this.mnuXMLExport.Text   = "XML export";
     this.mnuXMLExport.Click += new System.EventHandler(this.mnuXMLExport_Click);
     //
     // mnuColorLevels
     //
     this.mnuColorLevels.Index  = 3;
     this.mnuColorLevels.Text   = "Color levels";
     this.mnuColorLevels.Click += new System.EventHandler(this.mnuColorLevels_Click);
     //
     // mnuHelp
     //
     this.mnuHelp.Index = 3;
     this.mnuHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuHelpHelp,
         this.mnuDash5,
         this.mnuGotoGraphLib,
         this.mnuGotoNetronLight,
         this.mnuTheNetronProject,
         this.mnuClassReference
     });
     this.mnuHelp.Text = "Help";
     //
     // mnuHelpHelp
     //
     this.mnuHelpHelp.Index  = 0;
     this.mnuHelpHelp.Text   = "Lithium Help";
     this.mnuHelpHelp.Click += new System.EventHandler(this.mnuHelpHelp_Click);
     //
     // mnuDash5
     //
     this.mnuDash5.Index = 1;
     this.mnuDash5.Text  = "-";
     //
     // mnuGotoGraphLib
     //
     this.mnuGotoGraphLib.Index  = 2;
     this.mnuGotoGraphLib.Text   = "Graph Library";
     this.mnuGotoGraphLib.Click += new System.EventHandler(this.mnuGotoGraphLib_Click);
     //
     // mnuGotoNetronLight
     //
     this.mnuGotoNetronLight.Index  = 3;
     this.mnuGotoNetronLight.Text   = "Netron Light";
     this.mnuGotoNetronLight.Click += new System.EventHandler(this.mnuGotoNetronLight_Click);
     //
     // mnuTheNetronProject
     //
     this.mnuTheNetronProject.Index  = 4;
     this.mnuTheNetronProject.Text   = "The Netron Project";
     this.mnuTheNetronProject.Click += new System.EventHandler(this.mnuTheNetronProject_Click);
     //
     // mnuClassReference
     //
     this.mnuClassReference.Index  = 5;
     this.mnuClassReference.Text   = "Class reference";
     this.mnuClassReference.Click += new System.EventHandler(this.mnuClassReference_Click);
     //
     // statusBar
     //
     this.statusBar.Location = new System.Drawing.Point(0, 510);
     this.statusBar.Name     = "statusBar";
     this.statusBar.Size     = new System.Drawing.Size(832, 22);
     this.statusBar.TabIndex = 0;
     //
     // rightPanel
     //
     this.rightPanel.Controls.Add(this.rightTabControl);
     this.rightPanel.Dock     = System.Windows.Forms.DockStyle.Right;
     this.rightPanel.Location = new System.Drawing.Point(632, 0);
     this.rightPanel.Name     = "rightPanel";
     this.rightPanel.Size     = new System.Drawing.Size(200, 510);
     this.rightPanel.TabIndex = 3;
     //
     // rightTabControl
     //
     this.rightTabControl.Appearance = System.Windows.Forms.TabAppearance.FlatButtons;
     this.rightTabControl.Controls.Add(this.tabProperties);
     this.rightTabControl.Controls.Add(this.tabOutput);
     this.rightTabControl.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.rightTabControl.Location      = new System.Drawing.Point(0, 0);
     this.rightTabControl.Name          = "rightTabControl";
     this.rightTabControl.SelectedIndex = 0;
     this.rightTabControl.Size          = new System.Drawing.Size(200, 510);
     this.rightTabControl.TabIndex      = 0;
     //
     // tabProperties
     //
     this.tabProperties.Controls.Add(this.propertyGrid);
     this.tabProperties.Location = new System.Drawing.Point(4, 25);
     this.tabProperties.Name     = "tabProperties";
     this.tabProperties.Size     = new System.Drawing.Size(192, 481);
     this.tabProperties.TabIndex = 0;
     this.tabProperties.Text     = "Properties";
     //
     // propertyGrid
     //
     this.propertyGrid.Dock           = System.Windows.Forms.DockStyle.Fill;
     this.propertyGrid.LineColor      = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid.Location       = new System.Drawing.Point(0, 0);
     this.propertyGrid.Name           = "propertyGrid";
     this.propertyGrid.Size           = new System.Drawing.Size(192, 481);
     this.propertyGrid.TabIndex       = 0;
     this.propertyGrid.ToolbarVisible = false;
     //
     // tabOutput
     //
     this.tabOutput.Controls.Add(this.outputBox);
     this.tabOutput.Location = new System.Drawing.Point(4, 25);
     this.tabOutput.Name     = "tabOutput";
     this.tabOutput.Size     = new System.Drawing.Size(192, 502);
     this.tabOutput.TabIndex = 1;
     this.tabOutput.Text     = "Output";
     //
     // outputBox
     //
     this.outputBox.BackColor   = System.Drawing.SystemColors.Info;
     this.outputBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.outputBox.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.outputBox.Location    = new System.Drawing.Point(0, 0);
     this.outputBox.Multiline   = true;
     this.outputBox.Name        = "outputBox";
     this.outputBox.ReadOnly    = true;
     this.outputBox.ScrollBars  = System.Windows.Forms.ScrollBars.Vertical;
     this.outputBox.Size        = new System.Drawing.Size(192, 502);
     this.outputBox.TabIndex    = 0;
     //
     // splitter1
     //
     this.splitter1.Dock     = System.Windows.Forms.DockStyle.Right;
     this.splitter1.Location = new System.Drawing.Point(629, 0);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(3, 510);
     this.splitter1.TabIndex = 4;
     this.splitter1.TabStop  = false;
     //
     // mainPanel
     //
     this.mainPanel.Controls.Add(this.lithiumControl);
     this.mainPanel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.mainPanel.Location = new System.Drawing.Point(0, 0);
     this.mainPanel.Name     = "mainPanel";
     this.mainPanel.Size     = new System.Drawing.Size(629, 510);
     this.mainPanel.TabIndex = 5;
     //
     // lithiumMenu
     //
     this.lithiumMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.cmnuNewDiagram,
         this.cmnuDash1,
         this.cmnuCenterRoot,
         this.cmnuAddChild,
         this.cmnuDelete,
         this.cmnuDash2
     });
     //
     // cmnuNewDiagram
     //
     this.cmnuNewDiagram.Index  = 0;
     this.cmnuNewDiagram.Text   = "New diagram";
     this.cmnuNewDiagram.Click += new System.EventHandler(this.mnuNewDiagram_Click);
     //
     // cmnuDash1
     //
     this.cmnuDash1.Index = 1;
     this.cmnuDash1.Text  = "-";
     //
     // cmnuCenterRoot
     //
     this.cmnuCenterRoot.Index  = 2;
     this.cmnuCenterRoot.Text   = "Center root";
     this.cmnuCenterRoot.Click += new System.EventHandler(this.mnuCenterRoot_Click);
     //
     // cmnuAddChild
     //
     this.cmnuAddChild.Index  = 3;
     this.cmnuAddChild.Text   = "Add child";
     this.cmnuAddChild.Click += new System.EventHandler(this.mnuAddChild_Click);
     //
     // cmnuDelete
     //
     this.cmnuDelete.Index  = 4;
     this.cmnuDelete.Text   = "Delete";
     this.cmnuDelete.Click += new System.EventHandler(this.mnuDelete_Click);
     //
     // cmnuDash2
     //
     this.cmnuDash2.Index = 5;
     this.cmnuDash2.Text  = "-";
     //
     // lithiumControl
     //
     this.lithiumControl.AutoScroll      = true;
     this.lithiumControl.BackColor       = System.Drawing.Color.WhiteSmoke;
     this.lithiumControl.BranchHeight    = 120;
     this.lithiumControl.ConnectionType  = Netron.Lithium.ConnectionType.Traditional;
     this.lithiumControl.ContextMenu     = this.lithiumMenu;
     this.lithiumControl.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.lithiumControl.Font            = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lithiumControl.LayoutDirection = Netron.Lithium.TreeDirection.Horizontal;
     this.lithiumControl.LayoutEnabled   = true;
     this.lithiumControl.Location        = new System.Drawing.Point(0, 0);
     this.lithiumControl.Name            = "lithiumControl";
     this.lithiumControl.Size            = new System.Drawing.Size(629, 510);
     this.lithiumControl.TabIndex        = 3;
     this.lithiumControl.Text            = "lithiumControl1";
     this.lithiumControl.WordSpacing     = 20;
     this.lithiumControl.OnShowProps    += new Netron.Lithium.ShowProps(this.lithiumControl_OnShowProps);
     this.lithiumControl.OnNewNode      += new Netron.Lithium.ShapeData(this.lithiumControl_OnNewNode);
     this.lithiumControl.OnDeleteNode   += new Netron.Lithium.ShapeData(this.lithiumControl_OnDeleteNode);
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(832, 532);
     this.Controls.Add(this.mainPanel);
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.rightPanel);
     this.Controls.Add(this.statusBar);
     this.Font          = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview    = true;
     this.Menu          = this.mainMenu;
     this.Name          = "MainForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Tree control example";
     this.rightPanel.ResumeLayout(false);
     this.rightTabControl.ResumeLayout(false);
     this.tabProperties.ResumeLayout(false);
     this.tabOutput.ResumeLayout(false);
     this.tabOutput.PerformLayout();
     this.mainPanel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 45
0
 private void InitializeComponent()
 {
     this.C_SplitterLR   = new System.Windows.Forms.Splitter();
     this.C_PanelCtrls   = new System.Windows.Forms.Panel();
     this.BtnOk          = new System.Windows.Forms.Button();
     this.BtnCancel      = new System.Windows.Forms.Button();
     this.C_SplitterTB   = new System.Windows.Forms.Splitter();
     this.propertyGrid1  = new System.Windows.Forms.PropertyGrid();
     this.C_PanelMain    = new System.Windows.Forms.Panel();
     this.label1         = new System.Windows.Forms.Label();
     this.LblFields      = new System.Windows.Forms.Label();
     this.C_BtnRemove    = new System.Windows.Forms.Button();
     this.C_BtnAdd       = new System.Windows.Forms.Button();
     this.C_LBFields     = new System.Windows.Forms.ListBox();
     this.C_LBSelFields  = new System.Windows.Forms.ListBox();
     this.C_BtnMoveUp    = new System.Windows.Forms.Button();
     this.C_BtnMoveDown  = new System.Windows.Forms.Button();
     this.LbSel          = new System.Windows.Forms.Label();
     this.C_PropertyGrid = new System.Windows.Forms.PropertyGrid();
     this.C_PanelCtrls.SuspendLayout();
     this.C_PanelMain.SuspendLayout();
     this.SuspendLayout();
     //
     // C_SplitterLR
     //
     this.C_SplitterLR.BackColor = System.Drawing.SystemColors.ActiveBorder;
     this.C_SplitterLR.Dock      = System.Windows.Forms.DockStyle.Right;
     this.C_SplitterLR.Location  = new System.Drawing.Point(580, 0);
     this.C_SplitterLR.Name      = "C_SplitterLR";
     this.C_SplitterLR.Size      = new System.Drawing.Size(4, 350);
     this.C_SplitterLR.TabIndex  = 1;
     this.C_SplitterLR.TabStop   = false;
     //
     // C_PanelCtrls
     //
     this.C_PanelCtrls.Controls.Add(this.BtnOk);
     this.C_PanelCtrls.Controls.Add(this.BtnCancel);
     this.C_PanelCtrls.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.C_PanelCtrls.Location = new System.Drawing.Point(0, 281);
     this.C_PanelCtrls.Name     = "C_PanelCtrls";
     this.C_PanelCtrls.Size     = new System.Drawing.Size(580, 69);
     this.C_PanelCtrls.TabIndex = 2;
     //
     // BtnOk
     //
     this.BtnOk.Location = new System.Drawing.Point(432, 17);
     this.BtnOk.Name     = "BtnOk";
     this.BtnOk.Size     = new System.Drawing.Size(96, 35);
     this.BtnOk.TabIndex = 0;
     this.BtnOk.Text     = "OK";
     this.BtnOk.Click   += new System.EventHandler(this.BtnOk_Click);
     //
     // BtnCancel
     //
     this.BtnCancel.Location = new System.Drawing.Point(576, 17);
     this.BtnCancel.Name     = "BtnCancel";
     this.BtnCancel.Size     = new System.Drawing.Size(96, 35);
     this.BtnCancel.TabIndex = 0;
     this.BtnCancel.Text     = "Cancel";
     this.BtnCancel.Click   += new System.EventHandler(this.BtnCancel_Click);
     //
     // C_SplitterTB
     //
     this.C_SplitterTB.BackColor = System.Drawing.SystemColors.ActiveBorder;
     this.C_SplitterTB.Cursor    = System.Windows.Forms.Cursors.HSplit;
     this.C_SplitterTB.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.C_SplitterTB.Location  = new System.Drawing.Point(0, 278);
     this.C_SplitterTB.Name      = "C_SplitterTB";
     this.C_SplitterTB.Size      = new System.Drawing.Size(580, 3);
     this.C_SplitterTB.TabIndex  = 3;
     this.C_SplitterTB.TabStop   = false;
     //
     // propertyGrid1
     //
     this.propertyGrid1.LineColor = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid1.Location  = new System.Drawing.Point(0, 0);
     this.propertyGrid1.Name      = "propertyGrid1";
     this.propertyGrid1.Size      = new System.Drawing.Size(130, 130);
     this.propertyGrid1.TabIndex  = 0;
     //
     // C_PanelMain
     //
     this.C_PanelMain.Controls.Add(this.label1);
     this.C_PanelMain.Controls.Add(this.LblFields);
     this.C_PanelMain.Controls.Add(this.C_BtnRemove);
     this.C_PanelMain.Controls.Add(this.C_BtnAdd);
     this.C_PanelMain.Controls.Add(this.C_LBFields);
     this.C_PanelMain.Controls.Add(this.C_LBSelFields);
     this.C_PanelMain.Controls.Add(this.C_BtnMoveUp);
     this.C_PanelMain.Controls.Add(this.C_BtnMoveDown);
     this.C_PanelMain.Controls.Add(this.LbSel);
     this.C_PanelMain.Dock     = System.Windows.Forms.DockStyle.Left;
     this.C_PanelMain.Location = new System.Drawing.Point(0, 0);
     this.C_PanelMain.Name     = "C_PanelMain";
     this.C_PanelMain.Size     = new System.Drawing.Size(490, 278);
     this.C_PanelMain.TabIndex = 6;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(307, 9);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(154, 17);
     this.label1.TabIndex = 4;
     this.label1.Text     = "ValuesColor";
     //
     // LblFields
     //
     this.LblFields.Location = new System.Drawing.Point(10, 9);
     this.LblFields.Name     = "LblFields";
     this.LblFields.Size     = new System.Drawing.Size(163, 17);
     this.LblFields.TabIndex = 3;
     this.LblFields.Text     = "Field Values In Table";
     //
     // C_BtnRemove
     //
     this.C_BtnRemove.Location = new System.Drawing.Point(182, 86);
     this.C_BtnRemove.Name     = "C_BtnRemove";
     this.C_BtnRemove.Size     = new System.Drawing.Size(77, 26);
     this.C_BtnRemove.TabIndex = 2;
     this.C_BtnRemove.Text     = "<=";
     this.C_BtnRemove.Click   += new System.EventHandler(this.C_BtnRemove_Click);
     //
     // C_BtnAdd
     //
     this.C_BtnAdd.Location = new System.Drawing.Point(182, 43);
     this.C_BtnAdd.Name     = "C_BtnAdd";
     this.C_BtnAdd.Size     = new System.Drawing.Size(77, 26);
     this.C_BtnAdd.TabIndex = 1;
     this.C_BtnAdd.Text     = "=>";
     this.C_BtnAdd.Click   += new System.EventHandler(this.C_BtnAdd_Click);
     //
     // C_LBFields
     //
     this.C_LBFields.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)));
     this.C_LBFields.HorizontalScrollbar = true;
     this.C_LBFields.ItemHeight          = 12;
     this.C_LBFields.Location            = new System.Drawing.Point(0, 34);
     this.C_LBFields.Name          = "C_LBFields";
     this.C_LBFields.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended;
     this.C_LBFields.Size          = new System.Drawing.Size(163, 220);
     this.C_LBFields.Sorted        = true;
     this.C_LBFields.TabIndex      = 0;
     this.C_LBFields.DoubleClick  += new System.EventHandler(this.C_LBFields_DoubleClick);
     //
     // C_LBSelFields
     //
     this.C_LBSelFields.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)));
     this.C_LBSelFields.HorizontalScrollbar = true;
     this.C_LBSelFields.ItemHeight          = 12;
     this.C_LBSelFields.Location            = new System.Drawing.Point(298, 34);
     this.C_LBSelFields.Name                  = "C_LBSelFields";
     this.C_LBSelFields.SelectionMode         = System.Windows.Forms.SelectionMode.MultiExtended;
     this.C_LBSelFields.Size                  = new System.Drawing.Size(182, 220);
     this.C_LBSelFields.TabIndex              = 0;
     this.C_LBSelFields.DoubleClick          += new System.EventHandler(this.C_LBSelFields_DoubleClick);
     this.C_LBSelFields.SelectedValueChanged += new System.EventHandler(this.C_LBSelFields_SelectedValueChanged);
     //
     // C_BtnMoveUp
     //
     this.C_BtnMoveUp.Location = new System.Drawing.Point(182, 181);
     this.C_BtnMoveUp.Name     = "C_BtnMoveUp";
     this.C_BtnMoveUp.Size     = new System.Drawing.Size(87, 25);
     this.C_BtnMoveUp.TabIndex = 0;
     this.C_BtnMoveUp.Text     = "Move Up";
     this.C_BtnMoveUp.Click   += new System.EventHandler(this.C_BtnMoveUp_Click);
     //
     // C_BtnMoveDown
     //
     this.C_BtnMoveDown.Location = new System.Drawing.Point(182, 241);
     this.C_BtnMoveDown.Name     = "C_BtnMoveDown";
     this.C_BtnMoveDown.Size     = new System.Drawing.Size(87, 25);
     this.C_BtnMoveDown.TabIndex = 1;
     this.C_BtnMoveDown.Text     = "Move Down";
     this.C_BtnMoveDown.Click   += new System.EventHandler(this.C_BtnMoveDown_Click);
     //
     // LbSel
     //
     this.LbSel.Location = new System.Drawing.Point(566, 9);
     this.LbSel.Name     = "LbSel";
     this.LbSel.Size     = new System.Drawing.Size(106, 17);
     this.LbSel.TabIndex = 3;
     this.LbSel.Text     = "ValuesColor";
     //
     // C_PropertyGrid
     //
     this.C_PropertyGrid.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.C_PropertyGrid.LineColor = System.Drawing.SystemColors.ScrollBar;
     this.C_PropertyGrid.Location  = new System.Drawing.Point(490, 0);
     this.C_PropertyGrid.Name      = "C_PropertyGrid";
     this.C_PropertyGrid.Size      = new System.Drawing.Size(90, 278);
     this.C_PropertyGrid.TabIndex  = 7;
     //
     // ValuesColorEditorForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(584, 350);
     this.Controls.Add(this.C_PropertyGrid);
     this.Controls.Add(this.C_PanelMain);
     this.Controls.Add(this.C_SplitterTB);
     this.Controls.Add(this.C_PanelCtrls);
     this.Controls.Add(this.C_SplitterLR);
     this.Name          = "ValuesColorEditorForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "ValuesColor Editor";
     this.C_PanelCtrls.ResumeLayout(false);
     this.C_PanelMain.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 46
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
     this.mainMenu                = new System.Windows.Forms.MainMenu(this.components);
     this.menuItemFile            = new System.Windows.Forms.MenuItem();
     this.menuItemNew             = new System.Windows.Forms.MenuItem();
     this.menuItemOpen            = new System.Windows.Forms.MenuItem();
     this.menuItemSave            = new System.Windows.Forms.MenuItem();
     this.menuItemSaveAs          = new System.Windows.Forms.MenuItem();
     this.menuItemExit            = new System.Windows.Forms.MenuItem();
     this.menuItemEdit            = new System.Windows.Forms.MenuItem();
     this.menuItemUndo            = new System.Windows.Forms.MenuItem();
     this.menuItemRedo            = new System.Windows.Forms.MenuItem();
     this.menuItemRule            = new System.Windows.Forms.MenuItem();
     this.menuItemCut             = new System.Windows.Forms.MenuItem();
     this.menuItemCopy            = new System.Windows.Forms.MenuItem();
     this.menuItemPaste           = new System.Windows.Forms.MenuItem();
     this.menuItemDelete          = new System.Windows.Forms.MenuItem();
     this.menuItemSelectAll       = new System.Windows.Forms.MenuItem();
     this.menuItemView            = new System.Windows.Forms.MenuItem();
     this.menuItemServiceRequests = new System.Windows.Forms.MenuItem();
     this.menuItemDesign          = new System.Windows.Forms.MenuItem();
     this.menuItemCSource         = new System.Windows.Forms.MenuItem();
     this.menuItemVBSource        = new System.Windows.Forms.MenuItem();
     this.menuItemXML             = new System.Windows.Forms.MenuItem();
     this.menuItemProperties      = new System.Windows.Forms.MenuItem();
     this.menuItemLayout          = new System.Windows.Forms.MenuItem();
     this.menuItemShowGrid        = new System.Windows.Forms.MenuItem();
     this.menuItemSnapToGrid      = new System.Windows.Forms.MenuItem();
     this.menuItemAlign           = new System.Windows.Forms.MenuItem();
     this.menuItemLefts           = new System.Windows.Forms.MenuItem();
     this.menuItemRights          = new System.Windows.Forms.MenuItem();
     this.menuItemTops            = new System.Windows.Forms.MenuItem();
     this.menuItemBottoms         = new System.Windows.Forms.MenuItem();
     this.menuItemMiddles         = new System.Windows.Forms.MenuItem();
     this.menuItemCenters         = new System.Windows.Forms.MenuItem();
     this.menuItemToGrid          = new System.Windows.Forms.MenuItem();
     this.menuItemCenter          = new System.Windows.Forms.MenuItem();
     this.menuItemHoriz           = new System.Windows.Forms.MenuItem();
     this.menuItemVert            = new System.Windows.Forms.MenuItem();
     this.menuItemSizeTo          = new System.Windows.Forms.MenuItem();
     this.menuItemControl         = new System.Windows.Forms.MenuItem();
     this.menuItemControlW        = new System.Windows.Forms.MenuItem();
     this.menuItemControlH        = new System.Windows.Forms.MenuItem();
     this.menuItemGrid            = new System.Windows.Forms.MenuItem();
     this.menuItemZO              = new System.Windows.Forms.MenuItem();
     this.menuItemBTF             = new System.Windows.Forms.MenuItem();
     this.menuItemSTB             = new System.Windows.Forms.MenuItem();
     this.menuItemTO              = new System.Windows.Forms.MenuItem();
     this.menuItemDebug           = new System.Windows.Forms.MenuItem();
     this.menuItemBuild           = new System.Windows.Forms.MenuItem();
     this.menuItemRun             = new System.Windows.Forms.MenuItem();
     this.menuItemStop            = new System.Windows.Forms.MenuItem();
     this.tabControl              = new System.Windows.Forms.TabControl();
     this.tabDesign               = new System.Windows.Forms.TabPage();
     this.splitter2               = new System.Windows.Forms.Splitter();
     this.panelMain               = new System.Windows.Forms.Panel();
     this.splitter1               = new System.Windows.Forms.Splitter();
     this.toolbox        = new Eto_Builder.ToolboxPane();
     this.propertyGrid   = new System.Windows.Forms.PropertyGrid();
     this.tabCS          = new System.Windows.Forms.TabPage();
     this.textCS         = new System.Windows.Forms.TextBox();
     this.tabXML         = new System.Windows.Forms.TabPage();
     this.textXML        = new System.Windows.Forms.TextBox();
     this.tabVB          = new System.Windows.Forms.TabPage();
     this.textVB         = new System.Windows.Forms.TextBox();
     this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
     this.tabControl.SuspendLayout();
     this.tabDesign.SuspendLayout();
     this.tabCS.SuspendLayout();
     this.tabXML.SuspendLayout();
     this.tabVB.SuspendLayout();
     this.SuspendLayout();
     //
     // mainMenu
     //
     this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemFile,
         this.menuItemEdit,
         this.menuItemView,
         this.menuItemLayout,
         this.menuItemDebug
     });
     //
     // menuItemFile
     //
     this.menuItemFile.Index = 0;
     this.menuItemFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemNew,
         this.menuItemOpen,
         this.menuItemSave,
         this.menuItemSaveAs,
         this.menuItemExit
     });
     this.menuItemFile.Text = "&File";
     //
     // menuItemNew
     //
     this.menuItemNew.Index    = 0;
     this.menuItemNew.Shortcut = System.Windows.Forms.Shortcut.CtrlN;
     this.menuItemNew.Text     = "&New";
     this.menuItemNew.Click   += new System.EventHandler(this.menuItemNew_Click);
     //
     // menuItemOpen
     //
     this.menuItemOpen.Index    = 1;
     this.menuItemOpen.Shortcut = System.Windows.Forms.Shortcut.CtrlO;
     this.menuItemOpen.Text     = "&Open...";
     this.menuItemOpen.Click   += new System.EventHandler(this.menuItemOpen_Click);
     //
     // menuItemSave
     //
     this.menuItemSave.Enabled  = false;
     this.menuItemSave.Index    = 2;
     this.menuItemSave.Shortcut = System.Windows.Forms.Shortcut.CtrlS;
     this.menuItemSave.Text     = "&Save";
     this.menuItemSave.Click   += new System.EventHandler(this.menuItemSave_Click);
     //
     // menuItemSaveAs
     //
     this.menuItemSaveAs.Enabled  = false;
     this.menuItemSaveAs.Index    = 3;
     this.menuItemSaveAs.Shortcut = System.Windows.Forms.Shortcut.CtrlShiftS;
     this.menuItemSaveAs.Text     = "Save &As...";
     this.menuItemSaveAs.Click   += new System.EventHandler(this.menuItemSaveAs_Click);
     //
     // menuItemExit
     //
     this.menuItemExit.Index  = 4;
     this.menuItemExit.Text   = "&Exit";
     this.menuItemExit.Click += new System.EventHandler(this.menuItemExit_Click);
     //
     // menuItemEdit
     //
     this.menuItemEdit.Enabled = false;
     this.menuItemEdit.Index   = 1;
     this.menuItemEdit.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemUndo,
         this.menuItemRedo,
         this.menuItemRule,
         this.menuItemCut,
         this.menuItemCopy,
         this.menuItemPaste,
         this.menuItemDelete,
         this.menuItemSelectAll
     });
     this.menuItemEdit.Text = "&Edit";
     //
     // menuItemUndo
     //
     this.menuItemUndo.Enabled  = false;
     this.menuItemUndo.Index    = 0;
     this.menuItemUndo.Shortcut = System.Windows.Forms.Shortcut.CtrlZ;
     this.menuItemUndo.Text     = "Undo";
     //
     // menuItemRedo
     //
     this.menuItemRedo.Enabled  = false;
     this.menuItemRedo.Index    = 1;
     this.menuItemRedo.Shortcut = System.Windows.Forms.Shortcut.CtrlY;
     this.menuItemRedo.Text     = "Redo";
     //
     // menuItemRule
     //
     this.menuItemRule.Index = 2;
     this.menuItemRule.Text  = "-";
     //
     // menuItemCut
     //
     this.menuItemCut.Enabled  = false;
     this.menuItemCut.Index    = 3;
     this.menuItemCut.Shortcut = System.Windows.Forms.Shortcut.CtrlX;
     this.menuItemCut.Text     = "Cu&t";
     this.menuItemCut.Click   += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemCopy
     //
     this.menuItemCopy.Enabled  = false;
     this.menuItemCopy.Index    = 4;
     this.menuItemCopy.Shortcut = System.Windows.Forms.Shortcut.CtrlC;
     this.menuItemCopy.Text     = "&Copy";
     this.menuItemCopy.Click   += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemPaste
     //
     this.menuItemPaste.Enabled  = false;
     this.menuItemPaste.Index    = 5;
     this.menuItemPaste.Shortcut = System.Windows.Forms.Shortcut.CtrlV;
     this.menuItemPaste.Text     = "&Paste";
     this.menuItemPaste.Click   += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemDelete
     //
     this.menuItemDelete.Index    = 6;
     this.menuItemDelete.Shortcut = System.Windows.Forms.Shortcut.Del;
     this.menuItemDelete.Text     = "&Delete";
     this.menuItemDelete.Click   += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemSelectAll
     //
     this.menuItemSelectAll.Index    = 7;
     this.menuItemSelectAll.Shortcut = System.Windows.Forms.Shortcut.CtrlA;
     this.menuItemSelectAll.Text     = "Select &All";
     this.menuItemSelectAll.Click   += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemView
     //
     this.menuItemView.Enabled = false;
     this.menuItemView.Index   = 2;
     this.menuItemView.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemServiceRequests,
         this.menuItemDesign,
         this.menuItemCSource,
         this.menuItemVBSource,
         this.menuItemXML,
         this.menuItemProperties
     });
     this.menuItemView.Text = "&View";
     //
     // menuItemServiceRequests
     //
     this.menuItemServiceRequests.Index  = 0;
     this.menuItemServiceRequests.Text   = "&Service Requests";
     this.menuItemServiceRequests.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemDesign
     //
     this.menuItemDesign.Index  = 1;
     this.menuItemDesign.Text   = "&Design";
     this.menuItemDesign.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemCSource
     //
     this.menuItemCSource.Index  = 2;
     this.menuItemCSource.Text   = "&C# (Eto)";
     this.menuItemCSource.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemVBSource
     //
     this.menuItemVBSource.Index  = 3;
     this.menuItemVBSource.Text   = "&VB Source";
     this.menuItemVBSource.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemXML
     //
     this.menuItemXML.Index  = 4;
     this.menuItemXML.Text   = "&XML";
     this.menuItemXML.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemProperties
     //
     this.menuItemProperties.Index  = 5;
     this.menuItemProperties.Text   = "&Properties";
     this.menuItemProperties.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemLayout
     //
     this.menuItemLayout.Enabled = false;
     this.menuItemLayout.Index   = 3;
     this.menuItemLayout.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemShowGrid,
         this.menuItemSnapToGrid,
         this.menuItemAlign,
         this.menuItemCenter,
         this.menuItemSizeTo,
         this.menuItemZO,
         this.menuItemTO
     });
     this.menuItemLayout.Text = "&Layout";
     //
     // menuItemShowGrid
     //
     this.menuItemShowGrid.Checked = true;
     this.menuItemShowGrid.Index   = 0;
     this.menuItemShowGrid.Text    = "Show &Grid";
     this.menuItemShowGrid.Click  += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemSnapToGrid
     //
     this.menuItemSnapToGrid.Checked = true;
     this.menuItemSnapToGrid.Index   = 1;
     this.menuItemSnapToGrid.Text    = "S&nap to Grid";
     this.menuItemSnapToGrid.Click  += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemAlign
     //
     this.menuItemAlign.Index = 2;
     this.menuItemAlign.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemLefts,
         this.menuItemRights,
         this.menuItemTops,
         this.menuItemBottoms,
         this.menuItemMiddles,
         this.menuItemCenters,
         this.menuItemToGrid
     });
     this.menuItemAlign.Text = "&Align...";
     //
     // menuItemLefts
     //
     this.menuItemLefts.Index  = 0;
     this.menuItemLefts.Text   = "&Lefts";
     this.menuItemLefts.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemRights
     //
     this.menuItemRights.Index  = 1;
     this.menuItemRights.Text   = "&Rights";
     this.menuItemRights.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemTops
     //
     this.menuItemTops.Index  = 2;
     this.menuItemTops.Text   = "&Tops";
     this.menuItemTops.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemBottoms
     //
     this.menuItemBottoms.Index  = 3;
     this.menuItemBottoms.Text   = "&Bottoms";
     this.menuItemBottoms.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemMiddles
     //
     this.menuItemMiddles.Index  = 4;
     this.menuItemMiddles.Text   = "&Middles";
     this.menuItemMiddles.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemCenters
     //
     this.menuItemCenters.Index  = 5;
     this.menuItemCenters.Text   = "&Centers";
     this.menuItemCenters.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemToGrid
     //
     this.menuItemToGrid.Index  = 6;
     this.menuItemToGrid.Text   = "to &Grid";
     this.menuItemToGrid.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemCenter
     //
     this.menuItemCenter.Index = 3;
     this.menuItemCenter.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemHoriz,
         this.menuItemVert
     });
     this.menuItemCenter.Text = "&Center...";
     //
     // menuItemHoriz
     //
     this.menuItemHoriz.Index  = 0;
     this.menuItemHoriz.Text   = "&Horizontally";
     this.menuItemHoriz.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemVert
     //
     this.menuItemVert.Index  = 1;
     this.menuItemVert.Text   = "&Vertically";
     this.menuItemVert.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemSizeTo
     //
     this.menuItemSizeTo.Index = 4;
     this.menuItemSizeTo.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemControl,
         this.menuItemControlW,
         this.menuItemControlH,
         this.menuItemGrid
     });
     this.menuItemSizeTo.Text = "&Size to...";
     //
     // menuItemControl
     //
     this.menuItemControl.Index  = 0;
     this.menuItemControl.Text   = "&Control";
     this.menuItemControl.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemControlW
     //
     this.menuItemControlW.Index  = 1;
     this.menuItemControlW.Text   = "Control &Width";
     this.menuItemControlW.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemControlH
     //
     this.menuItemControlH.Index  = 2;
     this.menuItemControlH.Text   = "Control &Height";
     this.menuItemControlH.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemGrid
     //
     this.menuItemGrid.Index  = 3;
     this.menuItemGrid.Text   = "&Grid";
     this.menuItemGrid.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemZO
     //
     this.menuItemZO.Index = 5;
     this.menuItemZO.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemBTF,
         this.menuItemSTB
     });
     this.menuItemZO.Text = "&Z Order";
     //
     // menuItemBTF
     //
     this.menuItemBTF.Index  = 0;
     this.menuItemBTF.Text   = "&Bring to Front";
     this.menuItemBTF.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemSTB
     //
     this.menuItemSTB.Index  = 1;
     this.menuItemSTB.Text   = "&Send to Back";
     this.menuItemSTB.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemTO
     //
     this.menuItemTO.Index  = 6;
     this.menuItemTO.Text   = "&Tab Order";
     this.menuItemTO.Click += new System.EventHandler(this.menuItem_Click);
     //
     // menuItemDebug
     //
     this.menuItemDebug.Enabled = false;
     this.menuItemDebug.Index   = 4;
     this.menuItemDebug.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemBuild,
         this.menuItemRun,
         this.menuItemStop
     });
     this.menuItemDebug.Text = "&Debug";
     //
     // menuItemBuild
     //
     this.menuItemBuild.Index  = 0;
     this.menuItemBuild.Text   = "&Build...";
     this.menuItemBuild.Click += new System.EventHandler(this.menuItemBuild_Click);
     //
     // menuItemRun
     //
     this.menuItemRun.Index    = 1;
     this.menuItemRun.Shortcut = System.Windows.Forms.Shortcut.F5;
     this.menuItemRun.Text     = "&Run";
     this.menuItemRun.Click   += new System.EventHandler(this.menuItemRun_Click);
     //
     // menuItemStop
     //
     this.menuItemStop.Index  = 2;
     this.menuItemStop.Text   = "&Stop";
     this.menuItemStop.Click += new System.EventHandler(this.menuItemStop_Click);
     //
     // tabControl
     //
     this.tabControl.Controls.Add(this.tabDesign);
     this.tabControl.Controls.Add(this.tabCS);
     this.tabControl.Controls.Add(this.tabXML);
     this.tabControl.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.tabControl.DrawMode              = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
     this.tabControl.Font                  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabControl.ItemSize              = new System.Drawing.Size(120, 25);
     this.tabControl.Location              = new System.Drawing.Point(0, 0);
     this.tabControl.Name                  = "tabControl";
     this.tabControl.SelectedIndex         = 0;
     this.tabControl.Size                  = new System.Drawing.Size(760, 662);
     this.tabControl.SizeMode              = System.Windows.Forms.TabSizeMode.Fixed;
     this.tabControl.TabIndex              = 0;
     this.tabControl.Visible               = false;
     this.tabControl.DrawItem             += new System.Windows.Forms.DrawItemEventHandler(this.tabControl_DrawItem);
     this.tabControl.SelectedIndexChanged += new System.EventHandler(this.tabControl_SelectedIndexChanged);
     //
     // tabDesign
     //
     this.tabDesign.Controls.Add(this.splitter2);
     this.tabDesign.Controls.Add(this.panelMain);
     this.tabDesign.Controls.Add(this.splitter1);
     this.tabDesign.Controls.Add(this.toolbox);
     this.tabDesign.Controls.Add(this.propertyGrid);
     this.tabDesign.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabDesign.Location = new System.Drawing.Point(4, 29);
     this.tabDesign.Name     = "tabDesign";
     this.tabDesign.Size     = new System.Drawing.Size(752, 629);
     this.tabDesign.TabIndex = 0;
     this.tabDesign.Text     = "Design";
     //
     // splitter2
     //
     this.splitter2.Dock     = System.Windows.Forms.DockStyle.Right;
     this.splitter2.Location = new System.Drawing.Point(474, 0);
     this.splitter2.Name     = "splitter2";
     this.splitter2.Size     = new System.Drawing.Size(4, 629);
     this.splitter2.TabIndex = 12;
     this.splitter2.TabStop  = false;
     //
     // panelMain
     //
     this.panelMain.BackColor = System.Drawing.SystemColors.Window;
     this.panelMain.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.panelMain.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panelMain.Location  = new System.Drawing.Point(349, 0);
     this.panelMain.Name      = "panelMain";
     this.panelMain.Size      = new System.Drawing.Size(129, 629);
     this.panelMain.TabIndex  = 11;
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(346, 0);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(3, 629);
     this.splitter1.TabIndex = 10;
     this.splitter1.TabStop  = false;
     //
     // toolbox
     //
     this.toolbox.BackColor = System.Drawing.Color.Black;
     this.toolbox.Dock      = System.Windows.Forms.DockStyle.Left;
     this.toolbox.Host      = null;
     this.toolbox.Location  = new System.Drawing.Point(0, 0);
     this.toolbox.Name      = "toolbox";
     this.toolbox.Size      = new System.Drawing.Size(346, 629);
     this.toolbox.TabIndex  = 9;
     //
     // propertyGrid
     //
     this.propertyGrid.BackColor        = System.Drawing.SystemColors.Control;
     this.propertyGrid.CausesValidation = false;
     this.propertyGrid.Dock             = System.Windows.Forms.DockStyle.Right;
     this.propertyGrid.Font             = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.propertyGrid.LineColor        = System.Drawing.Color.LightSkyBlue;
     this.propertyGrid.Location         = new System.Drawing.Point(478, 0);
     this.propertyGrid.Name             = "propertyGrid";
     this.propertyGrid.Size             = new System.Drawing.Size(274, 629);
     this.propertyGrid.TabIndex         = 7;
     //
     // tabCS
     //
     this.tabCS.Controls.Add(this.textCS);
     this.tabCS.Font     = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabCS.Location = new System.Drawing.Point(4, 29);
     this.tabCS.Name     = "tabCS";
     this.tabCS.Size     = new System.Drawing.Size(752, 604);
     this.tabCS.TabIndex = 2;
     this.tabCS.Text     = "C# (Eto)";
     //
     // textCS
     //
     this.textCS.BackColor   = System.Drawing.Color.DarkSlateGray;
     this.textCS.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.textCS.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.textCS.Font        = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textCS.ForeColor   = System.Drawing.Color.Gold;
     this.textCS.Location    = new System.Drawing.Point(0, 0);
     this.textCS.Multiline   = true;
     this.textCS.Name        = "textCS";
     this.textCS.ReadOnly    = true;
     this.textCS.ScrollBars  = System.Windows.Forms.ScrollBars.Both;
     this.textCS.Size        = new System.Drawing.Size(752, 604);
     this.textCS.TabIndex    = 1;
     this.textCS.WordWrap    = false;
     //
     // tabXML
     //
     this.tabXML.Controls.Add(this.textXML);
     this.tabXML.Font     = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabXML.Location = new System.Drawing.Point(4, 29);
     this.tabXML.Name     = "tabXML";
     this.tabXML.Size     = new System.Drawing.Size(752, 604);
     this.tabXML.TabIndex = 3;
     this.tabXML.Text     = "XML";
     //
     // textXML
     //
     this.textXML.BackColor   = System.Drawing.Color.DarkSlateGray;
     this.textXML.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.textXML.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.textXML.Font        = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textXML.ForeColor   = System.Drawing.Color.LimeGreen;
     this.textXML.Location    = new System.Drawing.Point(0, 0);
     this.textXML.Multiline   = true;
     this.textXML.Name        = "textXML";
     this.textXML.ReadOnly    = true;
     this.textXML.ScrollBars  = System.Windows.Forms.ScrollBars.Both;
     this.textXML.Size        = new System.Drawing.Size(752, 604);
     this.textXML.TabIndex    = 1;
     this.textXML.WordWrap    = false;
     //
     // tabVB
     //
     this.tabVB.Controls.Add(this.textVB);
     this.tabVB.Font     = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabVB.Location = new System.Drawing.Point(4, 29);
     this.tabVB.Name     = "tabVB";
     this.tabVB.Size     = new System.Drawing.Size(904, 587);
     this.tabVB.TabIndex = 1;
     this.tabVB.Text     = "VB Source";
     //
     // textVB
     //
     this.textVB.BackColor   = System.Drawing.Color.DarkSlateGray;
     this.textVB.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.textVB.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.textVB.Font        = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textVB.ForeColor   = System.Drawing.Color.Tomato;
     this.textVB.Location    = new System.Drawing.Point(0, 0);
     this.textVB.Multiline   = true;
     this.textVB.Name        = "textVB";
     this.textVB.ReadOnly    = true;
     this.textVB.ScrollBars  = System.Windows.Forms.ScrollBars.Both;
     this.textVB.Size        = new System.Drawing.Size(904, 587);
     this.textVB.TabIndex    = 0;
     this.textVB.WordWrap    = false;
     //
     // openFileDialog
     //
     this.openFileDialog.Filter = "PlutoniumBuilder XML Layout Files|*.exml";
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
     this.ClientSize        = new System.Drawing.Size(760, 662);
     this.Controls.Add(this.tabControl);
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu        = this.mainMenu;
     this.Name        = "MainForm";
     this.Text        = "Plutonium Builder";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.tabControl.ResumeLayout(false);
     this.tabDesign.ResumeLayout(false);
     this.tabCS.ResumeLayout(false);
     this.tabCS.PerformLayout();
     this.tabXML.ResumeLayout(false);
     this.tabXML.PerformLayout();
     this.tabVB.ResumeLayout(false);
     this.tabVB.PerformLayout();
     this.ResumeLayout(false);
 }
 public void ShowProperty(System.Windows.Forms.PropertyGrid grid)
 {
     grid.SelectedObject = this;
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.C_Panel        = new System.Windows.Forms.Panel();
     this.C_PBPreview    = new System.Windows.Forms.PictureBox();
     this.splitter1      = new System.Windows.Forms.Splitter();
     this.C_PanelR       = new System.Windows.Forms.Panel();
     this.C_PropertyGrid = new System.Windows.Forms.PropertyGrid();
     this.C_CBSeriesName = new System.Windows.Forms.ComboBox();
     this.C_Panel.SuspendLayout();
     this.C_PanelR.SuspendLayout();
     this.SuspendLayout();
     //
     // C_Panel
     //
     this.C_Panel.Controls.Add(this.C_PBPreview);
     this.C_Panel.Controls.Add(this.splitter1);
     this.C_Panel.Controls.Add(this.C_PanelR);
     this.C_Panel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.C_Panel.Location = new System.Drawing.Point(0, 0);
     this.C_Panel.Name     = "C_Panel";
     this.C_Panel.Size     = new System.Drawing.Size(680, 364);
     this.C_Panel.TabIndex = 0;
     //
     // C_PBPreview
     //
     this.C_PBPreview.BackColor = System.Drawing.Color.White;
     this.C_PBPreview.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.C_PBPreview.Location  = new System.Drawing.Point(0, 0);
     this.C_PBPreview.Name      = "C_PBPreview";
     this.C_PBPreview.Size      = new System.Drawing.Size(497, 364);
     this.C_PBPreview.SizeMode  = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.C_PBPreview.TabIndex  = 0;
     this.C_PBPreview.TabStop   = false;
     this.C_PBPreview.Paint    += new System.Windows.Forms.PaintEventHandler(this.C_PBPreview_Paint);
     //
     // splitter1
     //
     this.splitter1.Dock     = System.Windows.Forms.DockStyle.Right;
     this.splitter1.Location = new System.Drawing.Point(497, 0);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(3, 364);
     this.splitter1.TabIndex = 1;
     this.splitter1.TabStop  = false;
     //
     // C_PanelR
     //
     this.C_PanelR.Controls.Add(this.C_PropertyGrid);
     this.C_PanelR.Controls.Add(this.C_CBSeriesName);
     this.C_PanelR.Dock     = System.Windows.Forms.DockStyle.Right;
     this.C_PanelR.Location = new System.Drawing.Point(500, 0);
     this.C_PanelR.Name     = "C_PanelR";
     this.C_PanelR.Size     = new System.Drawing.Size(180, 364);
     this.C_PanelR.TabIndex = 3;
     //
     // C_PropertyGrid
     //
     this.C_PropertyGrid.CommandsVisibleIfAvailable = true;
     this.C_PropertyGrid.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.C_PropertyGrid.LargeButtons          = false;
     this.C_PropertyGrid.LineColor             = System.Drawing.SystemColors.ScrollBar;
     this.C_PropertyGrid.Location              = new System.Drawing.Point(0, 22);
     this.C_PropertyGrid.Name                  = "C_PropertyGrid";
     this.C_PropertyGrid.Size                  = new System.Drawing.Size(180, 342);
     this.C_PropertyGrid.TabIndex              = 0;
     this.C_PropertyGrid.Text                  = "propertyGrid1";
     this.C_PropertyGrid.ViewBackColor         = System.Drawing.SystemColors.Window;
     this.C_PropertyGrid.ViewForeColor         = System.Drawing.SystemColors.WindowText;
     this.C_PropertyGrid.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.C_PropertyGrid_PropertyValueChanged);
     //
     // C_CBSeriesName
     //
     this.C_CBSeriesName.Dock                  = System.Windows.Forms.DockStyle.Top;
     this.C_CBSeriesName.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.C_CBSeriesName.DropDownWidth         = 104;
     this.C_CBSeriesName.Location              = new System.Drawing.Point(0, 0);
     this.C_CBSeriesName.Name                  = "C_CBSeriesName";
     this.C_CBSeriesName.Size                  = new System.Drawing.Size(180, 22);
     this.C_CBSeriesName.TabIndex              = 2;
     this.C_CBSeriesName.SelectedIndexChanged += new System.EventHandler(this.C_CBSeriesName_SelectedIndexChanged);
     //
     // ConfigChartExSeriesLabel
     //
     this.Controls.Add(this.C_Panel);
     this.Name   = "ConfigChartExSeriesLabel";
     this.Size   = new System.Drawing.Size(680, 364);
     this.Paint += new System.Windows.Forms.PaintEventHandler(this.ConfigChartExChartType_Paint);
     this.C_Panel.ResumeLayout(false);
     this.C_PanelR.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 49
0
 /// <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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FormMain));
     this.txtName     = new System.Windows.Forms.TextBox();
     this.label1      = new System.Windows.Forms.Label();
     this.imageList1  = new System.Windows.Forms.ImageList(this.components);
     this.btnAdd      = new System.Windows.Forms.Button();
     this.btnRemove   = new System.Windows.Forms.Button();
     this.label2      = new System.Windows.Forms.Label();
     this.txtNS       = new System.Windows.Forms.TextBox();
     this.mainMenu1   = new System.Windows.Forms.MainMenu();
     this.menuItem1   = new System.Windows.Forms.MenuItem();
     this.itmNew      = new System.Windows.Forms.MenuItem();
     this.menuItem3   = new System.Windows.Forms.MenuItem();
     this.itmOpen     = new System.Windows.Forms.MenuItem();
     this.itmSave     = new System.Windows.Forms.MenuItem();
     this.itmSaveAs   = new System.Windows.Forms.MenuItem();
     this.menuItem6   = new System.Windows.Forms.MenuItem();
     this.itmExit     = new System.Windows.Forms.MenuItem();
     this.panel1      = new System.Windows.Forms.Panel();
     this.propDisplay = new System.Windows.Forms.PropertyGrid();
     this.splitter1   = new System.Windows.Forms.Splitter();
     this.tree        = new System.Windows.Forms.TreeView();
     this.label3      = new System.Windows.Forms.Label();
     this.txtIcon     = new System.Windows.Forms.TextBox();
     this.label4      = new System.Windows.Forms.Label();
     this.txtHelp     = new System.Windows.Forms.TextBox();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // txtName
     //
     this.txtName.Location = new System.Drawing.Point(88, 8);
     this.txtName.Name     = "txtName";
     this.txtName.Size     = new System.Drawing.Size(208, 20);
     this.txtName.TabIndex = 0;
     this.txtName.Text     = "";
     //
     // label1
     //
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Location  = new System.Drawing.Point(8, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(72, 16);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "Name:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth32Bit;
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // btnAdd
     //
     this.btnAdd.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnAdd.Enabled   = false;
     this.btnAdd.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnAdd.Location  = new System.Drawing.Point(8, 304);
     this.btnAdd.Name      = "btnAdd";
     this.btnAdd.Size      = new System.Drawing.Size(128, 24);
     this.btnAdd.TabIndex  = 4;
     this.btnAdd.Text      = "&Add";
     this.btnAdd.Click    += new System.EventHandler(this.btnAdd_Click);
     //
     // btnRemove
     //
     this.btnRemove.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnRemove.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnRemove.Location  = new System.Drawing.Point(144, 304);
     this.btnRemove.Name      = "btnRemove";
     this.btnRemove.Size      = new System.Drawing.Size(80, 24);
     this.btnRemove.TabIndex  = 5;
     this.btnRemove.Text      = "&Remove";
     //
     // label2
     //
     this.label2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label2.Location  = new System.Drawing.Point(8, 40);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(72, 16);
     this.label2.TabIndex  = 7;
     this.label2.Text      = "Namespace:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // txtNS
     //
     this.txtNS.Location = new System.Drawing.Point(88, 40);
     this.txtNS.Name     = "txtNS";
     this.txtNS.Size     = new System.Drawing.Size(208, 20);
     this.txtNS.TabIndex = 6;
     this.txtNS.Text     = "urn:example";
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.itmNew,
         this.menuItem3,
         this.itmOpen,
         this.itmSave,
         this.itmSaveAs,
         this.menuItem6,
         this.itmExit
     });
     this.menuItem1.Text = "&File";
     //
     // itmNew
     //
     this.itmNew.Index    = 0;
     this.itmNew.Shortcut = System.Windows.Forms.Shortcut.CtrlN;
     this.itmNew.Text     = "&New";
     this.itmNew.Click   += new System.EventHandler(this.itmNew_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index = 1;
     this.menuItem3.Text  = "-";
     //
     // itmOpen
     //
     this.itmOpen.Index    = 2;
     this.itmOpen.Shortcut = System.Windows.Forms.Shortcut.CtrlO;
     this.itmOpen.Text     = "&Open";
     this.itmOpen.Click   += new System.EventHandler(this.itmOpen_Click);
     //
     // itmSave
     //
     this.itmSave.Index    = 3;
     this.itmSave.Shortcut = System.Windows.Forms.Shortcut.CtrlS;
     this.itmSave.Text     = "&Save";
     this.itmSave.Click   += new System.EventHandler(this.itmSave_Click);
     //
     // itmSaveAs
     //
     this.itmSaveAs.Index  = 4;
     this.itmSaveAs.Text   = "Save &As...";
     this.itmSaveAs.Click += new System.EventHandler(this.itmSaveAs_Click);
     //
     // menuItem6
     //
     this.menuItem6.Index = 5;
     this.menuItem6.Text  = "-";
     //
     // itmExit
     //
     this.itmExit.Index  = 6;
     this.itmExit.Text   = "E&xit";
     this.itmExit.Click += new System.EventHandler(this.itmExit_Click);
     //
     // panel1
     //
     this.panel1.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.panel1.Controls.Add(this.propDisplay);
     this.panel1.Controls.Add(this.splitter1);
     this.panel1.Controls.Add(this.tree);
     this.panel1.Location = new System.Drawing.Point(8, 64);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(576, 232);
     this.panel1.TabIndex = 8;
     //
     // propDisplay
     //
     this.propDisplay.CommandsVisibleIfAvailable = true;
     this.propDisplay.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.propDisplay.LargeButtons          = false;
     this.propDisplay.LineColor             = System.Drawing.SystemColors.ScrollBar;
     this.propDisplay.Location              = new System.Drawing.Point(336, 0);
     this.propDisplay.Name                  = "propDisplay";
     this.propDisplay.Size                  = new System.Drawing.Size(240, 232);
     this.propDisplay.TabIndex              = 5;
     this.propDisplay.Text                  = "propertyGrid1";
     this.propDisplay.ViewBackColor         = System.Drawing.SystemColors.Window;
     this.propDisplay.ViewForeColor         = System.Drawing.SystemColors.WindowText;
     this.propDisplay.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.propDisplay_PropertyValueChanged);
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(328, 0);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(8, 232);
     this.splitter1.TabIndex = 4;
     this.splitter1.TabStop  = false;
     //
     // tree
     //
     this.tree.Dock          = System.Windows.Forms.DockStyle.Left;
     this.tree.HideSelection = false;
     this.tree.ImageList     = this.imageList1;
     this.tree.Location      = new System.Drawing.Point(0, 0);
     this.tree.Name          = "tree";
     this.tree.Size          = new System.Drawing.Size(328, 232);
     this.tree.TabIndex      = 3;
     this.tree.AfterSelect  += new System.Windows.Forms.TreeViewEventHandler(this.tree_AfterSelect);
     //
     // label3
     //
     this.label3.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label3.Location  = new System.Drawing.Point(304, 40);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(72, 16);
     this.label3.TabIndex  = 12;
     this.label3.Text      = "Icon File:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // txtIcon
     //
     this.txtIcon.Location = new System.Drawing.Point(384, 40);
     this.txtIcon.Name     = "txtIcon";
     this.txtIcon.Size     = new System.Drawing.Size(168, 20);
     this.txtIcon.TabIndex = 11;
     this.txtIcon.Text     = "";
     //
     // label4
     //
     this.label4.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label4.Location  = new System.Drawing.Point(304, 8);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(72, 16);
     this.label4.TabIndex  = 10;
     this.label4.Text      = "Help File:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // txtHelp
     //
     this.txtHelp.Location = new System.Drawing.Point(384, 8);
     this.txtHelp.Name     = "txtHelp";
     this.txtHelp.Size     = new System.Drawing.Size(168, 20);
     this.txtHelp.TabIndex = 9;
     this.txtHelp.Text     = "";
     //
     // FormMain
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(592, 334);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.txtIcon);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.txtHelp);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.txtNS);
     this.Controls.Add(this.btnRemove);
     this.Controls.Add(this.btnAdd);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.txtName);
     this.Menu  = this.mainMenu1;
     this.Name  = "FormMain";
     this.Text  = "PN Project Template Editor";
     this.Load += new System.EventHandler(this.FormMain_Load);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 50
0
 private void InitializeComponent()
 {
     this.components    = new System.ComponentModel.Container();
     this.treeView1     = new System.Windows.Forms.TreeView();
     this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
     this.save          = new System.Windows.Forms.Button();
     this.cancel        = new System.Windows.Forms.Button();
     this.button3       = new System.Windows.Forms.Button();
     this.delnode       = new System.Windows.Forms.Button();
     this.toolTip1      = new System.Windows.Forms.ToolTip(this.components);
     this.SuspendLayout();
     //
     // treeView1
     //
     this.treeView1.Location     = new System.Drawing.Point(12, 44);
     this.treeView1.Name         = "treeView1";
     this.treeView1.Size         = new System.Drawing.Size(307, 310);
     this.treeView1.TabIndex     = 0;
     this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
     //
     // propertyGrid1
     //
     this.propertyGrid1.LineColor             = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid1.Location              = new System.Drawing.Point(336, 1);
     this.propertyGrid1.Name                  = "propertyGrid1";
     this.propertyGrid1.Size                  = new System.Drawing.Size(326, 353);
     this.propertyGrid1.TabIndex              = 1;
     this.propertyGrid1.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.propertyGrid1_ValueChanged);
     //
     // save
     //
     this.save.Location = new System.Drawing.Point(432, 371);
     this.save.Name     = "save";
     this.save.Size     = new System.Drawing.Size(106, 25);
     this.save.TabIndex = 2;
     this.save.Text     = " 保 存 ";
     this.save.Click   += new System.EventHandler(this.save_Click);
     //
     // cancel
     //
     this.cancel.Location = new System.Drawing.Point(557, 371);
     this.cancel.Name     = "cancel";
     this.cancel.Size     = new System.Drawing.Size(105, 25);
     this.cancel.TabIndex = 3;
     this.cancel.Text     = " 取 消 ";
     this.cancel.Click   += new System.EventHandler(this.cancel_Click);
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(12, 1);
     this.button3.Name     = "button3";
     this.button3.Size     = new System.Drawing.Size(101, 34);
     this.button3.TabIndex = 4;
     this.button3.Text     = "添加属性页";
     this.toolTip1.SetToolTip(this.button3, "添加属性页");
     this.button3.Click += new System.EventHandler(this.button3_Click);
     //
     // delnode
     //
     this.delnode.Location = new System.Drawing.Point(130, 1);
     this.delnode.Name     = "delnode";
     this.delnode.Size     = new System.Drawing.Size(87, 34);
     this.delnode.TabIndex = 6;
     this.delnode.Text     = "删除属性页";
     this.toolTip1.SetToolTip(this.delnode, "删除属性页");
     this.delnode.Click += new System.EventHandler(this.delnode_Click);
     //
     // TabEditorForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(683, 398);
     this.Controls.Add(this.delnode);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.cancel);
     this.Controls.Add(this.save);
     this.Controls.Add(this.propertyGrid1);
     this.Controls.Add(this.treeView1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.Name            = "TabEditorForm";
     this.Text            = "DiscuzNT TabPage Designer";
     this.ResumeLayout(false);
 }
Ejemplo n.º 51
0
 /// <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();
     this.buttonAdv1    = new Syncfusion.Windows.Forms.ButtonAdv();
     this.buttonAdv2    = new Syncfusion.Windows.Forms.ButtonAdv();
     this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
     this.label1        = new System.Windows.Forms.Label();
     this.listBox1      = new System.Windows.Forms.ListBox();
     this.panel1        = new System.Windows.Forms.Panel();
     this.btnAdd        = new Syncfusion.Windows.Forms.ButtonAdv();
     this.btnRemove     = new Syncfusion.Windows.Forms.ButtonAdv();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // buttonAdv1
     //
     this.buttonAdv1.Appearance         = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.buttonAdv1.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.buttonAdv1.KeepFocusRectangle = false;
     this.buttonAdv1.Location           = new System.Drawing.Point(248, 344);
     this.buttonAdv1.Name           = "buttonAdv1";
     this.buttonAdv1.Size           = new System.Drawing.Size(75, 23);
     this.buttonAdv1.TabIndex       = 0;
     this.buttonAdv1.Text           = "OK";
     this.buttonAdv1.UseVisualStyle = true;
     this.buttonAdv1.Click         += new System.EventHandler(this.buttonAdv1_Click);
     //
     // buttonAdv2
     //
     this.buttonAdv2.Appearance         = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.buttonAdv2.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.buttonAdv2.DialogResult       = System.Windows.Forms.DialogResult.Cancel;
     this.buttonAdv2.KeepFocusRectangle = false;
     this.buttonAdv2.Location           = new System.Drawing.Point(336, 344);
     this.buttonAdv2.Name           = "buttonAdv2";
     this.buttonAdv2.Size           = new System.Drawing.Size(75, 23);
     this.buttonAdv2.TabIndex       = 1;
     this.buttonAdv2.Text           = "Cancel";
     this.buttonAdv2.UseVisualStyle = true;
     this.buttonAdv2.Click         += new System.EventHandler(this.buttonAdv2_Click);
     //
     // propertyGrid1
     //
     this.propertyGrid1.CommandsBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(235)))), ((int)(((byte)(249)))));
     this.propertyGrid1.LineColor         = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid1.Location          = new System.Drawing.Point(16, 24);
     this.propertyGrid1.Name     = "propertyGrid1";
     this.propertyGrid1.Size     = new System.Drawing.Size(194, 280);
     this.propertyGrid1.TabIndex = 2;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(16, 6);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(76, 13);
     this.label1.TabIndex = 3;
     this.label1.Text     = "Theme Colors:";
     //
     // listBox1
     //
     this.listBox1.Location              = new System.Drawing.Point(8, 8);
     this.listBox1.Name                  = "listBox1";
     this.listBox1.Size                  = new System.Drawing.Size(160, 225);
     this.listBox1.TabIndex              = 4;
     this.listBox1.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged);
     //
     // panel1
     //
     this.panel1.BackColor   = System.Drawing.Color.White;
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.propertyGrid1);
     this.panel1.Location = new System.Drawing.Point(200, 8);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(224, 320);
     this.panel1.TabIndex = 9;
     //
     // btnAdd
     //
     this.btnAdd.Appearance         = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.btnAdd.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.btnAdd.KeepFocusRectangle = false;
     this.btnAdd.Location           = new System.Drawing.Point(8, 240);
     this.btnAdd.Name           = "btnAdd";
     this.btnAdd.Size           = new System.Drawing.Size(75, 23);
     this.btnAdd.TabIndex       = 10;
     this.btnAdd.Text           = "Add";
     this.btnAdd.UseVisualStyle = true;
     this.btnAdd.Click         += new System.EventHandler(this.btnAdd_Click);
     //
     // btnRemove
     //
     this.btnRemove.Appearance         = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.btnRemove.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.btnRemove.KeepFocusRectangle = false;
     this.btnRemove.Location           = new System.Drawing.Point(88, 240);
     this.btnRemove.Name           = "btnRemove";
     this.btnRemove.Size           = new System.Drawing.Size(75, 23);
     this.btnRemove.TabIndex       = 11;
     this.btnRemove.Text           = "Remove";
     this.btnRemove.UseVisualStyle = true;
     this.btnRemove.Click         += new System.EventHandler(this.btnRemove_Click);
     //
     // ColorGroup
     //
     this.AcceptButton      = this.buttonAdv1;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.BackColor         = System.Drawing.Color.White;
     this.CancelButton      = this.buttonAdv2;
     this.ClientSize        = new System.Drawing.Size(432, 374);
     this.Controls.Add(this.btnRemove);
     this.Controls.Add(this.btnAdd);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.listBox1);
     this.Controls.Add(this.buttonAdv1);
     this.Controls.Add(this.buttonAdv2);
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "ColorGroup";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Color Group";
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
 }
Ejemplo n.º 52
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ModelDialog));
     this.comboBoxModel = new System.Windows.Forms.ComboBox();
     this.label1        = new System.Windows.Forms.Label();
     this.propertyGrid  = new System.Windows.Forms.PropertyGrid();
     this.outputExchangeItemSelector  = new Oatc.OpenMI.Gui.Controls.ExchangeItemSelector();
     this.groupBoxOutputExchnageItems = new System.Windows.Forms.GroupBox();
     this.inputExchangeItemSelector   = new Oatc.OpenMI.Gui.Controls.ExchangeItemSelector();
     this.groupBoxProperties          = new System.Windows.Forms.GroupBox();
     this.buttonViewElementSet        = new System.Windows.Forms.Button();
     this.buttonClose = new System.Windows.Forms.Button();
     this.panelTop    = new System.Windows.Forms.Panel();
     this.panelBottom = new System.Windows.Forms.Panel();
     this.groupBoxInputExchangeItems = new System.Windows.Forms.GroupBox();
     this.splitterVertical           = new System.Windows.Forms.Splitter();
     this.splitterHorizontal         = new System.Windows.Forms.Splitter();
     this.groupBoxOutputExchnageItems.SuspendLayout();
     this.groupBoxProperties.SuspendLayout();
     this.panelTop.SuspendLayout();
     this.panelBottom.SuspendLayout();
     this.groupBoxInputExchangeItems.SuspendLayout();
     this.SuspendLayout();
     //
     // comboBoxModel
     //
     this.comboBoxModel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.comboBoxModel.Location              = new System.Drawing.Point(60, 4);
     this.comboBoxModel.Name                  = "comboBoxModel";
     this.comboBoxModel.Size                  = new System.Drawing.Size(460, 21);
     this.comboBoxModel.TabIndex              = 0;
     this.comboBoxModel.SelectedIndexChanged += new System.EventHandler(this.comboBoxModel_SelectedIndexChanged);
     this.comboBoxModel.Enter                += new System.EventHandler(this.comboBoxModel_Enter);
     //
     // label1
     //
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label1.Location = new System.Drawing.Point(8, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(48, 12);
     this.label1.TabIndex = 3;
     this.label1.Text     = "Model:";
     //
     // propertyGrid
     //
     this.propertyGrid.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.propertyGrid.CommandsVisibleIfAvailable = true;
     this.propertyGrid.Cursor        = System.Windows.Forms.Cursors.HSplit;
     this.propertyGrid.LargeButtons  = false;
     this.propertyGrid.LineColor     = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid.Location      = new System.Drawing.Point(8, 16);
     this.propertyGrid.Name          = "propertyGrid";
     this.propertyGrid.Size          = new System.Drawing.Size(258, 272);
     this.propertyGrid.TabIndex      = 28;
     this.propertyGrid.Text          = "propertyGrid1";
     this.propertyGrid.ViewBackColor = System.Drawing.SystemColors.Window;
     this.propertyGrid.ViewForeColor = System.Drawing.SystemColors.WindowText;
     //
     // outputExchangeItemSelector
     //
     this.outputExchangeItemSelector.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.outputExchangeItemSelector.Location          = new System.Drawing.Point(8, 16);
     this.outputExchangeItemSelector.Name              = "outputExchangeItemSelector";
     this.outputExchangeItemSelector.Size              = new System.Drawing.Size(232, 136);
     this.outputExchangeItemSelector.TabIndex          = 27;
     this.outputExchangeItemSelector.SelectionChanged += new System.EventHandler(this.outputExchangeItemSelector_SelectionChanged);
     //
     // groupBoxOutputExchnageItems
     //
     this.groupBoxOutputExchnageItems.Controls.Add(this.outputExchangeItemSelector);
     this.groupBoxOutputExchnageItems.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupBoxOutputExchnageItems.Location = new System.Drawing.Point(8, 28);
     this.groupBoxOutputExchnageItems.Name     = "groupBoxOutputExchnageItems";
     this.groupBoxOutputExchnageItems.Size     = new System.Drawing.Size(248, 157);
     this.groupBoxOutputExchnageItems.TabIndex = 29;
     this.groupBoxOutputExchnageItems.TabStop  = false;
     this.groupBoxOutputExchnageItems.Text     = " Output Exchange Items";
     //
     // inputExchangeItemSelector
     //
     this.inputExchangeItemSelector.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.inputExchangeItemSelector.Location          = new System.Drawing.Point(8, 16);
     this.inputExchangeItemSelector.Name              = "inputExchangeItemSelector";
     this.inputExchangeItemSelector.Size              = new System.Drawing.Size(232, 144);
     this.inputExchangeItemSelector.TabIndex          = 1;
     this.inputExchangeItemSelector.SelectionChanged += new System.EventHandler(this.inputExchangeItemSelector_SelectionChanged);
     //
     // groupBoxProperties
     //
     this.groupBoxProperties.Controls.Add(this.propertyGrid);
     this.groupBoxProperties.Controls.Add(this.buttonViewElementSet);
     this.groupBoxProperties.Dock      = System.Windows.Forms.DockStyle.Right;
     this.groupBoxProperties.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.groupBoxProperties.Location  = new System.Drawing.Point(260, 28);
     this.groupBoxProperties.Name      = "groupBoxProperties";
     this.groupBoxProperties.Size      = new System.Drawing.Size(272, 325);
     this.groupBoxProperties.TabIndex  = 30;
     this.groupBoxProperties.TabStop   = false;
     this.groupBoxProperties.Text      = "ElementSet properties";
     //
     // buttonViewElementSet
     //
     this.buttonViewElementSet.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.buttonViewElementSet.Enabled   = false;
     this.buttonViewElementSet.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.buttonViewElementSet.Location  = new System.Drawing.Point(12, 293);
     this.buttonViewElementSet.Name      = "buttonViewElementSet";
     this.buttonViewElementSet.Size      = new System.Drawing.Size(108, 24);
     this.buttonViewElementSet.TabIndex  = 33;
     this.buttonViewElementSet.Text      = "ElementSet viewer";
     this.buttonViewElementSet.Click    += new System.EventHandler(this.buttonViewElementSet_Click);
     //
     // buttonClose
     //
     this.buttonClose.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonClose.FlatStyle    = System.Windows.Forms.FlatStyle.Popup;
     this.buttonClose.Location     = new System.Drawing.Point(428, 4);
     this.buttonClose.Name         = "buttonClose";
     this.buttonClose.Size         = new System.Drawing.Size(88, 28);
     this.buttonClose.TabIndex     = 31;
     this.buttonClose.Text         = "Close";
     this.buttonClose.Click       += new System.EventHandler(this.buttonClose_Click);
     //
     // panelTop
     //
     this.panelTop.Controls.Add(this.label1);
     this.panelTop.Controls.Add(this.comboBoxModel);
     this.panelTop.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panelTop.Location = new System.Drawing.Point(8, 0);
     this.panelTop.Name     = "panelTop";
     this.panelTop.Size     = new System.Drawing.Size(524, 28);
     this.panelTop.TabIndex = 32;
     //
     // panelBottom
     //
     this.panelBottom.Controls.Add(this.buttonClose);
     this.panelBottom.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panelBottom.Location = new System.Drawing.Point(8, 353);
     this.panelBottom.Name     = "panelBottom";
     this.panelBottom.Size     = new System.Drawing.Size(524, 36);
     this.panelBottom.TabIndex = 33;
     //
     // groupBoxInputExchangeItems
     //
     this.groupBoxInputExchangeItems.Controls.Add(this.inputExchangeItemSelector);
     this.groupBoxInputExchangeItems.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.groupBoxInputExchangeItems.Location = new System.Drawing.Point(8, 189);
     this.groupBoxInputExchangeItems.Name     = "groupBoxInputExchangeItems";
     this.groupBoxInputExchangeItems.Size     = new System.Drawing.Size(248, 164);
     this.groupBoxInputExchangeItems.TabIndex = 0;
     this.groupBoxInputExchangeItems.TabStop  = false;
     this.groupBoxInputExchangeItems.Text     = " Input Exchange Items";
     //
     // splitterVertical
     //
     this.splitterVertical.Dock     = System.Windows.Forms.DockStyle.Right;
     this.splitterVertical.Location = new System.Drawing.Point(256, 28);
     this.splitterVertical.MinExtra = 150;
     this.splitterVertical.MinSize  = 150;
     this.splitterVertical.Name     = "splitterVertical";
     this.splitterVertical.Size     = new System.Drawing.Size(4, 325);
     this.splitterVertical.TabIndex = 34;
     this.splitterVertical.TabStop  = false;
     //
     // splitterHorizontal
     //
     this.splitterHorizontal.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.splitterHorizontal.Location = new System.Drawing.Point(8, 185);
     this.splitterHorizontal.MinExtra = 150;
     this.splitterHorizontal.MinSize  = 150;
     this.splitterHorizontal.Name     = "splitterHorizontal";
     this.splitterHorizontal.Size     = new System.Drawing.Size(248, 4);
     this.splitterHorizontal.TabIndex = 35;
     this.splitterHorizontal.TabStop  = false;
     //
     // ModelDialog
     //
     this.AutoScaleMode     = System.Windows.Forms.AutoScaleMode.None;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(540, 397);
     this.Controls.Add(this.groupBoxOutputExchnageItems);
     this.Controls.Add(this.splitterHorizontal);
     this.Controls.Add(this.groupBoxInputExchangeItems);
     this.Controls.Add(this.splitterVertical);
     this.Controls.Add(this.groupBoxProperties);
     this.Controls.Add(this.panelTop);
     this.Controls.Add(this.panelBottom);
     this.DockPadding.Bottom = 8;
     this.DockPadding.Left   = 8;
     this.DockPadding.Right  = 8;
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimizeBox   = false;
     this.MinimumSize   = new System.Drawing.Size(500, 400);
     this.Name          = "ModelDialog";
     this.ShowInTaskbar = false;
     this.Text          = "Model properties";
     this.Resize       += new System.EventHandler(this.ModelDialog_Resize);
     this.groupBoxOutputExchnageItems.ResumeLayout(false);
     this.groupBoxProperties.ResumeLayout(false);
     this.panelTop.ResumeLayout(false);
     this.panelBottom.ResumeLayout(false);
     this.groupBoxInputExchangeItems.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.C_Panel        = new System.Windows.Forms.Panel();
     this.C_PBPreview    = new System.Windows.Forms.PictureBox();
     this.splitter1      = new System.Windows.Forms.Splitter();
     this.C_PropertyGrid = new System.Windows.Forms.PropertyGrid();
     this.C_Panel.SuspendLayout();
     this.SuspendLayout();
     //
     // C_Panel
     //
     this.C_Panel.Controls.Add(this.C_PBPreview);
     this.C_Panel.Controls.Add(this.splitter1);
     this.C_Panel.Controls.Add(this.C_PropertyGrid);
     this.C_Panel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.C_Panel.Location = new System.Drawing.Point(0, 0);
     this.C_Panel.Name     = "C_Panel";
     this.C_Panel.Size     = new System.Drawing.Size(680, 364);
     this.C_Panel.TabIndex = 0;
     //
     // C_PBPreview
     //
     this.C_PBPreview.BackColor = System.Drawing.Color.White;
     this.C_PBPreview.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.C_PBPreview.Location  = new System.Drawing.Point(0, 0);
     this.C_PBPreview.Name      = "C_PBPreview";
     this.C_PBPreview.Size      = new System.Drawing.Size(493, 364);
     this.C_PBPreview.SizeMode  = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.C_PBPreview.TabIndex  = 0;
     this.C_PBPreview.TabStop   = false;
     this.C_PBPreview.Paint    += new System.Windows.Forms.PaintEventHandler(this.C_PBPreview_Paint);
     //
     // splitter1
     //
     this.splitter1.Dock     = System.Windows.Forms.DockStyle.Right;
     this.splitter1.Location = new System.Drawing.Point(493, 0);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(3, 364);
     this.splitter1.TabIndex = 1;
     this.splitter1.TabStop  = false;
     //
     // C_PropertyGrid
     //
     this.C_PropertyGrid.CommandsVisibleIfAvailable = true;
     this.C_PropertyGrid.Dock                  = System.Windows.Forms.DockStyle.Right;
     this.C_PropertyGrid.LargeButtons          = false;
     this.C_PropertyGrid.LineColor             = System.Drawing.SystemColors.ScrollBar;
     this.C_PropertyGrid.Location              = new System.Drawing.Point(496, 0);
     this.C_PropertyGrid.Name                  = "C_PropertyGrid";
     this.C_PropertyGrid.Size                  = new System.Drawing.Size(184, 364);
     this.C_PropertyGrid.TabIndex              = 0;
     this.C_PropertyGrid.Text                  = "propertyGrid1";
     this.C_PropertyGrid.ViewBackColor         = System.Drawing.SystemColors.Window;
     this.C_PropertyGrid.ViewForeColor         = System.Drawing.SystemColors.WindowText;
     this.C_PropertyGrid.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.C_PropertyGrid_PropertyValueChanged);
     //
     // ConfigChartExLengend
     //
     this.Controls.Add(this.C_Panel);
     this.Name = "ConfigChartExLengend";
     this.Size = new System.Drawing.Size(680, 364);
     this.C_Panel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 54
0
 /// <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.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Group");
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConfigGradingGroupInfo));
     this.panel1           = new System.Windows.Forms.Panel();
     this.C_CopySummary    = new System.Windows.Forms.Button();
     this.C_AddSummary     = new System.Windows.Forms.Button();
     this.C_MoveDown       = new System.Windows.Forms.Button();
     this.C_MoveUp         = new System.Windows.Forms.Button();
     this.C_Remove         = new System.Windows.Forms.Button();
     this.C_NewGroup       = new System.Windows.Forms.Button();
     this.C_CheckHeader    = new System.Windows.Forms.CheckBox();
     this.C_PropertyGrid   = new System.Windows.Forms.PropertyGrid();
     this.C_GroupInfoTree  = new System.Windows.Forms.TreeView();
     this.C_Menu           = new System.Windows.Forms.ContextMenu();
     this.Menu_AddGroup    = new System.Windows.Forms.MenuItem();
     this.Menu_AddSummary  = new System.Windows.Forms.MenuItem();
     this.Menu_CopySummary = new System.Windows.Forms.MenuItem();
     this.Menu_RemoveGroup = new System.Windows.Forms.MenuItem();
     this.Menu_MoveUp      = new System.Windows.Forms.MenuItem();
     this.Menu_MoveDown    = new System.Windows.Forms.MenuItem();
     this.imageList1       = new System.Windows.Forms.ImageList(this.components);
     this.splitter1        = new System.Windows.Forms.Splitter();
     this.C_BtnRevertStyle = new System.Windows.Forms.Button();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.C_CopySummary);
     this.panel1.Controls.Add(this.C_AddSummary);
     this.panel1.Controls.Add(this.C_MoveDown);
     this.panel1.Controls.Add(this.C_MoveUp);
     this.panel1.Controls.Add(this.C_Remove);
     this.panel1.Controls.Add(this.C_NewGroup);
     this.panel1.Controls.Add(this.C_CheckHeader);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(680, 40);
     this.panel1.TabIndex = 0;
     //
     // C_CopySummary
     //
     this.C_CopySummary.BackColor = System.Drawing.SystemColors.Control;
     this.C_CopySummary.Location  = new System.Drawing.Point(208, 8);
     this.C_CopySummary.Name      = "C_CopySummary";
     this.C_CopySummary.Size      = new System.Drawing.Size(110, 23);
     this.C_CopySummary.TabIndex  = 5;
     this.C_CopySummary.Text      = "Copy Summary";
     this.C_CopySummary.UseVisualStyleBackColor = false;
     this.C_CopySummary.Click += new System.EventHandler(this.Menu_CopySummary_Click);
     //
     // C_AddSummary
     //
     this.C_AddSummary.BackColor = System.Drawing.SystemColors.Control;
     this.C_AddSummary.Location  = new System.Drawing.Point(96, 8);
     this.C_AddSummary.Name      = "C_AddSummary";
     this.C_AddSummary.Size      = new System.Drawing.Size(105, 23);
     this.C_AddSummary.TabIndex  = 4;
     this.C_AddSummary.Text      = "Add Summary";
     this.C_AddSummary.UseVisualStyleBackColor = false;
     this.C_AddSummary.Click += new System.EventHandler(this.Menu_NewSummary_Click);
     //
     // C_MoveDown
     //
     this.C_MoveDown.BackColor = System.Drawing.SystemColors.Control;
     this.C_MoveDown.Location  = new System.Drawing.Point(508, 8);
     this.C_MoveDown.Name      = "C_MoveDown";
     this.C_MoveDown.Size      = new System.Drawing.Size(90, 23);
     this.C_MoveDown.TabIndex  = 3;
     this.C_MoveDown.Text      = "Move Down";
     this.C_MoveDown.UseVisualStyleBackColor = false;
     this.C_MoveDown.Click += new System.EventHandler(this.Menu_MoveDown_Click);
     //
     // C_MoveUp
     //
     this.C_MoveUp.BackColor = System.Drawing.SystemColors.Control;
     this.C_MoveUp.Location  = new System.Drawing.Point(431, 8);
     this.C_MoveUp.Name      = "C_MoveUp";
     this.C_MoveUp.Size      = new System.Drawing.Size(70, 23);
     this.C_MoveUp.TabIndex  = 2;
     this.C_MoveUp.Text      = "Move Up";
     this.C_MoveUp.UseVisualStyleBackColor = false;
     this.C_MoveUp.Click += new System.EventHandler(this.Menu_MoveUp_Click);
     //
     // C_Remove
     //
     this.C_Remove.BackColor = System.Drawing.SystemColors.Control;
     this.C_Remove.Location  = new System.Drawing.Point(324, 8);
     this.C_Remove.Name      = "C_Remove";
     this.C_Remove.Size      = new System.Drawing.Size(100, 23);
     this.C_Remove.TabIndex  = 1;
     this.C_Remove.Text      = "Remove Item";
     this.C_Remove.UseVisualStyleBackColor = false;
     this.C_Remove.Click += new System.EventHandler(this.Menu_RemoveGroup_Click);
     //
     // C_NewGroup
     //
     this.C_NewGroup.BackColor = System.Drawing.SystemColors.Control;
     this.C_NewGroup.Location  = new System.Drawing.Point(8, 8);
     this.C_NewGroup.Name      = "C_NewGroup";
     this.C_NewGroup.Size      = new System.Drawing.Size(80, 23);
     this.C_NewGroup.TabIndex  = 0;
     this.C_NewGroup.Text      = "Add Group";
     this.C_NewGroup.UseVisualStyleBackColor = false;
     this.C_NewGroup.Click += new System.EventHandler(this.Menu_NewGroup_Click);
     //
     // C_CheckHeader
     //
     this.C_CheckHeader.Location = new System.Drawing.Point(604, 8);
     this.C_CheckHeader.Name     = "C_CheckHeader";
     this.C_CheckHeader.Size     = new System.Drawing.Size(72, 24);
     this.C_CheckHeader.TabIndex = 8;
     this.C_CheckHeader.Text     = "Header";
     this.C_CheckHeader.Visible  = false;
     //
     // C_PropertyGrid
     //
     this.C_PropertyGrid.Dock      = System.Windows.Forms.DockStyle.Right;
     this.C_PropertyGrid.LineColor = System.Drawing.SystemColors.Control;
     this.C_PropertyGrid.Location  = new System.Drawing.Point(400, 40);
     this.C_PropertyGrid.Name      = "C_PropertyGrid";
     this.C_PropertyGrid.Size      = new System.Drawing.Size(280, 324);
     this.C_PropertyGrid.TabIndex  = 1;
     //
     // C_GroupInfoTree
     //
     this.C_GroupInfoTree.AllowDrop   = true;
     this.C_GroupInfoTree.ContextMenu = this.C_Menu;
     this.C_GroupInfoTree.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.C_GroupInfoTree.Font        = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.C_GroupInfoTree.ForeColor   = System.Drawing.Color.Black;
     this.C_GroupInfoTree.ImageIndex  = 0;
     this.C_GroupInfoTree.ImageList   = this.imageList1;
     this.C_GroupInfoTree.Location    = new System.Drawing.Point(0, 40);
     this.C_GroupInfoTree.Name        = "C_GroupInfoTree";
     treeNode1.Name = "";
     treeNode1.Text = "Group";
     this.C_GroupInfoTree.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
         treeNode1
     });
     this.C_GroupInfoTree.SelectedImageIndex = 0;
     this.C_GroupInfoTree.Size          = new System.Drawing.Size(400, 324);
     this.C_GroupInfoTree.TabIndex      = 2;
     this.C_GroupInfoTree.Enter        += new System.EventHandler(this.C_GroupInfoTree_Click);
     this.C_GroupInfoTree.DragDrop     += new System.Windows.Forms.DragEventHandler(this.C_GroupInfoTree_DragDrop);
     this.C_GroupInfoTree.AfterSelect  += new System.Windows.Forms.TreeViewEventHandler(this.C_GroupInfoTree_AfterSelect);
     this.C_GroupInfoTree.DragEnter    += new System.Windows.Forms.DragEventHandler(this.C_GroupInfoTree_DragEnter);
     this.C_GroupInfoTree.BeforeSelect += new System.Windows.Forms.TreeViewCancelEventHandler(this.C_GroupInfoTree_BeforeSelect);
     this.C_GroupInfoTree.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.C_GroupInfoTree_KeyDown);
     this.C_GroupInfoTree.ItemDrag     += new System.Windows.Forms.ItemDragEventHandler(this.C_GroupInfoTree_ItemDrag);
     this.C_GroupInfoTree.DragOver     += new System.Windows.Forms.DragEventHandler(this.C_GroupInfoTree_DragOver);
     this.C_GroupInfoTree.Click        += new System.EventHandler(this.C_GroupInfoTree_Click);
     //
     // C_Menu
     //
     this.C_Menu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.Menu_AddGroup,
         this.Menu_AddSummary,
         this.Menu_CopySummary,
         this.Menu_RemoveGroup,
         this.Menu_MoveUp,
         this.Menu_MoveDown
     });
     //
     // Menu_AddGroup
     //
     this.Menu_AddGroup.Index  = 0;
     this.Menu_AddGroup.Text   = "Add Group";
     this.Menu_AddGroup.Click += new System.EventHandler(this.Menu_NewGroup_Click);
     //
     // Menu_AddSummary
     //
     this.Menu_AddSummary.Index  = 1;
     this.Menu_AddSummary.Text   = "Add Summary";
     this.Menu_AddSummary.Click += new System.EventHandler(this.Menu_AddSummary_Click);
     //
     // Menu_CopySummary
     //
     this.Menu_CopySummary.Index  = 2;
     this.Menu_CopySummary.Text   = "Copy Summary";
     this.Menu_CopySummary.Click += new System.EventHandler(this.Menu_CopySummary_Click);
     //
     // Menu_RemoveGroup
     //
     this.Menu_RemoveGroup.Index  = 3;
     this.Menu_RemoveGroup.Text   = "Remove Item";
     this.Menu_RemoveGroup.Click += new System.EventHandler(this.Menu_RemoveGroup_Click);
     //
     // Menu_MoveUp
     //
     this.Menu_MoveUp.Index  = 4;
     this.Menu_MoveUp.Text   = "Move Up";
     this.Menu_MoveUp.Click += new System.EventHandler(this.Menu_MoveUp_Click);
     //
     // Menu_MoveDown
     //
     this.Menu_MoveDown.Index  = 5;
     this.Menu_MoveDown.Text   = "Move Down";
     this.Menu_MoveDown.Click += new System.EventHandler(this.Menu_MoveDown_Click);
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "TreeIcon_Group.bmp");
     this.imageList1.Images.SetKeyName(1, "TreeIcon_Group_Selected.bmp");
     this.imageList1.Images.SetKeyName(2, "TreeIcon_Summary.bmp");
     this.imageList1.Images.SetKeyName(3, "TreeIcon_Summary_Selected.bmp");
     //
     // splitter1
     //
     this.splitter1.Dock     = System.Windows.Forms.DockStyle.Right;
     this.splitter1.Location = new System.Drawing.Point(395, 40);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(5, 324);
     this.splitter1.TabIndex = 3;
     this.splitter1.TabStop  = false;
     //
     // C_BtnRevertStyle
     //
     this.C_BtnRevertStyle.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.C_BtnRevertStyle.Location = new System.Drawing.Point(568, 328);
     this.C_BtnRevertStyle.Name     = "C_BtnRevertStyle";
     this.C_BtnRevertStyle.Size     = new System.Drawing.Size(96, 23);
     this.C_BtnRevertStyle.TabIndex = 4;
     this.C_BtnRevertStyle.Text     = "Revert Style";
     this.C_BtnRevertStyle.Click   += new System.EventHandler(this.C_BtnRevertStyle_Click);
     //
     // ConfigGradingGroupInfo
     //
     this.Controls.Add(this.C_BtnRevertStyle);
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.C_GroupInfoTree);
     this.Controls.Add(this.C_PropertyGrid);
     this.Controls.Add(this.panel1);
     this.Name = "ConfigGradingGroupInfo";
     this.Size = new System.Drawing.Size(680, 364);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 55
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditAliasForm));
     this.SessionInfoPropertyGrid = new System.Windows.Forms.PropertyGrid();
     this.tbAliasName             = new System.Windows.Forms.TextBox();
     this.label1                       = new System.Windows.Forms.Label();
     this.AdvancedButton               = new System.Windows.Forms.Button();
     this.openFileDialog1              = new System.Windows.Forms.OpenFileDialog();
     this.cbIsUserAlias                = new System.Windows.Forms.CheckBox();
     this.tcAliasType                  = new System.Windows.Forms.TabControl();
     this.tpConnectionAlias            = new System.Windows.Forms.TabPage();
     this.label12                      = new System.Windows.Forms.Label();
     this.tbEndpointConfigurationName  = new System.Windows.Forms.TextBox();
     this.label9                       = new System.Windows.Forms.Label();
     this.label5                       = new System.Windows.Forms.Label();
     this.label4                       = new System.Windows.Forms.Label();
     this.cbListenerSecurityMode       = new System.Windows.Forms.ComboBox();
     this.tbOverrideListenerPortNumber = new System.Windows.Forms.TextBox();
     this.label3                       = new System.Windows.Forms.Label();
     this.cbSecurityMode               = new System.Windows.Forms.ComboBox();
     this.tbOverridePortNumber         = new System.Windows.Forms.TextBox();
     this.label2                       = new System.Windows.Forms.Label();
     this.cbInstanceName               = new System.Windows.Forms.ComboBox();
     this.label6                       = new System.Windows.Forms.Label();
     this.cbClientSideLogging          = new System.Windows.Forms.CheckBox();
     this.tbHost                       = new System.Windows.Forms.TextBox();
     this.label7                       = new System.Windows.Forms.Label();
     this.label8                       = new System.Windows.Forms.Label();
     this.tpInProcessAlias             = new System.Windows.Forms.TabPage();
     this.cbEmbedded                   = new System.Windows.Forms.CheckBox();
     this.EditInstanceButton           = new System.Windows.Forms.Button();
     this.NewInstanceButton            = new System.Windows.Forms.Button();
     this._cbInProcessInstanceName     = new System.Windows.Forms.ComboBox();
     this.label10                      = new System.Windows.Forms.Label();
     this.label11                      = new System.Windows.Forms.Label();
     this.FContentPanel.SuspendLayout();
     this.tcAliasType.SuspendLayout();
     this.tpConnectionAlias.SuspendLayout();
     this.tpInProcessAlias.SuspendLayout();
     this.SuspendLayout();
     //
     // FContentPanel
     //
     this.FContentPanel.AutoScroll = true;
     this.FContentPanel.Controls.Add(this.label1);
     this.FContentPanel.Controls.Add(this.cbIsUserAlias);
     this.FContentPanel.Controls.Add(this.AdvancedButton);
     this.FContentPanel.Controls.Add(this.tcAliasType);
     this.FContentPanel.Controls.Add(this.tbAliasName);
     this.FContentPanel.Controls.Add(this.SessionInfoPropertyGrid);
     this.FContentPanel.Size = new System.Drawing.Size(325, 625);
     //
     // SessionInfoPropertyGrid
     //
     this.SessionInfoPropertyGrid.LineColor      = System.Drawing.SystemColors.ScrollBar;
     this.SessionInfoPropertyGrid.Location       = new System.Drawing.Point(13, 434);
     this.SessionInfoPropertyGrid.Name           = "SessionInfoPropertyGrid";
     this.SessionInfoPropertyGrid.Size           = new System.Drawing.Size(299, 181);
     this.SessionInfoPropertyGrid.TabIndex       = 8;
     this.SessionInfoPropertyGrid.ToolbarVisible = false;
     //
     // tbAliasName
     //
     this.tbAliasName.Location = new System.Drawing.Point(88, 8);
     this.tbAliasName.Name     = "tbAliasName";
     this.tbAliasName.Size     = new System.Drawing.Size(224, 20);
     this.tbAliasName.TabIndex = 1;
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Location  = new System.Drawing.Point(16, 11);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(60, 13);
     this.label1.TabIndex  = 8;
     this.label1.Text      = "Alias Name";
     //
     // AdvancedButton
     //
     this.AdvancedButton.BackColor = System.Drawing.Color.Transparent;
     this.AdvancedButton.Location  = new System.Drawing.Point(12, 405);
     this.AdvancedButton.Name      = "AdvancedButton";
     this.AdvancedButton.Size      = new System.Drawing.Size(88, 23);
     this.AdvancedButton.TabIndex  = 7;
     this.AdvancedButton.UseVisualStyleBackColor = false;
     this.AdvancedButton.Click += new System.EventHandler(this.AdvancedButton_Click);
     //
     // cbIsUserAlias
     //
     this.cbIsUserAlias.AutoSize = true;
     this.cbIsUserAlias.Location = new System.Drawing.Point(12, 382);
     this.cbIsUserAlias.Name     = "cbIsUserAlias";
     this.cbIsUserAlias.Size     = new System.Drawing.Size(225, 17);
     this.cbIsUserAlias.TabIndex = 9;
     this.cbIsUserAlias.Text     = "Allow this alias to be used by this user only";
     this.cbIsUserAlias.UseVisualStyleBackColor = true;
     //
     // tcAliasType
     //
     this.tcAliasType.Controls.Add(this.tpConnectionAlias);
     this.tcAliasType.Controls.Add(this.tpInProcessAlias);
     this.tcAliasType.Location      = new System.Drawing.Point(12, 34);
     this.tcAliasType.Name          = "tcAliasType";
     this.tcAliasType.SelectedIndex = 0;
     this.tcAliasType.Size          = new System.Drawing.Size(300, 342);
     this.tcAliasType.TabIndex      = 6;
     //
     // tpConnectionAlias
     //
     this.tpConnectionAlias.Controls.Add(this.label12);
     this.tpConnectionAlias.Controls.Add(this.tbEndpointConfigurationName);
     this.tpConnectionAlias.Controls.Add(this.label9);
     this.tpConnectionAlias.Controls.Add(this.label5);
     this.tpConnectionAlias.Controls.Add(this.label4);
     this.tpConnectionAlias.Controls.Add(this.cbListenerSecurityMode);
     this.tpConnectionAlias.Controls.Add(this.tbOverrideListenerPortNumber);
     this.tpConnectionAlias.Controls.Add(this.label3);
     this.tpConnectionAlias.Controls.Add(this.cbSecurityMode);
     this.tpConnectionAlias.Controls.Add(this.tbOverridePortNumber);
     this.tpConnectionAlias.Controls.Add(this.label2);
     this.tpConnectionAlias.Controls.Add(this.cbInstanceName);
     this.tpConnectionAlias.Controls.Add(this.label6);
     this.tpConnectionAlias.Controls.Add(this.cbClientSideLogging);
     this.tpConnectionAlias.Controls.Add(this.tbHost);
     this.tpConnectionAlias.Controls.Add(this.label7);
     this.tpConnectionAlias.Controls.Add(this.label8);
     this.tpConnectionAlias.Location = new System.Drawing.Point(4, 22);
     this.tpConnectionAlias.Name     = "tpConnectionAlias";
     this.tpConnectionAlias.Padding  = new System.Windows.Forms.Padding(3);
     this.tpConnectionAlias.Size     = new System.Drawing.Size(292, 316);
     this.tpConnectionAlias.TabIndex = 0;
     this.tpConnectionAlias.Text     = "Connect";
     this.tpConnectionAlias.UseVisualStyleBackColor = true;
     //
     // label12
     //
     this.label12.Location = new System.Drawing.Point(6, 197);
     this.label12.Name     = "label12";
     this.label12.Size     = new System.Drawing.Size(276, 57);
     this.label12.TabIndex = 29;
     this.label12.Text     = "If a configuration name is specified, it will override all settings and the conne" +
                             "ction will be based on the information specified in the configuration file for t" +
                             "he named endpoint.";
     //
     // tbEndpointConfigurationName
     //
     this.tbEndpointConfigurationName.Location = new System.Drawing.Point(87, 261);
     this.tbEndpointConfigurationName.Name     = "tbEndpointConfigurationName";
     this.tbEndpointConfigurationName.Size     = new System.Drawing.Size(174, 20);
     this.tbEndpointConfigurationName.TabIndex = 27;
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(6, 264);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(68, 13);
     this.label9.TabIndex = 28;
     this.label9.Text     = "Config Name";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(102, 122);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(48, 13);
     this.label5.TabIndex = 26;
     this.label5.Text     = "Instance";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(202, 122);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(44, 13);
     this.label4.TabIndex = 25;
     this.label4.Text     = "Listener";
     //
     // cbListenerSecurityMode
     //
     this.cbListenerSecurityMode.FormattingEnabled = true;
     this.cbListenerSecurityMode.Items.AddRange(new object[] {
         "Default",
         "None",
         "Transport"
     });
     this.cbListenerSecurityMode.Location = new System.Drawing.Point(184, 169);
     this.cbListenerSecurityMode.Name     = "cbListenerSecurityMode";
     this.cbListenerSecurityMode.Size     = new System.Drawing.Size(77, 21);
     this.cbListenerSecurityMode.TabIndex = 24;
     //
     // tbOverrideListenerPortNumber
     //
     this.tbOverrideListenerPortNumber.Location = new System.Drawing.Point(184, 141);
     this.tbOverrideListenerPortNumber.Name     = "tbOverrideListenerPortNumber";
     this.tbOverrideListenerPortNumber.Size     = new System.Drawing.Size(77, 20);
     this.tbOverrideListenerPortNumber.TabIndex = 23;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(6, 172);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(75, 13);
     this.label3.TabIndex = 22;
     this.label3.Text     = "Security Mode";
     //
     // cbSecurityMode
     //
     this.cbSecurityMode.FormattingEnabled = true;
     this.cbSecurityMode.Items.AddRange(new object[] {
         "Default",
         "None",
         "Transport"
     });
     this.cbSecurityMode.Location = new System.Drawing.Point(87, 169);
     this.cbSecurityMode.Name     = "cbSecurityMode";
     this.cbSecurityMode.Size     = new System.Drawing.Size(77, 21);
     this.cbSecurityMode.TabIndex = 21;
     //
     // tbOverridePortNumber
     //
     this.tbOverridePortNumber.Location = new System.Drawing.Point(87, 141);
     this.tbOverridePortNumber.Name     = "tbOverridePortNumber";
     this.tbOverridePortNumber.Size     = new System.Drawing.Size(77, 20);
     this.tbOverridePortNumber.TabIndex = 19;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(6, 144);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(69, 13);
     this.label2.TabIndex = 20;
     this.label2.Text     = "Override Port";
     //
     // cbInstanceName
     //
     this.cbInstanceName.FormattingEnabled = true;
     this.cbInstanceName.Location          = new System.Drawing.Point(87, 93);
     this.cbInstanceName.Name      = "cbInstanceName";
     this.cbInstanceName.Size      = new System.Drawing.Size(174, 21);
     this.cbInstanceName.TabIndex  = 18;
     this.cbInstanceName.DropDown += new System.EventHandler(this.cbInstanceName_DropDown);
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(6, 7);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(276, 57);
     this.label6.TabIndex = 17;
     this.label6.Text     = resources.GetString("label6.Text");
     //
     // cbClientSideLogging
     //
     this.cbClientSideLogging.Location = new System.Drawing.Point(9, 293);
     this.cbClientSideLogging.Name     = "cbClientSideLogging";
     this.cbClientSideLogging.Size     = new System.Drawing.Size(168, 17);
     this.cbClientSideLogging.TabIndex = 16;
     this.cbClientSideLogging.Text     = "Client-Side Logging Enabled";
     //
     // tbHost
     //
     this.tbHost.Location     = new System.Drawing.Point(87, 67);
     this.tbHost.Name         = "tbHost";
     this.tbHost.Size         = new System.Drawing.Size(174, 20);
     this.tbHost.TabIndex     = 12;
     this.tbHost.TextChanged += new System.EventHandler(this.tbHost_TextChanged);
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(6, 70);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(29, 13);
     this.label7.TabIndex = 15;
     this.label7.Text     = "Host";
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Location = new System.Drawing.Point(6, 96);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(48, 13);
     this.label8.TabIndex = 14;
     this.label8.Text     = "Instance";
     //
     // tpInProcessAlias
     //
     this.tpInProcessAlias.Controls.Add(this.cbEmbedded);
     this.tpInProcessAlias.Controls.Add(this.EditInstanceButton);
     this.tpInProcessAlias.Controls.Add(this.NewInstanceButton);
     this.tpInProcessAlias.Controls.Add(this._cbInProcessInstanceName);
     this.tpInProcessAlias.Controls.Add(this.label10);
     this.tpInProcessAlias.Controls.Add(this.label11);
     this.tpInProcessAlias.Location = new System.Drawing.Point(4, 22);
     this.tpInProcessAlias.Name     = "tpInProcessAlias";
     this.tpInProcessAlias.Padding  = new System.Windows.Forms.Padding(3);
     this.tpInProcessAlias.Size     = new System.Drawing.Size(292, 316);
     this.tpInProcessAlias.TabIndex = 1;
     this.tpInProcessAlias.Text     = "In-Process";
     this.tpInProcessAlias.UseVisualStyleBackColor = true;
     //
     // cbEmbedded
     //
     this.cbEmbedded.AutoSize = true;
     this.cbEmbedded.Location = new System.Drawing.Point(11, 108);
     this.cbEmbedded.Name     = "cbEmbedded";
     this.cbEmbedded.Size     = new System.Drawing.Size(117, 17);
     this.cbEmbedded.TabIndex = 50;
     this.cbEmbedded.Text     = "Embedded Server?";
     this.cbEmbedded.UseVisualStyleBackColor = true;
     //
     // EditInstanceButton
     //
     this.EditInstanceButton.Location = new System.Drawing.Point(133, 72);
     this.EditInstanceButton.Name     = "EditInstanceButton";
     this.EditInstanceButton.Size     = new System.Drawing.Size(45, 21);
     this.EditInstanceButton.TabIndex = 49;
     this.EditInstanceButton.Text     = "Edit...";
     this.EditInstanceButton.UseVisualStyleBackColor = true;
     this.EditInstanceButton.Click += new System.EventHandler(this.EditInstanceButton_Click);
     //
     // NewInstanceButton
     //
     this.NewInstanceButton.Location = new System.Drawing.Point(82, 72);
     this.NewInstanceButton.Name     = "NewInstanceButton";
     this.NewInstanceButton.Size     = new System.Drawing.Size(45, 21);
     this.NewInstanceButton.TabIndex = 48;
     this.NewInstanceButton.Text     = "New...";
     this.NewInstanceButton.UseVisualStyleBackColor = true;
     this.NewInstanceButton.Click += new System.EventHandler(this.NewInstanceButton_Click);
     //
     // _cbInProcessInstanceName
     //
     this._cbInProcessInstanceName.FormattingEnabled = true;
     this._cbInProcessInstanceName.Location          = new System.Drawing.Point(82, 45);
     this._cbInProcessInstanceName.Name      = "_cbInProcessInstanceName";
     this._cbInProcessInstanceName.Size      = new System.Drawing.Size(155, 21);
     this._cbInProcessInstanceName.TabIndex  = 47;
     this._cbInProcessInstanceName.DropDown += new System.EventHandler(this.cbInProcessInstanceName_DropDown);
     //
     // label10
     //
     this.label10.Location = new System.Drawing.Point(8, 7);
     this.label10.Name     = "label10";
     this.label10.Size     = new System.Drawing.Size(278, 28);
     this.label10.TabIndex = 46;
     this.label10.Text     = "Start a new server in-process using the following configuration:";
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Location = new System.Drawing.Point(6, 48);
     this.label11.Name     = "label11";
     this.label11.Size     = new System.Drawing.Size(48, 13);
     this.label11.TabIndex = 32;
     this.label11.Text     = "Instance";
     //
     // EditAliasForm
     //
     this.ClientSize      = new System.Drawing.Size(325, 696);
     this.ControlBox      = false;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Location        = new System.Drawing.Point(0, 0);
     this.Name            = "EditAliasForm";
     this.ShowInTaskbar   = false;
     this.Text            = "Server Alias";
     this.FContentPanel.ResumeLayout(false);
     this.FContentPanel.PerformLayout();
     this.tcAliasType.ResumeLayout(false);
     this.tpConnectionAlias.ResumeLayout(false);
     this.tpConnectionAlias.PerformLayout();
     this.tpInProcessAlias.ResumeLayout(false);
     this.tpInProcessAlias.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 56
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.PropertyFormTreeView            = new System.Windows.Forms.TreeView();
     this.PropertyFormTreeViewPanel       = new System.Windows.Forms.Panel();
     this.PropertyFormTextBoxPanel        = new System.Windows.Forms.Panel();
     this.PropertyFormTextBoxLabel        = new System.Windows.Forms.Label();
     this.PropertyFormTextBoxDeleteButton = new System.Windows.Forms.Button();
     this.PropertyFormTextBoxAddButton    = new System.Windows.Forms.Button();
     this.PropertyFormTreeViewTextBox     = new System.Windows.Forms.TextBox();
     this.PropertyFormSplitter            = new System.Windows.Forms.Splitter();
     this.PropertyFormPropertyGridPanel   = new System.Windows.Forms.Panel();
     this.PropertyFormPropertyGrid        = new System.Windows.Forms.PropertyGrid();
     this.PropertyFormOKCancelButtonPanel = new System.Windows.Forms.Panel();
     this.PropertyFormExitButton          = new System.Windows.Forms.Button();
     this.PropertyFormTextBoxDisplayLabel = new System.Windows.Forms.Label();
     this.PropertyFormTreeViewPanel.SuspendLayout();
     this.PropertyFormTextBoxPanel.SuspendLayout();
     this.PropertyFormPropertyGridPanel.SuspendLayout();
     this.PropertyFormOKCancelButtonPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // PropertyFormTreeView
     //
     this.PropertyFormTreeView.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.PropertyFormTreeView.ImageIndex         = -1;
     this.PropertyFormTreeView.Location           = new System.Drawing.Point(0, 0);
     this.PropertyFormTreeView.Name               = "PropertyFormTreeView";
     this.PropertyFormTreeView.SelectedImageIndex = -1;
     this.PropertyFormTreeView.Size               = new System.Drawing.Size(316, 252);
     this.PropertyFormTreeView.TabIndex           = 4;
     this.PropertyFormTreeView.MouseDown         += new System.Windows.Forms.MouseEventHandler(this.PropertyFormTreeView_MouseDown);
     //
     // PropertyFormTreeViewPanel
     //
     this.PropertyFormTreeViewPanel.Controls.Add(this.PropertyFormTextBoxPanel);
     this.PropertyFormTreeViewPanel.Controls.Add(this.PropertyFormTreeView);
     this.PropertyFormTreeViewPanel.Dock     = System.Windows.Forms.DockStyle.Left;
     this.PropertyFormTreeViewPanel.Location = new System.Drawing.Point(0, 0);
     this.PropertyFormTreeViewPanel.Name     = "PropertyFormTreeViewPanel";
     this.PropertyFormTreeViewPanel.Size     = new System.Drawing.Size(316, 309);
     this.PropertyFormTreeViewPanel.TabIndex = 5;
     //
     // PropertyFormTextBoxPanel
     //
     this.PropertyFormTextBoxPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.PropertyFormTextBoxPanel.Controls.Add(this.PropertyFormTextBoxDisplayLabel);
     this.PropertyFormTextBoxPanel.Controls.Add(this.PropertyFormTextBoxLabel);
     this.PropertyFormTextBoxPanel.Controls.Add(this.PropertyFormTextBoxDeleteButton);
     this.PropertyFormTextBoxPanel.Controls.Add(this.PropertyFormTextBoxAddButton);
     this.PropertyFormTextBoxPanel.Controls.Add(this.PropertyFormTreeViewTextBox);
     this.PropertyFormTextBoxPanel.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.PropertyFormTextBoxPanel.Location = new System.Drawing.Point(0, 249);
     this.PropertyFormTextBoxPanel.Name     = "PropertyFormTextBoxPanel";
     this.PropertyFormTextBoxPanel.Size     = new System.Drawing.Size(316, 60);
     this.PropertyFormTextBoxPanel.TabIndex = 5;
     //
     // PropertyFormTextBoxLabel
     //
     this.PropertyFormTextBoxLabel.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.PropertyFormTextBoxLabel.Location = new System.Drawing.Point(8, 4);
     this.PropertyFormTextBoxLabel.Name     = "PropertyFormTextBoxLabel";
     this.PropertyFormTextBoxLabel.Size     = new System.Drawing.Size(100, 16);
     this.PropertyFormTextBoxLabel.TabIndex = 3;
     this.PropertyFormTextBoxLabel.Text     = "Current Selection:";
     //
     // PropertyFormTextBoxDeleteButton
     //
     this.PropertyFormTextBoxDeleteButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.PropertyFormTextBoxDeleteButton.Location = new System.Drawing.Point(228, 24);
     this.PropertyFormTextBoxDeleteButton.Name     = "PropertyFormTextBoxDeleteButton";
     this.PropertyFormTextBoxDeleteButton.TabIndex = 2;
     this.PropertyFormTextBoxDeleteButton.Text     = "Delete";
     //
     // PropertyFormTextBoxAddButton
     //
     this.PropertyFormTextBoxAddButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.PropertyFormTextBoxAddButton.Location = new System.Drawing.Point(188, 24);
     this.PropertyFormTextBoxAddButton.Name     = "PropertyFormTextBoxAddButton";
     this.PropertyFormTextBoxAddButton.Size     = new System.Drawing.Size(32, 23);
     this.PropertyFormTextBoxAddButton.TabIndex = 1;
     this.PropertyFormTextBoxAddButton.Text     = "Add";
     //
     // PropertyFormTreeViewTextBox
     //
     this.PropertyFormTreeViewTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.PropertyFormTreeViewTextBox.Location = new System.Drawing.Point(8, 24);
     this.PropertyFormTreeViewTextBox.Name     = "PropertyFormTreeViewTextBox";
     this.PropertyFormTreeViewTextBox.Size     = new System.Drawing.Size(172, 20);
     this.PropertyFormTreeViewTextBox.TabIndex = 0;
     this.PropertyFormTreeViewTextBox.Text     = "";
     //
     // PropertyFormSplitter
     //
     this.PropertyFormSplitter.Location = new System.Drawing.Point(316, 0);
     this.PropertyFormSplitter.Name     = "PropertyFormSplitter";
     this.PropertyFormSplitter.Size     = new System.Drawing.Size(3, 309);
     this.PropertyFormSplitter.TabIndex = 6;
     this.PropertyFormSplitter.TabStop  = false;
     //
     // PropertyFormPropertyGridPanel
     //
     this.PropertyFormPropertyGridPanel.Controls.Add(this.PropertyFormPropertyGrid);
     this.PropertyFormPropertyGridPanel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.PropertyFormPropertyGridPanel.Location = new System.Drawing.Point(319, 0);
     this.PropertyFormPropertyGridPanel.Name     = "PropertyFormPropertyGridPanel";
     this.PropertyFormPropertyGridPanel.Size     = new System.Drawing.Size(345, 309);
     this.PropertyFormPropertyGridPanel.TabIndex = 7;
     //
     // PropertyFormPropertyGrid
     //
     this.PropertyFormPropertyGrid.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.PropertyFormPropertyGrid.CommandsVisibleIfAvailable = true;
     this.PropertyFormPropertyGrid.LargeButtons  = false;
     this.PropertyFormPropertyGrid.LineColor     = System.Drawing.SystemColors.ScrollBar;
     this.PropertyFormPropertyGrid.Location      = new System.Drawing.Point(0, 0);
     this.PropertyFormPropertyGrid.Name          = "PropertyFormPropertyGrid";
     this.PropertyFormPropertyGrid.Size          = new System.Drawing.Size(344, 268);
     this.PropertyFormPropertyGrid.TabIndex      = 1;
     this.PropertyFormPropertyGrid.Tag           = "";
     this.PropertyFormPropertyGrid.Text          = "PropertyFormPropertyGrid";
     this.PropertyFormPropertyGrid.ViewBackColor = System.Drawing.SystemColors.Window;
     this.PropertyFormPropertyGrid.ViewForeColor = System.Drawing.SystemColors.WindowText;
     //
     // PropertyFormOKCancelButtonPanel
     //
     this.PropertyFormOKCancelButtonPanel.Controls.Add(this.PropertyFormExitButton);
     this.PropertyFormOKCancelButtonPanel.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.PropertyFormOKCancelButtonPanel.Location = new System.Drawing.Point(319, 273);
     this.PropertyFormOKCancelButtonPanel.Name     = "PropertyFormOKCancelButtonPanel";
     this.PropertyFormOKCancelButtonPanel.Size     = new System.Drawing.Size(345, 36);
     this.PropertyFormOKCancelButtonPanel.TabIndex = 8;
     //
     // PropertyFormExitButton
     //
     this.PropertyFormExitButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.PropertyFormExitButton.Location = new System.Drawing.Point(264, 8);
     this.PropertyFormExitButton.Name     = "PropertyFormExitButton";
     this.PropertyFormExitButton.TabIndex = 0;
     this.PropertyFormExitButton.Text     = "Exit";
     this.PropertyFormExitButton.Click   += new System.EventHandler(this.PropertyFormExitButton_Click);
     //
     // PropertyFormTextBoxDisplayLabel
     //
     this.PropertyFormTextBoxDisplayLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.PropertyFormTextBoxDisplayLabel.Location = new System.Drawing.Point(104, 4);
     this.PropertyFormTextBoxDisplayLabel.Name     = "PropertyFormTextBoxDisplayLabel";
     this.PropertyFormTextBoxDisplayLabel.Size     = new System.Drawing.Size(204, 20);
     this.PropertyFormTextBoxDisplayLabel.TabIndex = 4;
     //
     // PropertyGridForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(664, 309);
     this.Controls.Add(this.PropertyFormOKCancelButtonPanel);
     this.Controls.Add(this.PropertyFormPropertyGridPanel);
     this.Controls.Add(this.PropertyFormSplitter);
     this.Controls.Add(this.PropertyFormTreeViewPanel);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.MinimumSize = new System.Drawing.Size(512, 284);
     this.Name        = "PropertyGridForm";
     this.Text        = "MOG Properties Grid";
     this.PropertyFormTreeViewPanel.ResumeLayout(false);
     this.PropertyFormTextBoxPanel.ResumeLayout(false);
     this.PropertyFormPropertyGridPanel.ResumeLayout(false);
     this.PropertyFormOKCancelButtonPanel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 57
0
            public ConcreteCollectionForm(CollectionEditor editor)
                : base(editor)
            {
                this.editor = editor;

                this.labelMember   = new System.Windows.Forms.Label();
                this.labelProperty = new System.Windows.Forms.Label();
                this.itemsList     = new UpdateableListbox();
                this.itemDisplay   = new System.Windows.Forms.PropertyGrid();
                this.doClose       = new System.Windows.Forms.Button();
                this.moveUp        = new System.Windows.Forms.Button();
                this.moveDown      = new System.Windows.Forms.Button();
                this.doAdd         = new System.Windows.Forms.Button();
                this.doRemove      = new System.Windows.Forms.Button();
                this.doCancel      = new System.Windows.Forms.Button();
                this.addType       = new System.Windows.Forms.ComboBox();
                this.SuspendLayout();
                //
                // labelMember
                //
                this.labelMember.Location = new System.Drawing.Point(12, 9);
                this.labelMember.Size     = new System.Drawing.Size(55, 13);
                this.labelMember.Text     = "Members:";
                //
                // labelProperty
                //
                this.labelProperty.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                                  | System.Windows.Forms.AnchorStyles.Right)));
                this.labelProperty.Location = new System.Drawing.Point(172, 9);
                this.labelProperty.Size     = new System.Drawing.Size(347, 13);
                this.labelProperty.Text     = "Properties:";
                //
                // itemsList
                //
                this.itemsList.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                              | System.Windows.Forms.AnchorStyles.Left)));
                this.itemsList.HorizontalScrollbar = true;
                this.itemsList.Location            = new System.Drawing.Point(12, 25);
                this.itemsList.SelectionMode       = System.Windows.Forms.SelectionMode.MultiExtended;
                this.itemsList.Size                  = new System.Drawing.Size(120, 290);
                this.itemsList.TabIndex              = 0;
                this.itemsList.SelectedIndexChanged += new System.EventHandler(this.itemsList_SelectedIndexChanged);
                //
                // itemDisplay
                //
                this.itemDisplay.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.itemDisplay.HelpVisible           = false;
                this.itemDisplay.Location              = new System.Drawing.Point(175, 25);
                this.itemDisplay.Size                  = new System.Drawing.Size(344, 314);
                this.itemDisplay.TabIndex              = 6;
                this.itemDisplay.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.itemDisplay_PropertyValueChanged);
                //
                // doClose
                //
                this.doClose.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
                this.doClose.Location = new System.Drawing.Point(341, 345);
                this.doClose.Size     = new System.Drawing.Size(86, 26);
                this.doClose.TabIndex = 7;
                this.doClose.Text     = "OK";
                this.doClose.Click   += new System.EventHandler(this.doClose_Click);
                //
                // moveUp
                //
                this.moveUp.Location = new System.Drawing.Point(138, 25);
                this.moveUp.Size     = new System.Drawing.Size(31, 28);
                this.moveUp.TabIndex = 4;
                this.moveUp.Enabled  = false;
                this.moveUp.Text     = "Up";
                this.moveUp.Click   += new System.EventHandler(this.moveUp_Click);
                //
                // moveDown
                //
                this.moveDown.Location = new System.Drawing.Point(138, 59);
                this.moveDown.Size     = new System.Drawing.Size(31, 28);
                this.moveDown.TabIndex = 5;
                this.moveDown.Enabled  = false;
                this.moveDown.Text     = "Dn";
                this.moveDown.Click   += new System.EventHandler(this.moveDown_Click);
                //
                // doAdd
                //
                this.doAdd.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
                this.doAdd.Location = new System.Drawing.Point(12, 346);
                this.doAdd.Size     = new System.Drawing.Size(59, 25);
                this.doAdd.TabIndex = 1;
                this.doAdd.Text     = "Add";
                this.doAdd.Click   += new System.EventHandler(this.doAdd_Click);
                //
                // doRemove
                //
                this.doRemove.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
                this.doRemove.Location = new System.Drawing.Point(77, 346);
                this.doRemove.Size     = new System.Drawing.Size(55, 25);
                this.doRemove.TabIndex = 2;
                this.doRemove.Text     = "Remove";
                this.doRemove.Click   += new System.EventHandler(this.doRemove_Click);
                //
                // doCancel
                //
                this.doCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
                this.doCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
                this.doCancel.Location     = new System.Drawing.Point(433, 345);
                this.doCancel.Size         = new System.Drawing.Size(86, 26);
                this.doCancel.TabIndex     = 8;
                this.doCancel.Text         = "Cancel";
                this.doCancel.Click       += new System.EventHandler(this.doCancel_Click);
                //
                // addType
                //
                this.addType.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
                this.addType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
                this.addType.Location      = new System.Drawing.Point(12, 319);
                this.addType.Size          = new System.Drawing.Size(120, 21);
                this.addType.TabIndex      = 3;
                //
                // DesignerForm
                //
                this.AcceptButton = this.doClose;
                this.CancelButton = this.doCancel;
                this.ClientSize   = new System.Drawing.Size(531, 381);
                this.ControlBox   = false;
                this.Controls.Add(this.addType);
                this.Controls.Add(this.doCancel);
                this.Controls.Add(this.doRemove);
                this.Controls.Add(this.doAdd);
                this.Controls.Add(this.moveDown);
                this.Controls.Add(this.moveUp);
                this.Controls.Add(this.doClose);
                this.Controls.Add(this.itemDisplay);
                this.Controls.Add(this.itemsList);
                this.Controls.Add(this.labelProperty);
                this.Controls.Add(this.labelMember);
                this.HelpButton    = true;
                this.MaximizeBox   = false;
                this.MinimizeBox   = false;
                this.MinimumSize   = new System.Drawing.Size(400, 300);
                this.ShowInTaskbar = false;
                this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
                this.ResumeLayout(false);

#if NET_2_0
                if (editor.CollectionType.IsGenericType)
                {
                    this.Text = editor.CollectionItemType.Name + " Collection Editor";
                }
                else
                {
                    this.Text = editor.CollectionType.Name + " Collection Editor";
                }
#else
                this.Text = editor.CollectionType.Name + " Collection Editor";
#endif
                foreach (Type type in editor.NewItemTypes)
                {
                    addType.Items.Add(type.Name);
                }
                if (addType.Items.Count > 0)
                {
                    addType.SelectedIndex = 0;
                }
            }
Ejemplo n.º 58
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ConnectionPropertiesForm));
     this.ButtonConnect = new System.Windows.Forms.Button();
     this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
     this.panel1        = new System.Windows.Forms.Panel();
     this.panel2        = new System.Windows.Forms.Panel();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // ButtonConnect
     //
     this.ButtonConnect.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.ButtonConnect.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.ButtonConnect.Location     = new System.Drawing.Point(217, 3);
     this.ButtonConnect.Name         = "ButtonConnect";
     this.ButtonConnect.TabIndex     = 0;
     this.ButtonConnect.Text         = "Connect";
     this.ButtonConnect.Click       += new System.EventHandler(this.ButtonConnect_Click);
     //
     // propertyGrid1
     //
     this.propertyGrid1.CommandsVisibleIfAvailable = true;
     this.propertyGrid1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.propertyGrid1.LargeButtons  = false;
     this.propertyGrid1.LineColor     = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid1.Location      = new System.Drawing.Point(0, 0);
     this.propertyGrid1.Name          = "propertyGrid1";
     this.propertyGrid1.Size          = new System.Drawing.Size(292, 247);
     this.propertyGrid1.TabIndex      = 2;
     this.propertyGrid1.Text          = "propertyGrid1";
     this.propertyGrid1.ViewBackColor = System.Drawing.SystemColors.Window;
     this.propertyGrid1.ViewForeColor = System.Drawing.SystemColors.WindowText;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.ButtonConnect);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location = new System.Drawing.Point(0, 247);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 26);
     this.panel1.TabIndex = 12;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.propertyGrid1);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(292, 247);
     this.panel2.TabIndex = 13;
     //
     // ConnectionPropertiesForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(292, 273);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "ConnectionPropertiesForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Connection Properties";
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 59
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GenericPropGrid));
     this.m_pgProps              = new System.Windows.Forms.PropertyGrid();
     this.m_mnuContext           = new System.Windows.Forms.ContextMenu();
     this.m_mnuItemShowObjInfo   = new System.Windows.Forms.MenuItem();
     this.m_mnuItemShowClassInfo = new System.Windows.Forms.MenuItem();
     this.m_bnOK     = new System.Windows.Forms.Button();
     this.m_bnCancel = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // m_pgProps
     //
     this.m_pgProps.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.m_pgProps.ContextMenu  = this.m_mnuContext;
     this.m_pgProps.Cursor       = System.Windows.Forms.Cursors.Hand;
     this.m_pgProps.LineColor    = System.Drawing.SystemColors.ScrollBar;
     this.m_pgProps.Location     = new System.Drawing.Point(16, 16);
     this.m_pgProps.Name         = "m_pgProps";
     this.m_pgProps.PropertySort = System.Windows.Forms.PropertySort.Alphabetical;
     this.m_pgProps.Size         = new System.Drawing.Size(472, 384);
     this.m_pgProps.TabIndex     = 0;
     //
     // m_mnuContext
     //
     this.m_mnuContext.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.m_mnuItemShowObjInfo,
         this.m_mnuItemShowClassInfo
     });
     this.m_mnuContext.Popup += new System.EventHandler(this.OnMenuContextPopup);
     //
     // m_mnuItemShowObjInfo
     //
     this.m_mnuItemShowObjInfo.Index  = 0;
     this.m_mnuItemShowObjInfo.Text   = "Show Object Info...";
     this.m_mnuItemShowObjInfo.Click += new System.EventHandler(this.OnShowObjInfo);
     //
     // m_mnuItemShowClassInfo
     //
     this.m_mnuItemShowClassInfo.Index  = 1;
     this.m_mnuItemShowClassInfo.Text   = "Show Class Info...";
     this.m_mnuItemShowClassInfo.Click += new System.EventHandler(this.OnShowClassInfo);
     //
     // m_bnOK
     //
     this.m_bnOK.Anchor       = System.Windows.Forms.AnchorStyles.Bottom;
     this.m_bnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.m_bnOK.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.m_bnOK.Location     = new System.Drawing.Point(171, 416);
     this.m_bnOK.Name         = "m_bnOK";
     this.m_bnOK.Size         = new System.Drawing.Size(75, 23);
     this.m_bnOK.TabIndex     = 1;
     this.m_bnOK.Text         = "OK";
     //
     // m_bnCancel
     //
     this.m_bnCancel.Anchor       = System.Windows.Forms.AnchorStyles.Bottom;
     this.m_bnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.m_bnCancel.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.m_bnCancel.Location     = new System.Drawing.Point(259, 416);
     this.m_bnCancel.Name         = "m_bnCancel";
     this.m_bnCancel.Size         = new System.Drawing.Size(75, 23);
     this.m_bnCancel.TabIndex     = 3;
     this.m_bnCancel.Text         = "Cancel";
     //
     // GenericPropGrid
     //
     this.AcceptButton      = this.m_bnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.m_bnCancel;
     this.ClientSize        = new System.Drawing.Size(504, 454);
     this.Controls.Add(this.m_bnCancel);
     this.Controls.Add(this.m_bnOK);
     this.Controls.Add(this.m_pgProps);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.MinimumSize   = new System.Drawing.Size(280, 250);
     this.Name          = "GenericPropGrid";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "PropGrid";
     this.ResumeLayout(false);
 }
Ejemplo n.º 60
-1
		// Cannot use one PropertyDescriptor for all owners, because the
		// propertydescriptors might have different Invokees. Check
		// ReflectionPropertyDescriptor.GetInvokee and how it's used.
		//
		public GridEntry (PropertyGrid propertyGrid, PropertyDescriptor[] properties, 
				  GridEntry parent) : this (propertyGrid, parent) 
		{
			if (properties == null || properties.Length == 0)
				throw new ArgumentNullException ("prop_desc");
			property_descriptors = properties;
		}