コード例 #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            var form = new SourceTableForm();

            form.WindowState = FormWindowState.Maximized;
            form.Show();
        }
コード例 #2
0
ファイル: DataReceiverForm.cs プロジェクト: yxw027/GNSSer
        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();
            }
        }