// // Copyright (c) PlaceholderCompany. All rights reserved. // using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using DevExpress.XtraEditors; namespace PcgDrawR { /// /// The xtra form1. /// public partial class XtraForm1 : DevExpress.XtraEditors.XtraForm { /// /// Initializes a new instance of the class. /// public XtraForm1() { InitializeComponent(); } /// /// Xtras the form1_ load. /// /// The sender. /// The e. private void XtraForm1_Load(object sender, EventArgs e) { UCDrawEdit drawerChild = new UCDrawEdit(); this.Controls.Add(drawerChild); drawerChild.Dock = DockStyle.Fill; string strFile = "C:\\temp\\统计出的数据.kev"; this.ucDrawEdit1.OpenFile(strFile); } } }