private void L_date_Click(object sender, EventArgs e) { int number = Convert.ToInt16(dateOnMars.Day); //f_activity = new Factivity(this, number); f_activity.activity_show(number); }
private void V_Activities_ItemActivate(object sender, EventArgs e) { //V_Activities.SelectedIndices.IndexOf(0); selectedDay = Convert.ToInt16(V_Activities.SelectedIndices[0].ToString()); //f_activity = new Factivity((Fcontainer)this.MdiParent, selectedDay); f_activity.activity_show(selectedDay); }