コード例 #1
0
ファイル: DataExchangeModel.cs プロジェクト: krbvroc1/KeeFox
 public Entry(
     string[] urls,
     string formActionURL,
     string hTTPRealm,
     string title,
     FormField[] formFieldList,
     string uniqueID,
     bool alwaysAutoFill,
     bool neverAutoFill,
     bool alwaysAutoSubmit,
     bool neverAutoSubmit,
     int priority,
     Group parent,
     string iconImageData,
     Database db)
 {
     URLs = urls;
     FormActionURL = formActionURL;
     HTTPRealm = hTTPRealm;
     Title = title;
     FormFieldList = formFieldList;
     UniqueID = uniqueID;
     AlwaysAutoFill = alwaysAutoFill;
     NeverAutoFill = neverAutoFill;
     AlwaysAutoSubmit = alwaysAutoSubmit;
     NeverAutoSubmit = neverAutoSubmit;
     Priority = priority;
     Parent = parent;
     IconImageData = iconImageData;
     Db = db;
 }
コード例 #2
0
        private void buttonFieldAdd_Click(object sender, EventArgs e)
        {
            KeeFoxFieldForm kfff = new KeeFoxFieldForm(null, null, null, FormFieldType.FFTtext, 1);

            if (kfff.ShowDialog() == DialogResult.OK)
            {
                FormField ff = new FormField(kfff.Name, kfff.Name, kfff.Value, kfff.Type, kfff.Id, kfff.Page);

                string type = Utilities.FormFieldTypeToDisplay(kfff.Type,false);
                int page = kfff.Page;

                // We know any new passwords are not the main Entry password
                // Also know that the display name can be same as main name
                ListViewItem lvi = new ListViewItem(new string[] { kfff.Name, kfff.Type == FormFieldType.FFTpassword ? "********" : kfff.Value, kfff.Id, type, page.ToString() });
                lvi.Tag = ff;
                AddFieldListItem(lvi);
                UpdateFieldStrings();
            }
        }
コード例 #3
0
ファイル: KeeFoxFieldForm.cs プロジェクト: db48x/KeeFox
 public KeeFoxFieldForm(FormField ff)
     : this(ff.Name, ff.Value, ff.Id, ff.Type, ff.Page)
 {
 }