Exemplo n.º 1
0
 private void addToWhitelist_Click(object sender, EventArgs e) {
     SkypeChatPicker scp = new SkypeChatPicker(skype);
     DialogResult result = scp.ShowDialog();
     if (result == DialogResult.OK) {
         Properties.Settings.Default.Whitelist.Add(scp.selectedChat);
         Properties.Settings.Default.Save();
         loadListBoxes(whiteList);
     }
     scp.Close();
 }
Exemplo n.º 2
0
        private void addToWhitelist_Click(object sender, EventArgs e)
        {
            SkypeChatPicker scp    = new SkypeChatPicker(skype);
            DialogResult    result = scp.ShowDialog();

            if (result == DialogResult.OK)
            {
                Properties.Settings.Default.Whitelist.Add(scp.selectedChat);
                Properties.Settings.Default.Save();
                loadListBoxes(whiteList);
            }
            scp.Close();
        }