Exemplo n.º 1
0
        private void btnAddIgnoredApp_Click(object sender, RoutedEventArgs e)
        {
            this.lstIgnoredApplications.SelectedIndex = -1;

            ApplicationDialog applicationDialog = new ApplicationDialog(false);
            applicationDialog.ShowDialog();
        }
Exemplo n.º 2
0
        private void btnEditIgnoredApp_Click(object sender, RoutedEventArgs e)
        {
            IgnoredApplication ia = this.lstIgnoredApplications.SelectedItem as IgnoredApplication;
            if (ia == null) return;

            ApplicationDialog applicationDialog = new ApplicationDialog(ia);
            applicationDialog.ShowDialog();
        }
Exemplo n.º 3
0
 private void EditAppButton_Click(object sender, RoutedEventArgs e)
 {
     if (lstAvailableApplication.SelectedItem != null)
     {
         ApplicationDialog applicationDialog = new ApplicationDialog(lstAvailableApplication.SelectedItem as IApplication);
         applicationDialog.ShowDialog();
     }
 }
Exemplo n.º 4
0
 private void NewApplicationButton_OnClick(object sender, RoutedEventArgs e)
 {
     ApplicationDialog applicationDialog = new ApplicationDialog(true);
     applicationDialog.ShowDialog();
 }