示例#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();
         }
     }
 }
示例#2
0
文件: MainForm.cs 项目: Geiko/ADO_NET
 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 ();
         }
     }
 }
示例#3
0
        private void buttonAdd_Click(object sender, EventArgs e)
        {
            GemFeatureForm gemForm = new GemFeatureForm(servis, listBoxGem, comboBoxColor);

            gemForm.Show();
        }
示例#4
0
文件: MainForm.cs 项目: Geiko/ADO_NET
 private void buttonAdd_Click( object sender, EventArgs e )
 {
     GemFeatureForm gemForm = new GemFeatureForm (servis, listBoxGem, comboBoxColor);
     gemForm.Show ();
 }