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

            form.ShowDialog(this);
        }
示例#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);
        }
示例#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);
 }