示例#1
0
    public bool GroupEnabled(DXP.TDocumentsBarGrouping Grouping)
    {
        IClient client = DXP.GlobalVars.Client;

        DXP.IClientAPI_Interface ClientAPI = client.GetClientAPI();

        return(ClientAPI.GetGroupingInDocumentsBar() == Grouping ? true : false);
    }
示例#2
0
    public void DocGrouping()
    {
        //DXP.IClientAPI_InterfaceHelper.GetGroupingInDocumentsBar(this DXP.IClientAPI_Interface)
        //DXP.IClientAPI_InterfaceHelper.SetGroupingInDocumentsBar(this DXP.IClientAPI_Interface, DXP.TDocumentsBarGrouping)
        //DXP.IClientAPI_Interface.Internal_GetGroupingInDocumentsBar()
        IClient client = DXP.GlobalVars.Client;

        DXP.IClientAPI_Interface ClientAPI = client.GetClientAPI();

        MessageBox.Show(ClientAPI.GetGroupingInDocumentsBar().ToString());
    }