private void btnBack_Click(object sender, EventArgs e)
        {
            switch (this.indexform)
            {
            case 0:
            {
                fVehicle f = new fVehicle(formQuanLyXeGui);
                formQuanLyXeGui.openChildForm(f);
                break;
            }

            case 1:
            {
                fotherServices_Park f = new fotherServices_Park(formQuanLyXeGui);
                formQuanLyXeGui.openChildForm(f);
                break;
            }

            case 2:
            {
                fotherServices_Fix f = new fotherServices_Fix(formQuanLyXeGui);
                formQuanLyXeGui.openChildForm(f);
                break;
            }

            case 3:
            {
                fotherServices_Wash f = new fotherServices_Wash(formQuanLyXeGui);
                formQuanLyXeGui.openChildForm(f);
                break;
            }
            }
        }
Beispiel #2
0
        public void BacktoOther()
        {
            fotherServices_Park f = new fotherServices_Park(this.formQuanLyXeGui);

            this.formQuanLyXeGui.openChildForm(f);
        }