Ejemplo n.º 1
0
 private void btnprint_Click(object sender, EventArgs e)
 {
     if (dataGridView1.Rows.Count > 0)
     {
         REPORTCLASS s = new REPORTCLASS();
         s.showsales(dateTimePicker1.Value.ToShortDateString(), dateTimePicker2.Value.ToShortDateString(), comboBox2.Text, dataGridView1);
     }
     else
     {
         MessageBox.Show("NO RECORDS TO PRINT!");
     }
 }
Ejemplo n.º 2
0
    void manifest()
    {
        REPORTCLASS r = new REPORTCLASS();

        r.showmanifestreport(cmbportfrom.Text, lbltrans.Text, comboBox1.Text.ToUpper(), txtcaptain.Text.ToUpper(), txtcapacity.Text, dtparrivalime.Text, dtparrivalime.Value.AddMinutes(15).ToString(), cmbport.Text.ToUpper(), dataGridView1);
    }
Ejemplo n.º 3
0
    void reportcard()
    {
        REPORTCLASS rc = new REPORTCLASS();

        rc.showreportCard(lblidno.Text, (lblfname.Text.ToUpper() + ' ' + lblmname.Text.Substring(0, 1).ToUpper() + ' ' + lblsname.Text.ToUpper()), (lbladd.Text.ToUpper() + ' ' + lblbdate.Text), DateTime.Now.ToShortDateString(), pictureBox1);
    }
Ejemplo n.º 4
0
    void manifest()
    {
        REPORTCLASS r = new REPORTCLASS();

        r.showmanifestreport(txtportfrom.Text, txttrans.Text, txtferryname.Text.ToUpper(), txtcapt.Text.ToUpper(), txtcapacity.Text, txttimearrival.Text, txttimearrival.Text, txtportto.Text.ToUpper(), dataGridView1);
    }