/// <summary> /// 门店查询 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void market_Search_Click(object sender, RoutedEventArgs e) { this.markLayer.ManuallyAddMarkObj = null; if (market_S == null) { market_S = new DataForm(); } this.market_S.mapContainer = this.mapContainer; this.market_S.markLayer = this.markLayer; market_S.Show(); }
public override List <NextGenLab.Chart.ChartData> OnPlot(ReportNode rp) { DataForm df = new DataForm(rp); Form f = rp.MDIContainer; if (f.IsMdiContainer) { f.Invoke(new SetMdiContainer(SetMDICont), f, df); } else { df.Show(); } return(null); }
//获取详细信息 private void ImageDI(object sender, EventArgs e) { List <String> Values = new List <string>() { "ID:" + modle.ID + "", "标题:" + modle.Title, "创建时间:" + modle.Time + "", "链接地址:" + modle.Url }; MainImageFormItem mifi = new MainImageFormItem(modle, false); mifi.Width = Width; mifi.Height = Height; DataForm df = new DataForm("详细信息", Values, mifi, DataForm.ItemTypes.MainImageFormItem); df.Show(); }
private void dataClick(object sender, System.EventArgs e) { DataForm dataForm = new DataForm(graph, null, this); dataForm.Reset(); dataForm.Show(); }
private void EditClick(object sender, System.EventArgs e) { if (((EditMenuItem)sender).item is FunctionItem) { SourceForm sourceForm = new SourceForm(graph, (FunctionItem)((EditMenuItem)sender).item, this); sourceForm.Reset(); sourceForm.Show(); } else if (((EditMenuItem)sender).item is DataItem) { DataForm dataForm = new DataForm(graph, (DataItem)((EditMenuItem)sender).item, this); dataForm.Reset(); dataForm.Show(); } }
private void database_Click(object sender, EventArgs e) { DataForm df = new DataForm(); df.Show(); }