public bool SetPhotoSettings(int Res, int mp) { bool flag = false; if (this.IsConnected) { try { flag = CiteDLL.XX_SetPhotographSetting(this.CamSerial, Res, mp); } catch { } } return(flag); }