Exemplo n.º 1
0
 private void button1_Click(object sender, EventArgs e)
 {
   ParamEdit dlg = new ParamEdit();
   dlg.Set(_actionItem.Params);
   dlg.ShowDialog();
 }
Exemplo n.º 2
0
 private void btn_params_Click(object sender, EventArgs e)
 {
   if (SelectedSection == null)
     return;
   ParamEdit dlg = new ParamEdit();
   dlg.Set(SelectedSection.Params);
   dlg.ShowDialog();
 }
Exemplo n.º 3
0
 private void btn_params_Click(object sender, EventArgs e)
 {
   ParamEdit dlg = new ParamEdit();
   dlg.Set(Package.GeneralInfo.Params);
   dlg.ShowDialog();
   RefreshIcon();
 }
Exemplo n.º 4
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();
    }