Inheritance: BaseIObservable
        public MetroMessagebox(string caption, string message)
        {
            Owner = Application.Current.MainWindow;
            InitializeComponent();

            viewModel = new MetroMessageBoxVM(caption, message);
            DataContext = viewModel;
        }
Ejemplo n.º 2
0
        public MetroMessagebox(string caption, string message)
        {
            Owner = Application.Current.MainWindow;
            InitializeComponent();

            viewModel   = new MetroMessageBoxVM(caption, message);
            DataContext = viewModel;
        }