private void Do定位_Click(object sender, EventArgs e) { H外部服务.立刻定位(_个号.号码.ToString()); System.Threading.Thread.Sleep(500); _显示.显示GPS.定位(new List <string> { _个号.号码.ToString() }); }
private void Do发送_Click(object sender, EventArgs e) { if (string.IsNullOrEmpty(this.in号码.Text.Trim())) { new F对话框_确定("请输入号码").ShowDialog(); this.in号码.Focus(); return; } if (string.IsNullOrEmpty(this.in内容.Text.Trim())) { new F对话框_确定("请输入内容").ShowDialog(); this.in内容.Focus(); return; } H外部服务.发短信(this.in号码.Text, this.in组号.Checked, this.in内容.Text.Trim()); this.ParentForm.Close(); }
private void Out组号列表_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e) { if (e.ColumnIndex == 0 || e.RowIndex < 0) { return; } var __标识 = (((DataGridView)sender).Rows[e.RowIndex].Tag as M组号).号码; var __组号 = _所有组号.Find(q => q.号码 == __标识); if (__组号 == null) { return; } if (e.ColumnIndex == 1) { //呼叫 H外部服务.呼叫(__组号.号码.ToString(), true); } }
public F主窗口() { InitializeComponent(); this.uTab1.添加("号码本", new F实时显示_号码本(() => H外部服务.获取部门()) { Dock = DockStyle.Fill }); //this.uTab1.添加("号码段", new F实时显示_号码段 { Dock = DockStyle.Fill }); this.uTab1.添加("按频率回放", new F按频率回放 { Dock = DockStyle.Fill }); this.uTab1.添加("按时间回放", new F按时间回放 { Dock = DockStyle.Fill }); if (H程序配置.获取Bool值("开启扩展界面")) { this.uTab1.添加("扩展", new F扩展 { Dock = DockStyle.Fill }); } this.uTab1.激活("号码本"); }
private void Do呼叫_Click(object sender, EventArgs e) { H外部服务.呼叫(_组号.号码.ToString(), true); }