Ejemplo n.º 1
0
        private void label2_Click(object sender, EventArgs e)
        {
            FormRekap fp = new FormRekap();

            fp.TopLevel = false;
            SplitContainer1.Panel2.Controls.Add(fp);
            fp.Show();
            fp.BringToFront();
        }
Ejemplo n.º 2
0
 public FormCari(FormRekap frm)
 {
     InitializeComponent();
     dbcn = new DBConnect();
     frm2 = frm;
     backgroundWorker1.DoWork += new DoWorkEventHandler(backgroundWorker1_DoWork);
     backgroundWorker1.RunWorkerCompleted += new RunWorkerCompletedEventHandler(backgroundWorker1_RunWorkerCompleted);
     backgroundWorker1.ProgressChanged += new ProgressChangedEventHandler(backgroundWorker1_ProgressChanged);
     backgroundWorker1.WorkerReportsProgress = true;
     backgroundWorker1.WorkerSupportsCancellation = true;
 }