Exemple #1
0
        private void btAdd_Click(object sender, EventArgs e)
        {
            ListViewItem lvi = NewDomain("");

            FEditDomain.Execute(lvi.Tag as DDnsDomain);
            UpdateItem(lvi);
        }
Exemple #2
0
        private void lvList_DoubleClick(object sender, EventArgs e)
        {
            if (lvList.SelectedItems.Count != 1)
            {
                return;
            }
            ListViewItem lvi = lvList.SelectedItems[0];

            FEditDomain.Execute(lvi.Tag as DDnsDomain);
            UpdateItem(lvi);
        }
Exemple #3
0
 public static void Execute(DDnsDomain d)
 {
     using (FEditDomain f = new FEditDomain(d))
         f.ShowDialog();
 }