Ejemplo n.º 1
0
        private void 불러오기OToolStripMenuItem_Click(object sender, System.EventArgs e)
        {
            OpenFileDialog openFileDialog = new OpenFileDialog();
                if (openFileDialog.ShowDialog() == DialogResult.OK)
                {
                    Stream rs = new FileStream(openFileDialog.FileName, FileMode.Open);
                    BinaryFormatter deserializer = new BinaryFormatter();
                    month6 = (MonthRecord)deserializer.Deserialize(rs);

                    ArrayList ssss = month6.monthly;

                    rs.Close();

                        foreach (DayRecord day in ssss){
                            DrawOnCalendar(day, labels[day.DD-1]);
                        }
                    }
        }
Ejemplo n.º 2
0
 public Form3(MonthRecord month6)
 {
     InitializeComponent();
     this.month6 = month6;
     TotalCount();
 }