Пример #1
0
 public Expand(Models.KhachHang kh)
 {
     InitializeComponent();
     this.Icon                       = new BitmapImage(new Uri("Appico.ico", UriKind.RelativeOrAbsolute));
     vm                              = new ViewModels.ExpandViewModel(kh);
     this.DataContext                = vm;
     ComboboxColumn.ItemsSource      = vm.CbbLQHData;
     ComboboxLoaiCuocGoi.ItemsSource = vm.CbbLoaiCuocGoiData;
 }
Пример #2
0
        public MakeCall(Models.KhachHang kh)
        {
            InitializeComponent();
            this.Icon        = new BitmapImage(new Uri("Appico.ico", UriKind.RelativeOrAbsolute));
            vm               = new ViewModels.MakeCallViewModel(kh);
            this.DataContext = vm;


            // define the dialog buttons
            this.Buttons = new Button[] { this.CancelButton };
        }