Exemplo n.º 1
0
        private void Add_Click(object sender, EventArgs e)
        {
            Add_ObjectItem();
            CBList_WeeklyProject[CBList_WeeklyProject.Count - 1].Get_TextkBox().Text    = "Project";
            CBList_WeeklyProject[CBList_WeeklyProject.Count - 1].Get_CheckBox().Checked = false;
            Str_WeeklyProjtect.Add("Project");
            Str_WeeklyProjtect.Add("Unchecked");
            SaveProject _Save = new SaveProject(_file_name);

            _Save.Project_Record(Str_WeeklyProjtect.ToArray());
        }
Exemplo n.º 2
0
        private void ProjectTextBox_Changed(object sender, EventArgs e)
        {
            SaveProject _Save = new SaveProject(_file_name);

            Str_WeeklyProjtect.Clear();
            for (int i = 0; i < CBList_WeeklyProject.Count; i++)
            {
                Str_WeeklyProjtect.Add(CBList_WeeklyProject[i].Get_TextkBox().Text);
                Str_WeeklyProjtect.Add(CBList_WeeklyProject[i].Get_CheckBox().CheckState.ToString());
            }
            _Save.Project_Record(Str_WeeklyProjtect.ToArray());
        }
Exemplo n.º 3
0
        private void MonTextBox_TextChange(object sender, EventArgs e)
        {
            Array.Resize(ref MonProjectList, Cnt_MonPlan);
            string      _file_path = Mon_name + "_Project.txt";
            SaveProject _SaveMon   = new SaveProject(_file_path);

            for (int i = 0; i < Cnt_MonPlan; i++)
            {
                MonProjectList[i] = (Mon_RevBnt[i].Textbox.Text);
            }
            _SaveMon.Project_Record(MonProjectList);
        }