private void buttonAddDiscovered_Click_1(object sender, RoutedEventArgs e)
        {
            foreach (CheckedListBoxItem item in this.checkedListItems)
            {
                if (item.IsChecked)
                {
                    StaticHelper.DeployZippedButton(item.SourcePath, item.Name);
                }
            }

            this.GetButtons();
        }
Пример #2
0
        private void buttonAddDiscovered_Click_1(object sender, RoutedEventArgs e)
        {
            foreach (CheckedListBoxItem item in this.checkedListItems)
            {
                if (item.IsChecked)
                {
                    if (!StaticHelper.DeployZippedButton(item.SourcePath, item.Name))
                    {
                        MessageBox.Show("Deploy Failed. Check your Event Log", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                    }
                }
            }

            this.GetButtons();
        }