private void AGMChannelsingletoolStripButton_Click(object sender, EventArgs e)
 {
     //draw agmchannelsingle
     try
     {
         currentlyDrawForm.CommandAGMChannel();
         SetDeviceMaptype();
     }
     catch { }
 }