public void Reset() { IsVisible = false; UC_Action_Main_Selector.Reset(); UC_Action_Tenant_Selector.Reset(); UC_Action_Devices_Selector.Reset(); }
private void ResetAndKeepSelectedItem(string itemID) { switch (itemID) { case "SL_TEN": UC_Action_Main_Selector.Reset(); UC_Action_Devices_Selector.Reset(); break; case "SL_Main": UC_Action_Tenant_Selector.Reset(); UC_Action_Devices_Selector.Reset(); break; default: UC_Action_Main_Selector.Reset(); UC_Action_Tenant_Selector.Reset(); break; } }