That code won't even compile. Firstly it should be
form1 frm = new form1 ();
Next, you have no method in form1 called
callmethod()
Then the method to start the timer in form1 is
private
instead of
public
Try form2 code:
form1 frm = new form1();
frm.getdetailofcheckin();