public MenuPalette() { AC.Initialize(); DB.Initialize(); InitializeComponent(); m_Page_1_Tool = new Page_1_Tool(); this.xtraTabPage1.Controls.Add(m_Page_1_Tool); m_Page_1_Tool.Parent = this.xtraTabPage1; m_Page_1_Tool.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; m_Page_1_Tool.VerticalScroll.Enabled = true; m_Page_1_Tool.Show(); }
public Page_1_Tool() { InitializeComponent(); Instance = this; this.Load += Page_Tool_Load; this.ce_move.CheckedChanged += Ce_move_CheckedChanged; this.ce_ShapeRotation.CheckedChanged += Ce_ShapeRotation_CheckedChanged; this.ce_AngRotation.CheckedChanged += Ce_Rotation_CheckedChanged; this.sb_ConnectLines.Click += Sb_ConnectLines_Click; this.sb_RefinePolyline.Click += Sb_RefinePolyline_Click; this.sb_AlignText.Click += Sb_AlignText_Click; this.sb_AlignTexts.Click += Sb_AlignTexts_Click; this.sb_InsertText.Click += Sb_InsertText_Click; this.sb_GetType.Click += Sb_GetType_Click; this.sb_ExplodeBlock.Click += Sb_ExplodeBlock_Click; this.sb_AttachPolyline.Click += Sb_AttachPolyline_Click; this.sb_AttachPolylines.Click += Sb_AttachPolylines_Click; this.sb_AttachPolylineToLine.Click += Sb_AttachPolylineToLine_Click; this.sb_CreateBoundary.Click += Sb_CreateBoundary_Click; }