Exemple #1
0
 public void SetParent(CommonPage page)
 {
     if (commonPage != null)
     {
         commonPage.ParentPage = page;
     }
 }
Exemple #2
0
 private void init()
 {
     commonPage          = new CommonPage();
     commonPage.Title    = "Master Barang";
     productTypes        = productTypeService.getProductTypes();
     cmbType.ItemsSource = productTypes;
 }
Exemple #3
0
        private void init()
        {
            commonPage       = new CommonPage();
            commonPage.Title = "Harga Jual";

            loadData();
        }
Exemple #4
0
        public ProductList()
        {
            InitializeComponent();

            commonPage       = new CommonPage();
            commonPage.Title = "LIST Master Barang";
            lblTItle.Text    = commonPage.Title;

            init();
        }
Exemple #5
0
        public ProductStock()
        {
            InitializeComponent();

            commonPage = new CommonPage();
            commonPage.Title = "Stock Barang";
            lblSiteMap.Content = commonPage.Title;

            init();
        }
Exemple #6
0
        private void init()
        {
            commonPage       = new CommonPage();
            commonPage.Title = "Info Barang";

            if (product != null)
            {
                inventories = inventoryService.getProductInventories(product);
                dataGrid.Columns[3].Header = product.Type.Expiration ? "Expired Date" : "Aging Date";

                this.dataGrid.ItemsSource = inventories;

                lblProduct.Text = product.Name + " [" + product.BarCode + "]";
            }
        }
Exemple #7
0
 private void initCommonPage()
 {
     commonPage       = new CommonPage();
     commonPage.Title = "Barang Masuk";
 }
Exemple #8
0
 private void iniCommonPage()
 {
     commonPage       = new CommonPage();
     commonPage.Title = "Penetapan";
 }