Ejemplo n.º 1
0
        private void tabDoan_AddBtn_Click(object sender, EventArgs e)
        {
            DoanKhach_Form form = _serviceProvider.GetRequiredService <DoanKhach_Form>();
            var            main = this.Location;

            form.Location = new Point((main.X + 10), (main.Y + 10));
            form.Show();
        }
Ejemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            HanhKhach_Form HK = _service.GetRequiredService <HanhKhach_Form>();

            HK.Show();
            DoanKhach_Form DK = _service.GetRequiredService <DoanKhach_Form>();

            DK.Show();
        }