예제 #1
0
        private void addBtn_Click(object sender, EventArgs e)
        {
            buttonstatadd = true;
            AddPackagesfrm addPackage = new AddPackagesfrm();

            addPackage.buttonstatadd = buttonstatadd;
            addPackage.ShowDialog();
            Display();
        }
예제 #2
0
        private void modifyBtn_Click(object sender, EventArgs e)
        {
            AddPackagesfrm addPackage = new AddPackagesfrm();

            //PackagesFrm addPackage = new PackagesFrm();

            addPackage.currentPackage = currentPackage;
            addPackage.buttonstatadd  = false;
            addPackage.ShowDialog();
            //context.SaveChanges();
            Display();
        }