コード例 #1
0
        public override void Execute(object parameter)
        {
            Debug.Assert(EditViewModel.SelectedItems[0] is Molecule);
            var selMolecule = EditViewModel.SelectedItems[0] as Molecule;

            EditViewModel.FlipMolecule(selMolecule, false, false);
        }
コード例 #2
0
        public override void Execute(object parameter)
        {
            var  selMolecule = EditViewModel.SelectedItems[0] as Molecule;
            bool flipStereo  = KeyboardUtils.HoldingDownShift();

            EditViewModel.FlipMolecule(selMolecule, false, flipStereo);
        }
コード例 #3
0
        public override void Execute(object parameter)
        {
            var selMolecule = EditViewModel.SelectedItems[0] as Molecule;

            EditViewModel.FlipMolecule(selMolecule, true, false);
        }