示例#1
0
文件: Form1.cs 项目: bfayer/DaLinkO
 private void buttonCreateNewBroadcast_Click(object sender, EventArgs e)
 {
     using (Form CreatingNew = new Broadcast_Connection_Settings(this))
     {
         CreatingNew.ShowDialog();
     }
 }
示例#2
0
文件: Form1.cs 项目: bfayer/DaLinkO
 private void btnEditBroadcast_Click(object sender, EventArgs e)
 {
     foreach (DataGridViewRow row in dgvBroadcastList.SelectedRows)
     {
         Broadcast selectedBroadcast = row.DataBoundItem as Broadcast;
         if (selectedBroadcast != null)
         {
             Form EditSelected = new Broadcast_Connection_Settings(this, selectedBroadcast);
             EditSelected.ShowDialog();
         }
     }
 }