Exemplo n.º 1
0
 public AddNewButton(MaterialFormMV modelView)
 {
     if (modelView == null)
     {
         throw new ArgumentNullException("Model widoku jest null");
     }
     _modelView = modelView;
 }
Exemplo n.º 2
0
        public MaterialForm()
        {
            InitializeComponent();

            MaterialFormMV materialFormMV = new MaterialFormMV();

            DataContext = materialFormMV;

            FilterMV     filterMV = Resources["filter"] as FilterMV;
            NavigationMV naviMV   = Resources["navi"] as NavigationMV;

            filterMV.SetWindowEdit(materialFormMV);
            naviMV.ModelView            = materialFormMV;
            materialFormMV.NavigationMV = naviMV;
        }
Exemplo n.º 3
0
 public NaviButtonFirst(MaterialFormMV modelView)
 {
     if (modelView == null) throw new ArgumentNullException("Model widoku jest null");
     _modelView = modelView;
 }