public void OnSaved(MayhemWpf.UserControls.WpfConfiguration configurationControl)
        {
            LyncStatusChangedConfig config = configurationControl as LyncStatusChangedConfig;

            status = config.Status;
            userId = config.UserId;
        }
예제 #2
0
파일: TimeLog.cs 프로젝트: Cacowned/mayhem
        public void OnSaved(MayhemWpf.UserControls.WpfConfiguration configurationControl)
        {
            var config = (TimeLogConfig)configurationControl;

            filePath = config.File;

            StreamWriter timeLogWriter = new StreamWriter(filePath);

            timeLogWriter.Close();
        }