MCPcopy Create free account
hub / github.com/cinience/RedisStudio / OnClick

Method OnClick

RedisStudio/RedisConfigUI.cpp:54–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void RedisConfigUI::OnClick(TNotifyUI& msg)
55{
56 if (msg.pSender->GetName() == _T("btn_config_submit"))
57 {
58 DoApplyData();
59 }
60 else if (msg.pSender->GetName() == _T("btn_config_sync"))
61 {
62 Env()->GetDBClient()->ReWriteConfig();
63 }
64}
65
66void RedisConfigUI::OnSelectChanged( TNotifyUI &msg )
67{

Callers

nothing calls this directly

Calls 3

GetDBClientMethod · 0.80
GetNameMethod · 0.45
ReWriteConfigMethod · 0.45

Tested by

no test coverage detected