Exemplo n.º 1
0
 private void showTableKwitansi()
 {
     if ((frontOffice = (fEnFront)alat.FormSudahDibuat(typeof(fEnFront))) == null)
     {
         frontOffice = new fEnFront();
         frontOffice.TopMost = true;
         frontOffice.ShowDialog();
     }
     else
     {
         frontOffice.Select();
         //frontOffice.textBox10.Text = "dasd";
         frontOffice.tambahDaftar(lvTampil.SelectedItems[0].Text, lvTampil.SelectedItems[0].SubItems[1].Text,
             lvTampil.SelectedItems[0].SubItems[2].Text, lvTampil.SelectedItems[0].SubItems[3].Text, lvTampil.SelectedItems[0].SubItems[5].Text,
             lvTampil.SelectedItems[0].SubItems[8].Text);
     }
     this.Close();
 }
Exemplo n.º 2
0
 private void saveToolStripMenuItem_Click(object sender, EventArgs e)
 {
     fEnFront mOpp = new fEnFront();
     mOpp.MdiParent = this;
     mOpp.Size = new Size(this.Width - 15, this.Height - 110);
     mOpp.StartPosition = FormStartPosition.CenterScreen;
     mOpp.Show();
 }
Exemplo n.º 3
0
 private void showTableRek()
 {
     if ((frontOffice = (fEnFront)alat.FormSudahDibuat(typeof(fEnFront))) == null)
     {
         frontOffice = new fEnFront();
         frontOffice.TopMost = true;
         frontOffice.ShowDialog();
     }
     else
     {
         frontOffice.Select();
         frontOffice.showRekening(lvTampil.SelectedItems[0].Text,
             lvTampil.SelectedItems[0].SubItems[1].Text,
             lvTampil.SelectedItems[0].SubItems[3].Text,
             lvTampil.SelectedItems[0].SubItems[5].Text);
     }
     this.Close();
 }
Exemplo n.º 4
0
 private void mBayar_Click(object sender, EventArgs e)
 {
     if ((bayar = (fEnFront)alat.FormSudahDibuat(typeof(fEnFront))) == null)
     {
         bayar = new fEnFront();
         //System.Windows.Forms.ListView lvTampil = (System.Windows.Forms.ListView)cari.Controls["groupBox1"].Controls["lvTampil"];
         //fillTheSearchTable(lvTampil);
         bayar.idOpp = Convert.ToInt16(txtkd_Pos.Text);
         bayar.Size = new System.Drawing.Size(lebarLayar, tinggiLayar);
         bayar.StartPosition = FormStartPosition.CenterScreen;
         bayar.MdiParent = this;
         bayar.Show();
     }
     else
     {
         //System.Windows.Forms.ListView lvTampil = (System.Windows.Forms.ListView)cari.Controls["groupBox1"].Controls["lvTampil"];
         //fillTheSearchTable(lvTampil);
         bayar.idOpp = Convert.ToInt16(txtkd_Pos.Text);
         bayar.Select();
     }
 }