Esempio n. 1
0
 public StoryTextPainter(StoryTextEditorControl control)
 {
     m_control = control;
     D2dFactory.EnableResourceSharing(m_control.Handle);
     m_d2dGraphics = D2dFactory.CreateD2dHwndGraphics(m_control.Handle);
     CreateSharedResources();
 }
Esempio n. 2
0
 public StoryTextPainter(StoryTextEditorControl control)
 {
     m_control = control;
     D2dFactory.EnableResourceSharing(m_control.Handle);
     m_d2dGraphics = D2dFactory.CreateD2dHwndGraphics(m_control.Handle);
     CreateSharedResources();
 }
Esempio n. 3
0
 public StoryTextEditor(StoryDocument document)
 {
     m_Document = document;
     m_Control = new StoryTextEditorControl(this);
 }
Esempio n. 4
0
 public StoryTextEditor(StoryDocument document)
 {
     m_Document = document;
     m_Control  = new StoryTextEditorControl(this);
 }