Esempio n. 1
0
 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();
         }
     }
 }
Esempio n. 2
0
 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 ();
         }
     }
 }
Esempio n. 3
0
        private void buttonAdd_Click(object sender, EventArgs e)
        {
            GemFeatureForm gemForm = new GemFeatureForm(servis, listBoxGem, comboBoxColor);

            gemForm.Show();
        }
Esempio n. 4
0
 private void buttonAdd_Click( object sender, EventArgs e )
 {
     GemFeatureForm gemForm = new GemFeatureForm (servis, listBoxGem, comboBoxColor);
     gemForm.Show ();
 }