protected virtual void mc_ShowAutoAddDialog(object sender, ExecutedRoutedEventArgs e) { AutoAddData autoAdd = AutoAddData.AutoAddList(CmdExeUtil.ReadObjData(e) as Type, (uint)CmdExeUtil.ReadIdData(e)); if (autoAdd is EpgAutoAddData) { IsCommandExecuted = true == MenuUtil.OpenChangeEpgAutoAddDialog(autoAdd as EpgAutoAddData); } else if (autoAdd is ManualAutoAddData) { IsCommandExecuted = true == MenuUtil.OpenChangeManualAutoAddDialog(autoAdd as ManualAutoAddData, this.Owner); } }
protected override void mc_ShowDialog(object sender, ExecutedRoutedEventArgs e) { IsCommandExecuted = true == MenuUtil.OpenChangeEpgAutoAddDialog(dataList[0]); }