Exemple #1
0
        private void Update_Button_Click(object sender, RoutedEventArgs e)
        {
            UpdateHostingUnit Uhu = new UpdateHostingUnit(H);

            Uhu.Show();
            this.Visibility = Visibility.Collapsed;
        }
 private void WatchHostingUnit_Click(object sender, RoutedEventArgs e)
 {
     if (BL.SingletonFactoryBL.GetBL().GetHostingUnitsOfHost(host).Count == 0)
     {
         MessageBox.Show("You don't have any hosting unit.", "Error!", MessageBoxButton.OK, MessageBoxImage.Error);
     }
     else
     {
         Window updateHostingUnit = new UpdateHostingUnit(host);
         updateHostingUnit.Show();
         this.Close();
     }
 }