コード例 #1
0
        public void GetInBoxRefer(int pFolderCode)
        {
            Timer.Stop();
            JReferFolder tmpJReferFolder = new JReferFolder();

            tmpJReferFolder.InsertReferFolder(JAFolderTypeEnum.Inbox);

            CurrentKartable  = JAFolderTypeEnum.Inbox;
            Nodes.ObjectBase = new ClassLibrary.JAction("GetReferNode", "Automation.JKartable.GetNode", null, null);

            JRowStyles p = new JRowStyles();
            JRowStyle  R = new JRowStyle();

            R.Expression = "[خوانده شده]='False'";
            Janus.Windows.GridEX.GridEXFormatStyle JanusRowStyle = new Janus.Windows.GridEX.GridEXFormatStyle();
            JanusRowStyle.BackColor = System.Drawing.Color.Silver;
            R.JanusRowStyle         = JanusRowStyle;
            p.Add(R);
            Nodes.RowStyles = p;

            Nodes.DataTable = JARefers.GetReferInInbox(ClassLibrary.JMainFrame.CurrentPostCode, pFolderCode);
            if (pFolderCode == 0)
            {
                Nodes.Name = "JKartableInBOX";
            }
            else
            {
                Nodes.Name = "FolderInBOX_" + pFolderCode.ToString();
            }
            Nodes.hidColumns = "View_date_Time,externalcode,ObjectType,Receiver_Full_Title,action,Code,ClassName,ObjectCode ,DynamicClassCode";
            Timer.Start();
        }
コード例 #2
0
 public System.Data.DataTable GetNewRefer()
 {
     if (Nodes.Name == "JKartableInBOX")
     {
         return(JARefers.GetReferInInbox(ClassLibrary.JMainFrame.CurrentPostCode, JDataBase.DataTableToStringtArray(Nodes.DataTable, "Code"), 0));
     }
     return(null);
 }