Beispiel #1
0
        private void button_OK_Click(object sender, EventArgs e)
        {
            if (!ValidateClosing())
            {
                return;
            }

            groupBox1.Enabled    = false;
            progressBar1.Visible = true;
            label_Wait.Visible   = true;

            UpdateAveragePrice();
            CalculateItemValue();

            MessageBox.Show(this.Text + " berhasil dilakukan!!", AppCode.AssemblyProduct, MessageBoxButtons.OK, MessageBoxIcon.Information);
            f_ViewReport = new FormViewReport();
            f_ViewReport.lbl_UserName.Text = lbl_UserName.Text;
            f_ViewReport.listOfReports     = ListOfReports.ReportNeraca;
            f_ViewReport.DataId            = period;
            f_ViewReport.Show(this);
        }
Beispiel #2
0
        private void laporanPembelianToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OpenFormViewReport();
            f_ViewReport.listOfReports              = ListOfReports.ReportTransactionDetail;
            f_ViewReport.listOfTransaction          = ListOfTransaction.Purchase;
            f_ViewReport.ShowLocationIdPanel        = true;
            f_ViewReport.ShowGudangIdPanel          = true;
            f_ViewReport.ShowTransactionByPanel     = true;
            f_ViewReport.ShowTransactionDatePanel   = true;
            f_ViewReport.ShowTransactionDateToPanel = true;
            f_ViewReport.ShowFilterByDatePanel      = true;

            f_ViewReport.Show(dockPanel1);
        }