private void second_material_pic_MouseEnter(object sender, MouseEventArgs e) { if (mttarget2 == 0) { return; } prop_smdetail a = new prop_smdetail(); a.pos = mttarget2; a.updatemess(); prop2frame.Visibility = Visibility.Visible; prop2frame.Navigate(a); }
private void tomaterial_MouseEnter(object sender, MouseEventArgs e) { if (select == 0) { return; } prop_smdetail a = new prop_smdetail(); a.pos = target[select]; a.updatemess(); prop2detail.Visibility = Visibility.Visible; prop2detail.Navigate(a); }