Example #1
0
        private void PacketForm_Load(object sender, EventArgs e)
        {
            FileLogic.RefreshForm(ref filesListBox);

            for (int i = 0; i < filesListBox.Items.Count; i++)
            {
                filesListBox.SetSelected(i, true);
            }

            FileLogic.SetSelectedFiles(filesListBox);

            SelectAvailableScripts();
        }
Example #2
0
 private void refreshFormButton_Click(object sender, EventArgs e)
 {
     FileLogic.RefreshForm(ref filesListBox);
 }
Example #3
0
        public void GetFiles(string folderName)
        {
            FileLogic.LoadFiles(folderName);

            FileLogic.RefreshForm(ref filesListBox);
        }