Пример #1
0
 private void btnAdd_Click(object sender, System.EventArgs e)
 {
     SpService spService = new SpService();
     new SpServiceAddChangeForm(spService).ShowDialog(this);
     this.bsSpService.set_DataSource(SpService.GetAll());
     this.bsSpService.set_Position(this.bsSpService.IndexOf(spService));
 }
Пример #2
0
 public SpServiceAddChangeForm(SpService spService)
     : this()
 {
     this.m_SpService = spService;
 }
Пример #3
0
 public SpServiceAddChangeForm()
 {
     this.m_SpService = new SpService();
     this.InitializeComponent();
 }