private HCS.History getDetail(HCSController p_controller, Khata khata) { HCS.History history = new HCS.History(); Controller = p_controller; m_History = new HCS.History() { }; return history; }
public DetailedHistory(HCSController p_controller, Khata khata) { InitializeComponent(); HISTORY = getDetail(p_controller, khata); // grdDetailHistory.DataContext = HISTORY; }