private void ElValueBox_OnMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { if (TypeMaterial != 0) { var window = new WindowWeight(_opcName, TypeMaterial); window.Show(); } if (ContainerItem != 0) { var window = new WindowContainerSettings(new ContainerSettingsViewModel(_opcName, ContainerItem)); window.Show(); } }
private void WeightMaterials_OnClick(object sender, RoutedEventArgs e) { WindowContainerSettings window = new WindowContainerSettings(); window.Show(); }