private void fileHistory() { DataSources.dsQueries.QryItemsRow Qrow = (DataSources.dsQueries.QryItemsRow)gridViewFiles.GetFocusedDataRow(); HistoryViewerDLG frm = new HistoryViewerDLG(nsLib.Utilities.Types.LogType.Item, Qrow.ItemId) { Text = "عمليات الملف " + Qrow.ItemName, MdiParent = this.ParentForm }; frm.Show(); }
private void categoryHistory() { HistoryViewerDLG frm = new HistoryViewerDLG(nsLib.Utilities.Types.LogType.Categoy, dsQueries.QryCategory[tlCategory.FocusedNode.Id].CategoryId) { Text = "عمليات المجلد " + dsQueries.QryCategory[tlCategory.FocusedNode.Id].CategoryName, MdiParent = this.ParentForm }; frm.Show(); }