Example #1
0
        private void newSectorToolStripMenuItem_Click(object sender, System.EventArgs e)
        {
            this.tabControl.SelectedTab = this.sectorsTabPage;
            CreateEditSectorForm form = new CreateEditSectorForm();

            form.ShowDialog(this);
        }
Example #2
0
        private void sectorBindingNavigatorEditItem_Click(object sender, System.EventArgs e)
        {
            IndustrialSector sectorToEdit = (IndustrialSector)sectorsBindingSource.Current;

            CreateEditSectorForm form = new CreateEditSectorForm(sectorToEdit, true /*editMode*/);

            form.ShowDialog(this);
        }
Example #3
0
        private void sectorBindingNavigatorAddNewItem_Click(object sender, System.EventArgs e)
        {
            CreateEditSectorForm form = new CreateEditSectorForm();

            form.ShowDialog(this);
        }
 private void newSectorToolStripMenuItem_Click(object sender, System.EventArgs e)
 {
     this.tabControl.SelectedTab = this.sectorsTabPage;
     CreateEditSectorForm form = new CreateEditSectorForm();
     form.ShowDialog(this);
 }
        private void sectorBindingNavigatorEditItem_Click(object sender, System.EventArgs e)
        {
            IndustrialSector sectorToEdit = (IndustrialSector)sectorsBindingSource.Current;

            CreateEditSectorForm form = new CreateEditSectorForm(sectorToEdit, true /*editMode*/);

            form.ShowDialog(this);
        }
 private void sectorBindingNavigatorAddNewItem_Click(object sender, System.EventArgs e)
 {
     CreateEditSectorForm form = new CreateEditSectorForm();
     form.ShowDialog(this);
 }