Example #1
0
        private void PlanningList_SelectedIndexChanged(object sender, EventArgs e)
        {
            int index = PlanningList.SelectedIndices[0];
            Planning_Record_Screen PRS = new Planning_Record_Screen((index - index % 3) / 3);

            PRS.Show();
            PRS.Location = this.Location;
            PRS.Size     = this.Size;
            PRS.Activate();
            this.Visible = false;
        }
Example #2
0
        private void Subtract_Click(object sender, EventArgs e)
        {
            StreamWriter sw = File.AppendText(@"PlanningList.txt");

            sw.Write("{0};false;", n);
            sw.Close();


            Planning_Record_Screen PRS = new Planning_Record_Screen(-1);

            PRS.Show();
            PRS.Location = this.Location;
            PRS.Size     = this.Size;
            PRS.Activate();
            this.Visible = false;
        }