示例#1
0
 private void btnEditDataLinks_Click(object sender, EventArgs e)
 {
     if (listIcons.SelectedIndex == -1) { return; }
     if (SelectedIcon == null) { return; }
     frmDataLink DataLinkForm = new frmDataLink(SelectedIcon);
     DataLinkForm.ShowDialog();
     IconToForm();
     DataLinkForm.Dispose();
     DataLinkForm = null;
 }
示例#2
0
        private void btnEditDataLinks_Click(object sender, EventArgs e)
        {
            if (listIcons.SelectedIndex == -1)
            {
                return;
            }
            if (SelectedIcon == null)
            {
                return;
            }
            frmDataLink DataLinkForm = new frmDataLink(SelectedIcon);

            DataLinkForm.ShowDialog();
            IconToForm();
            DataLinkForm.Dispose();
            DataLinkForm = null;
        }