public MainWindow() { InitializeComponent(); //Add edrawing control edrawing = new EDrawingWPFControl() { Margin = new Thickness(5) }; edrawingPanel.Children.Add(edrawing); }
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(); }
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(); }