Exemple #1
0
    private void button1_Click(object sender, EventArgs e)
    {
      ParamEdit dlg = new ParamEdit();
      // check if we have new parameters for this type of action that were not yet available previously
      foreach (var param in MpeInstaller.ActionProviders[_actionItem.ActionType].GetDefaultParams().Items)
        if (!_actionItem.Params.Contain(param.Name))
          _actionItem.Params.Add(param);

      dlg.Set(_actionItem.Params);
      dlg.ShowDialog();
    }
 private void button1_Click(object sender, EventArgs e)
 {
   ParamEdit dlg = new ParamEdit();
   dlg.Set(_actionItem.Params);
   dlg.ShowDialog();
 }
 private void btn_params_Click(object sender, EventArgs e)
 {
   ParamEdit dlg = new ParamEdit();
   dlg.Set(Package.GeneralInfo.Params);
   dlg.ShowDialog();
   RefreshIcon();
 }
 private void btn_params_Click(object sender, EventArgs e)
 {
   if (SelectedSection == null)
     return;
   ParamEdit dlg = new ParamEdit();
   dlg.Set(SelectedSection.Params);
   dlg.ShowDialog();
 }