示例#1
0
        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();
            }
        }
示例#2
0
        private void WeightMaterials_OnClick(object sender, RoutedEventArgs e)
        {
            WindowContainerSettings window = new WindowContainerSettings();

            window.Show();
        }