예제 #1
0
        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();
        }
예제 #2
0
 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();
 }