private frmPrograms programsForm; //Form that was used to open this form /** * * This function is used to initialixe this component * * @param progFrm: is the program form that is being passed in so that it can be manipulated * **/ public frmAddPrograms(frmPrograms progFrm) { // Initialize component InitializeComponent(); // Set the form variable this.programsForm = progFrm; }
private frmPrograms progFrm; //Form that will be manipulated /** * * This function is used to initialize this form * * @param program: is the program to edit * @param progForm: is the programs form that is passed so that modifications can be made to it * **/ public frmEditPrograms(Programs program, frmPrograms progForm) { // Initialize the component InitializeComponent(); // Set the class variables this.program = program; this.progFrm = progForm; }
frmPrograms progFrm; // the form that was used to open this form /** * * This function is used to initialize the form * * @param linkSection: is the element to link a course to * @param progForm: is the form that is used to manipulate * **/ public frmLinkPrograms(string linkSection, frmPrograms progForm) { // Initialize component InitializeComponent(); // Set Class variables this.linkSection = linkSection; this.progFrm = progForm; }
private frmPrograms progFrm; //the form that was used to open this form /** * * This meethod is used to initialize the component and set the class variables * * @param program: is the program to be removed * @param frmProg: is the programs form that is passed in so that modifications can be made to it * **/ public frmRemovePrograms(Programs program, frmPrograms frmProg) { // Initialize the component InitializeComponent(); // Set the class variables this.program = program; this.progFrm = frmProg; }
public frmProgramsReport(frmPrograms progForm) { InitializeComponent(); this.progFrm = progForm; }