コード例 #1
0
        protected override void Show(IDialogVisualizerService windowService, IVisualizerObjectProvider objectProvider)
        {
            var streamReader = new StreamReader(objectProvider.GetData());
            var stateMachineSource = streamReader.ReadToEnd();

            var pointer = (int)stateMachineSource[0];

            var form = new StateMachineVisualiserForm(pointer, stateMachineSource.Substring(1));
            windowService.ShowDialog(form);
        }
コード例 #2
0
        protected override void Show(IDialogVisualizerService windowService, IVisualizerObjectProvider objectProvider)
        {
            var streamReader       = new StreamReader(objectProvider.GetData());
            var stateMachineSource = streamReader.ReadToEnd();

            var pointer = (int)stateMachineSource[0];

            var form = new StateMachineVisualiserForm(pointer, stateMachineSource.Substring(1));

            windowService.ShowDialog(form);
        }