Ejemplo n.º 1
0
        public ToolboxWindow(MainWindow main, LogReader log, Settings settings)
        {
            InitializeComponent();

            _mainWindow = main;
            _logReader  = log;
            _settings   = settings;
        }
Ejemplo n.º 2
0
        // Form Interaction
        private void MainWindow_Load(object sender, EventArgs e)
        {
            settings = Settings.LoadSettings();

            SetProfileVisible(false);

            if (settings.HideProfiles)
            {
                HideProfileView();
            }

            if (!settings.ShowProfilePictures)
            {
                profileName.Location     = new Point(20, 13);
                profileRealName.Location = new Point(21, 37);
                profileLocation.Location = new Point(21, 97);
            }

            _logReader          = new LogReader();
            _logReader.NewHost += OnNewHost;
        }