コード例 #1
0
        private void ShowCommand()
        {
            if (!Directory.Exists(LastDir))
            {
                return;
            }

            CommandController.LoadCommands(LastDir);

            this.lstFiles.DataSource    = CommandController.Commands;
            this.lstFiles.DisplayMember = "Name";
            if (CommandController.Commands.Count > 0)
            {
                this.lstFiles.SelectedItem = CommandController.Commands.First();
            }
            BindHis();
        }