コード例 #1
0
        public void Attach(BoardEditorPanel panel)
        {
            this.panel        = panel;
            this.panel.Cursor = Cursors.Default;

            this.placingComponent          = this.componentBuilder();
            this.placingComponent.Position = GetGatePosition();
        }
コード例 #2
0
 public void Detach(BoardEditorPanel panel)
 {
     this.panel = null;
 }
コード例 #3
0
 public void Attach(BoardEditorPanel panel)
 {
     this.panel        = panel;
     this.panel.Cursor = Cursors.SizeAll;
 }
コード例 #4
0
 public void Detach(BoardEditorPanel panel)
 {
     this.panel.Board.SelectedComponent = null;
     this.panel.Refresh();
     this.panel = null;
 }
コード例 #5
0
 public void Attach(BoardEditorPanel panel)
 {
     this.panel        = panel;
     this.panel.Cursor = Cursors.Cross;
 }