void EditParametersbuttonClick(object sender, EventArgs e)
        {
            ProtocolParametersForm PPF;

            if (UserControlProtocolParameters == null)
            {
                PPF = new ProtocolParametersForm(this, UserControlProtocolType);
            }
            else
            {
                PPF = new ProtocolParametersForm(this, UserControlProtocolParameters);
            }
            PPF.ShowDialog();
        }
 void EditParametersbuttonClick(object sender, EventArgs e)
 {
     ProtocolParametersForm PPF;
     if (UserControlProtocolParameters==null)
     {
         PPF = new ProtocolParametersForm(this,UserControlProtocolType);
     }
     else
     {
         PPF = new ProtocolParametersForm(this,UserControlProtocolParameters);
     }
     PPF.ShowDialog();
 }