Ejemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="l">Reference to LauncherController</param>
 public PoolController(LauncherController l)
 {
     Launcher = l;
     Computers = new List<Computer>();
     FilePath = Launcher.Settings.ClientFilePath;
     LoadFile();
 }
Ejemplo n.º 2
0
 public MainForm()
 {
     InitializeComponent();
     Launcher = new LauncherController();
     Launcher.Forms.Main = this;
     IsConsoleEnabled = Launcher.Settings.EnableConsole;
 }
Ejemplo n.º 3
0
 public FormController(LauncherController launcher)
 {
     Launcher = launcher;
     Console = new ConsoleForm(launcher);
     Wait = new WaitForm(launcher);
     Browser = new BrowserForm(launcher);
     Auth = new AuthenticationForm(launcher);
 }
Ejemplo n.º 4
0
        public RunspaceController(LauncherController l)
        {
            Launcher = l;
            myLog = new LogConroller();

            //Startup = new List<string>();
            Exceptions = new List<string>();
        }
Ejemplo n.º 5
0
 public WaitForm(LauncherController lc)
 {
     Launcher = lc;
     preventClose = true;
     m_waitText = "";
     m_fontSize = 25;
     m_Borders = 33;
     InitializeComponent();
 }
Ejemplo n.º 6
0
        /// <summary>
        /// Constructor of BrowserForm
        /// </summary>
        /// <param name="lc">LauncherController reference</param>
        public BrowserForm(LauncherController lc)
        {
            Launcher = lc;
            InitializeComponent();
            PreventClose = false;

            lastClick = DateTime.MinValue;
            lastEntry = DateTime.MinValue;
        }
Ejemplo n.º 7
0
        public DeviceController(LauncherController lc)
        {
            Launcher = lc;

            //Keyboard & Mouse Hoocks
            m_KeyboardHookManager = new KeyboardHookListener(new GlobalHooker());
            m_KeyboardHookManager.Enabled = false;
            m_MouseHookManager = new MouseHookListener(new GlobalHooker());
            m_MouseHookManager.Enabled = false;
        }
Ejemplo n.º 8
0
        public ConsoleForm(LauncherController launcher)
        {
            InitializeComponent();
            Launcher = launcher;

            RefreshClientList();
            InitScreens();

            PreventClose = true;
            IsPoolDialog = false;
            IsCommandDialog = false;
            IsScreenDialog = false;
        }
Ejemplo n.º 9
0
 public AuthenticationForm(LauncherController l)
 {
     Launcher = l;
     preventClose = false;
     authenticationType = 1; //"Token Based Security";
     uid = "";
     password = "";
     loginTime = DateTime.MinValue.ToString();
     trials = 0;
     login = false;
     postAuthScript = "";
     dtTokens = InitTokens();
     pingUrl = "pingauth.aspx?u=@uid@";
     pingResult = "";
 }