private void BtnCancel_Click(object sender, RoutedEventArgs e) { if (mOpType == "1" && mParentpage != null) { mParentpage.SetPanelOpenState(false); } else if (mOpType == "2" && mFirstPage != null) { mFirstPage.SetPanelOpenState(false); } }
private void BtnCancel_Click(object sender, RoutedEventArgs e) { if (mParentpage != null) { mParentpage.SetPanelOpenState(false); } }