Ejemplo n.º 1
0
 public bool OnDocumentProjectClosed(bool force)
 {
     if (force || !ResourcesHandler.Project.Dirty || ShowPopupCloseDocuments(ResourcesHandler.Project, new List <Dialogue>()))
     {
         documentProject = null;
         return(true);
     }
     return(false);
 }
Ejemplo n.º 2
0
        public void OpenDocumentProject()
        {
            if (documentProject != null)
            {
                documentProject.Activate();   //OnActiveDocumentChanged will handle the refresh
                return;
            }

            documentProject = new DocumentProject();
            documentProject.Show(dockPanel, DockState.Document);
        }
Ejemplo n.º 3
0
        public DialogVoiceActors(DocumentProject inDocument, VoiceActor inActor)
        {
            InitializeComponent();

            document = inDocument;
            actor    = inActor;

            listBoxLanguages.DataSource    = new BindingSource(ResourcesHandler.Project.ListLanguages, null);
            listBoxLanguages.DisplayMember = "Name";

            ready = true;
        }