Example #1
0
 internal void SetSignalList(DigitalClasses.Logic.SignalList signalList)
 {
     signalPanel.SignalList = signalList;
 }
 /// <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()
 {
     DigitalClasses.Logic.Circuit    circuit1    = new DigitalClasses.Logic.Circuit();
     DigitalClasses.Logic.SignalList signalList1 = new DigitalClasses.Logic.SignalList();
     this.toolStripButton1     = new System.Windows.Forms.ToolStripButton();
     this.BottomToolStripPanel = new System.Windows.Forms.ToolStripPanel();
     this.TopToolStripPanel    = new System.Windows.Forms.ToolStripPanel();
     this.RightToolStripPanel  = new System.Windows.Forms.ToolStripPanel();
     this.LeftToolStripPanel   = new System.Windows.Forms.ToolStripPanel();
     this.ContentPanel         = new System.Windows.Forms.ToolStripContentPanel();
     this.circuitEditor        = new DigitalClasses.Controls.CircuitEditor();
     this.SuspendLayout();
     //
     // toolStripButton1
     //
     this.toolStripButton1.Name = "toolStripButton1";
     this.toolStripButton1.Size = new System.Drawing.Size(23, 23);
     //
     // BottomToolStripPanel
     //
     this.BottomToolStripPanel.Location    = new System.Drawing.Point(0, 0);
     this.BottomToolStripPanel.Name        = "BottomToolStripPanel";
     this.BottomToolStripPanel.Orientation = System.Windows.Forms.Orientation.Horizontal;
     this.BottomToolStripPanel.RowMargin   = new System.Windows.Forms.Padding(3, 0, 0, 0);
     this.BottomToolStripPanel.Size        = new System.Drawing.Size(0, 0);
     //
     // TopToolStripPanel
     //
     this.TopToolStripPanel.Location    = new System.Drawing.Point(0, 0);
     this.TopToolStripPanel.Name        = "TopToolStripPanel";
     this.TopToolStripPanel.Orientation = System.Windows.Forms.Orientation.Horizontal;
     this.TopToolStripPanel.RowMargin   = new System.Windows.Forms.Padding(3, 0, 0, 0);
     this.TopToolStripPanel.Size        = new System.Drawing.Size(0, 0);
     //
     // RightToolStripPanel
     //
     this.RightToolStripPanel.Location    = new System.Drawing.Point(0, 0);
     this.RightToolStripPanel.Name        = "RightToolStripPanel";
     this.RightToolStripPanel.Orientation = System.Windows.Forms.Orientation.Horizontal;
     this.RightToolStripPanel.RowMargin   = new System.Windows.Forms.Padding(3, 0, 0, 0);
     this.RightToolStripPanel.Size        = new System.Drawing.Size(0, 0);
     //
     // LeftToolStripPanel
     //
     this.LeftToolStripPanel.Location    = new System.Drawing.Point(0, 0);
     this.LeftToolStripPanel.Name        = "LeftToolStripPanel";
     this.LeftToolStripPanel.Orientation = System.Windows.Forms.Orientation.Horizontal;
     this.LeftToolStripPanel.RowMargin   = new System.Windows.Forms.Padding(3, 0, 0, 0);
     this.LeftToolStripPanel.Size        = new System.Drawing.Size(0, 0);
     //
     // ContentPanel
     //
     this.ContentPanel.Size = new System.Drawing.Size(567, 509);
     //
     // circuitEditor
     //
     this.circuitEditor.BackColor = System.Drawing.Color.White;
     circuit1.LinkedObject        = null;
     circuit1.Name                      = null;
     circuit1.ReadOnly                  = false;
     this.circuitEditor.Circuit         = circuit1;
     this.circuitEditor.CurrentTool     = null;
     this.circuitEditor.GridColor       = System.Drawing.Color.Gray;
     this.circuitEditor.GridMode        = DigitalClasses.Controls.CircuitEditor.GridModes.Dots;
     this.circuitEditor.GridSize        = new System.Drawing.Point(8, 8);
     this.circuitEditor.Location        = new System.Drawing.Point(0, 0);
     this.circuitEditor.Margin          = new System.Windows.Forms.Padding(0);
     this.circuitEditor.Name            = "circuitEditor";
     this.circuitEditor.SignalList      = signalList1;
     this.circuitEditor.Size            = new System.Drawing.Size(538, 443);
     this.circuitEditor.TabIndex        = 0;
     this.circuitEditor.CircuitChanged += new DigitalClasses.Events.NotifyEvent(this.circuitEditor_OnCircuitChanged);
     //
     // CircuitEditorForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScroll          = true;
     this.ClientSize          = new System.Drawing.Size(538, 443);
     this.Controls.Add(this.circuitEditor);
     this.DockAreas    = ((WeifenLuo.WinFormsUI.Docking.DockAreas)((WeifenLuo.WinFormsUI.Docking.DockAreas.Float | WeifenLuo.WinFormsUI.Docking.DockAreas.Document)));
     this.Font         = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name         = "CircuitEditorForm";
     this.Text         = "Schaltung";
     this.SizeChanged += new System.EventHandler(this.HandleSizeChanged);
     this.Shown       += new System.EventHandler(this.HandleSizeChanged);
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.CircuitEditorForm_FormClosing);
     this.ResumeLayout(false);
 }