void OnTabNameChanged(object sender, TdiTabNameChangedEventArgs e)
 {
     ITdiTab tab = sender as ITdiTab;
     TdiTabInfo info = _tabs.Find (i => i.TdiTab == tab);
     TdiTabInfo masterTabInfo = _tabs.Find (i => i.SlaveTabs.Contains (tab));
     if (masterTabInfo != null) {
         info.TabNameLabel.LabelProp = ">" + e.NewName;
         info.TabNameLabel.TooltipText = String.Format ("Открыто из {0}", masterTabInfo.TdiTab.TabName);
     }
     else
         info.TabNameLabel.LabelProp = e.NewName;
 }
 void TdiTab_TabNameChanged(object sender, TdiTabNameChangedEventArgs e)
 {
     Title = tdiTab.TabName;
 }
 void ActiveDialog_TabNameChanged(object sender, TdiTabNameChangedEventArgs e)
 {
     SetNewDialogTitle (e.NewName);
     OnSladerTabChanged ();
 }
 void OnJournalTabNameChanged(object sender, TdiTabNameChangedEventArgs arg)
 {
     OnSladerTabChanged ();
 }
Beispiel #5
0
 void Tab_TabNameChanged(object sender, TdiTabNameChangedEventArgs e)
 {
     titleLabel.Markup = String.Format ("<b>{0}</b>", tab.TabName);
 }