private void btncreategroup_Click(object sender, EventArgs e) { try { GroupCreate createform = new GroupCreate(); createform.ShowDialog(); //load after create group LoadGroupSensor(); } catch (Exception exception) { ShowErrorMessage(exception.Message); } }