Пример #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Silverlight.ProcessEditor;component/Editor.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.toolBar = ((Silverlight.ProcessEditor.View.ToolBar)(this.FindName("toolBar")));
     this.editorCanvas1 = ((Silverlight.ProcessEditor.View.EditorCanvas)(this.FindName("editorCanvas1")));
     this.txtJson = ((System.Windows.Controls.TextBox)(this.FindName("txtJson")));
 }
Пример #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Silverlight.ProcessEditor;component/Editor.xaml", System.UriKind.Relative));
     this.LayoutRoot    = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.toolBar       = ((Silverlight.ProcessEditor.View.ToolBar)(this.FindName("toolBar")));
     this.editorCanvas1 = ((Silverlight.ProcessEditor.View.EditorCanvas)(this.FindName("editorCanvas1")));
     this.txtJson       = ((System.Windows.Controls.TextBox)(this.FindName("txtJson")));
 }