public static void SetFormDimensions(CustomForm pCustomForm) { pCustomForm.StartPosition = FormStartPosition.Manual; pCustomForm.Left = previousForm.Left; pCustomForm.Top = previousForm.Top; }
public static void SetPreviousForm(CustomForm pCustomForm) { previousForm = pCustomForm; }