Пример #1
0
        private void PlayForm_Load(object sender, EventArgs e)
        {
            Table table;

            // State Name
            string stateId = shadow.GetStateId();

            CommonForm.LoadStateIdTextBoxes(statePrefixTextBox, stateNumberTextBox, stateNameTextBox, stateId);

            // Initialize Prompts
            table = shadow.GetPrompts();
            CommonForm.LoadPromptDataGridView(promptsDataGridView, table);

            // Initialize Transitions
            table = shadow.GetTransitions();
            CommonForm.LoadTransitionDataGridView(transitionsDataGridView, table);

            // Special Settings
            table = shadow.GetSpecialSettings();
            CommonForm.LoadSpecialSettingsTextBox(specialSettingsTextBox, table);

            // Developer Notes
            table = shadow.GetDeveloperNotes();
            CommonForm.LoadDeveloperNotesTextBox(developerNotesTextBox, table);

            // Design Notes
            table = shadow.GetDesignNotes();
            CommonForm.LoadDesignNotesTextBox(designNotesTextBox, table);

            statePrefixTextBox.Focus();
        }
Пример #2
0
        private void SubDialogForm_Load(object sender, EventArgs e)
        {
            Table table;

            // State Name
            string stateId = shadow.GetStateId();

            CommonForm.LoadStateIdTextBoxes(statePrefixTextBox, stateNumberTextBox, stateNameTextBox, stateId);

            // Developer Notes
            table = shadow.GetDeveloperNotes();
            CommonForm.LoadDeveloperNotesTextBox(developerNotesTextBox, table);


            // Design Notes
            table = shadow.GetDesignNotes();
            CommonForm.LoadDesignNotesTextBox(designNotesTextBox, table);

            statePrefixTextBox.Focus();
        }
Пример #3
0
        private void InteractionForm_Load(object sender, EventArgs e)
        {
            Table table;

            // State Name
            string stateId = shadow.GetStateId();

            CommonForm.LoadStateIdTextBoxes(statePrefixTextBox, stateNumberTextBox, stateNameTextBox, stateId);

            // Initialize Prompts
            table = shadow.GetPromptTypes();
            CommonForm.LoadPromptTypeDataGridView(promptsDataGridView, table);

            // Initialize Transitions
            table = shadow.GetCommandTransitions();
            CommonForm.LoadCommandTransitionDataGridView(commandsDataGridView, table);

            // Initialize Confirmations
            table = shadow.GetConfirmationPrompts();
            CommonForm.LoadConfirmationPromptGridView(confirmationDataGridView, table, commandsDataGridView);

            // Initialize MaxHandling
            table = shadow.GetMaxHandling();
            CommonForm.LoadMaxHandlingGridView(maxHandlingDataGridView, table);

            // Special Settings
            table = shadow.GetSpecialSettings();
            CommonForm.LoadSpecialSettingsTextBox(specialSettingsTextBox, table);

            // Developer Notes
            table = shadow.GetDeveloperNotes();
            CommonForm.LoadDeveloperNotesTextBox(developerNotesTextBox, table);

            // Design Notes
            table = shadow.GetDesignNotes();
            CommonForm.LoadDesignNotesTextBox(designNotesTextBox, table);

            statePrefixTextBox.Focus();
        }