private void button3_Click(object sender, EventArgs e) { var form = new SourceTableForm(); form.WindowState = FormWindowState.Maximized; form.Show(); }
private void 择测站SToolStripMenuItem_Click(object sender, EventArgs e) { var form = new SourceTableForm(); if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK) { List <NtripStream> olds = bindingSource_site.DataSource as List <NtripStream>; if (olds == null) { olds = new List <NtripStream>(); } olds.AddRange(form.SelectedNtripStreams); bindingSource_site.DataSource = null; bindingSource_site.DataSource = olds; SaveSiteToLocalFile(); } }