コード例 #1
0
        public Modul_Pembelian_PurchaseOrder(MainForm mf)
        {
            InitializeComponent();
            allFunc = new AllFunc("Purchase Order",mf);
            dbo = new DbObject();

            this.mf = mf;
        }
 public Modul_Pembelian_InputBarangPopup(Modul_Pembelian pembelian)
 {
     InitializeComponent();
     this.pembelian = pembelian;
     this.allFunc = new AllFunc();
     this.allFunc.Prefix = "Stock";
     this.dbo = new DbObject();
 }
コード例 #3
0
 public Modul_Kas_Besar(MainForm mf)
 {
     InitializeComponent();
     allFunc = new AllFunc("Kas besar", mf);
     obj = new JurnalUmum();
     subObj = new SubJurnalUmum();
     kas = new Kas();
     dbo = new DbObject();
 }
コード例 #4
0
 public Modul_Kas_Kecil()
 {
     InitializeComponent();
     allFunc = new AllFunc("Kas kecil", null);
     obj = new JurnalUmum();
     subObj = new SubJurnalUmum();
     kas = new Kas();
     dbo = new DbObject();
 }
コード例 #5
0
 public Modul_POS()
 {
     InitializeComponent();
     this.KeyPreview = true;
     allfunc = new AllFunc() ;
     dbo = new DbObject();
     Clock = new Timer();
     Clock.Interval = 1000;
     Clock.Start();
     Clock.Tick += new EventHandler(Timer_Tick);
     timeClockLbl.Text = GetTime();
     dateLbl.Text = GetDate();
 }
コード例 #6
0
 public Modul_Pembelian()
 {
     InitializeComponent();
     allFunc = new AllFunc();
     beli = new Beli();
     subBeli = new SubBeli();
     dbo = new DbObject();
     obj = new JurnalUmum();
     subObj = new SubJurnalUmum();
     kas = new Kas();
     utang = new Utang();
     //stock = new Stock();
     //terimaBarng = new TerimaBarang();
     //subTerimaBarang = new SubTerimaBarang();
 }
コード例 #7
0
        public Modul_Pembayaran(Modul_POS modulPos,Login login)
        {
            InitializeComponent();
            this.modulPos = modulPos;
            allfunc = new AllFunc();
            string[] custDataArr = modulPos.getCustomer();
            if (custDataArr[0].CompareTo("") == 0)
            {
                kodePelangganTxt.Text = "TUNAI";
                namaKodePelangganTxt.Text = "TUNAI";
                namaPasienTxt.Text = "TUNAI";
                alamatPasienTxt.Text = "";
                alamatTxt.Text = "";
            }
            else
            {
                kodePelangganTxt.Text = custDataArr[0];
                namaKodePelangganTxt.Text = custDataArr[1];
                namaPasienTxt.Text = custDataArr[1];
                alamatPasienTxt.Text = custDataArr[2];
                alamatTxt.Text = custDataArr[2];
            }
            this.jumlahPenjualan = modulPos.jumlahPenjualan;
            this.jumlahDiskon = modulPos.jumlahDiskon;
            this.jumlahPenjualanBruto = modulPos.jumlahPenjualanBruto;
            nettoTxt.Text = allfunc.digit_separated(Convert.ToString(this.jumlahPenjualan));
            discountRPTxt.Text = allfunc.digit_separated(Convert.ToString(modulPos.jumlahDiskon));

            dbo = new DbObject();
            kas = new Kas();
            obj = new JurnalUmum();
            subObj = new SubJurnalUmum();
            piutang = new Piutang();
            stock = new Stock();
            stockGudang = new StockGudang();
            noBon = new NoBon();
            jual = new Jual();
            subjual = new SubJual();
            returJual = new RetJual();
            returSubJual = new RetSubJual();
            racikan = new Racikan();
            jasa = new Jasa();
            this.login = login;
            label15.Visible = false;
            kasir = login.username;
        }
コード例 #8
0
 public Modul_Pembayaran()
 {
     InitializeComponent();
     allfunc = new AllFunc();
     dbo = new DbObject();
     kas = new Kas();
     obj = new JurnalUmum();
     subObj = new SubJurnalUmum();
     piutang = new Piutang();
     stock = new Stock();
     stockGudang = new StockGudang();
     noBon = new NoBon();
     jual = new Jual();
     subjual = new SubJual();
     returJual = new RetJual();
     returSubJual = new RetSubJual();
     racikan = new Racikan();
     jasa = new Jasa();
     label15.Visible = false;
 }
コード例 #9
0
 public Modul_Pembelian_PurchaseOrder()
 {
     InitializeComponent();
     allFunc = new AllFunc();
     dbo = new DbObject();
 }
コード例 #10
0
 public Modul_Barang_Penerimaan(MainForm mf)
 {
     InitializeComponent();
     allFunc = new AllFunc("Penerimaan Barang", mf);
     this.mf = mf;
 }
コード例 #11
0
 public Modul_Data_JasaDokter()
 {
     InitializeComponent();
     obj = new JasaDokter();
     allFunc = new AllFunc("jasa dokter", null);
 }
コード例 #12
0
 public Modul_Data_JasaDokter(MainForm mf)
 {
     InitializeComponent();
     obj = new JasaDokter();
     allFunc = new AllFunc("jasa dokter", mf);
 }