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

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

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

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

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

            init();
        }
예제 #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 + "]";
            }
        }
예제 #7
0
 private void initCommonPage()
 {
     commonPage       = new CommonPage();
     commonPage.Title = "Barang Masuk";
 }
예제 #8
0
 private void iniCommonPage()
 {
     commonPage       = new CommonPage();
     commonPage.Title = "Penetapan";
 }