Esempio n. 1
0
        private void btnbuscar_Click(object sender, EventArgs e)
        {
            this.Hide();
            Form frm = new BuscarNotaria(this);

            frm.StartPosition = FormStartPosition.Manual;
            frm.Location      = new Point(this.Location.X + (this.Width - frm.Width) / 2, this.Location.Y + (this.Height - frm.Height) / 2);
            frm.Show(this);
        }
Esempio n. 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            checkNotariaManual.Checked = false;
            radioAutomatica.Checked    = true;

            this.Hide();
            Form frm = new BuscarNotaria(this);

            frm.StartPosition = FormStartPosition.Manual;
            frm.Location      = new Point(this.Location.X + (this.Width - frm.Width) / 2, this.Location.Y + (this.Height - frm.Height) / 2);
            frm.Show(this);
        }