public InteractiveBB84Form(IFormMainWindow presentation, bool manualPosition)
     : this()
 {
     BaseContainer = (IFormParent)presentation;
     if (manualPosition)
     {
         this.StartPosition = FormStartPosition.Manual;
     }
 }
 public ExplorerTuringMachineForm(IFormMainWindow presentation, bool manualPosition)
     : this()
 {
     BaseContainer = (IFormParent)presentation;
     if (manualPosition)
     {
         this.StartPosition = FormStartPosition.Manual;
     }
 }
예제 #3
0
        // CONSTRUCTOR
        public LoggerWindowed(IFormMainWindow parent)
            : base()
        {
            _window = new WindowLogger(this);
            _window.BaseContainer = parent;
            //_window.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            _window.Show();

            LoggerWindowedConfiguration configuration = ((LoggerWindowedConfiguration)this.Configuration);
            ConfigurationItemTextStyle configurationitem = ((ConfigurationItemTextStyle)configuration.findProperty(configuration.idTextStyle));
            configurationitem.OnChange += new EventHandlerConfigurationItem(TextStyleChanged);
            //OnUpdateFont += new EventHandlerUpdateFont(PropagateFont);
            //DoOnUpdateFont(LoggerFont);
        }
 public static IExplorerRandomnessAlgorithm generateRandomnessAlgorithmExplorer(IFormMainWindow baseWindow, bool force)
 {
     if (force)
     {
         return generateRandomnessAlgorithmExplorerForced(baseWindow);
     }
     else
     {
         if (_globalRandomnessAlgorithmExplorer==null)
         {
             _globalRandomnessAlgorithmExplorer = generateRandomnessAlgorithmExplorerForced(baseWindow);
         }
         return _globalRandomnessAlgorithmExplorer;
     }
 }
 public static IExplorerThreads generateThreadExplorer(IFormMainWindow baseWindow, bool force)
 {
     if (force)
     {
         return generateThreadExplorerForced(baseWindow);
     }
     else
     {
         if (_globalThreadExplorer==null)
         {
             _globalThreadExplorer = generateThreadExplorerForced(baseWindow);
         }
         return _globalThreadExplorer;
     }
 }
 public static IExplorerClockRepository generateClockRepositoryExplorer(IFormMainWindow baseWindow, bool force)
 {
     if (force)
     {
         return generateClockRepositoryExplorerForced(baseWindow);
     }
     else
     {
         if (_globalClockRepositoryExplorer == null)
         {
             _globalClockRepositoryExplorer = generateClockRepositoryExplorerForced(baseWindow);
         }
         return _globalClockRepositoryExplorer;
     }
 }
예제 #7
0
        // CONSTRUCTOR
        public LoggerWindowed(IFormMainWindow parent)
            : base()
        {
            _window = new WindowLogger(this);
            _window.BaseContainer = parent;
            //_window.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            _window.Show();

            OnUpdateFont += new EventHandlerUpdateFont(PropagateFont);
            OnUpdateForeColor += new EventHandlerUpdateColor(PropagateForeColor);
            OnUpdateBackColor += new EventHandlerUpdateColor(PropagateBackColor);
            DoOnUpdateFont(LoggerFont);
            DoOnUpdateForeColor(ForeColor);
            DoOnUpdateBackColor(BackColor);
        }
 public static IExplorerClock generateClockExplorer(IFormMainWindow baseWindow)
 {
     return new ExplorerClockForm(baseWindow);
 }
 public static IExplorerClockEvolution generateClockEvolutionExplorer(IFormMainWindow baseWindow)
 {
     return generateClockEvolutionExplorer(baseWindow, false);
 }
 public static IInteractiveAllTesters generateInteractiveAllTesters(IFormMainWindow presentation, bool manualPosition)
 {
     return new InteractiveAllTesters(presentation, manualPosition);
 }
 public static IExplorerCycle generateCycleExplorer(IFormMainWindow baseWindow)
 {
     return new ExplorerCycleForm(baseWindow);
 }
 public ExplorerBlochSphere3D(IFormMainWindow presentation)
     : this()
 {
     BaseContainer = (IFormParent)presentation;
 }
 public static IExplorerRandomnessAlgorithm generateRandomnessAlgorithmExplorer(IFormMainWindow baseWindow)
 {
     return generateRandomnessAlgorithmExplorer(baseWindow,false);
 }
 public ExplorerRandomnessAlgorithmForm(IFormMainWindow BaseWindow)
     : this()
 {
     BaseContainer = (IFormParent)BaseWindow;
 }
 public ExplorerClockForm(IFormMainWindow BaseWindow)
     : this()
 {
     BaseContainer = (IFormParent)BaseWindow;
 }
 public static IExplorerClockRepository generateClockRepositoryExplorerForced(IFormMainWindow baseWindow)
 {
     ExplorerClockRepositoryForm result = new ExplorerClockRepositoryForm(baseWindow);
     result.FormClosed += new System.Windows.Forms.FormClosedEventHandler(ClockRepositoryExplorerClosed);
     return result;
 }
 public static IExplorerClockRepository generateClockRepositoryExplorer(IFormMainWindow baseWindow)
 {
     return generateClockRepositoryExplorer(baseWindow, false);
 }
 public static IExplorerThreads generateThreadExplorer(IFormMainWindow baseWindow)
 {
     return generateThreadExplorer(baseWindow,false);
 }
 public ExplorerAutomataForm(IFormMainWindow BaseWindow)
     : this()
 {
     BaseContainer = (IFormParent)BaseWindow;
 }
 public static IInteractiveBB84 generateInteractiveBB84(IFormMainWindow presentation, bool manualPosition)
 {
     return new InteractiveBB84Form(presentation, manualPosition);
 }
 public static IExplorerThreads generateThreadExplorerForced(IFormMainWindow baseWindow)
 {
     ExplorerThreadsForm result = new ExplorerThreadsForm(baseWindow);
     result.FormClosed += new System.Windows.Forms.FormClosedEventHandler(RandomnessAlgorithmClosed);
     return result;
 }
 public ExplorerChannelStationForm(IFormMainWindow BaseWindow)
     : this()
 {
     BaseContainer = (IFormParent)BaseWindow;
 }
 public static IExplorerChannelStation generateControllerStation(IFormMainWindow baseWindow)
 {
     return new ExplorerChannelStationForm(baseWindow);
 }
예제 #24
0
 public static IBlochSphere generateSphere3D(IFormMainWindow presentation)
 {
     return new ExplorerBlochSphere3D(presentation);
 }