/*
* Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: MIT-0
*
* Description: Window to view instances associated with an auto scaling group
*/
using AWS.AutoScale.Console.DataBinding;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace AWS.AutoScale.Console
{
///
/// Interaction logic for InstancesWindow.xaml
///
public partial class InstancesWindow : Window
{
public ViewModel Model;
///
/// InstancesWindow constructor
///
public InstancesWindow()
{
InitializeComponent();
//this.DataContext = this.Model;
}
///
/// InstancesWindow constructor
///
/// Master View Model for ASG console
public InstancesWindow(ViewModel model)
: this()
{
this.DataContext = model;
}
///
/// Event handler for close button
///
///
///
private void CloseButton_Click(object sender, RoutedEventArgs e)
{
this.Close();
}
}
}