public frmWebCam(AddUserPane addUserPane) { InitializeComponent(); this.addUserPane = addUserPane; this.userImage = addUserPane.imageUser; mainForm = addUserPane.accessMasterController.getFrmMain; mainForm.FormClosing += mainForm_FormClosing; }
void showUserPane() { if (addUserPane == null) { addUserPane = new AddUserPane(userPanel, masterController, this); } else { addUserPane.appear(DockStyle.Fill); } addUserPane.init(mode); flipColors(); }
void showUserPane() { if (addUserPane == null) addUserPane = new AddUserPane(userPanel, masterController, this); else addUserPane.appear(DockStyle.Fill); addUserPane.init(mode); flipColors(); }