📄 enterprises2.java
字号:
} else if (command == itemCommand52) {//GEN-LINE:MVDCACase212
// Insert pre-action code here
getDisplay().setCurrent(get_upload6());//GEN-LINE:MVDCAAction216
// Insert post-action code here
upload6.setTitle("通讯录上传");
upload6.deleteAll();
upload6.append("通讯录上传的同时,你可以免费向你的通讯录中的好友推广ECALL业务");
}//GEN-BEGIN:MVDCACase216
} else if (displayable == callform1) {
if (command == backCommand7) {//GEN-END:MVDCACase216
// Insert pre-action code here
if(g_xiazai == 0)
return ;
getDisplay().setCurrent(get_phonebook2());//GEN-LINE:MVDCAAction88
// Insert post-action code here
for(int i =0; i < g_phonenum1;i++)
g_select[i] = 0;
}//GEN-BEGIN:MVDCACase88
} else if (displayable == configlist1) {
if (command == backCommand18) {//GEN-END:MVDCACase88
// Insert pre-action code here
getDisplay().setCurrent(get_input1());//GEN-LINE:MVDCAAction151
// Insert post-action code here
} else if (command == itemCommand49) {//GEN-LINE:MVDCACase151
// Insert pre-action code here
getDisplay().setCurrent(get_config2());//GEN-LINE:MVDCAAction188
// Insert post-action code here
config2.state = configlist1.getSelectedIndex() +1 ;
config2.init();
}//GEN-BEGIN:MVDCACase188
} else if (displayable == helptextBox12) {
if (command == backCommand15) {//GEN-END:MVDCACase188
// Insert pre-action code here
getDisplay().setCurrent(get_input1());//GEN-LINE:MVDCAAction143
// Insert post-action code here
}//GEN-BEGIN:MVDCACase143
} else if (displayable == account1) {
if (command == itemCommand46) {//GEN-END:MVDCACase143
// Insert pre-action code here
// Do nothing//GEN-LINE:MVDCAAction179
// Insert post-action code here
} else if (command == itemCommand48) {//GEN-LINE:MVDCACase179
// Insert pre-action code here
// Do nothing//GEN-LINE:MVDCAAction183
// Insert post-action code here
} else if (command == backCommand22) {//GEN-LINE:MVDCACase183
// Insert pre-action code here
// Do nothing//GEN-LINE:MVDCAAction185
// Insert post-action code here
} else if (command == itemCommand47) {//GEN-LINE:MVDCACase185
// Insert pre-action code here
// Do nothing//GEN-LINE:MVDCAAction181
// Insert post-action code here
}//GEN-BEGIN:MVDCACase181
} else if (displayable == config2) {
if (command == backCommand23) {//GEN-END:MVDCACase181
// Insert pre-action code here
getDisplay().setCurrent(get_configlist1());//GEN-LINE:MVDCAAction190
// Insert post-action code here
} else if (command == okCommand7) {//GEN-LINE:MVDCACase190
// Insert pre-action code here
// Do nothing//GEN-LINE:MVDCAAction192
// Insert post-action code here
if(config2.state == 10)
{
getDisplay().setCurrent(get_configlist1());
config2.state =0;
}
else
config2.save();
}//GEN-BEGIN:MVDCACase192
} else if (displayable == sentsmstextBox1) {
if (command == backCommand24) {//GEN-END:MVDCACase192
// Insert pre-action code here
getDisplay().setCurrent(get_phonebook2());//GEN-LINE:MVDCAAction195
// Insert post-action code here
for(int i =0; i < g_phonenum1;i++)
g_select[i] = 0;
} else if (command == okCommand8) {//GEN-LINE:MVDCACase195
// Insert pre-action code here
getDisplay().setCurrent(get_sentform1());//GEN-LINE:MVDCAAction197
// Insert post-action code here
if(phonebook2.sendtype == 0) //发送短信
{
g_xiazai = 0;
sentform1.deleteAll();
sentform1.append(g_ii_g[1]);
String str5 = sentsmstextBox1.getString();
int i = phonebook2.getSelectedIndex();
StringBuffer phones = new StringBuffer(g_phonebooktel[g_sort[i]]);
String phone = phones.toString();
// sentsmsthread sentsmsthread2 = new sentsmsthread(phone,str5,phonebook2.sendtype);
// sentsmsthread2.start();
Enetcallthread2 enetcallthread2 = new Enetcallthread2(phone);
enetcallthread2.msg = str5;
enetcallthread2.type = 0;
enetcallthread2.start();
// sentform1.setTitle("短信正在发送...");
}
if(phonebook2.sendtype == 1) //群发
{
g_xiazai = 0;
sentform1.deleteAll();
sentform1.append(g_ii_g[1]);
String str5 = sentsmstextBox1.getString();
int k = phonebook2.getSelectedIndex();
String phone = "";
StringBuffer phones = new StringBuffer("");
for(int i=0 ; i < g_phonenum1 ;i ++)
{
if(g_select[i]==1)
phones.append(g_phonebooktel[g_sort[i]]).append(",");
}
if(phones.length() > 0)
phone = phones.toString();
else
phone = g_phonebooktel[g_sort[k]];
// sentsmsthread sentsmsthread2 = new sentsmsthread(phone,str5,phonebook2.sendtype);
// sentsmsthread2.start();
Enetcallthread2 enetcallthread2 = new Enetcallthread2(phone);
enetcallthread2.msg = str5;
enetcallthread2.type = 0;
enetcallthread2.start();
// sentform1.setTitle("短信正在发送...");
}
if(phonebook2.sendtype == 2) //点歌
{
String str5 = sentsmstextBox1.getString();
int k = phonebook2.getSelectedIndex();
String phone = "";
StringBuffer phones = new StringBuffer("");
for(int i=0 ; i < g_phonenum1 ;i ++)
{
if(g_select[i]==1)
phones.append(g_phonebooktel[g_sort[i]]).append(",");
}
if(phones.length() > 0)
phone = phones.toString();
else
phone = g_phonebooktel[g_sort[k]];
// sentsmsthread sentsmsthread2 = new sentsmsthread(phone,str5,phonebook2.sendtype);
// sentsmsthread2.start();
Enetcallthread2 enetcallthread2 = new Enetcallthread2(phone);
enetcallthread2.msg = str5;
enetcallthread2.type = 2;
enetcallthread2.start();
}
if(phonebook2.sendtype == 3) //电话会议
{
g_xiazai = 0;
sentform1.deleteAll();
// sentform1.append(g_ii_g[3]);
String str5 = sentsmstextBox1.getString();
int k = phonebook2.getSelectedIndex();
String phone = "";
StringBuffer phones = new StringBuffer("");
for(int i=0 ; i < g_phonenum1 ;i ++)
{
if(g_select[i]==1)
phones.append(g_phonebooktel[g_sort[i]]).append(",");
}
if(phones.length() > 0)
phone = phones.toString();
else
phone = g_phonebooktel[g_sort[k]];
// sentsmsthread sentsmsthread2 = new sentsmsthread(phone,str5,phonebook2.sendtype);
// sentsmsthread2.start();
Enetcallthread2 enetcallthread2 = new Enetcallthread2(phone);
enetcallthread2.msg = str5;
enetcallthread2.type = 3;
enetcallthread2.start();
//sentform1.setTitle("呼叫完毕");
}
}//GEN-BEGIN:MVDCACase197
} else if (displayable == sentform1) {
if (command == backCommand25) {//GEN-END:MVDCACase197
// Insert pre-action code here
getDisplay().setCurrent(get_phonebook2());//GEN-LINE:MVDCAAction200
// Insert post-action code here
for(int i =0; i < g_phonenum1;i++)
g_select[i] = 0;
}//GEN-BEGIN:MVDCACase200
} else if (displayable == callform2) {
if (command == okCommand10) {//GEN-END:MVDCACase200
// Insert pre-action code here
if(g_xiazai == 0)
return;
getDisplay().setCurrent(get_input1());//GEN-LINE:MVDCAAction205
// Insert post-action code here
}//GEN-BEGIN:MVDCACase205
} else if (displayable == download1) {
if (command == okCommand12) {//GEN-END:MVDCACase205
// Insert pre-action code here
if(g_xiazai == 0)
return;
getDisplay().setCurrent(get_phonebook2());//GEN-LINE:MVDCAAction214
// Insert post-action code here
}//GEN-BEGIN:MVDCACase214
} else if (displayable == message2) {
if (command == cancelCommand2) {//GEN-END:MVDCACase214
// Insert pre-action code here
getDisplay().setCurrent(get_Message1());//GEN-LINE:MVDCAAction233
// Insert post-action code here
} else if (command == okCommand13) {//GEN-LINE:MVDCACase233
// Insert pre-action code here
getDisplay().setCurrent(get_message3());//GEN-LINE:MVDCAAction231
// Insert post-action code here
Enetcallthread2 message_m = new Enetcallthread2("138");
message_m.msg = (message2.getString());
message_m.type = 6;
message_m.run();
message3.setTitle("发送成功");
message3.deleteAll();
g_ii[5] = new ImageItem(null, g_images[5], ImageItem.LAYOUT_DEFAULT, null);
message3.append(g_ii[5]);
}//GEN-BEGIN:MVDCACase231
} else if (displayable == Message1) {
if (command == itemCommand55) {//GEN-END:MVDCACase231
// Insert pre-action code here
getDisplay().setCurrent(get_message2());//GEN-LINE:MVDCAAction228
// Insert post-action code here
message2.setTitle("新建留言");
} else if (command == backCommand27) {//GEN-LINE:MVDCACase228
// Insert pre-action code here
getDisplay().setCurrent(get_input1());//GEN-LINE:MVDCAAction226
// Insert post-action code here
}//GEN-BEGIN:MVDCACase226
} else if (displayable == news2) {
if (command == backCommand26) {//GEN-END:MVDCACase226
// Insert pre-action code here
getDisplay().setCurrent(get_news1());//GEN-LINE:MVDCAAction223
// Insert post-action code here
}//GEN-BEGIN:MVDCACase223
} else if (displayable == message3) {
if (command == okCommand14) {//GEN-END:MVDCACase223
// Insert pre-action code here
getDisplay().setCurrent(get_Message1());//GEN-LINE:MVDCAAction236
// Insert post-action code here
}//GEN-BEGIN:MVDCACase236
} else if (displayable == call_msg3) {
if (command == okCommand16) {//GEN-END:MVDCACase236
// Insert pre-action code here
if(g_xiazai == 0)
return;
getDisplay().setCurrent(get_input1());//GEN-LINE:MVDCAAction257
// Insert post-action code here
}//GEN-BEGIN:MVDCACase257
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -