Ejemplo n.º 1
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.Dock = System.Windows.Forms.DockStyle.Fill;
     this.propertyGrid.Location = new System.Drawing.Point(0, 0);
     this.propertyGrid.Name = "propertyGrid";
     this.propertyGrid.Size = new System.Drawing.Size(273, 472);
     this.propertyGrid.TabIndex = 0;
     this.propertyGrid.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.propertyGrid_PropertyValueChanged);
     //
     // ConstantsForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(273, 472);
     this.ControlBox = false;
     this.Controls.Add(this.propertyGrid);
     this.Name = "ConstantsForm";
     this.Text = "Constants";
     this.ResumeLayout(false);
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Called when the context menu button is selected.
        /// </summary>
        public virtual void editProperties()
        {
            try
            {
                // If it is already showing, bring it to the front.
                if (null != _propertyGridForm)
                {
                    _propertyGridForm.Show();
                    _propertyGridForm.Activate();
                    return;
                }
                else
                {
                    string persistentName = "CanvasPropertyGrid";

                    // Make the property grid.
                    System.Windows.Forms.PropertyGrid grid = new System.Windows.Forms.PropertyGrid();
                    grid.Dock                  = System.Windows.Forms.DockStyle.Fill;
                    grid.SelectedObject        = this.PropertyGridObject;
                    grid.PropertyValueChanged += this._propertyValueChanged;

                    // Make new container form, add property grid, and show it.
                    _propertyGridForm = new CadKit.Persistence.Form();
                    _propertyGridForm.PersistentName = persistentName;
                    _propertyGridForm.Controls.Add(grid);
                    CadKit.Tools.ToolWindow.configure(_propertyGridForm, this.FindForm(), "Edit OpenGL Canvas", true);
                    _propertyGridForm.FormClosed += this._propertyGridClosed;
                    _propertyGridForm.Show();
                }
            }
            catch (System.Exception e)
            {
                System.Console.WriteLine("Error 1108970309: {0}\n{1}", e.Message, e.StackTrace);
            }
        }
 private void InitializeComponent()
 {
     this.propertyGrid = new System.Windows.Forms.PropertyGrid();
     this.SuspendLayout();
     //
     // propertyGrid
     //
     this.propertyGrid.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.propertyGrid.Location              = new System.Drawing.Point(0, 0);
     this.propertyGrid.Name                  = "propertyGrid";
     this.propertyGrid.Size                  = new System.Drawing.Size(253, 400);
     this.propertyGrid.TabIndex              = 0;
     this.propertyGrid.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.propertyGrid_PropertyValueChanged);
     //
     // PropertiesWindow
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.propertyGrid);
     this.DefaultDockLocation = TD.SandDock.ContainerDockLocation.Right;
     this.Name     = "PropertiesWindow";
     this.Size     = new System.Drawing.Size(253, 400);
     this.TabImage = global::OpenQuant.Shared.Properties.Resources.properties;
     this.Text     = "Properties";
     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.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
     this.SuspendLayout();
     //
     // propertyGrid1
     //
     this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.propertyGrid1.Enabled = false;
     this.propertyGrid1.Location = new System.Drawing.Point( 0, 0 );
     this.propertyGrid1.Name = "propertyGrid1";
     this.propertyGrid1.SelectedObject = this.propertyGrid1;
     this.propertyGrid1.Size = new System.Drawing.Size( 214, 328 );
     this.propertyGrid1.TabIndex = 1;
     //
     // PropertiesForm
     //
     this.ClientSize = new System.Drawing.Size( 214, 328 );
     this.Controls.Add( this.propertyGrid1 );
     this.DockAreas = ( (WeifenLuo.WinFormsUI.Docking.DockAreas)( ( ( ( ( WeifenLuo.WinFormsUI.Docking.DockAreas.Float | WeifenLuo.WinFormsUI.Docking.DockAreas.DockLeft )
                     | WeifenLuo.WinFormsUI.Docking.DockAreas.DockRight )
                     | WeifenLuo.WinFormsUI.Docking.DockAreas.DockTop )
                     | WeifenLuo.WinFormsUI.Docking.DockAreas.DockBottom ) ) );
     this.Font = new System.Drawing.Font( "Microsoft Sans Serif", 7.471698F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ( (byte)( 204 ) ) );
     this.HideOnClose = true;
     this.Name = "PropertiesForm";
     this.ShowHint = WeifenLuo.WinFormsUI.Docking.DockState.DockRight;
     this.TabText = "Properties";
     this.Text = "Properties";
     this.ResumeLayout( false );
 }
Ejemplo n.º 5
0
        private void InitializeComponent()
        {
            this.container = new System.ComponentModel.Container();
//      ResourceManager resourceManager = new ResourceManager(typeof (PadProperyForm));
            this.propertyGrid = new System.Windows.Forms.PropertyGrid();
            this.SuspendLayout();
            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                  = "Name";
            this.propertyGrid.Size                  = new System.Drawing.Size(336, 381);
            this.propertyGrid.TabIndex              = 0;
            this.propertyGrid.Text                  = "text";
            this.propertyGrid.ViewBackColor         = System.Drawing.SystemColors.Window;
            this.propertyGrid.ViewForeColor         = System.Drawing.SystemColors.WindowText;
            this.propertyGrid.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.mV134Z7kpS);
            this.AutoScaleBaseSize                  = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(336, 381);
            this.Controls.Add(this.propertyGrid);
//			this.Icon = (Icon)resourceManager.GetObject("PadProperyForm.Icon");
            this.Name          = "Name1";
            this.Text          = "Text1";
            this.ShowInTaskbar = false;
            this.ResumeLayout(false);
        }
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()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PropertyDialog));
     propertyGrid1 = new System.Windows.Forms.PropertyGrid();
     SuspendLayout();
     //
     // propertyGrid1
     //
     propertyGrid1.Dock     = System.Windows.Forms.DockStyle.Fill;
     propertyGrid1.Location = new System.Drawing.Point(0, 0);
     propertyGrid1.Name     = "propertyGrid1";
     propertyGrid1.Size     = new System.Drawing.Size(284, 262);
     propertyGrid1.TabIndex = 0;
     //
     // PropertyDialog
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     ClientSize          = new System.Drawing.Size(284, 262);
     Controls.Add(propertyGrid1);
     Icon       = ((System.Drawing.Icon)(resources.GetObject("$Icon")));
     KeyPreview = true;
     Name       = "PropertyDialog";
     Text       = "Set Properties";
     KeyDown   += new System.Windows.Forms.KeyEventHandler(ThisEntered);
     ResumeLayout(false);
 }
		/// <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(PropertiesWindow));
			this.propertyGrid = new System.Windows.Forms.PropertyGrid();
			this.SuspendLayout();
			// 
			// propertyGrid
			// 
			this.propertyGrid.CommandsVisibleIfAvailable = true;
			this.propertyGrid.Cursor = System.Windows.Forms.Cursors.HSplit;
			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(292, 266);
			this.propertyGrid.TabIndex = 14;
			this.propertyGrid.Text = "propertyGrid1";
			this.propertyGrid.ViewBackColor = System.Drawing.SystemColors.Window;
			this.propertyGrid.ViewForeColor = System.Drawing.SystemColors.WindowText;
			// 
			// PropertiesWindow
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(292, 266);
			this.Controls.Add(this.propertyGrid);
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.Name = "PropertiesWindow";
			this.Text = "Properties";
			this.ResumeLayout(false);

		}
Ejemplo n.º 8
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.º 9
0
        private void InitializeComponent()
        {
            this.propertyGrid = new System.Windows.Forms.PropertyGrid();
            this.SuspendLayout();
            // 
            // propertyGrid
            // 
            this.propertyGrid.Dock = System.Windows.Forms.DockStyle.Fill;
            this.propertyGrid.Location = new System.Drawing.Point(0, 0);
            this.propertyGrid.Name = "propertyGrid";
            this.propertyGrid.Size = new System.Drawing.Size(253, 400);
            this.propertyGrid.TabIndex = 0;
            this.propertyGrid.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.propertyGrid_PropertyValueChanged);
            // 
            // PropertiesWindow
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.propertyGrid);
            this.DefaultDockLocation = TD.SandDock.ContainerDockLocation.Right;
            this.Name = "PropertiesWindow";
            this.Size = new System.Drawing.Size(253, 400);
            this.TabImage = global::OpenQuant.Shared.Properties.Resources.properties;
            this.Text = "Properties";
            this.ResumeLayout(false);

        }
 public AssembliesReferencesOptionsUI()
 {
     InitializeComponent();
     _pg = new System.Windows.Forms.PropertyGrid();
     this.win32Host.Child = _pg;
     this.DataContext = this;
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     propGridDisplay = new System.Windows.Forms.PropertyGrid();
     this.SuspendLayout();
     //
     // propGridDisplay
     //
     //propGridDisplay.CategorySplitterColor = System.Drawing.Color.Silver;
     propGridDisplay.Dock = System.Windows.Forms.DockStyle.Fill;
     //propGridDisplay.HelpBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     //propGridDisplay.HelpForeColor = System.Drawing.Color.Silver;
     //propGridDisplay.LineColor = System.Drawing.Color.Silver;
     propGridDisplay.Location = new System.Drawing.Point(0, 0);
     propGridDisplay.Name     = "propGridDisplay";
     propGridDisplay.Size     = new System.Drawing.Size(219, 466);
     propGridDisplay.TabIndex = 0;
     //propGridDisplay.ViewBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     //
     // FlowGraphProperties
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.Controls.Add(propGridDisplay);
     this.Name = "FlowGraphProperties";
     this.Size = new System.Drawing.Size(219, 466);
     this.ResumeLayout(false);
 }
Ejemplo n.º 12
0
    private void InitializeComponent()
    {
    	this.container = new System.ComponentModel.Container();
//    	ResourceManager resourceManager = new ResourceManager(typeof (PadProperyForm));
      this.propertyGrid = new System.Windows.Forms.PropertyGrid();
      this.SuspendLayout();
      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 = "Name";
      this.propertyGrid.Size = new System.Drawing.Size(336, 381);
      this.propertyGrid.TabIndex = 0;
			this.propertyGrid.Text = "text";
      this.propertyGrid.ViewBackColor = System.Drawing.SystemColors.Window;
      this.propertyGrid.ViewForeColor = System.Drawing.SystemColors.WindowText;
      this.propertyGrid.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.mV134Z7kpS);
      this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
      this.ClientSize = new System.Drawing.Size(336, 381);
      this.Controls.Add(this.propertyGrid);
//			this.Icon = (Icon)resourceManager.GetObject("PadProperyForm.Icon");
			this.Name = "Name1";
			this.Text = "Text1";
      this.ShowInTaskbar = 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.pgJsonObject = new System.Windows.Forms.PropertyGrid();
     this.SuspendLayout();
     //
     // pgJsonObject
     //
     this.pgJsonObject.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pgJsonObject.HelpVisible = false;
     this.pgJsonObject.Location = new System.Drawing.Point(0, 0);
     this.pgJsonObject.Name = "pgJsonObject";
     this.pgJsonObject.PropertySort = System.Windows.Forms.PropertySort.Alphabetical;
     this.pgJsonObject.Size = new System.Drawing.Size(304, 467);
     this.pgJsonObject.TabIndex = 4;
     this.pgJsonObject.ToolbarVisible = false;
     //
     // JsonObjectVisualizer
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.pgJsonObject);
     this.Name = "JsonObjectVisualizer";
     this.Size = new System.Drawing.Size(304, 467);
     this.ResumeLayout(false);
 }
 public AssembliesReferencesOptionsUI()
 {
     InitializeComponent();
     _pg = new System.Windows.Forms.PropertyGrid();
     this.win32Host.Child = _pg;
     this.DataContext     = this;
 }
Ejemplo n.º 15
0
        public BuilderForm()
        {
            InitializeComponent();
            bindBuilders();

            _propertyGrid       = new System.Windows.Forms.PropertyGrid();
            hostBuilderPG.Child = _propertyGrid;
        }
Ejemplo n.º 16
0
 void CreatePropertyGrid()
 {
     _prop = new System.Windows.Forms.PropertyGrid()
     {
         SelectedObject = this
     };
     windowsFormsHost1.Child = _prop;
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.sysToolBar = new WindowControls.HBPMS.SystemToolBar();
     this.ppgQpmInfos = new System.Windows.Forms.PropertyGrid();
     this.SuspendLayout();
     //
     // sysToolBar
     //
     this.sysToolBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.sysToolBar.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.sysToolBar.BtnDelete_IsEnabled = false;
     this.sysToolBar.BtnDelete_IsUsed = false;
     this.sysToolBar.BtnDetail_IsEnabled = false;
     this.sysToolBar.BtnDetail_IsUsed = false;
     this.sysToolBar.BtnExit_IsEnabled = true;
     this.sysToolBar.BtnExit_IsUsed = true;
     this.sysToolBar.BtnModify_IsEnabled = false;
     this.sysToolBar.BtnModify_IsUsed = false;
     this.sysToolBar.BtnNew_IsEnabled = false;
     this.sysToolBar.BtnNew_IsUsed = false;
     this.sysToolBar.BtnRefresh_IsEnabled = false;
     this.sysToolBar.BtnRefresh_IsUsed = false;
     this.sysToolBar.BtnSave_IsEnabled = false;
     this.sysToolBar.BtnSave_IsUsed = false;
     this.sysToolBar.Location = new System.Drawing.Point(0, 0);
     this.sysToolBar.Name = "sysToolBar";
     this.sysToolBar.Size = new System.Drawing.Size(664, 23);
     this.sysToolBar.TabIndex = 0;
     //
     // ppgQpmInfos
     //
     this.ppgQpmInfos.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.ppgQpmInfos.Font = new System.Drawing.Font("宋体", 12F);
     this.ppgQpmInfos.HelpVisible = false;
     this.ppgQpmInfos.Location = new System.Drawing.Point(0, 24);
     this.ppgQpmInfos.Name = "ppgQpmInfos";
     this.ppgQpmInfos.PropertySort = System.Windows.Forms.PropertySort.Categorized;
     this.ppgQpmInfos.Size = new System.Drawing.Size(664, 339);
     this.ppgQpmInfos.TabIndex = 3;
     this.ppgQpmInfos.ToolbarVisible = false;
     this.ppgQpmInfos.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.ppgQpmInfos_PropertyValueChanged);
     //
     // ProjectQualityCheckAppSetting
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(665, 365);
     this.Controls.Add(this.ppgQpmInfos);
     this.Controls.Add(this.sysToolBar);
     this.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Name = "ProjectQualityCheckAppSetting";
     this.Text = "品檢質量主檔";
     this.ResumeLayout(false);
 }
Ejemplo n.º 18
0
        private void projectSettingsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SettingsPage settingForm = new SettingsPage();

            settingForm.Title = "PROJECT SETTINGS";
            System.Windows.Forms.PropertyGrid propertyGridProjectSettings = settingForm.propertyGridProjectSettings;
            propertyGridProjectSettings.SelectedObject = this.ProgectSettings;
            settingForm.Show();
        }
Ejemplo n.º 19
0
        public DiagramSettings(string xElementName, System.Windows.Forms.PropertyGrid propertyGrid, Timer timer, Diagram diagram)
            : base(xElementName)
        {
            this.propertyGrid = propertyGrid;
            this.timer = timer;
            this.diagram = diagram;

            Initialize();
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1 = new System.Windows.Forms.Label();
     this.pgSettings = new System.Windows.Forms.PropertyGrid();
     this.label2 = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font = new System.Drawing.Font("Impact", 17F);
     this.label1.Location = new System.Drawing.Point(4, 558);
     this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(180, 36);
     this.label1.TabIndex = 0;
     this.label1.Text = "ItemUpgrader";
     //
     // pgSettings
     //
     this.pgSettings.Dock = System.Windows.Forms.DockStyle.Top;
     this.pgSettings.Location = new System.Drawing.Point(0, 0);
     this.pgSettings.Margin = new System.Windows.Forms.Padding(4);
     this.pgSettings.Name = "pgSettings";
     this.pgSettings.Size = new System.Drawing.Size(436, 556);
     this.pgSettings.TabIndex = 1;
     this.pgSettings.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.pgSettings_PropertyValueChanged);
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(7, 613);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(237, 17);
     this.label2.TabIndex = 2;
     this.label2.Text = "Upgrades armor with item upgrades.";
     //
     // FormSettings
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(436, 659);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.pgSettings);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Margin = new System.Windows.Forms.Padding(4);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.MinimumSize = new System.Drawing.Size(19, 40);
     this.Name = "FormSettings";
     this.Text = "ItemUpgrader";
     this.Load += new System.EventHandler(this.FormSettings_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 21
0
        public PropertyWindow()
        {
            InitializeComponent();

            mPropertyGrid = new System.Windows.Forms.PropertyGrid();
            mPropertyGrid.Dock = System.Windows.Forms.DockStyle.Fill;
            mPropertyGrid.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(mPropertyGrid_PropertyValueChanged);

            mWFHost.Child = mPropertyGrid;
        }
Ejemplo n.º 22
0
        public PropertyWindow()
        {
            InitializeComponent();

            mPropertyGrid      = new System.Windows.Forms.PropertyGrid();
            mPropertyGrid.Dock = System.Windows.Forms.DockStyle.Fill;
            mPropertyGrid.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(mPropertyGrid_PropertyValueChanged);

            mWFHost.Child = mPropertyGrid;
        }
Ejemplo n.º 23
0
        private void innerButtonInListView_Click(object sender, RoutedEventArgs e)
        {
            SettingsPage psForm = new SettingsPage();

            psForm.Title = "FILE SETTINGS";
            System.Windows.Forms.PropertyGrid propertyGridProjectSettings = psForm.propertyGridProjectSettings;
            DataRowComponents source = (DataRowComponents)((Button)sender).Tag;

            propertyGridProjectSettings.SelectedObject = source;
            psForm.Show();
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.btnCancel = new System.Windows.Forms.Button();
     this.btnOK = new System.Windows.Forms.Button();
     this.propertyGridDateBox = new System.Windows.Forms.PropertyGrid();
     this.SuspendLayout();
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location = new System.Drawing.Point(357, 267);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex = 7;
     this.btnCancel.Text = "Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     //
     // btnOK
     //
     this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOK.Location = new System.Drawing.Point(267, 267);
     this.btnOK.Name = "btnOK";
     this.btnOK.Size = new System.Drawing.Size(75, 23);
     this.btnOK.TabIndex = 6;
     this.btnOK.Text = "OK";
     this.btnOK.UseVisualStyleBackColor = true;
     //
     // propertyGridDateBox
     //
     this.propertyGridDateBox.HelpVisible = false;
     this.propertyGridDateBox.Location = new System.Drawing.Point(12, 7);
     this.propertyGridDateBox.Name = "propertyGridDateBox";
     this.propertyGridDateBox.PropertySort = System.Windows.Forms.PropertySort.Alphabetical;
     this.propertyGridDateBox.Size = new System.Drawing.Size(420, 241);
     this.propertyGridDateBox.TabIndex = 27;
     this.propertyGridDateBox.ToolbarVisible = false;
     //
     // DateBoxEditorDialog
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
     this.ClientSize = new System.Drawing.Size(444, 302);
     this.Controls.Add(this.propertyGridDateBox);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnOK);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "DateBoxEditorDialog";
     this.ShowIcon = false;
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Edit CheckBox";
     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.systemToolBar1 = new WindowControls.HBPMS.SystemToolBar();
     this.ppgList = new System.Windows.Forms.PropertyGrid();
     this.SuspendLayout();
     //
     // systemToolBar1
     //
     this.systemToolBar1.BtnDelete_IsEnabled = false;
     this.systemToolBar1.BtnDelete_IsUsed = false;
     this.systemToolBar1.BtnDetail_IsEnabled = false;
     this.systemToolBar1.BtnDetail_IsUsed = false;
     this.systemToolBar1.BtnExit_IsEnabled = true;
     this.systemToolBar1.BtnExit_IsUsed = true;
     this.systemToolBar1.BtnModify_IsEnabled = false;
     this.systemToolBar1.BtnModify_IsUsed = false;
     this.systemToolBar1.BtnNew_IsEnabled = false;
     this.systemToolBar1.BtnNew_IsUsed = false;
     this.systemToolBar1.BtnRefresh_IsEnabled = false;
     this.systemToolBar1.BtnRefresh_IsUsed = false;
     this.systemToolBar1.BtnSave_IsEnabled = false;
     this.systemToolBar1.BtnSave_IsUsed = true;
     this.systemToolBar1.Dock = System.Windows.Forms.DockStyle.Top;
     this.systemToolBar1.Location = new System.Drawing.Point(0, 0);
     this.systemToolBar1.Name = "systemToolBar1";
     this.systemToolBar1.Size = new System.Drawing.Size(696, 25);
     this.systemToolBar1.TabIndex = 37;
     this.systemToolBar1.OnItemSave_Click += new WindowControls.HBPMS.SystemToolBar.ItemSave_Click(this.BtnSave_Click);
     this.systemToolBar1.OnItemExit_Click += new WindowControls.HBPMS.SystemToolBar.ItemExit_Click(this.BtnExit_Click);
     //
     // ppgList
     //
     this.ppgList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.ppgList.HelpVisible = false;
     this.ppgList.Location = new System.Drawing.Point(0, 25);
     this.ppgList.Name = "ppgList";
     this.ppgList.Size = new System.Drawing.Size(696, 333);
     this.ppgList.TabIndex = 38;
     this.ppgList.ToolbarVisible = false;
     this.ppgList.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.ppgWorkMan_PropertyValueChanged);
     //
     // MachineAreaAppSetting
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(696, 358);
     this.Controls.Add(this.ppgList);
     this.Controls.Add(this.systemToolBar1);
     this.Name = "MachineAreaAppSetting";
     this.TabText = "機台區域主檔";
     this.Text = "機台區域主檔";
     this.ResumeLayout(false);
 }
Ejemplo n.º 26
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.okButton = new System.Windows.Forms.Button();
     this.cancelButton = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // 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.Location = new System.Drawing.Point(-1, 0);
     this.propertyGrid.Name = "propertyGrid";
     this.propertyGrid.Size = new System.Drawing.Size(302, 264);
     this.propertyGrid.TabIndex = 0;
     //
     // okButton
     //
     this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.okButton.Location = new System.Drawing.Point(132, 270);
     this.okButton.Name = "okButton";
     this.okButton.Size = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex = 1;
     this.okButton.Text = "OK";
     this.okButton.UseVisualStyleBackColor = true;
     //
     // cancelButton
     //
     this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location = new System.Drawing.Point(213, 270);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.Size = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex = 2;
     this.cancelButton.Text = "Cancel";
     this.cancelButton.UseVisualStyleBackColor = true;
     //
     // DiagramSettingsForm
     //
     this.AcceptButton = this.okButton;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton = this.cancelButton;
     this.ClientSize = new System.Drawing.Size(300, 305);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.propertyGrid);
     this.Name = "DiagramSettingsForm";
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
     this.Text = "DiagramController Properties";
     this.ResumeLayout(false);
 }
        public SyntaxVisualizerControl()
        {
            InitializeComponent();

            _propertyGrid = new System.Windows.Forms.PropertyGrid();
            _propertyGrid.Dock = System.Windows.Forms.DockStyle.Fill;
            _propertyGrid.PropertySort = System.Windows.Forms.PropertySort.Alphabetical;
            _propertyGrid.HelpVisible = false;
            _propertyGrid.ToolbarVisible = false;
            _propertyGrid.CommandsVisibleIfAvailable = false;
            windowsFormsHost.Child = _propertyGrid;
        }
        public SyntaxVisualizerControl()
        {
            InitializeComponent();

            _propertyGrid                            = new System.Windows.Forms.PropertyGrid();
            _propertyGrid.Dock                       = System.Windows.Forms.DockStyle.Fill;
            _propertyGrid.PropertySort               = System.Windows.Forms.PropertySort.Alphabetical;
            _propertyGrid.HelpVisible                = false;
            _propertyGrid.ToolbarVisible             = false;
            _propertyGrid.CommandsVisibleIfAvailable = false;
            windowsFormsHost.Child                   = _propertyGrid;
        }
		/// <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(ActionPropertiesDialog));
			lblActionType = new System.Windows.Forms.Label();
			propertyGrid1 = new System.Windows.Forms.PropertyGrid();
			btnOK = new System.Windows.Forms.Button();
			btnCancel = new System.Windows.Forms.Button();
			actionSelector1 = new SVNMonitor.View.Controls.ActionSelector();
			lblSelectActionTypeTitle = new System.Windows.Forms.Label();
			lblActionProperties = new System.Windows.Forms.Label();
			actionSelector1.BeginInit();
			base.SuspendLayout();
			resources.ApplyResources(lblActionType, "lblActionType");
			lblActionType.Name = "lblActionType";
			resources.ApplyResources(propertyGrid1, "propertyGrid1");
			propertyGrid1.Name = "propertyGrid1";
			propertyGrid1.SelectedObjectsChanged += propertyGrid1_SelectedObjectsChanged;
			propertyGrid1.PropertyValueChanged += propertyGrid1_PropertyValueChanged;
			resources.ApplyResources(btnOK, "btnOK");
			btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
			btnOK.Name = "btnOK";
			resources.ApplyResources(btnCancel, "btnCancel");
			btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			btnCancel.Name = "btnCancel";
			btnCancel.Click += btnCancel_Click;
			actionSelector1.ComboStyle = Janus.Windows.EditControls.ComboStyle.DropDownList;
			resources.ApplyResources(actionSelector1, "actionSelector1");
			actionSelector1.MaxDropDownItems = 20;
			actionSelector1.Name = "actionSelector1";
			actionSelector1.SelectedIndexChanged += actionSelector1_SelectedIndexChanged;
			resources.ApplyResources(lblSelectActionTypeTitle, "lblSelectActionTypeTitle");
			lblSelectActionTypeTitle.Name = "lblSelectActionTypeTitle";
			resources.ApplyResources(lblActionProperties, "lblActionProperties");
			lblActionProperties.Name = "lblActionProperties";
			base.AcceptButton = btnOK;
			resources.ApplyResources(this, "$this");
			base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			base.CancelButton = btnCancel;
			base.Controls.Add(lblActionProperties);
			base.Controls.Add(lblSelectActionTypeTitle);
			base.Controls.Add(actionSelector1);
			base.Controls.Add(propertyGrid1);
			base.Controls.Add(lblActionType);
			base.Controls.Add(btnOK);
			base.Controls.Add(btnCancel);
			base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			base.Name = "ActionPropertiesDialog";
			base.ShowInTaskbar = false;
			actionSelector1.EndInit();
			base.ResumeLayout(false);
			base.PerformLayout();
		}
        public static void AddCollapseExpandAllButtons(this System.Windows.Forms.PropertyGrid propertyGrid)
        {
            foreach (Control control in propertyGrid.Controls)
            {
                ToolStrip toolStrip = control as ToolStrip;

                if (toolStrip != null)
                {
                    toolStrip.Items.Add(new ToolStripButton("", Properties.Resources.CollapseAll, propertyGridCollapseAllClick));
                    toolStrip.Items.Add(new ToolStripButton("", Properties.Resources.ExpandAll, propertyGridExpandAllClick));
                }
            }
        }
Ejemplo n.º 31
0
        void CreatePropertyGrid()
        {
            var pg = new System.Windows.Forms.PropertyGrid()
            {
                SelectedObject = DockManager
            };
            WindowsFormsHost wfh = new WindowsFormsHost()
            {
                Child = pg
            };

            DockingManagerPropertiesHost.Content = wfh;
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.sysToolBar = new WindowControls.HBPMS.SystemToolBar();
     this.ppgPrepareJob = new System.Windows.Forms.PropertyGrid();
     this.SuspendLayout();
     //
     // sysToolBar
     //
     this.sysToolBar.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.sysToolBar.BtnDelete_IsEnabled = false;
     this.sysToolBar.BtnDelete_IsUsed = false;
     this.sysToolBar.BtnDetail_IsEnabled = false;
     this.sysToolBar.BtnDetail_IsUsed = false;
     this.sysToolBar.BtnExit_IsEnabled = true;
     this.sysToolBar.BtnExit_IsUsed = true;
     this.sysToolBar.BtnModify_IsEnabled = false;
     this.sysToolBar.BtnModify_IsUsed = false;
     this.sysToolBar.BtnNew_IsEnabled = false;
     this.sysToolBar.BtnNew_IsUsed = false;
     this.sysToolBar.BtnRefresh_IsEnabled = false;
     this.sysToolBar.BtnRefresh_IsUsed = false;
     this.sysToolBar.BtnSave_IsEnabled = false;
     this.sysToolBar.BtnSave_IsUsed = false;
     this.sysToolBar.Dock = System.Windows.Forms.DockStyle.Top;
     this.sysToolBar.Location = new System.Drawing.Point(0, 0);
     this.sysToolBar.Name = "sysToolBar";
     this.sysToolBar.Size = new System.Drawing.Size(659, 23);
     this.sysToolBar.TabIndex = 47;
     //
     // ppgPrepareJob
     //
     this.ppgPrepareJob.Dock = System.Windows.Forms.DockStyle.Fill;
     this.ppgPrepareJob.HelpVisible = false;
     this.ppgPrepareJob.Location = new System.Drawing.Point(0, 23);
     this.ppgPrepareJob.Name = "ppgPrepareJob";
     this.ppgPrepareJob.PropertySort = System.Windows.Forms.PropertySort.Categorized;
     this.ppgPrepareJob.Size = new System.Drawing.Size(659, 393);
     this.ppgPrepareJob.TabIndex = 48;
     this.ppgPrepareJob.ToolbarVisible = false;
     //
     // PrepareJobAppSetting
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(659, 416);
     this.Controls.Add(this.ppgPrepareJob);
     this.Controls.Add(this.sysToolBar);
     this.Name = "PrepareJobAppSetting";
     this.Text = "新增準備工程項目主檔";
     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.SysToolBar = new WindowControls.HBPMS.SystemToolBar();
     this.ppgWorkGroup = new System.Windows.Forms.PropertyGrid();
     this.SuspendLayout();
     //
     // SysToolBar
     //
     this.SysToolBar.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.SysToolBar.BtnDelete_IsEnabled = false;
     this.SysToolBar.BtnDelete_IsUsed = false;
     this.SysToolBar.BtnDetail_IsEnabled = false;
     this.SysToolBar.BtnDetail_IsUsed = false;
     this.SysToolBar.BtnExit_IsEnabled = false;
     this.SysToolBar.BtnExit_IsUsed = false;
     this.SysToolBar.BtnModify_IsEnabled = false;
     this.SysToolBar.BtnModify_IsUsed = false;
     this.SysToolBar.BtnNew_IsEnabled = false;
     this.SysToolBar.BtnNew_IsUsed = false;
     this.SysToolBar.BtnRefresh_IsEnabled = false;
     this.SysToolBar.BtnRefresh_IsUsed = false;
     this.SysToolBar.BtnSave_IsEnabled = false;
     this.SysToolBar.BtnSave_IsUsed = false;
     this.SysToolBar.Dock = System.Windows.Forms.DockStyle.Top;
     this.SysToolBar.Location = new System.Drawing.Point(0, 0);
     this.SysToolBar.Name = "SysToolBar";
     this.SysToolBar.Size = new System.Drawing.Size(328, 25);
     this.SysToolBar.TabIndex = 10;
     //
     // ppgWorkGroup
     //
     this.ppgWorkGroup.Dock = System.Windows.Forms.DockStyle.Fill;
     this.ppgWorkGroup.Font = new System.Drawing.Font("宋体", 10F);
     this.ppgWorkGroup.HelpVisible = false;
     this.ppgWorkGroup.Location = new System.Drawing.Point(0, 25);
     this.ppgWorkGroup.Name = "ppgWorkGroup";
     this.ppgWorkGroup.Size = new System.Drawing.Size(328, 257);
     this.ppgWorkGroup.TabIndex = 11;
     this.ppgWorkGroup.ToolbarVisible = false;
     //
     // WorkingGroupAppSetting
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(328, 282);
     this.Controls.Add(this.ppgWorkGroup);
     this.Controls.Add(this.SysToolBar);
     this.Name = "WorkingGroupAppSetting";
     this.Text = "新增工作組類型主檔";
     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.SysToolBar = new WindowControls.HBPMS.SystemToolBar();
     this.ppgWorkRelateProperty = new System.Windows.Forms.PropertyGrid();
     this.SuspendLayout();
     //
     // SysToolBar
     //
     this.SysToolBar.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.SysToolBar.BtnDelete_IsEnabled = false;
     this.SysToolBar.BtnDelete_IsUsed = false;
     this.SysToolBar.BtnDetail_IsEnabled = false;
     this.SysToolBar.BtnDetail_IsUsed = false;
     this.SysToolBar.BtnExit_IsEnabled = true;
     this.SysToolBar.BtnExit_IsUsed = true;
     this.SysToolBar.BtnModify_IsEnabled = false;
     this.SysToolBar.BtnModify_IsUsed = false;
     this.SysToolBar.BtnNew_IsEnabled = false;
     this.SysToolBar.BtnNew_IsUsed = false;
     this.SysToolBar.BtnRefresh_IsEnabled = false;
     this.SysToolBar.BtnRefresh_IsUsed = false;
     this.SysToolBar.BtnSave_IsEnabled = false;
     this.SysToolBar.BtnSave_IsUsed = false;
     this.SysToolBar.Dock = System.Windows.Forms.DockStyle.Top;
     this.SysToolBar.Location = new System.Drawing.Point(0, 0);
     this.SysToolBar.Name = "SysToolBar";
     this.SysToolBar.Size = new System.Drawing.Size(334, 25);
     this.SysToolBar.TabIndex = 20;
     //
     // ppgWorkRelateProperty
     //
     this.ppgWorkRelateProperty.Dock = System.Windows.Forms.DockStyle.Fill;
     this.ppgWorkRelateProperty.HelpVisible = false;
     this.ppgWorkRelateProperty.Location = new System.Drawing.Point(0, 25);
     this.ppgWorkRelateProperty.Name = "ppgWorkRelateProperty";
     this.ppgWorkRelateProperty.Size = new System.Drawing.Size(334, 341);
     this.ppgWorkRelateProperty.TabIndex = 21;
     this.ppgWorkRelateProperty.ToolbarVisible = false;
     this.ppgWorkRelateProperty.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.ppgWorkRelateProperty_PropertyValueChanged);
     //
     // WorkRelateTypeAppSetting
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(334, 366);
     this.Controls.Add(this.ppgWorkRelateProperty);
     this.Controls.Add(this.SysToolBar);
     this.Name = "WorkRelateTypeAppSetting";
     this.Text = "新增更次類型主檔";
     this.ResumeLayout(false);
 }
Ejemplo n.º 35
0
 /// <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()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PropertyForm_SimplePointSymbol));
     this.panelSymbol  = new System.Windows.Forms.Panel();
     this.tabControl1  = new System.Windows.Forms.TabControl();
     this.tabPage1     = new System.Windows.Forms.TabPage();
     this.propertyGrid = new System.Windows.Forms.PropertyGrid();
     this.panelSymbol.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.SuspendLayout();
     //
     // panelSymbol
     //
     resources.ApplyResources(this.panelSymbol, "panelSymbol");
     this.panelSymbol.Controls.Add(this.tabControl1);
     this.panelSymbol.Name = "panelSymbol";
     //
     // tabControl1
     //
     resources.ApplyResources(this.tabControl1, "tabControl1");
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     //
     // tabPage1
     //
     resources.ApplyResources(this.tabPage1, "tabPage1");
     this.tabPage1.Controls.Add(this.propertyGrid);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // propertyGrid
     //
     resources.ApplyResources(this.propertyGrid, "propertyGrid");
     this.propertyGrid.HelpForeColor         = System.Drawing.SystemColors.Control;
     this.propertyGrid.LineColor             = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid.Name                  = "propertyGrid";
     this.propertyGrid.ToolbarVisible        = false;
     this.propertyGrid.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.propertyGrid_PropertyValueChanged);
     //
     // PropertyForm_SimplePointSymbol
     //
     resources.ApplyResources(this, "$this");
     this.Controls.Add(this.panelSymbol);
     this.Name = "PropertyForm_SimplePointSymbol";
     this.panelSymbol.ResumeLayout(false);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 36
0
        public BuilderWindow(int tableid, int databaseid, IAppCodeBuilder builder)
        {
            _builder    = builder;
            _databaseid = databaseid;
            _TableId    = tableid;
            InitializeComponent();

            _propertyGrid                = new System.Windows.Forms.PropertyGrid();
            _propertyGrid.LineColor      = System.Drawing.ColorTranslator.FromHtml("#cccccc");
            _propertyGrid.SelectedObject = builder;
            hostBuilderPG.Child          = _propertyGrid;

            loadColumns();
        }
Ejemplo n.º 37
0
        public Demo()
        {
            //this.CommandBindings.Add(new CommandBinding(ApplicationCommands.Close, new ExecutedRoutedEventHandler(ExecuteCommand), new CanExecuteRoutedEventHandler(OnCanExecuteCommand)));

            InitializeComponent();

            //_dockingManager.ApplyTemplate();

            //string path = System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)
            //     + @"\AvalonDockTest.Layout.xml";
            //if (!File.Exists(path))
            //    return;

            //FileStream fs = new FileStream(path, FileMode.Open, FileAccess.Read);
            ////_dockingManager.RestoreLayout(fs);

            //fs.Close();

            DependencyPropertyDescriptor prop =
                DependencyPropertyDescriptor.FromProperty(DockableContent.StatePropertyKey.DependencyProperty, typeof(DockableContent));
            prop.AddValueChanged(_propertiesWindow, this.OnLogEventStateChanged);
            prop.AddValueChanged(_explorerWindow, this.OnLogEventStateChanged);
            prop.AddValueChanged(_eventsLogWindow, this.OnLogEventStateChanged);

            _dockingManager.PropertyChanged += new PropertyChangedEventHandler(_dockingManager_PropertyChanged);

            System.Windows.Forms.PropertyGrid _PropGrid = new System.Windows.Forms.PropertyGrid();
            _PropGrid.SelectedObject = _dockingManager;

            _PropGrid.Name = "_PropertyGrid";

            _PropGridHost.Child = _PropGrid;

            this._objectExplorerHost.Content = _PropGridHost;
            //_PropGridHost.GotKeyboardFocus += new KeyboardFocusChangedEventHandler(_PropGridHost_GotKeyboardFocus);
            ////((IKeyboardInputSink)_PropGridHost)

            //DockableContent cnt = new DockableContent();
            //cnt.Title = "Test";
            //cnt.Name = "test";
            //WindowsFormsHost tempHost = new WindowsFormsHost();
            //tempHost.Child = new System.Windows.Forms.TextBox();
            //cnt.Content = tempHost;
            //_dockingManager.Show(cnt, DockableContentState.Docked, AnchorStyle.Left);

            //CommandManager.AddPreviewCanExecuteHandler(_dockingManager, new CanExecuteRoutedEventHandler(OnCanExecuteCommand));
            CommandManager.AddPreviewExecutedHandler(_dockingManager, new ExecutedRoutedEventHandler(ExecuteCommand));
           
        }
Ejemplo n.º 38
0
        public Demo()
        {
            //this.CommandBindings.Add(new CommandBinding(ApplicationCommands.Close, new ExecutedRoutedEventHandler(ExecuteCommand), new CanExecuteRoutedEventHandler(OnCanExecuteCommand)));

            InitializeComponent();

            //_dockingManager.ApplyTemplate();

            //string path = System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)
            //     + @"\AvalonDockTest.Layout.xml";
            //if (!File.Exists(path))
            //    return;

            //FileStream fs = new FileStream(path, FileMode.Open, FileAccess.Read);
            ////_dockingManager.RestoreLayout(fs);

            //fs.Close();

            DependencyPropertyDescriptor prop =
                DependencyPropertyDescriptor.FromProperty(DockableContent.StatePropertyKey.DependencyProperty, typeof(DockableContent));

            prop.AddValueChanged(_propertiesWindow, this.OnLogEventStateChanged);
            prop.AddValueChanged(_explorerWindow, this.OnLogEventStateChanged);
            prop.AddValueChanged(_eventsLogWindow, this.OnLogEventStateChanged);

            _dockingManager.PropertyChanged += new PropertyChangedEventHandler(_dockingManager_PropertyChanged);

            System.Windows.Forms.PropertyGrid _PropGrid = new System.Windows.Forms.PropertyGrid();
            _PropGrid.SelectedObject = _dockingManager;

            _PropGrid.Name = "_PropertyGrid";

            _PropGridHost.Child = _PropGrid;

            this._objectExplorerHost.Content = _PropGridHost;
            //_PropGridHost.GotKeyboardFocus += new KeyboardFocusChangedEventHandler(_PropGridHost_GotKeyboardFocus);
            ////((IKeyboardInputSink)_PropGridHost)

            //DockableContent cnt = new DockableContent();
            //cnt.Title = "Test";
            //cnt.Name = "test";
            //WindowsFormsHost tempHost = new WindowsFormsHost();
            //tempHost.Child = new System.Windows.Forms.TextBox();
            //cnt.Content = tempHost;
            //_dockingManager.Show(cnt, DockableContentState.Docked, AnchorStyle.Left);

            //CommandManager.AddPreviewCanExecuteHandler(_dockingManager, new CanExecuteRoutedEventHandler(OnCanExecuteCommand));
            CommandManager.AddPreviewExecutedHandler(_dockingManager, new ExecutedRoutedEventHandler(ExecuteCommand));
        }
Ejemplo n.º 39
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            // Create the host and the PropertyGrid control
            System.Windows.Forms.Integration.WindowsFormsHost host =
                new System.Windows.Forms.Integration.WindowsFormsHost();
            System.Windows.Forms.PropertyGrid propertyGrid =
                new System.Windows.Forms.PropertyGrid();

            // Add the PropertyGrid to the host, and the host to the WPF Grid
            host.Child = propertyGrid;
            grid.Children.Add(host);

            // Set a PropertyGrid-specific property
            propertyGrid.SelectedObject = this;
        }
Ejemplo n.º 40
0
        /// <summary>
        /// Displays a Form, with the passed Custom Settings
        /// </summary>
        /// <param name="settings"></param>
        public static void ShowCustomSettings(SimPe.Interfaces.ISettings settings)
        {
            System.Windows.Forms.Form f = new System.Windows.Forms.Form();
            f.Text            = settings.ToString();
            f.Width           = 400;
            f.Height          = 300;
            f.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
            f.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;

            System.Windows.Forms.PropertyGrid pg = new System.Windows.Forms.PropertyGrid();
            f.Controls.Add(pg);
            pg.Dock           = System.Windows.Forms.DockStyle.Fill;
            pg.SelectedObject = settings.GetSettingsObject();

            RemoteControl.ShowSubForm(f);
            f.Dispose();
        }
Ejemplo n.º 41
0
 /// <summary>
 /// Called to update the property grid, if it is visible.
 /// </summary>
 private void _updatePropertyGrid()
 {
     if (null != _propertyGridForm)
     {
         foreach (System.Windows.Forms.Control control in _propertyGridForm.Controls)
         {
             System.Windows.Forms.PropertyGrid grid = control as System.Windows.Forms.PropertyGrid;
             if (null != grid)
             {
                 object current = grid.SelectedObject;
                 grid.SelectedObject = null;
                 grid.SelectedObject = current;
                 grid.Invalidate();
             }
         }
     }
 }
Ejemplo n.º 42
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.pgCell = new System.Windows.Forms.PropertyGrid();
     this.btnOK = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // pgCell
     //
     this.pgCell.Dock = System.Windows.Forms.DockStyle.Top;
     this.pgCell.Font = new System.Drawing.Font("Microsoft YaHei", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.pgCell.HelpVisible = false;
     this.pgCell.Location = new System.Drawing.Point(0, 0);
     this.pgCell.Name = "pgCell";
     this.pgCell.PropertySort = System.Windows.Forms.PropertySort.Categorized;
     this.pgCell.Size = new System.Drawing.Size(481, 368);
     this.pgCell.TabIndex = 0;
     //
     // btnOK
     //
     this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOK.Font = new System.Drawing.Font("Microsoft YaHei", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.btnOK.Location = new System.Drawing.Point(394, 379);
     this.btnOK.Name = "btnOK";
     this.btnOK.Size = new System.Drawing.Size(75, 30);
     this.btnOK.TabIndex = 1;
     this.btnOK.Text = "确定";
     this.btnOK.UseVisualStyleBackColor = true;
     //
     // frmCellDialog
     //
     this.AcceptButton = this.btnOK;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(481, 416);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.pgCell);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "frmCellDialog";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "货位信息";
     this.ResumeLayout(false);
 }
Ejemplo n.º 43
0
 /// <summary>
 /// This method is required for Windows Forms designer support.
 /// Do not change the method contents inside the source code editor. The Forms designer might
 /// not be able to load this method if it was changed manually.
 /// </summary>
 private void InitializeComponent()
 {
     this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
     this.applybut = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // propertyGrid1
     //
     this.propertyGrid1.CommandsVisibleIfAvailable = false;
     this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
     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(292, 262);
     this.propertyGrid1.TabIndex = 0;
     //
     // applybut
     //
     this.applybut.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.applybut.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.applybut.Location = new System.Drawing.Point(0, 240);
     this.applybut.Name = "applybut";
     this.applybut.Size = new System.Drawing.Size(292, 22);
     this.applybut.TabIndex = 1;
     this.applybut.Text = "Apply Options";
     this.applybut.UseVisualStyleBackColor = true;
     this.applybut.Click += new System.EventHandler(this.ApplybutClick);
     //
     // ParamPrompt
     //
     this.AcceptButton = this.applybut;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(292, 262);
     this.Controls.Add(this.applybut);
     this.Controls.Add(this.propertyGrid1);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "ParamPrompt";
     this.ShowIcon = false;
     this.ShowInTaskbar = false;
     this.Text = "ParamPrompt";
     this.ResumeLayout(false);
 }
        public InspectDialog()
        {
            InitializeComponent();
            WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;

            CanvasPropertyGrid = new System.Windows.Forms.PropertyGrid();
            // CanvasPropertyGrid.Size = new System.Drawing.Size(300, 250);
            // Bottom part of the screen
            CanvasPropHost.Child = CanvasPropertyGrid;
            // CanvasPropertyGrid.SelectedObject = myCanvas;
            CanvasPropertyGrid.HelpVisible = false;
            helpMessage.Text = "Preview the dialog and sub dialogs associated with the command below." + "Clicking on the Syntax button will bring up the syntax in the Command Editor. " + "Clicking on the HELP button will bring up the Help. Clicking on the buttons in the dialog will bring up sub-dialogs. The property grid displays the properties of the dialog.";

            CanvasPropertyGrid.BrowsableAttributes = new AttributeCollection(
                new Attribute[]
            {
                new CategoryAttribute("Dialog Properties")
            });
        }
Ejemplo n.º 45
0
        public InspectDialog()
        {
            InitializeComponent();
            WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;

            this.Title         = BSky.GlobalResources.Properties.UICtrlResources.InspectWinTitle;
            CanvasPropertyGrid = new System.Windows.Forms.PropertyGrid();
            // CanvasPropertyGrid.Size = new System.Drawing.Size(300, 250);
            // Bottom part of the screen
            CanvasPropHost.Child = CanvasPropertyGrid;
            // CanvasPropertyGrid.SelectedObject = myCanvas;
            CanvasPropertyGrid.HelpVisible = false;
            helpMessage.Text = BSky.GlobalResources.Properties.UICtrlResources.InspectHelpText;

            CanvasPropertyGrid.BrowsableAttributes = new AttributeCollection(
                new Attribute[]
            {
                new CategoryAttribute("Dialog Properties")
            });
        }
Ejemplo n.º 46
0
        protected override void OnInitialized(EventArgs e)
        {
            base.OnInitialized(e);

            RowDefinitions.Add(new RowDefinition { Height = GridLength.Auto });
            RowDefinitions.Add(new RowDefinition());

            Children.Add(titleLabel);

            propertyGrid = new System.Windows.Forms.PropertyGrid
            {
                ToolbarVisible = false,
                LargeButtons = true
            };
            propertyGrid.PropertyValueChanged += PropertyGrid_PropertyValueChanged;
            host = new System.Windows.Forms.Integration.WindowsFormsHost { Child = propertyGrid };
            Children.Add(host);
            Grid.SetRow(host, 1);
            Update();
        }
 private void InitializeComponent()
 {
     this.propertyGrid = new System.Windows.Forms.PropertyGrid();
     this.SuspendLayout();
     //
     // propertyGrid
     //
     this.propertyGrid.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.propertyGrid.Location = new System.Drawing.Point(0, 0);
     this.propertyGrid.Name     = "propertyGrid";
     this.propertyGrid.Size     = new System.Drawing.Size(292, 273);
     this.propertyGrid.TabIndex = 0;
     //
     // PropertyBrowserView
     //
     this.ClientSize = new System.Drawing.Size(292, 273);
     this.Controls.Add(this.propertyGrid);
     this.Name = "PropertyBrowserView";
     this.ResumeLayout(false);
 }
        public InspectDialog()
        {
            InitializeComponent();
            WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;

            CanvasPropertyGrid = new System.Windows.Forms.PropertyGrid();
           // CanvasPropertyGrid.Size = new System.Drawing.Size(300, 250);
            // Bottom part of the screen
            CanvasPropHost.Child = CanvasPropertyGrid;
           // CanvasPropertyGrid.SelectedObject = myCanvas;
            CanvasPropertyGrid.HelpVisible = false;
            helpMessage.Text = "Preview the dialog and sub dialogs associated with the command below." +"Clicking on the Syntax button will bring up the syntax in the Command Editor. "+ "Clicking on the HELP button will bring up the Help. Clicking on the buttons in the dialog will bring up sub-dialogs. The property grid displays the properties of the dialog.";

            CanvasPropertyGrid.BrowsableAttributes = new AttributeCollection(
                                                        new Attribute[]
                                                            {
                                                                new CategoryAttribute("Dialog Properties") 
                                                            });


        }
Ejemplo n.º 49
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.btnOK = new System.Windows.Forms.Button();
     this.pgCell = new System.Windows.Forms.PropertyGrid();
     this.SuspendLayout();
     //
     // btnOK
     //
     this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOK.Location = new System.Drawing.Point(376, 329);
     this.btnOK.Name = "btnOK";
     this.btnOK.Size = new System.Drawing.Size(75, 23);
     this.btnOK.TabIndex = 1;
     this.btnOK.Text = "确定";
     this.btnOK.UseVisualStyleBackColor = false;
     //
     // pgCell
     //
     this.pgCell.BackColor = System.Drawing.SystemColors.Control;
     this.pgCell.CommandsBackColor = System.Drawing.Color.Maroon;
     this.pgCell.Dock = System.Windows.Forms.DockStyle.Top;
     this.pgCell.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.pgCell.HelpVisible = false;
     this.pgCell.Location = new System.Drawing.Point(0, 0);
     this.pgCell.Name = "pgCell";
     this.pgCell.PropertySort = System.Windows.Forms.PropertySort.Categorized;
     this.pgCell.Size = new System.Drawing.Size(486, 306);
     this.pgCell.TabIndex = 0;
     //
     // CellDialog
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(486, 364);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.pgCell);
     this.Name = "CellDialog";
     this.Text = "CellDialog";
     this.ResumeLayout(false);
 }
        public SyntaxVisualizerControl()
        {
            InitializeComponent();

            _propertyGrid = new System.Windows.Forms.PropertyGrid
            {
                Dock                       = System.Windows.Forms.DockStyle.Fill,
                PropertySort               = System.Windows.Forms.PropertySort.Alphabetical,
                HelpVisible                = false,
                ToolbarVisible             = false,
                CommandsVisibleIfAvailable = false
            };
            var tabStopPanel = new TabStopPanel(windowsFormsHost)
            {
                PropertyGrid = _propertyGrid,
                BorderStyle  = System.Windows.Forms.BorderStyle.None,
                Padding      = System.Windows.Forms.Padding.Empty,
                Margin       = System.Windows.Forms.Padding.Empty
            };

            windowsFormsHost.Child = tabStopPanel;
        }
Ejemplo n.º 51
0
        /// <summary>
        /// Initializes a new instance of the <see cref="PropertyViewer" /> class.
        /// </summary>
        public PropertyViewer()
        {
            this.InitializeComponent();

            // Windows Forms hosting -- TODO: Phase this out
            this.propertyGrid = new System.Windows.Forms.PropertyGrid();

            // Use reflection to set all propertygrid colors to dark, since some are otherwise not publically accessible
            PropertyInfo[]             allProperties   = this.propertyGrid.GetType().GetProperties();
            IEnumerable <PropertyInfo> colorProperties = allProperties.Select(x => x).Where(x => x.PropertyType == typeof(Color));

            colorProperties.ForEach(x => x.SetValue(this.propertyGrid, DarkBrushes.SqualrColorPanel, null));

            this.propertyGrid.BackColor         = DarkBrushes.SqualrColorPanel;
            this.propertyGrid.CommandsBackColor = DarkBrushes.SqualrColorPanel;
            this.propertyGrid.HelpBackColor     = DarkBrushes.SqualrColorPanel;
            this.propertyGrid.SelectedItemWithFocusBackColor = DarkBrushes.SqualrColorPanel;
            this.propertyGrid.ViewBackColor = DarkBrushes.SqualrColorPanel;

            this.propertyGrid.CommandsActiveLinkColor   = DarkBrushes.SqualrColorPanel;
            this.propertyGrid.CommandsDisabledLinkColor = DarkBrushes.SqualrColorPanel;

            this.propertyGrid.CategorySplitterColor = DarkBrushes.SqualrColorWhite;

            this.propertyGrid.CommandsBorderColor = DarkBrushes.SqualrColorFrame;
            this.propertyGrid.HelpBorderColor     = DarkBrushes.SqualrColorFrame;
            this.propertyGrid.ViewBorderColor     = DarkBrushes.SqualrColorFrame;

            this.propertyGrid.CategoryForeColor              = DarkBrushes.SqualrColorWhite;
            this.propertyGrid.CommandsForeColor              = DarkBrushes.SqualrColorWhite;
            this.propertyGrid.DisabledItemForeColor          = DarkBrushes.SqualrColorWhite;
            this.propertyGrid.HelpForeColor                  = DarkBrushes.SqualrColorWhite;
            this.propertyGrid.SelectedItemWithFocusForeColor = DarkBrushes.SqualrColorWhite;
            this.propertyGrid.ViewForeColor                  = DarkBrushes.SqualrColorWhite;

            PropertyViewerViewModel.GetInstance().Subscribe(this);

            this.propertyViewer.Children.Add(WinformsHostingHelper.CreateHostedControl(this.propertyGrid));
        }
Ejemplo n.º 52
0
    private void InitializeComponent()
    {
            this.propertyGrid = new System.Windows.Forms.PropertyGrid();
            this.btn = new System.Windows.Forms.Button();
            this.SuspendLayout();
            // 
            // 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(232, 310);
            this.propertyGrid.TabIndex = 2;
            // 
            // btn
            // 
            this.btn.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.btn.Location = new System.Drawing.Point(168, 280);
            this.btn.Name = "btn";
            this.btn.Size = new System.Drawing.Size(56, 24);
            this.btn.TabIndex = 3;
            this.btn.Text = "dddd";
            // 
            // PropertyForm
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(232, 310);
            this.ControlBox = false;
            this.Controls.Add(this.btn);
            this.Controls.Add(this.propertyGrid);
            this.Name = "PropertyForm";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Properties";
            this.ResumeLayout(false);

    }
Ejemplo n.º 53
0
 private void InitializeComponent()
 {
     this.PropertyGrid = new System.Windows.Forms.PropertyGrid();
     this.SuspendLayout();
     //
     // 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(484, 561);
     this.PropertyGrid.TabIndex  = 0;
     //
     // PropertyGridForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
     this.ClientSize          = new System.Drawing.Size(484, 561);
     this.Controls.Add(this.PropertyGrid);
     this.Name = "PropertyGridForm";
     this.Text = "Ιδιότητες";
     this.ResumeLayout(false);
 }
Ejemplo n.º 54
0
 private void InitializeComponent()
 {
     this.propertyGrid = new System.Windows.Forms.PropertyGrid();
     this.btn          = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // 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(232, 310);
     this.propertyGrid.TabIndex  = 2;
     //
     // btn
     //
     this.btn.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btn.Location     = new System.Drawing.Point(168, 280);
     this.btn.Name         = "btn";
     this.btn.Size         = new System.Drawing.Size(56, 24);
     this.btn.TabIndex     = 3;
     this.btn.Text         = "dddd";
     //
     // PropertyForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(232, 310);
     this.ControlBox        = false;
     this.Controls.Add(this.btn);
     this.Controls.Add(this.propertyGrid);
     this.Name          = "PropertyForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Properties";
     this.ResumeLayout(false);
 }
Ejemplo n.º 55
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PropertyPanel));
     this.panel1        = new System.Windows.Forms.Panel();
     this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.propertyGrid1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(284, 262);
     this.panel1.TabIndex = 0;
     //
     // propertyGrid1
     //
     this.propertyGrid1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.propertyGrid1.Location = new System.Drawing.Point(0, 0);
     this.propertyGrid1.Name     = "propertyGrid1";
     this.propertyGrid1.Size     = new System.Drawing.Size(284, 262);
     this.propertyGrid1.TabIndex = 0;
     //
     // PropertyPanel
     //
     this.ClientSize = new System.Drawing.Size(284, 262);
     this.Controls.Add(this.panel1);
     this.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "PropertyPanel";
     this.Text = "属性";
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 56
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PropertyPanel));
     this.panel1 = new System.Windows.Forms.Panel();
     this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.propertyGrid1);
     this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(284, 262);
     this.panel1.TabIndex = 0;
     //
     // propertyGrid1
     //
     this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.propertyGrid1.Location = new System.Drawing.Point(0, 0);
     this.propertyGrid1.Name = "propertyGrid1";
     this.propertyGrid1.Size = new System.Drawing.Size(284, 262);
     this.propertyGrid1.TabIndex = 0;
     //
     // PropertyPanel
     //
     this.ClientSize = new System.Drawing.Size(284, 262);
     this.Controls.Add(this.panel1);
     this.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "PropertyPanel";
     this.Text = "属性";
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 57
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.tabPageStart = new System.Windows.Forms.TabPage();
     this.controlDonePage2 = new DisksDB.UserInterface.ControlDonePage();
     this.tabPageTargetDataBase = new System.Windows.Forms.TabPage();
     this.label2 = new DisksDB.Language.Label();
     this.label1 = new DisksDB.Language.Label();
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.propertyGrid = new System.Windows.Forms.PropertyGrid();
     this.tabPageMigtationProgress = new System.Windows.Forms.TabPage();
     this.progressBarTotall = new System.Windows.Forms.ProgressBar();
     this.label3 = new System.Windows.Forms.Label();
     this.textBoxTransferLog = new System.Windows.Forms.TextBox();
     this.labelDisk = new System.Windows.Forms.Label();
     this.progressBarFilesDone = new System.Windows.Forms.ProgressBar();
     this.label4 = new DisksDB.Language.Label();
     this.tabPageDone = new System.Windows.Forms.TabPage();
     this.controlDonePage1 = new DisksDB.UserInterface.ControlDonePage();
     this.tabPageBegin = new System.Windows.Forms.TabPage();
     this.controlDonePage3 = new DisksDB.UserInterface.ControlDonePage();
     this.pagesPanel.SuspendLayout();
     this.tabPageStart.SuspendLayout();
     this.tabPageTargetDataBase.SuspendLayout();
     this.tabPageMigtationProgress.SuspendLayout();
     this.tabPageDone.SuspendLayout();
     this.tabPageBegin.SuspendLayout();
     this.SuspendLayout();
     //
     // pictureBox1
     //
     this.pictureBox1.Name = "pictureBox1";
     //
     // pagesPanel
     //
     this.pagesPanel.Controls.Add(this.tabPageStart);
     this.pagesPanel.Controls.Add(this.tabPageTargetDataBase);
     this.pagesPanel.Controls.Add(this.tabPageBegin);
     this.pagesPanel.Controls.Add(this.tabPageMigtationProgress);
     this.pagesPanel.Controls.Add(this.tabPageDone);
     this.pagesPanel.Name = "pagesPanel";
     //
     // tabPageStart
     //
     this.tabPageStart.Controls.Add(this.controlDonePage2);
     this.tabPageStart.Location = new System.Drawing.Point(4, 6);
     this.tabPageStart.Name = "tabPageStart";
     this.tabPageStart.Size = new System.Drawing.Size(332, 302);
     this.tabPageStart.TabIndex = 0;
     this.tabPageStart.Text = "tabPage1";
     //
     // controlDonePage2
     //
     this.controlDonePage2.BackColor = System.Drawing.Color.White;
     this.controlDonePage2.Comment = "Click Next to begin";
     this.controlDonePage2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.controlDonePage2.FinishText = "This wizzard will help you to copy your data to another database.";
     this.controlDonePage2.Location = new System.Drawing.Point(0, 0);
     this.controlDonePage2.Name = "controlDonePage2";
     this.controlDonePage2.Size = new System.Drawing.Size(332, 302);
     this.controlDonePage2.TabIndex = 0;
     this.controlDonePage2.Title = "Transfer DataBase";
     //
     // tabPageTargetDataBase
     //
     this.tabPageTargetDataBase.BackColor = System.Drawing.SystemColors.Window;
     this.tabPageTargetDataBase.Controls.Add(this.label2);
     this.tabPageTargetDataBase.Controls.Add(this.label1);
     this.tabPageTargetDataBase.Controls.Add(this.comboBox1);
     this.tabPageTargetDataBase.Controls.Add(this.propertyGrid);
     this.tabPageTargetDataBase.Location = new System.Drawing.Point(4, 5);
     this.tabPageTargetDataBase.Name = "tabPageTargetDataBase";
     this.tabPageTargetDataBase.Size = new System.Drawing.Size(332, 303);
     this.tabPageTargetDataBase.TabIndex = 1;
     //
     // label2
     //
     this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.label2.Location = new System.Drawing.Point(8, 280);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(312, 16);
     this.label2.TabIndex = 3;
     this.label2.Text = "Click \"Next\" to begin copying.";
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.Location = new System.Drawing.Point(8, 8);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(312, 16);
     this.label1.TabIndex = 2;
     this.label1.Text = "Destination database";
     //
     // 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.Location = new System.Drawing.Point(8, 24);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(312, 21);
     this.comboBox1.TabIndex = 1;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.LAyerChanged);
     //
     // 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.CommandsBackColor = System.Drawing.SystemColors.Window;
     this.propertyGrid.CommandsVisibleIfAvailable = true;
     this.propertyGrid.HelpVisible = false;
     this.propertyGrid.LargeButtons = false;
     this.propertyGrid.LineColor = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid.Location = new System.Drawing.Point(8, 48);
     this.propertyGrid.Name = "propertyGrid";
     this.propertyGrid.Size = new System.Drawing.Size(312, 224);
     this.propertyGrid.TabIndex = 0;
     this.propertyGrid.Text = "propertyGrid1";
     this.propertyGrid.ToolbarVisible = false;
     this.propertyGrid.ViewBackColor = System.Drawing.SystemColors.Window;
     this.propertyGrid.ViewForeColor = System.Drawing.SystemColors.WindowText;
     //
     // tabPageMigtationProgress
     //
     this.tabPageMigtationProgress.BackColor = System.Drawing.SystemColors.Window;
     this.tabPageMigtationProgress.Controls.Add(this.progressBarTotall);
     this.tabPageMigtationProgress.Controls.Add(this.label3);
     this.tabPageMigtationProgress.Controls.Add(this.textBoxTransferLog);
     this.tabPageMigtationProgress.Controls.Add(this.labelDisk);
     this.tabPageMigtationProgress.Controls.Add(this.progressBarFilesDone);
     this.tabPageMigtationProgress.Controls.Add(this.label4);
     this.tabPageMigtationProgress.Location = new System.Drawing.Point(4, 6);
     this.tabPageMigtationProgress.Name = "tabPageMigtationProgress";
     this.tabPageMigtationProgress.Size = new System.Drawing.Size(332, 302);
     this.tabPageMigtationProgress.TabIndex = 2;
     //
     // progressBarTotall
     //
     this.progressBarTotall.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.progressBarTotall.Location = new System.Drawing.Point(8, 80);
     this.progressBarTotall.Name = "progressBarTotall";
     this.progressBarTotall.Size = new System.Drawing.Size(312, 16);
     this.progressBarTotall.TabIndex = 5;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(8, 104);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(312, 16);
     this.label3.TabIndex = 4;
     this.label3.Text = "Disk files:";
     //
     // textBoxTransferLog
     //
     this.textBoxTransferLog.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.textBoxTransferLog.Location = new System.Drawing.Point(8, 144);
     this.textBoxTransferLog.Multiline = true;
     this.textBoxTransferLog.Name = "textBoxTransferLog";
     this.textBoxTransferLog.ReadOnly = true;
     this.textBoxTransferLog.Size = new System.Drawing.Size(312, 151);
     this.textBoxTransferLog.TabIndex = 3;
     this.textBoxTransferLog.Text = "";
     //
     // labelDisk
     //
     this.labelDisk.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.labelDisk.Location = new System.Drawing.Point(8, 32);
     this.labelDisk.Name = "labelDisk";
     this.labelDisk.Size = new System.Drawing.Size(312, 40);
     this.labelDisk.TabIndex = 2;
     //
     // progressBarFilesDone
     //
     this.progressBarFilesDone.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.progressBarFilesDone.Location = new System.Drawing.Point(8, 120);
     this.progressBarFilesDone.Name = "progressBarFilesDone";
     this.progressBarFilesDone.Size = new System.Drawing.Size(312, 16);
     this.progressBarFilesDone.TabIndex = 1;
     //
     // label4
     //
     this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.label4.Location = new System.Drawing.Point(8, 8);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(312, 23);
     this.label4.TabIndex = 0;
     this.label4.Text = "Transferring database";
     //
     // tabPageDone
     //
     this.tabPageDone.Controls.Add(this.controlDonePage1);
     this.tabPageDone.Location = new System.Drawing.Point(4, 6);
     this.tabPageDone.Name = "tabPageDone";
     this.tabPageDone.Size = new System.Drawing.Size(332, 302);
     this.tabPageDone.TabIndex = 3;
     //
     // controlDonePage1
     //
     this.controlDonePage1.BackColor = System.Drawing.Color.White;
     this.controlDonePage1.Comment = "Click Finish to close this wizard";
     this.controlDonePage1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.controlDonePage1.FinishText = "Data Base migration has been successfully completed. You now can switch database " +
         "by using Tools->Options menu.";
     this.controlDonePage1.Location = new System.Drawing.Point(0, 0);
     this.controlDonePage1.Name = "controlDonePage1";
     this.controlDonePage1.Size = new System.Drawing.Size(332, 302);
     this.controlDonePage1.TabIndex = 1;
     this.controlDonePage1.Title = "Migration is completed";
     //
     // tabPageBegin
     //
     this.tabPageBegin.Controls.Add(this.controlDonePage3);
     this.tabPageBegin.Location = new System.Drawing.Point(4, 6);
     this.tabPageBegin.Name = "tabPageBegin";
     this.tabPageBegin.Size = new System.Drawing.Size(332, 302);
     this.tabPageBegin.TabIndex = 4;
     this.tabPageBegin.Text = "tabPageBegin";
     //
     // controlDonePage3
     //
     this.controlDonePage3.BackColor = System.Drawing.Color.White;
     this.controlDonePage3.Comment = "To continue click next";
     this.controlDonePage3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.controlDonePage3.FinishText = "Continuing removes all data on target database and adds new data from source data" +
         "base.";
     this.controlDonePage3.Location = new System.Drawing.Point(0, 0);
     this.controlDonePage3.Name = "controlDonePage3";
     this.controlDonePage3.Size = new System.Drawing.Size(332, 302);
     this.controlDonePage3.TabIndex = 0;
     this.controlDonePage3.Title = "Begin transfer";
     //
     // FormCopyDataBase
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(494, 350);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Name = "FormCopyDataBase";
     this.Text = "Transfer DataBase";
     this.Load += new System.EventHandler(this.FormLoad);
     this.pagesPanel.ResumeLayout(false);
     this.tabPageStart.ResumeLayout(false);
     this.tabPageTargetDataBase.ResumeLayout(false);
     this.tabPageMigtationProgress.ResumeLayout(false);
     this.tabPageDone.ResumeLayout(false);
     this.tabPageBegin.ResumeLayout(false);
     this.ResumeLayout(false);
 }
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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmEditorMain));
     this.ribbon1 = new System.Windows.Forms.Ribbon();
     this.ribbonButton1 = new System.Windows.Forms.RibbonButton();
     this.ribbonButton2 = new System.Windows.Forms.RibbonButton();
     this.ribbonButton3 = new System.Windows.Forms.RibbonButton();
     this.ribbonButton4 = new System.Windows.Forms.RibbonButton();
     this.ribbonTab1 = new System.Windows.Forms.RibbonTab();
     this.ribbonPanel1 = new System.Windows.Forms.RibbonPanel();
     this.btnNewArea = new System.Windows.Forms.RibbonButton();
     this.btnSave = new System.Windows.Forms.RibbonButton();
     this.btnOpen = new System.Windows.Forms.RibbonButton();
     this.rbnMarkov = new System.Windows.Forms.RibbonButton();
     this.ribbonPanel2 = new System.Windows.Forms.RibbonPanel();
     this.btnSelection = new System.Windows.Forms.RibbonButton();
     this.btnSquare = new System.Windows.Forms.RibbonButton();
     this.btnCircle = new System.Windows.Forms.RibbonButton();
     this.panel1 = new System.Windows.Forms.Panel();
     this.pnlMain = new System.Windows.Forms.Panel();
     this.tabMain = new System.Windows.Forms.TabControl();
     this.splitRight = new System.Windows.Forms.Splitter();
     this.pnlRight = new System.Windows.Forms.Panel();
     this.gridProperties = new System.Windows.Forms.PropertyGrid();
     this.pnlProperties = new Azmyth.Editor.SplitPanel();
     this.pnlPropertiesCollapsed = new System.Windows.Forms.Panel();
     this.btnPropertiesShow = new System.Windows.Forms.Button();
     this.splitLeft = new System.Windows.Forms.Splitter();
     this.pnlLeft = new System.Windows.Forms.Panel();
     this.tvwWorld = new System.Windows.Forms.TreeView();
     this.pnlAssets = new Azmyth.Editor.SplitPanel();
     this.pnlAssetsCollapsed = new System.Windows.Forms.Panel();
     this.btnAssetsShow = new System.Windows.Forms.Button();
     this.splitBottom = new System.Windows.Forms.Splitter();
     this.pnlBottom = new System.Windows.Forms.Panel();
     this.txtOutput = new System.Windows.Forms.RichTextBox();
     this.splitPanelOutput = new Azmyth.Editor.SplitPanel();
     this.splitTop = new System.Windows.Forms.Splitter();
     this.pnlTop = new System.Windows.Forms.Panel();
     this.splitPanelTop = new Azmyth.Editor.SplitPanel();
     this.pnlTopCollapsed = new System.Windows.Forms.Panel();
     this.btnTopShow = new System.Windows.Forms.Button();
     this.TopPanel = new System.Windows.Forms.Panel();
     this.BottomPanel = new System.Windows.Forms.Panel();
     this.LeftPanel = new System.Windows.Forms.Panel();
     this.RightPanel = new System.Windows.Forms.Panel();
     this.MainPanel = new System.Windows.Forms.Panel();
     this.panel1.SuspendLayout();
     this.pnlMain.SuspendLayout();
     this.pnlRight.SuspendLayout();
     this.pnlPropertiesCollapsed.SuspendLayout();
     this.pnlLeft.SuspendLayout();
     this.pnlAssetsCollapsed.SuspendLayout();
     this.pnlBottom.SuspendLayout();
     this.pnlTop.SuspendLayout();
     this.pnlTopCollapsed.SuspendLayout();
     this.SuspendLayout();
     //
     // ribbon1
     //
     this.ribbon1.CaptionBarVisible = false;
     this.ribbon1.Font = new System.Drawing.Font("Segoe UI", 11.4F);
     this.ribbon1.Location = new System.Drawing.Point(0, 0);
     this.ribbon1.Minimized = false;
     this.ribbon1.Name = "ribbon1";
     //
     //
     //
     this.ribbon1.OrbDropDown.BorderRoundness = 8;
     this.ribbon1.OrbDropDown.Location = new System.Drawing.Point(0, 0);
     this.ribbon1.OrbDropDown.Name = "";
     this.ribbon1.OrbDropDown.Size = new System.Drawing.Size(527, 447);
     this.ribbon1.OrbDropDown.TabIndex = 0;
     this.ribbon1.OrbImage = null;
     this.ribbon1.OrbStyle = System.Windows.Forms.RibbonOrbStyle.Office_2013;
     this.ribbon1.OrbVisible = false;
     //
     //
     //
     this.ribbon1.QuickAcessToolbar.Enabled = false;
     this.ribbon1.QuickAcessToolbar.Items.Add(this.ribbonButton1);
     this.ribbon1.QuickAcessToolbar.Items.Add(this.ribbonButton2);
     this.ribbon1.QuickAcessToolbar.Items.Add(this.ribbonButton3);
     this.ribbon1.QuickAcessToolbar.Items.Add(this.ribbonButton4);
     this.ribbon1.RibbonTabFont = new System.Drawing.Font("Trebuchet MS", 9F);
     this.ribbon1.Size = new System.Drawing.Size(1025, 148);
     this.ribbon1.TabIndex = 4;
     this.ribbon1.Tabs.Add(this.ribbonTab1);
     this.ribbon1.TabsMargin = new System.Windows.Forms.Padding(12, 2, 20, 0);
     this.ribbon1.Text = "ribbon1";
     this.ribbon1.ThemeColor = System.Windows.Forms.RibbonTheme.Black;
     //
     // ribbonButton1
     //
     this.ribbonButton1.Enabled = false;
     this.ribbonButton1.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButton1.Image")));
     this.ribbonButton1.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact;
     this.ribbonButton1.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton1.SmallImage")));
     this.ribbonButton1.Text = "ribbonButton1";
     //
     // ribbonButton2
     //
     this.ribbonButton2.Enabled = false;
     this.ribbonButton2.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButton2.Image")));
     this.ribbonButton2.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact;
     this.ribbonButton2.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton2.SmallImage")));
     this.ribbonButton2.Text = "ribbonButton2";
     //
     // ribbonButton3
     //
     this.ribbonButton3.Enabled = false;
     this.ribbonButton3.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButton3.Image")));
     this.ribbonButton3.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact;
     this.ribbonButton3.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton3.SmallImage")));
     this.ribbonButton3.Text = "ribbonButton3";
     //
     // ribbonButton4
     //
     this.ribbonButton4.Enabled = false;
     this.ribbonButton4.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButton4.Image")));
     this.ribbonButton4.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact;
     this.ribbonButton4.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton4.SmallImage")));
     this.ribbonButton4.Text = "ribbonButton4";
     //
     // ribbonTab1
     //
     this.ribbonTab1.Panels.Add(this.ribbonPanel1);
     this.ribbonTab1.Panels.Add(this.ribbonPanel2);
     this.ribbonTab1.Text = "Main";
     //
     // ribbonPanel1
     //
     this.ribbonPanel1.ButtonMoreEnabled = false;
     this.ribbonPanel1.ButtonMoreVisible = false;
     this.ribbonPanel1.Items.Add(this.btnNewArea);
     this.ribbonPanel1.Items.Add(this.btnSave);
     this.ribbonPanel1.Items.Add(this.btnOpen);
     this.ribbonPanel1.Items.Add(this.rbnMarkov);
     this.ribbonPanel1.Text = "Actions";
     //
     // btnNewArea
     //
     this.btnNewArea.DrawIconsBar = false;
     this.btnNewArea.Image = ((System.Drawing.Image)(resources.GetObject("btnNewArea.Image")));
     this.btnNewArea.SmallImage = ((System.Drawing.Image)(resources.GetObject("btnNewArea.SmallImage")));
     this.btnNewArea.Text = "New";
     this.btnNewArea.Click += new System.EventHandler(this.btnNewArea_Click);
     //
     // btnSave
     //
     this.btnSave.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.Image")));
     this.btnSave.SmallImage = ((System.Drawing.Image)(resources.GetObject("btnSave.SmallImage")));
     this.btnSave.Text = "Save";
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // btnOpen
     //
     this.btnOpen.Image = ((System.Drawing.Image)(resources.GetObject("btnOpen.Image")));
     this.btnOpen.SmallImage = ((System.Drawing.Image)(resources.GetObject("btnOpen.SmallImage")));
     this.btnOpen.Text = "Open";
     this.btnOpen.Click += new System.EventHandler(this.btnOpen_Click);
     //
     // rbnMarkov
     //
     this.rbnMarkov.Image = ((System.Drawing.Image)(resources.GetObject("rbnMarkov.Image")));
     this.rbnMarkov.SmallImage = ((System.Drawing.Image)(resources.GetObject("rbnMarkov.SmallImage")));
     this.rbnMarkov.Text = "";
     this.rbnMarkov.Click += new System.EventHandler(this.rbnMarkov_Click);
     //
     // ribbonPanel2
     //
     this.ribbonPanel2.Items.Add(this.btnSelection);
     this.ribbonPanel2.Items.Add(this.btnSquare);
     this.ribbonPanel2.Items.Add(this.btnCircle);
     this.ribbonPanel2.Text = "Selection";
     //
     // btnSelection
     //
     this.btnSelection.Checked = true;
     this.btnSelection.CheckedGroup = "1";
     this.btnSelection.CheckOnClick = true;
     this.btnSelection.Image = global::Azmyth.Editor.Properties.Resources.Point;
     this.btnSelection.SmallImage = ((System.Drawing.Image)(resources.GetObject("btnSelection.SmallImage")));
     this.btnSelection.Text = "Point";
     this.btnSelection.Click += new System.EventHandler(this.btnSelection_Click);
     //
     // btnSquare
     //
     this.btnSquare.CheckedGroup = "1";
     this.btnSquare.CheckOnClick = true;
     this.btnSquare.Image = global::Azmyth.Editor.Properties.Resources.Square;
     this.btnSquare.SmallImage = ((System.Drawing.Image)(resources.GetObject("btnSquare.SmallImage")));
     this.btnSquare.Text = "Square";
     this.btnSquare.Click += new System.EventHandler(this.btnSquare_Click);
     //
     // btnCircle
     //
     this.btnCircle.CheckedGroup = "1";
     this.btnCircle.CheckOnClick = true;
     this.btnCircle.Image = global::Azmyth.Editor.Properties.Resources.Circle;
     this.btnCircle.SmallImage = ((System.Drawing.Image)(resources.GetObject("btnCircle.SmallImage")));
     this.btnCircle.Text = "Circle";
     this.btnCircle.Click += new System.EventHandler(this.btnCircle_Click);
     //
     // panel1
     //
     this.panel1.Controls.Add(this.pnlMain);
     this.panel1.Controls.Add(this.splitRight);
     this.panel1.Controls.Add(this.pnlRight);
     this.panel1.Controls.Add(this.splitLeft);
     this.panel1.Controls.Add(this.pnlLeft);
     this.panel1.Controls.Add(this.splitBottom);
     this.panel1.Controls.Add(this.pnlBottom);
     this.panel1.Controls.Add(this.splitTop);
     this.panel1.Controls.Add(this.pnlTop);
     this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 148);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(1025, 567);
     this.panel1.TabIndex = 6;
     //
     // pnlMain
     //
     this.pnlMain.Controls.Add(this.tabMain);
     this.pnlMain.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlMain.Location = new System.Drawing.Point(217, 103);
     this.pnlMain.Name = "pnlMain";
     this.pnlMain.Size = new System.Drawing.Size(594, 361);
     this.pnlMain.TabIndex = 19;
     //
     // tabMain
     //
     this.tabMain.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tabMain.Location = new System.Drawing.Point(0, 0);
     this.tabMain.Name = "tabMain";
     this.tabMain.SelectedIndex = 0;
     this.tabMain.Size = new System.Drawing.Size(594, 361);
     this.tabMain.TabIndex = 10;
     //
     // splitRight
     //
     this.splitRight.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.splitRight.Dock = System.Windows.Forms.DockStyle.Right;
     this.splitRight.Location = new System.Drawing.Point(811, 103);
     this.splitRight.Name = "splitRight";
     this.splitRight.Size = new System.Drawing.Size(3, 361);
     this.splitRight.TabIndex = 18;
     this.splitRight.TabStop = false;
     this.splitRight.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitRight_SplitterMoved);
     //
     // pnlRight
     //
     this.pnlRight.Controls.Add(this.gridProperties);
     this.pnlRight.Controls.Add(this.pnlProperties);
     this.pnlRight.Controls.Add(this.pnlPropertiesCollapsed);
     this.pnlRight.Dock = System.Windows.Forms.DockStyle.Right;
     this.pnlRight.Location = new System.Drawing.Point(814, 103);
     this.pnlRight.Name = "pnlRight";
     this.pnlRight.Size = new System.Drawing.Size(211, 361);
     this.pnlRight.TabIndex = 17;
     //
     // gridProperties
     //
     this.gridProperties.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridProperties.Location = new System.Drawing.Point(0, 25);
     this.gridProperties.Name = "gridProperties";
     this.gridProperties.PropertySort = System.Windows.Forms.PropertySort.Categorized;
     this.gridProperties.Size = new System.Drawing.Size(186, 336);
     this.gridProperties.TabIndex = 17;
     this.gridProperties.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.gridProperties_PropertyValueChanged);
     //
     // pnlProperties
     //
     this.pnlProperties.Caption = "Properties";
     this.pnlProperties.Dock = System.Windows.Forms.DockStyle.Top;
     this.pnlProperties.Location = new System.Drawing.Point(0, 0);
     this.pnlProperties.Name = "pnlProperties";
     this.pnlProperties.Size = new System.Drawing.Size(186, 25);
     this.pnlProperties.TabIndex = 16;
     this.pnlProperties.Close += new System.Action<object, System.EventArgs>(this.pnlProperties_Close);
     this.pnlProperties.Minimize += new System.Action<object, System.EventArgs>(this.pnlProperties_Minimize);
     //
     // pnlPropertiesCollapsed
     //
     this.pnlPropertiesCollapsed.Controls.Add(this.btnPropertiesShow);
     this.pnlPropertiesCollapsed.Dock = System.Windows.Forms.DockStyle.Right;
     this.pnlPropertiesCollapsed.Location = new System.Drawing.Point(186, 0);
     this.pnlPropertiesCollapsed.Margin = new System.Windows.Forms.Padding(0);
     this.pnlPropertiesCollapsed.Name = "pnlPropertiesCollapsed";
     this.pnlPropertiesCollapsed.Padding = new System.Windows.Forms.Padding(2);
     this.pnlPropertiesCollapsed.Size = new System.Drawing.Size(25, 361);
     this.pnlPropertiesCollapsed.TabIndex = 14;
     this.pnlPropertiesCollapsed.Visible = false;
     //
     // btnPropertiesShow
     //
     this.btnPropertiesShow.Dock = System.Windows.Forms.DockStyle.Top;
     this.btnPropertiesShow.FlatAppearance.BorderSize = 0;
     this.btnPropertiesShow.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnPropertiesShow.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnPropertiesShow.Image = ((System.Drawing.Image)(resources.GetObject("btnPropertiesShow.Image")));
     this.btnPropertiesShow.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
     this.btnPropertiesShow.Location = new System.Drawing.Point(2, 2);
     this.btnPropertiesShow.Margin = new System.Windows.Forms.Padding(0);
     this.btnPropertiesShow.Name = "btnPropertiesShow";
     this.btnPropertiesShow.Size = new System.Drawing.Size(21, 103);
     this.btnPropertiesShow.TabIndex = 0;
     this.btnPropertiesShow.Text = "Properties";
     this.btnPropertiesShow.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.btnPropertiesShow.UseVisualStyleBackColor = true;
     this.btnPropertiesShow.Click += new System.EventHandler(this.btnPropertiesShow_Click);
     this.btnPropertiesShow.Paint += new System.Windows.Forms.PaintEventHandler(this.btnPropertiesCollapsed_Paint);
     this.btnPropertiesShow.MouseEnter += new System.EventHandler(this.btnPropertiesCollapsed_MouseEnter);
     this.btnPropertiesShow.MouseLeave += new System.EventHandler(this.btnPropertiesCollapsed_MouseLeave);
     //
     // splitLeft
     //
     this.splitLeft.Location = new System.Drawing.Point(211, 103);
     this.splitLeft.Name = "splitLeft";
     this.splitLeft.Size = new System.Drawing.Size(6, 361);
     this.splitLeft.TabIndex = 16;
     this.splitLeft.TabStop = false;
     this.splitLeft.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitLeft_SplitterMoved);
     //
     // pnlLeft
     //
     this.pnlLeft.Controls.Add(this.tvwWorld);
     this.pnlLeft.Controls.Add(this.pnlAssets);
     this.pnlLeft.Controls.Add(this.pnlAssetsCollapsed);
     this.pnlLeft.Dock = System.Windows.Forms.DockStyle.Left;
     this.pnlLeft.Location = new System.Drawing.Point(0, 103);
     this.pnlLeft.Name = "pnlLeft";
     this.pnlLeft.Size = new System.Drawing.Size(211, 361);
     this.pnlLeft.TabIndex = 15;
     //
     // tvwWorld
     //
     this.tvwWorld.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tvwWorld.Location = new System.Drawing.Point(25, 25);
     this.tvwWorld.Margin = new System.Windows.Forms.Padding(0);
     this.tvwWorld.Name = "tvwWorld";
     this.tvwWorld.Size = new System.Drawing.Size(186, 336);
     this.tvwWorld.TabIndex = 12;
     this.tvwWorld.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvwWorld_AfterSelect);
     //
     // pnlAssets
     //
     this.pnlAssets.Caption = "Assets";
     this.pnlAssets.Dock = System.Windows.Forms.DockStyle.Top;
     this.pnlAssets.Location = new System.Drawing.Point(25, 0);
     this.pnlAssets.Name = "pnlAssets";
     this.pnlAssets.Size = new System.Drawing.Size(186, 25);
     this.pnlAssets.TabIndex = 11;
     this.pnlAssets.Close += new System.Action<object, System.EventArgs>(this.pnlAssets_Close);
     this.pnlAssets.Minimize += new System.Action<object, System.EventArgs>(this.pnlAssets_Minimize);
     //
     // pnlAssetsCollapsed
     //
     this.pnlAssetsCollapsed.Controls.Add(this.btnAssetsShow);
     this.pnlAssetsCollapsed.Dock = System.Windows.Forms.DockStyle.Left;
     this.pnlAssetsCollapsed.Location = new System.Drawing.Point(0, 0);
     this.pnlAssetsCollapsed.Margin = new System.Windows.Forms.Padding(0);
     this.pnlAssetsCollapsed.Name = "pnlAssetsCollapsed";
     this.pnlAssetsCollapsed.Padding = new System.Windows.Forms.Padding(2);
     this.pnlAssetsCollapsed.Size = new System.Drawing.Size(25, 361);
     this.pnlAssetsCollapsed.TabIndex = 8;
     this.pnlAssetsCollapsed.Visible = false;
     //
     // btnAssetsShow
     //
     this.btnAssetsShow.Dock = System.Windows.Forms.DockStyle.Top;
     this.btnAssetsShow.FlatAppearance.BorderSize = 0;
     this.btnAssetsShow.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnAssetsShow.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnAssetsShow.Image = ((System.Drawing.Image)(resources.GetObject("btnAssetsShow.Image")));
     this.btnAssetsShow.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
     this.btnAssetsShow.Location = new System.Drawing.Point(2, 2);
     this.btnAssetsShow.Margin = new System.Windows.Forms.Padding(0);
     this.btnAssetsShow.Name = "btnAssetsShow";
     this.btnAssetsShow.Size = new System.Drawing.Size(21, 103);
     this.btnAssetsShow.TabIndex = 0;
     this.btnAssetsShow.Text = "Assets";
     this.btnAssetsShow.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.btnAssetsShow.UseVisualStyleBackColor = true;
     this.btnAssetsShow.Click += new System.EventHandler(this.btnAssetsShow_Click);
     this.btnAssetsShow.Paint += new System.Windows.Forms.PaintEventHandler(this.btnAssetsShow_Paint);
     this.btnAssetsShow.MouseEnter += new System.EventHandler(this.btnAssetsShow_MouseEnter);
     this.btnAssetsShow.MouseLeave += new System.EventHandler(this.btnAssetsShow_MouseLeave);
     //
     // splitBottom
     //
     this.splitBottom.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.splitBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.splitBottom.Location = new System.Drawing.Point(0, 464);
     this.splitBottom.Name = "splitBottom";
     this.splitBottom.Size = new System.Drawing.Size(1025, 3);
     this.splitBottom.TabIndex = 14;
     this.splitBottom.TabStop = false;
     this.splitBottom.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitBottom_SplitterMoved);
     //
     // pnlBottom
     //
     this.pnlBottom.Controls.Add(this.txtOutput);
     this.pnlBottom.Controls.Add(this.splitPanelOutput);
     this.pnlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.pnlBottom.Location = new System.Drawing.Point(0, 467);
     this.pnlBottom.Name = "pnlBottom";
     this.pnlBottom.Size = new System.Drawing.Size(1025, 100);
     this.pnlBottom.TabIndex = 13;
     //
     // txtOutput
     //
     this.txtOutput.BackColor = System.Drawing.Color.Black;
     this.txtOutput.Dock = System.Windows.Forms.DockStyle.Fill;
     this.txtOutput.Location = new System.Drawing.Point(0, 24);
     this.txtOutput.Name = "txtOutput";
     this.txtOutput.Size = new System.Drawing.Size(1025, 76);
     this.txtOutput.TabIndex = 2;
     this.txtOutput.Text = "";
     //
     // splitPanelOutput
     //
     this.splitPanelOutput.Caption = "Output";
     this.splitPanelOutput.Dock = System.Windows.Forms.DockStyle.Top;
     this.splitPanelOutput.Location = new System.Drawing.Point(0, 0);
     this.splitPanelOutput.Name = "splitPanelOutput";
     this.splitPanelOutput.Size = new System.Drawing.Size(1025, 24);
     this.splitPanelOutput.TabIndex = 1;
     //
     // splitTop
     //
     this.splitTop.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.splitTop.Dock = System.Windows.Forms.DockStyle.Top;
     this.splitTop.Location = new System.Drawing.Point(0, 100);
     this.splitTop.Name = "splitTop";
     this.splitTop.Size = new System.Drawing.Size(1025, 3);
     this.splitTop.TabIndex = 12;
     this.splitTop.TabStop = false;
     this.splitTop.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitTop_SplitterMoved);
     //
     // pnlTop
     //
     this.pnlTop.Controls.Add(this.splitPanelTop);
     this.pnlTop.Controls.Add(this.pnlTopCollapsed);
     this.pnlTop.Dock = System.Windows.Forms.DockStyle.Top;
     this.pnlTop.Location = new System.Drawing.Point(0, 0);
     this.pnlTop.Name = "pnlTop";
     this.pnlTop.Size = new System.Drawing.Size(1025, 100);
     this.pnlTop.TabIndex = 11;
     //
     // splitPanelTop
     //
     this.splitPanelTop.Caption = null;
     this.splitPanelTop.Dock = System.Windows.Forms.DockStyle.Top;
     this.splitPanelTop.Location = new System.Drawing.Point(0, 25);
     this.splitPanelTop.Name = "splitPanelTop";
     this.splitPanelTop.Size = new System.Drawing.Size(1025, 24);
     this.splitPanelTop.TabIndex = 1;
     this.splitPanelTop.Close += new System.Action<object, System.EventArgs>(this.splitPanelTop_Close);
     this.splitPanelTop.Minimize += new System.Action<object, System.EventArgs>(this.splitPanelTop_Minimize);
     //
     // pnlTopCollapsed
     //
     this.pnlTopCollapsed.Controls.Add(this.btnTopShow);
     this.pnlTopCollapsed.Dock = System.Windows.Forms.DockStyle.Top;
     this.pnlTopCollapsed.Location = new System.Drawing.Point(0, 0);
     this.pnlTopCollapsed.Margin = new System.Windows.Forms.Padding(0);
     this.pnlTopCollapsed.Name = "pnlTopCollapsed";
     this.pnlTopCollapsed.Padding = new System.Windows.Forms.Padding(2);
     this.pnlTopCollapsed.Size = new System.Drawing.Size(1025, 25);
     this.pnlTopCollapsed.TabIndex = 11;
     this.pnlTopCollapsed.Visible = false;
     //
     // btnTopShow
     //
     this.btnTopShow.Dock = System.Windows.Forms.DockStyle.Left;
     this.btnTopShow.FlatAppearance.BorderSize = 0;
     this.btnTopShow.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnTopShow.Image = global::Azmyth.Editor.Properties.Resources.imgFolder;
     this.btnTopShow.ImageAlign = System.Drawing.ContentAlignment.TopLeft;
     this.btnTopShow.Location = new System.Drawing.Point(2, 2);
     this.btnTopShow.Margin = new System.Windows.Forms.Padding(0);
     this.btnTopShow.Name = "btnTopShow";
     this.btnTopShow.Size = new System.Drawing.Size(91, 21);
     this.btnTopShow.TabIndex = 0;
     this.btnTopShow.Text = "Top Panel";
     this.btnTopShow.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.btnTopShow.UseVisualStyleBackColor = true;
     this.btnTopShow.Click += new System.EventHandler(this.btnTopShow_Click);
     //
     // TopPanel
     //
     this.TopPanel.Dock = System.Windows.Forms.DockStyle.Top;
     this.TopPanel.Location = new System.Drawing.Point(0, 0);
     this.TopPanel.Name = "TopPanel";
     this.TopPanel.Size = new System.Drawing.Size(1025, 25);
     this.TopPanel.TabIndex = 1;
     //
     // BottomPanel
     //
     this.BottomPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.BottomPanel.Location = new System.Drawing.Point(0, 268);
     this.BottomPanel.Name = "BottomPanel";
     this.BottomPanel.Size = new System.Drawing.Size(1025, 25);
     this.BottomPanel.TabIndex = 3;
     //
     // LeftPanel
     //
     this.LeftPanel.Dock = System.Windows.Forms.DockStyle.Left;
     this.LeftPanel.Location = new System.Drawing.Point(0, 28);
     this.LeftPanel.Name = "LeftPanel";
     this.LeftPanel.Size = new System.Drawing.Size(25, 237);
     this.LeftPanel.TabIndex = 6;
     //
     // RightPanel
     //
     this.RightPanel.Dock = System.Windows.Forms.DockStyle.Right;
     this.RightPanel.Location = new System.Drawing.Point(1000, 28);
     this.RightPanel.Name = "RightPanel";
     this.RightPanel.Size = new System.Drawing.Size(25, 237);
     this.RightPanel.TabIndex = 8;
     //
     // MainPanel
     //
     this.MainPanel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.MainPanel.Location = new System.Drawing.Point(28, 28);
     this.MainPanel.Name = "MainPanel";
     this.MainPanel.Size = new System.Drawing.Size(969, 237);
     this.MainPanel.TabIndex = 10;
     //
     // frmEditorMain
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(1025, 715);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.ribbon1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "frmEditorMain";
     this.Text = "Azmyth Editor";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmEditorMain_FormClosing);
     this.panel1.ResumeLayout(false);
     this.pnlMain.ResumeLayout(false);
     this.pnlRight.ResumeLayout(false);
     this.pnlPropertiesCollapsed.ResumeLayout(false);
     this.pnlLeft.ResumeLayout(false);
     this.pnlAssetsCollapsed.ResumeLayout(false);
     this.pnlBottom.ResumeLayout(false);
     this.pnlTop.ResumeLayout(false);
     this.pnlTopCollapsed.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()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PropertyWindow));
     this.propertyGrid = new System.Windows.Forms.PropertyGrid();
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.btn_Choose = new System.Windows.Forms.ToolStripButton();
     this.btn_all = new System.Windows.Forms.ToolStripButton();
     this.btn_update = new System.Windows.Forms.ToolStripButton();
     this.updateTimer = new System.Windows.Forms.Timer(this.components);
     this.toolStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // propertyGrid
     //
     this.propertyGrid.Dock = System.Windows.Forms.DockStyle.Fill;
     this.propertyGrid.LineColor = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid.Location = new System.Drawing.Point(0, 28);
     this.propertyGrid.Name = "propertyGrid";
     this.propertyGrid.PropertySort = System.Windows.Forms.PropertySort.Alphabetical;
     this.propertyGrid.Size = new System.Drawing.Size(230, 265);
     this.propertyGrid.TabIndex = 0;
     this.propertyGrid.ToolbarVisible = false;
     this.propertyGrid.Click += new System.EventHandler(this.propertyGrid_Click);
     //
     // toolStrip1
     //
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.btn_Choose,
     this.btn_all,
     this.btn_update});
     this.toolStrip1.Location = new System.Drawing.Point(0, 3);
     this.toolStrip1.Name = "toolStrip1";
     this.toolStrip1.Size = new System.Drawing.Size(230, 25);
     this.toolStrip1.TabIndex = 1;
     this.toolStrip1.Text = "toolStrip1";
     //
     // btn_Choose
     //
     this.btn_Choose.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.btn_Choose.Image = ((System.Drawing.Image)(resources.GetObject("btn_Choose.Image")));
     this.btn_Choose.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btn_Choose.Name = "btn_Choose";
     this.btn_Choose.Size = new System.Drawing.Size(23, 22);
     this.btn_Choose.Text = "Choose Properties";
     this.btn_Choose.Click += new System.EventHandler(this.btn_Choose_Click);
     //
     // btn_all
     //
     this.btn_all.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.btn_all.Image = ((System.Drawing.Image)(resources.GetObject("btn_all.Image")));
     this.btn_all.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btn_all.Name = "btn_all";
     this.btn_all.Size = new System.Drawing.Size(23, 22);
     this.btn_all.Text = "toolStripButton1";
     this.btn_all.ToolTipText = "Display All";
     this.btn_all.Click += new System.EventHandler(this.btn_all_Click);
     //
     // btn_update
     //
     this.btn_update.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.btn_update.Image = ((System.Drawing.Image)(resources.GetObject("btn_update.Image")));
     this.btn_update.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.btn_update.Name = "btn_update";
     this.btn_update.Size = new System.Drawing.Size(49, 22);
     this.btn_update.Text = "Update";
     this.btn_update.Click += new System.EventHandler(this.btn_update_Click);
     //
     // updateTimer
     //
     this.updateTimer.Enabled = true;
     this.updateTimer.Tick += new System.EventHandler(this.updateTimer_Tick);
     //
     // PropertyWindow
     //
     this.Controls.Add(this.propertyGrid);
     this.Controls.Add(this.toolStrip1);
     this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name = "PropertyWindow";
     this.Padding = new System.Windows.Forms.Padding(0, 3, 0, 3);
     this.Size = new System.Drawing.Size(230, 296);
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <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.cboDevice = new System.Windows.Forms.ComboBox();
     this.cmdOpenClose = new System.Windows.Forms.Button();
     this.panTest = new System.Windows.Forms.Panel();
     this.cmdGetDeviceInfo = new System.Windows.Forms.Button();
     this.GetConfigValue = new System.Windows.Forms.Button();
     this.tInfo = new System.Windows.Forms.TextBox();
     this.cmdGetTestType = new System.Windows.Forms.Button();
     this.lDataRateEP1 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.panDevice = new System.Windows.Forms.Panel();
     this.cboTestType = new System.Windows.Forms.ComboBox();
     this.label2 = new System.Windows.Forms.Label();
     this.statusStrip1 = new System.Windows.Forms.StatusStrip();
     this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
     this.tslStatus = new System.Windows.Forms.ToolStripStatusLabel();
     this.benchParamsPropertyGrid = new System.Windows.Forms.PropertyGrid();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
     this.timerUpdateUI = new System.Windows.Forms.Timer(this.components);
     this.panTest.SuspendLayout();
     this.panDevice.SuspendLayout();
     this.statusStrip1.SuspendLayout();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.SuspendLayout();
     //
     // cboDevice
     //
     this.cboDevice.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.cboDevice.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cboDevice.FormattingEnabled = true;
     this.cboDevice.Items.AddRange(new object[] {
     "b35924d6-0000-4a9e-9782-5524a4b79bac"});
     this.cboDevice.Location = new System.Drawing.Point(6, 10);
     this.cboDevice.Name = "cboDevice";
     this.cboDevice.Size = new System.Drawing.Size(513, 22);
     this.cboDevice.TabIndex = 21;
     this.cboDevice.DropDown += new System.EventHandler(this.cboDevice_DropDown);
     //
     // cmdOpenClose
     //
     this.cmdOpenClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cmdOpenClose.Location = new System.Drawing.Point(525, 10);
     this.cmdOpenClose.Name = "cmdOpenClose";
     this.cmdOpenClose.Size = new System.Drawing.Size(75, 23);
     this.cmdOpenClose.TabIndex = 20;
     this.cmdOpenClose.Text = "Open";
     this.cmdOpenClose.UseVisualStyleBackColor = true;
     this.cmdOpenClose.Click += new System.EventHandler(this.cmdOpenClose_Click);
     //
     // panTest
     //
     this.panTest.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.panTest.Controls.Add(this.cmdGetDeviceInfo);
     this.panTest.Controls.Add(this.GetConfigValue);
     this.panTest.Controls.Add(this.tInfo);
     this.panTest.Controls.Add(this.cmdGetTestType);
     this.panTest.Controls.Add(this.lDataRateEP1);
     this.panTest.Controls.Add(this.label1);
     this.panTest.Enabled = false;
     this.panTest.Location = new System.Drawing.Point(6, 27);
     this.panTest.Name = "panTest";
     this.panTest.Size = new System.Drawing.Size(330, 257);
     this.panTest.TabIndex = 22;
     //
     // cmdGetDeviceInfo
     //
     this.cmdGetDeviceInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cmdGetDeviceInfo.Location = new System.Drawing.Point(243, 231);
     this.cmdGetDeviceInfo.Name = "cmdGetDeviceInfo";
     this.cmdGetDeviceInfo.Size = new System.Drawing.Size(83, 23);
     this.cmdGetDeviceInfo.TabIndex = 27;
     this.cmdGetDeviceInfo.Text = "Device Info";
     this.cmdGetDeviceInfo.UseVisualStyleBackColor = true;
     this.cmdGetDeviceInfo.Click += new System.EventHandler(this.cmdGetDeviceInfo_Click);
     //
     // GetConfigValue
     //
     this.GetConfigValue.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.GetConfigValue.Location = new System.Drawing.Point(154, 231);
     this.GetConfigValue.Name = "GetConfigValue";
     this.GetConfigValue.Size = new System.Drawing.Size(83, 23);
     this.GetConfigValue.TabIndex = 26;
     this.GetConfigValue.Text = "Config Info";
     this.GetConfigValue.UseVisualStyleBackColor = true;
     this.GetConfigValue.Click += new System.EventHandler(this.GetConfigValue_Click);
     //
     // tInfo
     //
     this.tInfo.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.tInfo.BackColor = System.Drawing.SystemColors.Info;
     this.tInfo.ForeColor = System.Drawing.Color.Black;
     this.tInfo.Location = new System.Drawing.Point(6, 34);
     this.tInfo.Multiline = true;
     this.tInfo.Name = "tInfo";
     this.tInfo.ReadOnly = true;
     this.tInfo.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.tInfo.Size = new System.Drawing.Size(320, 191);
     this.tInfo.TabIndex = 21;
     //
     // cmdGetTestType
     //
     this.cmdGetTestType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cmdGetTestType.Location = new System.Drawing.Point(6, 231);
     this.cmdGetTestType.Name = "cmdGetTestType";
     this.cmdGetTestType.Size = new System.Drawing.Size(75, 23);
     this.cmdGetTestType.TabIndex = 25;
     this.cmdGetTestType.Text = "Get Test";
     this.cmdGetTestType.UseVisualStyleBackColor = true;
     this.cmdGetTestType.Click += new System.EventHandler(this.cmdGetTestType_Click);
     //
     // lDataRateEP1
     //
     this.lDataRateEP1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.lDataRateEP1.Location = new System.Drawing.Point(139, 9);
     this.lDataRateEP1.Name = "lDataRateEP1";
     this.lDataRateEP1.Size = new System.Drawing.Size(187, 13);
     this.lDataRateEP1.TabIndex = 20;
     this.toolTip1.SetToolTip(this.lDataRateEP1, "Bytes per/second (Number of packets transferred)");
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(3, 9);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(130, 13);
     this.label1.TabIndex = 19;
     this.label1.Text = "Bytes/Sec (Usb Packets):";
     //
     // panDevice
     //
     this.panDevice.Controls.Add(this.cboTestType);
     this.panDevice.Controls.Add(this.label2);
     this.panDevice.Controls.Add(this.panTest);
     this.panDevice.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panDevice.Enabled = false;
     this.panDevice.Location = new System.Drawing.Point(0, 0);
     this.panDevice.Name = "panDevice";
     this.panDevice.Size = new System.Drawing.Size(336, 284);
     this.panDevice.TabIndex = 23;
     //
     // cboTestType
     //
     this.cboTestType.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.cboTestType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboTestType.FormattingEnabled = true;
     this.cboTestType.Location = new System.Drawing.Point(79, 3);
     this.cboTestType.Name = "cboTestType";
     this.cboTestType.Size = new System.Drawing.Size(253, 21);
     this.cboTestType.TabIndex = 24;
     this.cboTestType.SelectedIndexChanged += new System.EventHandler(this.cboTestType_SelectedIndexChanged);
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(9, 8);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(64, 13);
     this.label2.TabIndex = 23;
     this.label2.Text = "Select Test:";
     //
     // statusStrip1
     //
     this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripStatusLabel1,
     this.tslStatus});
     this.statusStrip1.Location = new System.Drawing.Point(0, 325);
     this.statusStrip1.Name = "statusStrip1";
     this.statusStrip1.Size = new System.Drawing.Size(604, 22);
     this.statusStrip1.TabIndex = 24;
     this.statusStrip1.Text = "statusStrip1";
     //
     // toolStripStatusLabel1
     //
     this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
     this.toolStripStatusLabel1.Size = new System.Drawing.Size(42, 17);
     this.toolStripStatusLabel1.Text = "Status:";
     //
     // tslStatus
     //
     this.tslStatus.Name = "tslStatus";
     this.tslStatus.Size = new System.Drawing.Size(547, 17);
     this.tslStatus.Spring = true;
     this.tslStatus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // benchParamsPropertyGrid
     //
     this.benchParamsPropertyGrid.Dock = System.Windows.Forms.DockStyle.Fill;
     this.benchParamsPropertyGrid.Location = new System.Drawing.Point(0, 0);
     this.benchParamsPropertyGrid.Name = "benchParamsPropertyGrid";
     this.benchParamsPropertyGrid.Size = new System.Drawing.Size(254, 284);
     this.benchParamsPropertyGrid.TabIndex = 25;
     //
     // 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(6, 39);
     this.splitContainer1.Name = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.benchParamsPropertyGrid);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.panDevice);
     this.splitContainer1.Size = new System.Drawing.Size(594, 284);
     this.splitContainer1.SplitterDistance = 254;
     this.splitContainer1.TabIndex = 26;
     //
     // timerUpdateUI
     //
     this.timerUpdateUI.Interval = 500;
     this.timerUpdateUI.Tick += new System.EventHandler(this.timerUpdateUI_Tick);
     //
     // fBenchmark
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(604, 347);
     this.Controls.Add(this.splitContainer1);
     this.Controls.Add(this.statusStrip1);
     this.Controls.Add(this.cboDevice);
     this.Controls.Add(this.cmdOpenClose);
     this.MinimumSize = new System.Drawing.Size(410, 350);
     this.Name = "fBenchmark";
     this.Text = "PIC Endpoint Benchmark";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
     this.panTest.ResumeLayout(false);
     this.panTest.PerformLayout();
     this.panDevice.ResumeLayout(false);
     this.panDevice.PerformLayout();
     this.statusStrip1.ResumeLayout(false);
     this.statusStrip1.PerformLayout();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }