public static void Init(MainForm form)
 {
     MainFormRef = form;
 }