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

            groupBox1.Enabled = false;
            groupBox1.Refresh();

            progressBar1.Visible = true;
            label_Wait.Visible   = true;

            UpdateAveragePrice();
            CalculateItemValue();

            MessageBox.Show(this.Text + " berhasil dilakukan!!", AppCode.AssemblyProduct, MessageBoxButtons.OK, MessageBoxIcon.Information);
            //this.Close();


            f_ViewReport = new FormViewReport();
            f_ViewReport.lbl_UserName.Text = lbl_UserName.Text;
            f_ViewReport.listOfReports     = ListOfReports.ReportLabaRugi;
            f_ViewReport.DataId            = period;
            f_ViewReport.Show(this);
        }
Example #2
0
        private void toolStripButton_Cetak_Click(object sender, EventArgs e)
        {
            FormViewReport f_Report = new FormViewReport();

            f_Report.listOfReports = ListOfReports.ReportSPKFactur;
            f_Report.DataId        = transactionIdLabel.Text;
            f_Report.Show(this);
        }
Example #3
0
 private void OpenFormViewReport()
 {
     f_ViewReport = new FormViewReport();
     f_ViewReport.lbl_UserName.Text = toolStripStatusLabelLoginName.Text;
 }