private void InitView() { FloderHelper.FloderExits(StaticValue.UserInfoPath, true); FloderHelper.FloderExits(StaticValue.OldLogPath, true); FloderHelper.FloderExits(StaticValue.SiteLogFloderPath, true); Helper.ViewHelper.GroupBoxHelper.Replace(groupBox1, new Tool.MainInterface.SiteControl()); // listBox1.Items.AddRange(Tool.LocalView.AddListItems()); }
internal static string[] AddListItems() { List <string> TempList = new List <string>(); foreach (string line in FloderHelper.GetFullFileNameList(StaticValue.UserInfoPath)) { string Temptext = FileHelper.GetFileNameWithoutExtension(line); if (Temptext != "") { TempList.Add(FileHelper.GetFileNameWithoutExtension(line)); } } return(TempList.ToArray()); }
private void button2_Click(object sender, EventArgs e) { FloderHelper.OpenFloder(".\\"); }