/// <summary> /// 加载数据 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void IDM_LodeData_Click(object sender, EventArgs e) { frmAddData addData = new frmAddData(axMapControl1, path); addData.ShowDialog(); path = addData.mPath; }
private void editToolStripMenuItem_Click(object sender, EventArgs e) { frmAddData frmAddData = new frmAddData(); frmAddData._Code = _Code; frmAddData._Name = _Name; frmAddData._Area = _Area; frmAddData._Company = _Company; frmAddData._Schedule = _Schedule; frmAddData._sConnection = clsDeclaration.sCompanyConnection; frmAddData.ShowDialog(); displayData(); }