예제 #1
0
 /// <summary>
 /// Adds a text status item to the status bar</summary>
 /// <param name="width">Text panel width</param>
 /// <returns>Text panel on status bar</returns>
 public Atf.Applications.IStatusText AddText(int width)
 {
     var statusText = new StatusText(width);
     m_composer.Container.ComposeExportedValue<IStatusItem>(statusText);
     return new StatusTextAdapter(statusText);
 }
예제 #2
0
 public StatusTextAdapter(StatusText adaptee)
 {
     m_adaptee = adaptee;
 }