コード例 #1
0
        public MainWindow()
        {
            InitializeComponent();

            //Add edrawing control
            edrawing = new EDrawingWPFControl()
            {
                Margin = new Thickness(5)
            };
            edrawingPanel.Children.Add(edrawing);
        }
コード例 #2
0
        public MainWindow()
        {
            InitializeComponent();

            //Add edrawing control
            edrawing = new EDrawingWPFControl()
            {
                Margin = new Thickness(5)
            };
            edrawingPanel.Children.Add(edrawing);

            toolTipProGrid.SelectedObject = new ToolTipData();

            printProGrid.SelectedObject = new PrintData();

            saveProGrid.SelectedObject = new SaveData();

            selectedRayProGrid.SelectedObject = new SelectedByRayData();
        }
コード例 #3
0
        public MainWindow()
        {
            InitializeComponent();

            //Add edrawing control
            //edrawing = new EDrawingWPFControl() {
            //    Margin = new Thickness(5)
            //};
            //edrawingPanel.Children.Add(edrawing);
            edrawing = edrawingControl;
            //edrawing.EDrawingHost.OnControlLoaded += EDrawingHost_OnControlLoaded;
            edrawing.OnControlLoaded += EDrawingHost_OnControlLoaded;

            toolTipProGrid.SelectedObject = new ToolTipData();

            printProGrid.SelectedObject = new PrintData();

            saveProGrid.SelectedObject = new SaveData();

            selectedRayProGrid.SelectedObject = new SelectedByRayData();
        }