private void tsmiPageSetting_Click(object sender, EventArgs e) { FormSettingShowState wellShowSetting = new FormSettingShowState(filePathOper); wellShowSetting.ShowDialog(); makeNewSVG(); }
private void tsmiShowedDepth_Click(object sender, EventArgs e) { FormSettingShowState newSet = new FormSettingShowState(this.filePathTemple); if (newSet.ShowDialog() == DialogResult.OK) { RefreshSVG(); } }
private void tlsbPageSet_Click(object sender, EventArgs e) { FormSettingShowState wellShowSetting = new FormSettingShowState(filePathOper); if (wellShowSetting.ShowDialog() == DialogResult.OK) { updateSVG(); } }
public static DialogResult setNodeProperty(TreeNode selectNode, string filePathOper) { DialogResult result = DialogResult.OK; string selectNodeID = selectNode.Name; XmlNode selectXmlNode = cXmlBase.selectNodeByID(filePathOper, selectNode.Name); if (selectNode.Level == 0) //页面设置 { FormSettingShowState wellShowSetting = new FormSettingShowState(filePathOper); result = wellShowSetting.ShowDialog(); } if (selectNode.Level == 1) //道内设置 { FormSettingSectionTrack newForm = new FormSettingSectionTrack(filePathOper, selectNode.Name); result = newForm.ShowDialog(); } if (selectNode.Level == 2) //道内属性设置 { if (selectNode.Parent.Tag.ToString() == TypeTrack.曲线道.ToString()) { FormSettingSectionLog setLogCurve = new FormSettingSectionLog(filePathOper, selectNodeID); result = setLogCurve.ShowDialog(); } if (cProjectManager.ltStrTrackTypeIntervalProperty.IndexOf(selectNode.Parent.Tag.ToString()) >= 0) { FormSettingSectionDataItemView setJSJL = new FormSettingSectionDataItemView(filePathOper, selectNodeID, selectNode.Parent.Tag.ToString()); result = setJSJL.ShowDialog(); } if (selectNode.Parent.Tag.ToString() == TypeTrack.分层.ToString()) { FormSettingSectionLayer setLayer = new FormSettingSectionLayer(filePathOper, selectNode.Parent.Name, selectNodeID); result = setLayer.ShowDialog(); } if (selectNode.Parent.Tag.ToString() == TypeTrack.文本道.ToString()) { FormSettingSectionText setText = new FormSettingSectionText(filePathOper, selectNodeID); result = setText.ShowDialog(); } } return(result); }
private void tsmiSettingPage_Click(object sender, EventArgs e) { FormSettingShowState wellShowSetting = new FormSettingShowState(this.filePathOper); wellShowSetting.ShowDialog(); }