페이지 트리

버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.

...

  • 예제 소스

    <?xml version="1.0" encoding="utf-8"?>
    <Style>
    <Type Name="TitleMenu"><![CDATA[
    <Grid
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Controls="clr-namespace:BIMATRIX.MATRIX6.XBrowserMng6.UI;assembly=XBrowserMng6"
    Background="White">
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="*"/>
    <ColumnDefinition Width="auto"/>
    <ColumnDefinition Width="10"/>
    </Grid.ColumnDefinitions>
    <Border BorderThickness="0,0,0,1" Grid.ColumnSpan="3" BorderBrush="#838383"></Border>

    <Controls:ucTitleMenuControl />

    <StackPanel Orientation="Horizontal" Grid.Column="1">
    <Controls:MTXButton Margin="10,0,0,0" Content="fileopen" Width="100" Height="20" Tag="OpenReportFile;http://localhost:8081/extention;.xps" Command="{Binding ViewerCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}}"/>
    <Controls:MTXButton Margin="10,0,0,0" Content="InvokeMethod" Width="100" Height="20" Tag="InvokeMethod;MenuControl;cfunction" Command="{Binding ViewerCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}}"/>
    <Controls:MTXButton Margin="10,0,0,0" Content="OpeniPortalPopup" Width="100" Height="20" Tag="OpeniPortalPopup;http://localhost:8081/extention/Book1.xps;540;580" Command="{Binding ViewerCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}}"/>
    <Controls:MTXButton Margin="10,0,0,0" Content="OpenIEPopup" Width="100" Height="20" Tag="OpeniPortalPopup;http://localhost:8081/extention/Book1.xps;540;580" Command="{Binding ViewerCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}}"/>
    <Controls:MTXButton Margin="10,0,0,0" Content="Notice" Width="100" Height="20" Tag="OpeniPortalPopup;http://localhost:8081/extention/Book1.xps;540;580" Command="{Binding ViewerCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}}"/>
    <Controls:MTXButton Margin="10,0,0,0" Content="LeftMenuShowHide" Width="100" Height="20" Tag="OpeniPortalPopup;http://localhost:8081/extention/Book1.xps;540;580" Command="{Binding ViewerCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}}"/>
    </StackPanel>

    </Grid>
    ]]>
    </Type>
    </Style>


  • 버튼 권한 설정
    Method
    Mehod Call Ex :
    1. "버튼 관리" 에서 버튼 코드 추가
    Image Added

    2. "버튼권한 관리" 에서 권한 설정

    Image Added


  • 함수 호출

    Ex )
    Tag = 함수명;파라미터1;파라미터2; ....
    <Controls:MTXButton Margin="10,0,0,0" Content="fileopen" Width="100" Height="20" Tag="OpeniPortalPopup;http://localhost:8081/extention/Book1.xpswww.naver.com;540;580" Command="{Binding ViewerCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}}"/>


  • Method List


    NameDescription

    Image Modified

    AddDatasetDataset 을 추가
    MacroCall(object param1, object param2.....)

    Excel 매크로 호출을 합니다.

    Image Modified

    ChangeConnectionCode현재 보고서의 DB 연결 정보를 변경 합니다
    OpenIEPopup(string url,int width,int height)

    IE 프로세스를 이용하여 웹페이지를 호출합니다.

    Image Modified

    CRUDCRUD 처리
    OpeniPortalPopup(string url,int width,int height)

    i-PORTAL 6.0 프로세스를 이용하여 웹페이지를 호출합니다.

    Image Modified

    Decrypt문자열을 복호화 합니다
    Notice()

    공지사항을 호출합니다.

    Image Modified

    Encrypt

    문자열을 암호화 합니다.

    InvokeMethod(string[] params)

    i-PORTAL 함수를 호출합니다.

    Image Added

    OpenReportFile(string baseUrl, string extention)보고서 이름으로 된 파일을 호출합니다. (baseUrl : 파일 경로 extention : 파일 확장자)
  • 예제 파일

      CustomButtonEx.xml

...