private void listBoxGem_MouseDoubleClick(object sender, MouseEventArgs e) { if (this.listBoxGem.Items.Count != 0) { if (this.listBoxGem.SelectedItem != null) { GemFeatureForm formEdit = new GemFeatureForm(servis, listBoxGem, comboBoxColor, ( Gem )this.listBoxGem.SelectedItem); formEdit.Show(); } } }
private void listBoxGem_MouseDoubleClick( object sender, MouseEventArgs e ) { if ( this.listBoxGem.Items.Count != 0 ) { if ( this.listBoxGem.SelectedItem != null ) { GemFeatureForm formEdit = new GemFeatureForm ( servis, listBoxGem, comboBoxColor, ( Gem ) this.listBoxGem.SelectedItem ); formEdit.Show (); } } }
private void buttonAdd_Click(object sender, EventArgs e) { GemFeatureForm gemForm = new GemFeatureForm(servis, listBoxGem, comboBoxColor); gemForm.Show(); }
private void buttonAdd_Click( object sender, EventArgs e ) { GemFeatureForm gemForm = new GemFeatureForm (servis, listBoxGem, comboBoxColor); gemForm.Show (); }