コード例 #1
0
 private void buttonMutiAdd_Click(object sender, EventArgs e)
 {
     if (advTreeVideoSupplier.SelectedNode != null)
     {
         uint VideoSupplierId = Convert.ToUInt32(advTreeVideoSupplier.SelectedNode.Cells[0].Text);
         m_viewModel.AddCameraListByVideoSupplier(VideoSupplierId);
         m_viewModel.FlushCameraList();
         advTreeCamera.DataSource = m_viewModel.GetCameraListByVideoSupplierID(VideoSupplierId);
     }
 }