예제 #1
0
        public LapseStudioUI(Platform RunningPlatform, IUIHandler UIHandler, MessageBox MsgBox, FileDialog FDialog)
        {
            this.UIHandler = UIHandler;
            this.MsgBox = MsgBox;
            this.FDialog = FDialog;
            Error.Init(MsgBox);

            Init(RunningPlatform);

            AppDomain currentDomain = AppDomain.CurrentDomain;
            currentDomain.UnhandledException += HandleUnhandledException;

            ProjectManager.BrightnessCalculated += CurrentProject_BrightnessCalculated;
            ProjectManager.FramesLoaded += CurrentProject_FramesLoaded;
            ProjectManager.ProgressChanged += CurrentProject_ProgressChanged;
            ProjectManager.WorkDone += CurrentProject_WorkDone;
            MsgBox.InfoTextChanged += MsgBox_InfoTextChanged;
        }
예제 #2
0
 public static void Init(MessageBox MsgBox)
 {
     Error.MsgBox = MsgBox;
     Filepath = Path.Combine(Timelapse_API.ProjectManager.ApplicationPath, "ErrorLog.txt");
 }
예제 #3
0
 public SettingsUI(MessageBox MsgBox, FileDialog FileDlg)
 {
     this.MsgBox = MsgBox;
     this.FileDlg = FileDlg;
 }