Exemplo n.º 1
0
        private void LinkTitle_Leave(object sender, EventArgs e)
        {
            CRegistryManager.SaveCustomSlot(m_currentId, LinkTitle.Text, LinkPath.Text, LinkArgs.Text);

            if (linksListBox.SelectedIndex != -1)
            {
                if (LinkTitle.Text != null && LinkTitle.Text != "")
                {
                    linksListBox.Items[linksListBox.SelectedIndex] = LinkTitle.Text;
                }
                else
                {
                    linksListBox.Items[linksListBox.SelectedIndex] = "Custom link " + m_currentId.ToString();
                }
            }
        }
Exemplo n.º 2
0
 private void LinkArgs_Leave(object sender, EventArgs e)
 {
     CRegistryManager.SaveCustomSlot(m_currentId, LinkTitle.Text, LinkPath.Text, LinkArgs.Text);
 }