예제 #1
0
        public TPadWindow(TPadProfile profile, ITPadAppLauncher launcher, TPadCore core)
        {
            SizeMultiplier = 0.75; // This makes the window smaller when using a single monitor set-up -- for development
              Launcher = launcher;
              Profile = profile;
              Core = core;

              InitializeComponent();
        }
예제 #2
0
        public Simulator(ITPadAppLauncher launcher, TPadProfile profile)
        {
            Launcher = launcher;
              Profile = profile;
              AppInstances = new ObservableCollection<ITPadApp>();

              InitializeComponent();
              iDocument.SizeChanged += new SizeChangedEventHandler(iDocument_SizeChanged);

              ActualDocument = GetDocument("Blank", 0);
        }