private void finish_button_Click(object sender, EventArgs e)
        {
            List <string> temp = new List <string>();

            if (file_parameter.Text.Length == 0)
            {
                _PARAMETERS = "*";
            }
            if (_FREQUENCY_CHOICE.Length > 0 && _FREQUENCY.Length > 0 && _PROGRAM_NAME.Length > 0 && _SOURCE_DIRECTORY.Length > 0)
            {
                temp.Add(_PROGRAM_NAME);
                temp.Add(_FILE_NAME);
                temp.Add(_SOURCE_DIRECTORY);
                temp.Add(_TARGET_DIRECTORY);
                temp.Add(_FREQUENCY_CHOICE);
                temp.Add(_FREQUENCY);
                temp.Add(_PARAMETERS);
                temp.Add((target_individual.Checked ? "[TARGET_INDIVIDUAL_FILES]" : ""));
                temp.Add("");
                temp.Add("");
                temp.Add(_DIAGNOSTIC_COLOR_HEX);
                if (target_individual.Checked && _TARGET_DIRECTORY.Length == 0)
                {
                    MessageBox.Show("Missing a required entry in program information");
                }
                else
                {
                    __parent.Insert_Program_PUBLIC(temp, __index, __EDIT_MODE);
                    this.Close();
                    this.Dispose();
                }
            }
            else
            {
                MessageBox.Show("Missing a required entry in program information");
            }
        }
        private void finish_button_Click(object sender, EventArgs e)
        {
            List <string> temp = new List <string>();

            if (file_parameter.Text.Length == 0)
            {
                _FILE_PARAMETER = "*";
            }
            if (_FREQUENCY_CHOICE.Length > 0 && _FREQUENCY.Length > 0 && _PROGRAM_NAME.Length > 0)
            {
                temp.Add(_PROGRAM_NAME);
                temp.Add(_SET_FILE_ACTION);
                if (_SOURCE_DIRECTORY.Length > 1 && _SET_FILE_ACTION.Length > 1) // Base parameters complete
                {
                    temp.Add(_SOURCE_DIRECTORY);
                    temp.Add(_SOURCE_DIRECTORY);
                    temp.Add(_FREQUENCY_CHOICE);
                    temp.Add(_FREQUENCY);
                    temp.Add("");
                    string extra_text = _FILE_PARAMETER + "~";
                    if (_SET_FILE_ACTION == "COPY" || _SET_FILE_ACTION == "MOVE")
                    {
                        if (_COPY_DIRECTORY.Length > 1)
                        {
                            if (_SET_FILE_ACTION == "COPY")
                            {
                                extra_text = extra_text + "~" + _COPY_DIRECTORY;
                                temp.Add(extra_text);
                                temp.Add(""); temp.Add("");
                                temp.Add(_DIAGNOSTIC_COLOR_HEX);
                                __parent.Insert_Program_PUBLIC(temp, __index, __EDIT_MODE);
                                this.Close();
                                this.Dispose();
                            }
                            else
                            {
                                extra_text = extra_text + _COPY_DIRECTORY + "~";
                                temp.Add(extra_text);
                                temp.Add(""); temp.Add("");
                                temp.Add(_DIAGNOSTIC_COLOR_HEX);
                                __parent.Insert_Program_PUBLIC(temp, __index, __EDIT_MODE);
                                this.Close();
                                this.Dispose();
                            }
                        }
                        else
                        {
                            MessageBox.Show("Destination directory missing");
                        }
                    }
                    else if (_SET_FILE_ACTION == "MOVECOPY")
                    {
                        if (_COPY_DIRECTORY.Length > 1 && _MOVE_DIRECTORY.Length > 1)
                        {
                            extra_text = extra_text + _MOVE_DIRECTORY + "~" + _COPY_DIRECTORY;
                            temp.Add(extra_text);
                            temp.Add(""); temp.Add("");
                            temp.Add(_DIAGNOSTIC_COLOR_HEX);
                            __parent.Insert_Program_PUBLIC(temp, __index, __EDIT_MODE);
                            this.Close();
                            this.Dispose();
                        }
                        else
                        {
                            MessageBox.Show("Move or Copy destination directory missing");
                        }
                    }
                    else if (_SET_FILE_ACTION == "DELETE")
                    {
                        extra_text = extra_text + "~";
                        temp.Add(extra_text);
                        temp.Add(""); temp.Add("");
                        temp.Add(_DIAGNOSTIC_COLOR_HEX);
                        __parent.Insert_Program_PUBLIC(temp, __index, __EDIT_MODE);
                        this.Close();
                        this.Dispose();
                    }
                }
                else
                {
                    MessageBox.Show("Source directory missing");
                }
            }
            else
            {
                MessageBox.Show("Program property missing");
            }
        }