Пример #1
0
 private void ConfigStream(object sender, EventArgs e)
 {
     if (connectingPin != null)
     {
         IAMStreamConfig isc = connectingPin.IPin as IAMStreamConfig;
         if (isc != null)
         {
             using (var f = new MediaTypeListForm(isc))
             {
                 if (f.ShowDialog() == DialogResult.OK)
                     graph.PinSetFormat(connectingPin, f.selected_mt);
             }
         }
     }
     connectingPin = null;
 }