public void ショートカットを作成ToolStripMenuItem_Click(object sender, EventArgs e) { string Shortcut_param = tbxIp.Text + " " + tbxUser.Text + " " + pass_cls.Encrypt(tbxPass.Text) + " " + cmbUsermode.SelectedValue + " " + cmbApp.SelectedValue + " " + cmbBorder.SelectedValue; Shortcut shortcut = new Shortcut(); shortcut.GetParam(Shortcut_param); shortcut.Show(); }
public void tsmiShortcut_Click(object sender, EventArgs e) { pass.keys("UserPass"); string Shortcut_param = tbxIp.Text + " " + tbxUser.Text + " " + pass.Encrypt(tbxPass.Text) + " " + cmbApp.SelectedValue + " " + cmbBorder.SelectedValue; Shortcut shortcut = new Shortcut(); shortcut.GetParam(Shortcut_param); shortcut.Show(); }