Beispiel #1
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();
 }
Beispiel #2
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();
     }
 }