コード例 #1
0
        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();
        }
コード例 #2
0
 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();
 }