Beispiel #1
0
        private void listView1_DoubleClick(object sender, EventArgs e)
        {
            //DataTable dtt = new DataTable();
            //dtt =
               int indx = listView1.SelectedItems[0].Index;
            af1 = new Account_form();

            //af1.Owner = this;
            af1.titleB.Text = dt.Rows[indx]["title"].ToString();
            af1.loginB.Text = dt.Rows[indx]["login"].ToString();
            af1.pswdB.Text = dt.Rows[indx]["password"].ToString();
            af1.noteB.Text = dt.Rows[indx]["note"].ToString();
            af1.linkB.Text = dt.Rows[indx]["link"].ToString();
            af1.title_lbl.Text = dt.Rows[indx]["title"].ToString();
            af1.Show();
        }
Beispiel #2
0
        private void cpas_btn_Click(object sender, EventArgs e)
        {
            af1 = new Account_form();

            //af1.Owner = this;

            af1.Show();
        }