Ejemplo n.º 1
0
        public ActionLayout()
        {
            InitializeComponent();
            ActionLayoutViewModel temp = ActionLayoutViewModel.instance;

            temp.layout      = this;
            this.DataContext = temp;
        }
Ejemplo n.º 2
0
        public ActionLayout(CongVanManager.CongVan input, DocType bt)
        {
            InitializeComponent();
            ActionLayoutViewModel inst = ActionLayoutViewModel.instance;

            inst.selectedCongVan = input;
            inst.BoxType         = bt;
            inst.layout          = this;
            this.DataContext     = inst;
        }