public LoginWindow() { InitializeComponent(); fileMapper = new IoController(); myUsers = new UserManagement(fileMapper.GetAppDataDir()); InitializeUI(); }
private void InitializeUI() { Text += " " + GetVersionString(); systemIO = new IoController(); InitializeUserProfile(); FillLists(); }
private void InitializeUI() { Icon = Properties.Resources.MPAid; Text += " " + GetVersionString(); ResMan = new ResManager(); systemIO = new IoController(); //myUsers = new UserManagement(ResMan.GetUserTempPath()); InitializeUserProfile(); tdButtonFormantPlot.ImageNormal = Properties.Resources.ButtonYellow_0; tdButtonFormantPlot.ImageHighlight = Properties.Resources.ButtonYellow_1; tdButtonFormantPlot.ImagePressed = Properties.Resources.ButtonYellow_2; ButtonPlay.ImageNormal = Properties.Resources.ButtonGreen_0; ButtonPlay.ImageHighlight = Properties.Resources.ButtonGreen_1; ButtonPlay.ImagePressed = Properties.Resources.ButtonGreen_2; ButtonStop.ImageNormal = Properties.Resources.ButtonRed_0; ButtonStop.ImageHighlight = Properties.Resources.ButtonRed_1; ButtonStop.ImagePressed = Properties.Resources.ButtonRed_2; RefreshTabState(); ResetPreviewBox(); RefreshAnimationSpeed(); FillLists(); // Add Volume Meter to the form InitializeNAudioController(); VisualizeVolumeMeter(); }