예제 소스
<?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 List
Name | Description | |
---|---|---|
MacroCall(object param1, object param2.....) | Excel 매크로 호출을 합니다. | |
OpenIEPopup(string url,int width,int height) | IE 프로세스를 이용하여 웹페이지를 호출합니다. | |
OpeniPortalPopup(string url,int width,int height) | i-PORTAL 6.0 프로세스를 이용하여 웹페이지를 호출합니다. | |
Notice() | 공지사항을 호출합니다. | |
InvokeMethod(string[] params) | i-PORTAL 함수를 호출합니다. | |
OpenReportFile(string baseUrl, string extention) | 보고서 이름으로 된 파일을 호출합니다. (baseUrl : 파일 경로 extention : 파일 확장자) |