private void btnAddUser_Click(object sender, EventArgs e) { frmFormSeparator Separator = new frmFormSeparator(); Separator.Show(); frmRegister register = new frmRegister(); register.Show(); }
private void btnSettings_Click(object sender, EventArgs e) { frmFormSeparator Separator = new frmFormSeparator(); Separator.Show(); frmLogin Login = new frmLogin(); Login.Show(); btnDashboard.BackColor = Color.Transparent; btnSettings.BackColor = Color.FromArgb(58, 131, 79); }
private void btnEditSensor_Click(object sender, EventArgs e) { frmFormSeparator Seperator = new frmFormSeparator(); Seperator.Show(); frmEditSensor EditSensor = new frmEditSensor(); EditSensor.Show(); btnAddSensor.BackColor = Color.Transparent; btnEditSensor.BackColor = Color.FromArgb(58, 131, 79); }