Пример #1
0
 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;
 }
Пример #2
0
 void TdiTab_TabNameChanged(object sender, TdiTabNameChangedEventArgs e)
 {
     Title = tdiTab.TabName;
 }
Пример #3
0
 void ActiveDialog_TabNameChanged(object sender, TdiTabNameChangedEventArgs e)
 {
     SetNewDialogTitle (e.NewName);
     OnSladerTabChanged ();
 }
Пример #4
0
 void OnJournalTabNameChanged(object sender, TdiTabNameChangedEventArgs arg)
 {
     OnSladerTabChanged ();
 }
Пример #5
0
 void Tab_TabNameChanged(object sender, TdiTabNameChangedEventArgs e)
 {
     titleLabel.Markup = String.Format ("<b>{0}</b>", tab.TabName);
 }