Exemplo n.º 1
0
 public VacancyForm(DataModule dm, MainForm mnu)
 {
     InitializeComponent();
     DM      = dm;
     frmMenu = mnu;
     BindControls();
 }
Exemplo n.º 2
0
 public STVacancyForm(DataModule dm, MainForm mnu)
 {
     InitializeComponent();
     DM        = dm;
     frmMenu   = mnu;
     cmSkill   = (CurrencyManager)this.BindingContext[DM.lookingGlassDS, "Skill"];
     cmVacancy = (CurrencyManager)this.BindingContext[DM.lookingGlassDS, "Vacancy"];
     cmVVS     = (CurrencyManager)this.BindingContext[DM.lookingGlassDS, "Vacancy.Vacancy_VacancySkill"];
     BindControls();
 }
Exemplo n.º 3
0
 public STCandidateForm(DataModule dm, MainForm mnu)
 {
     InitializeComponent();
     DM          = dm;
     frmMenu     = mnu;
     cmSkill     = (CurrencyManager)this.BindingContext[DM.lookingGlassDS, "Skill"];
     cmCandidate = (CurrencyManager)this.BindingContext[DM.lookingGlassDS, "Candidate"];
     cmCCS       = (CurrencyManager)this.BindingContext[DM.lookingGlassDS, "Candidate.Candidate_CandidateSkill"];
     BindControls();
 }
Exemplo n.º 4
0
 public CandidateMaintenanceForm(DataModule dm, MainForm mnu)
 {
     InitializeComponent();
     DM      = dm;
     frmMenu = mnu;
     BindControls();
     pnlAddCandidate.Left    = 210;
     pnlAddCandidate.Top     = 25;
     pnlUpdateCandidate.Left = 210;
     pnlUpdateCandidate.Top  = 25;
 }
Exemplo n.º 5
0
 public VacancyMaintenanceForm(DataModule dm, MainForm mnu)
 {
     InitializeComponent();
     DM      = dm;
     frmMenu = mnu;
     BindControls();
     pnlAddVacancy.Left    = 210;
     pnlAddVacancy.Top     = 20;
     pnlUpdateVacancy.Left = 210;
     pnlUpdateVacancy.Top  = 20;
 }
Exemplo n.º 6
0
 public EmployerMaintenanceForm(DataModule dm, MainForm mnu)
 {
     //Add reference for a currencyManager and change the constructor to accept the DataModule and Mainform Reference
     InitializeComponent();
     DM      = dm;
     frmMenu = mnu;
     BindControls();
     pnlAddEmployer.Left    = 200;
     pnlAddEmployer.Top     = 40;
     pnlUpdateEmployer.Left = 200;
     pnlUpdateEmployer.Top  = 40;
 }
Exemplo n.º 7
0
        private Boolean canSave = false; //To deside if eath loop meet the condition

        public ApplicationMaintenanceForm(DataModule dm, MainForm mnu)
        {
            InitializeComponent();
            DM      = dm;
            frmMenu = mnu;
            pnlAddApplication.Left = 220;
            pnlAddApplication.Top  = 25;
            cmApplication          = (CurrencyManager)this.BindingContext[DM.dsLookingGlass, "Application"];
            cmVacancy        = (CurrencyManager)this.BindingContext[DM.dsLookingGlass, "Vacancy"];
            cmEmployer       = (CurrencyManager)this.BindingContext[DM.dsLookingGlass, "Employer"];
            cmCandidate      = (CurrencyManager)this.BindingContext[DM.dsLookingGlass, "Candidate"];
            cmVacancySkill   = (CurrencyManager)this.BindingContext[DM.dsLookingGlass, "VacancySkill"];
            cmCandidateSkill = (CurrencyManager)this.BindingContext[DM.dsLookingGlass, "CandidateSkill"];
            BindControls();
        }
Exemplo n.º 8
0
 public CandidatesReportForm(DataModule dm, MainForm mnu)
 {
     InitializeComponent();
     DM      = dm;
     frmMenu = mnu;
 }
Exemplo n.º 9
0
        private VacancyForm frmVacancy;                       //the reference to the Vacancy Form

        //create the data module and load the dataset
        private void MainForm_Load(object sender, EventArgs e)
        {
            DM = new DataModule();
        }
Exemplo n.º 10
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     DM = new DataModule();//create the data module and load the dataset
 }