public TabBar CreateTabBar(string shellItemTitle) { shellItemTitle = shellItemTitle ?? $"Item: {Items.Count}"; ContentPage page = new ContentPage(); TabBar item = new TabBar() { Title = shellItemTitle, Items = { new ShellSection() { Items = { new ShellContent() { ContentTemplate = new DataTemplate(() => page), } } } } }; Items.Add(item); return(item); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this._tabBar = new TabBar(); this._tabBar.SuspendLayout(); this.SuspendLayout(); // // _tabControl // this._tabBar.Dock = System.Windows.Forms.DockStyle.Fill; // Workaround fix for OMs:12240, 13178, 13119, 13100, 13066, 12265, etc. // This code should be substed when a better solution will be found try { this._tabBar.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204))); } catch (System.ArgumentException) { this._tabBar.Font = new System.Drawing.Font("Tahoma", 9.0F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204))); } this._tabBar.Location = new System.Drawing.Point(0, 0); this._tabBar.Name = "_tabBar"; this._tabBar.Size = new System.Drawing.Size(150, 150); this._tabBar.TabIndex = 0; this._tabBar.SelectedIndexChanged += new System.EventHandler(this.OnSelectedTabChange); // // TabSwitcher // this.Controls.Add(this._tabBar); this.Name = "TabSwitcher"; this._tabBar.ResumeLayout(false); this.ResumeLayout(false); }
void ReleaseDesignerOutlets() { if (AreaCollection != null) { AreaCollection.Dispose(); AreaCollection = null; } if (AreaCollectionHeight != null) { AreaCollectionHeight.Dispose(); AreaCollectionHeight = null; } if (cnsAreaCollectionTop != null) { cnsAreaCollectionTop.Dispose(); cnsAreaCollectionTop = null; } if (TabBar != null) { TabBar.Dispose(); TabBar = null; } if (TableView != null) { TableView.Dispose(); TableView = null; } }
public void SetCallEntities(CallEntity callEntity) { // Load calls from database CallEntities = DataHandler.LoadCallsFromLocalDatabase(new LocalDB()).ToList(); if (CallEntities == null || CallEntities.Count == 0) { CallEntities = new List <CallEntity>(); } // If we are making a new call if (callEntity != null) { // And if the call is the same as before if (CallEntities.Any(call => call._id == callEntity._id)) { //CallEntities.Remove(callEntity); callEntity = null; } } // If the call is not the same as before, e.g. if we are just updating the call if (callEntity != null) { CallEntities.Add(callEntity); DataHandler.SaveCallsToLocalDatabase(new LocalDB(), CallEntities.ToArray()); } TabBar.ResetBadgeValue(vc); }
override protected void DoCreate() { list = new SwitchList <string>(); tabBar = new TabBar <string>(list, TabBar <string> .DefaultStringOf); tabBar.Text = "Info"; tabBar.CloseClick += OnCloseClick; Controls.Add(tabBar); KeyMap frameKeyMap = new KeyMap(); frameKeyMap.AddItem(new KeyItem(Keys.Escape, null, new KeyAction("&View\\Close info", DoClose, null, false))); frameKeyMap.AddItem(new KeyItem(Keys.Enter, null, new KeyAction("&View\\Close info", DoClose, null, false))); textBox = new MulticaretTextBox(); textBox.KeyMap.AddAfter(KeyMap); textBox.KeyMap.AddAfter(frameKeyMap, 1); textBox.KeyMap.AddAfter(DoNothingKeyMap, -1); textBox.FocusedChange += OnTextBoxFocusedChange; textBox.Controller.isReadonly = true; textBox.ViShortcut += OnViShortcut; SetTextBoxParameters(); Controls.Add(textBox); tabBar.MouseDown += OnTabBarMouseDown; InitResizing(tabBar, null); Height = MinSize.Height; }
public async Task ShellWithOnlyTopTabs() { SetupBuilder(); var shell = await CreateShellAsync((shell) => { var shellItem = new TabBar(); var shellSection1 = new ShellSection(); shellSection1.Items.Add(new ContentPage()); var shellSection2 = new ShellSection(); shellSection2.Items.Add(new ContentPage()); shellItem.Items.Add(shellSection1); shellItem.Items.Add(shellSection2); shell.Items.Add(shellItem); }); await CreateHandlerAndAddToWindow <ShellHandler>(shell, (handler) => { var rootNavView = (handler.PlatformView); var shellItemView = shell.CurrentItem.Handler.PlatformView as UI.Xaml.Controls.NavigationView; var expectedRoot = UI.Xaml.Controls.NavigationViewPaneDisplayMode.LeftMinimal; var expectedShellItems = UI.Xaml.Controls.NavigationViewPaneDisplayMode.Top; Assert.False(rootNavView.IsPaneToggleButtonVisible); Assert.False(shellItemView.IsPaneToggleButtonVisible); Assert.Equal(expectedRoot, rootNavView.PaneDisplayMode); Assert.Equal(expectedShellItems, shellItemView.PaneDisplayMode); return(Task.CompletedTask); }); }
// stackoverflowの回答を元にタブバーの位置を上に変更 http://stackoverflow.com/questions/29579992/positioning-uitabbar-at-the-top public override void ViewWillLayoutSubviews() { base.ViewWillLayoutSubviews(); TabBar.InvalidateIntrinsicContentSize(); var orientation = UIApplication.SharedApplication.StatusBarOrientation; nfloat tabSize = 44.0f; if (orientation == UIInterfaceOrientation.LandscapeLeft || orientation == UIInterfaceOrientation.LandscapeRight) { tabSize = 32.0f; } var tabFrame = TabBar.Frame; tabFrame.Height = tabSize; tabFrame.Y = View.Frame.Y; TabBar.Frame = tabFrame; // 強制的にぼかしを再描画する小技らしい TabBar.Translucent = false; TabBar.Translucent = true; }
public override void ViewDidLoad() { base.ViewDidLoad(); TabBar.SetItems(new NSObject[] { new NSString("FIRST TAB"), new NSString("SECOND TAB") }); TabBar.HorizontalInset = 0f; TabBar.Delegate = new TabBarDelegate(SelectedIndexLabel); }
partial void RemoveClicked(NSObject sender) { int index = 0; Int32.TryParse(IndexTextField.Text, out index); TabBar.RemoveItemAtIndex((nuint)index, AnimatedSwitch.On); }
public void SetUpdateNotification(object sender, EventArgs widgetEvent) { switch (UpdateControlData.Instance.UpdateStatus) { case UpdateControlData.UpdateStatusStates.MayBeAvailable: case UpdateControlData.UpdateStatusStates.ReadyToInstall: case UpdateControlData.UpdateStatusStates.UpdateAvailable: case UpdateControlData.UpdateStatusStates.UpdateDownloading: if (addedUpdateMark == null) { addedUpdateMark = new UpdateNotificationMark(); var aboutTabWidget = TabBar.FindNamedChildRecursive("About Tab") as SimpleTextTabWidget; addedUpdateMark.OriginRelativeParent = new Vector2(aboutTabWidget.tabTitle.Width + 3, 7 * GuiWidget.DeviceScale); aboutTabWidget.AddChild(addedUpdateMark); } addedUpdateMark.Visible = true; break; case UpdateControlData.UpdateStatusStates.UpToDate: case UpdateControlData.UpdateStatusStates.CheckingForUpdate: if (addedUpdateMark != null) { addedUpdateMark.Visible = false; } break; default: throw new NotImplementedException(); } }
override protected void DoCreate() { tabBar = new TabBar <string>(new SwitchList <string>(), TabBar <string> .DefaultStringOf); tabBar.Text = Name; tabBar.CloseClick += OnCloseClick; Controls.Add(tabBar); KeyMap frameKeyMap = new KeyMap(); KeyItem escape = new KeyItem(Keys.Escape, null, new KeyAction("&View\\File tree\\Cancel renaming", DoCancel, null, false)); frameKeyMap.AddItem(escape); frameKeyMap.AddItem(new KeyItem(Keys.Enter, null, new KeyAction("&View\\File tree\\Complete renaming", DoComplete, null, false))); KeyMap beforeKeyMap = new KeyMap(); beforeKeyMap.AddItem(escape); textBox = new MulticaretTextBox(); textBox.KeyMap.AddBefore(beforeKeyMap); textBox.KeyMap.AddAfter(KeyMap); textBox.KeyMap.AddAfter(frameKeyMap, 1); textBox.KeyMap.AddAfter(DoNothingKeyMap, -1); textBox.FocusedChange += OnTextBoxFocusedChange; Controls.Add(textBox); tabBar.MouseDown += OnTabBarMouseDown; InitResizing(tabBar, null); }
public static TabView CreateTab(TabBar tabBar) { var tab = new TabView("Kits"); tabBar.AddTab(tab); var analyticsEditor = new AnalyticsToggleEditor(); var authEditor = new AuthToggleEditor(); var accountEditor = new AccountToggleEditor(); tab.AddDrawer(new HorizontalLine()); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), new AdsToggleEditor(tabBar), new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), new GameServiceToggleEditor(tabBar, accountEditor), new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), new PushToggleEditor(), new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), new IAPToggleEditor(tabBar), new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), accountEditor, new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), analyticsEditor, new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), new RemoteConfigToggleEditor(tabBar, analyticsEditor), new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), new CrashToggleEditor(analyticsEditor), new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), authEditor, new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), new CloudDBToggleEditor(authEditor), new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), new DriveKitToggleEditor(), new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), new NearbyServiceToggleEditor(), new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), new AppMessagingToggleEditor(), new Spacer())); tab.AddDrawer(new HorizontalLine()); tab.AddDrawer(new Spacer()); tab.AddDrawer(new HelpboxAGConnectFile()); return(tab); }
/// <summary> /// Takes you back to the MainPage /// </summary> public void Back() { TabBar bar = Shell.Current.Items[0] as TabBar; //Select the first Tab bar.CurrentItem = bar.Items[0]; }
private void Button_Clicked(object sender, EventArgs e) { TabBar bar = Shell.Current.Items[0] as TabBar; //Select the first Tab bar.CurrentItem = bar.Items[0]; }
// Use this for initialization void Start() { Debug.Log("HomeController.Start()"); // TabViewの生成 _tabBar = CreateTabView(); // MenuContentsの生成 _menuContents = CreateMenuContents(); }
public override void Activate(PKBoxItem item) { if (item == Body) { TabBar.Activate(TabBar); } base.Activate(item); }
partial void ReplaceClicked(NSObject sender) { string title = LabelTextField.Text; int index = 0; Int32.TryParse(IndexTextField.Text, out index); TabBar.ReplaceItem(new NSString(title), (nuint)index); }
partial void AddClicked(NSObject sender) { string title = LabelTextField.Text; int index = 0; Int32.TryParse(IndexTextField.Text, out index); TabBar.InsertItem(new NSString(title), (nuint)index, AnimatedSwitch.On); }
public override IDrawer CreateDrawer() { var tabBar = new TabBar(); HMSMainKitsTabFactory.CreateTab(tabBar); return(tabBar); }
override protected void DoCreate() { SwitchList <NamedAction> list = new SwitchList <NamedAction>(); KeyMapBuilder frameKeyMap = new KeyMapBuilder(new KeyMap(), list); frameKeyMap.Add(Keys.Escape, null, new KeyAction("F&ind\\Cancel find", DoCancel, null, false)); frameKeyMap.AddInList(Keys.Enter, null, new KeyAction("F&ind\\Find next", DoFindNext, null, false)); if (data.history != null) { KeyAction prevAction = new KeyAction("F&ind\\Previous pattern", DoPrevPattern, null, false); KeyAction nextAction = new KeyAction("F&ind\\Next pattern", DoNextPattern, null, false); frameKeyMap.Add(Keys.Up, null, prevAction); frameKeyMap.Add(Keys.Down, null, nextAction); frameKeyMap.Add(Keys.Control | Keys.P, null, prevAction); frameKeyMap.Add(Keys.Control | Keys.N, null, nextAction); } frameKeyMap.Add(Keys.None, null, new KeyAction("F&ind\\-", null, null, false)); if (allowNormalMode) { frameKeyMap.Add(Keys.Control | Keys.F, null, new KeyAction("&View\\Vi normal mode", DoNormalMode, null, false)); } KeyMapBuilder beforeKeyMap = new KeyMapBuilder(new KeyMap(), list); if (doSelectAllFound != null) { beforeKeyMap.AddInList(Keys.Control | Keys.D, null, new KeyAction("F&ind\\Select next found", DoSelectNextFound, null, false)); beforeKeyMap.AddInList(Keys.Control | Keys.Shift | Keys.D, null, new KeyAction("F&ind\\Select all found", DoSelectAllFound, null, false)); beforeKeyMap.Add(Keys.Control | Keys.K, null, new KeyAction("F&ind\\Unselect prev text", DoUnselectPrevText, null, false)); } textBox = new MulticaretTextBox(true); textBox.KeyMap.AddBefore(beforeKeyMap.map); textBox.KeyMap.AddAfter(KeyMap); textBox.KeyMap.AddAfter(frameKeyMap.map, 1); textBox.KeyMap.AddAfter(DoNothingKeyMap, -1); textBox.FocusedChange += OnTextBoxFocusedChange; Controls.Add(textBox); tabBar = new TabBar <NamedAction>(list, TabBar <NamedAction> .DefaultStringOf, NamedAction.HintOf); tabBar.Text = Name; tabBar.ButtonMode = true; tabBar.RightHint = findParams != null?findParams.GetIndicationHint() : null; tabBar.TabClick += OnTabClick; tabBar.CloseClick += OnCloseClick; tabBar.MouseDown += OnTabBarMouseDown; Controls.Add(tabBar); InitResizing(tabBar, null); Height = MinSize.Height; UpdateFindParams(); }
public DocumentTabsProcessor(TabBar tabBar) { tabBar.HitTestTarget = true; this.tabBar = tabBar; DockManager.Instance.FilesDropped += DropFiles; RebuildTabs(tabBar); tabBar.AddChangeWatcher(() => Project.Current.Documents.Version, _ => RebuildTabs(tabBar)); tabBar.AddChangeWatcher(() => Project.Current, _ => RebuildTabs(tabBar)); }
public static TabView CreateTab(TabBar tabBar) { toggleEditors.Clear(); var tab = new TabView("Kits"); tabBar.AddTab(tab); var adsToggleEditor = new AdsToggleEditor(tabBar); var accountEditor = new AccountToggleEditor(); var gameServiceToggleEditor = new GameServiceToggleEditor(tabBar, accountEditor); var pushToggleEditor = new PushToggleEditor(); var analyticsEditor = new AnalyticsToggleEditor(); var authEditor = new AuthToggleEditor(); var iapToggleEditor = new IAPToggleEditor(tabBar); var remoteConfigToggleEditor = new RemoteConfigToggleEditor(tabBar, analyticsEditor); var crashToggleEditor = new CrashToggleEditor(analyticsEditor); var cloudDBToggleEditor = new CloudDBToggleEditor(tabBar, authEditor); var driveToggleEditor = new DriveKitToggleEditor(); var nearbyServiceToggleEditor = new NearbyServiceToggleEditor(); var appMessagingToggleEditor = new AppMessagingToggleEditor(); tab.AddDrawer(new HorizontalLine()); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), adsToggleEditor, new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), gameServiceToggleEditor, new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), pushToggleEditor, new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), iapToggleEditor, new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), accountEditor, new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), analyticsEditor, new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), remoteConfigToggleEditor, new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), crashToggleEditor, new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), authEditor, new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), cloudDBToggleEditor, new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), driveToggleEditor, new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), nearbyServiceToggleEditor, new Spacer())); tab.AddDrawer(new HorizontalSequenceDrawer(new Spacer(), appMessagingToggleEditor, new Spacer())); tab.AddDrawer(new HorizontalLine()); tab.AddDrawer(new Spacer()); tab.AddDrawer(new Clickable(new Label("HMS Unity Plugin v" + versionInfo).SetBold(true), () => { Application.OpenURL("https://github.com/EvilMindDevs/hms-unity-plugin/"); })); tab.AddDrawer(new HelpboxAGConnectFile()); toggleEditors.Add(adsToggleEditor); toggleEditors.Add(accountEditor); toggleEditors.Add(gameServiceToggleEditor); toggleEditors.Add(pushToggleEditor); toggleEditors.Add(analyticsEditor); toggleEditors.Add(authEditor); toggleEditors.Add(iapToggleEditor); toggleEditors.Add(remoteConfigToggleEditor); toggleEditors.Add(crashToggleEditor); toggleEditors.Add(cloudDBToggleEditor); toggleEditors.Add(driveToggleEditor); toggleEditors.Add(nearbyServiceToggleEditor); toggleEditors.Add(appMessagingToggleEditor); return(tab); }
public void ActivateTab(int index) { var tab = TabBar.Nodes[index] as Tab; for (int i = 0; i < TabBar.Nodes.Count; i++) { Frame.Nodes[i].AsWidget.Visible = i == index; } TabBar.ActivateTab(tab); }
public void ActivateTab(int index) { var tab = TabBar.Nodes[index] as Tab; TabBar.ActivateTab(tab); ContentContainer.Nodes.Clear(); ContentContainer.Nodes.Add(Contents[index]); Contents[index].ExpandToContainerWithAnchors(); activeTabIndex = index; }
public void SetHelperValue() { childCount = svHelper.ChildNum; moveSpeed = svHelper.MoveSpeed; lerpFactor = svHelper.LerpFactor; orgIndex = svHelper.StarIndex; targetIndex = orgIndex; againstTouchBg = svHelper.bg; tabBar = svHelper.tabBar; }
override protected void DoCreate() { SwitchList <NamedAction> list = new SwitchList <NamedAction>(); KeyMap frameKeyMap = new KeyMap(); frameKeyMap.AddItem(new KeyItem(Keys.Escape, null, new KeyAction("F&ind\\Cancel find", DoCancel, null, false))); frameKeyMap.AddItem(new KeyItem(Keys.Enter, null, new KeyAction("F&ind\\Find next", DoFindNext, null, false))); if (data.history != null) { KeyAction prevAction = new KeyAction("F&ind\\Previous pattern", DoPrevPattern, null, false); KeyAction nextAction = new KeyAction("F&ind\\Next pattern", DoNextPattern, null, false); frameKeyMap.AddItem(new KeyItem(Keys.Up, null, prevAction)); frameKeyMap.AddItem(new KeyItem(Keys.Down, null, nextAction)); frameKeyMap.AddItem(new KeyItem(Keys.Control | Keys.P, null, prevAction)); frameKeyMap.AddItem(new KeyItem(Keys.Control | Keys.N, null, nextAction)); } frameKeyMap.AddItem(new KeyItem(Keys.None, null, new KeyAction("F&ind\\-", null, null, false))); frameKeyMap.AddItem(new KeyItem(Keys.Control | Keys.F, null, new KeyAction("&View\\Vi normal mode", DoNormalMode, null, false))); frameKeyMap.AddItem(new KeyItem(Keys.Control | Keys.Shift | Keys.R, null, new KeyAction("F&ind\\Switch regex", DoSwitchRegex, null, false) .SetGetText(GetFindRegex))); frameKeyMap.AddItem(new KeyItem(Keys.Control | Keys.Shift | Keys.I, null, new KeyAction("F&ind\\Switch ignore case", DoSwitchIgnoreCase, null, false) .SetGetText(GetFindIgnoreCase))); KeyMap beforeKeyMap = new KeyMap(); textBox = new MulticaretTextBox(true); textBox.KeyMap.AddBefore(beforeKeyMap); textBox.KeyMap.AddAfter(KeyMap); textBox.KeyMap.AddAfter(frameKeyMap, 1); textBox.KeyMap.AddAfter(DoNothingKeyMap, -1); textBox.FocusedChange += OnTextBoxFocusedChange; textBox.TextChange += OnTextChange; Controls.Add(textBox); tabBar = new TabBar <NamedAction>(list, TabBar <NamedAction> .DefaultStringOf, NamedAction.HintOf); tabBar.Text = (isBackward ? "?" : "/") + Name; tabBar.ButtonMode = true; tabBar.RightHint = findParams != null?findParams.GetIndicationHint() : null; tabBar.TabClick += OnTabClick; tabBar.CloseClick += OnCloseClick; tabBar.MouseDown += OnTabBarMouseDown; Controls.Add(tabBar); InitResizing(tabBar, null); Height = MinSize.Height; UpdateFindParams(); }
private void SetBorder() { // 새로운 보더를 만들자. (색 설정 가능) var view = new UIView(new CGRect(0, 0, TabBar.Frame.Width, 1)) { BackgroundColor = Color.Transparent.ToUIColor(), }; // 새로만든 뷰를 탭바에 추가. TabBar.AddSubview(view); }
void UpdateBarBackground() { if (Tabbed == null || TabBar == null) { return; } var barBackground = Tabbed.BarBackground; TabBar.UpdateBackground(barBackground); }
void UpdateiOS15TabBarAppearance() { TabBar.UpdateiOS15TabBarAppearance( ref _tabBarAppearance, _defaultBarColor, _defaultBarTextColor, Tabbed.IsSet(TabbedPage.SelectedTabColorProperty) ? Tabbed.SelectedTabColor : null, Tabbed.IsSet(TabbedPage.UnselectedTabColorProperty) ? Tabbed.UnselectedTabColor : null, Tabbed.IsSet(TabbedPage.BarBackgroundColorProperty) ? Tabbed.BarBackgroundColor : null, Tabbed.IsSet(TabbedPage.BarTextColorProperty) ? Tabbed.BarTextColor : null); }
void Page_IconChanged(object sender, EventArgs e) { if (sender is BaseChartPage) { var bcp = (BaseChartPage)sender; var item = TabBar.GetItemByTag(bcp); if (item != null) { item.Icon = bcp.Icon; } } }
void TabBar_MouseDown(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Right && TabsMenuStrip != null) { TabItem item = TabBar.GetItemAt(e.X, e.Y); if (item != null && !(item is SpecialTabItem)) { CustomTabMenu(item, TabsMenuStrip); TabsMenuStrip.Show(TabBar, new Point(e.X, e.Y), ToolStripDropDownDirection.AboveRight); } } }
public MainTabWidget(QWidget parent) : base(parent) { var layout = new QVBoxLayout(this); layout.Spacing = 0; layout.Margin = 0; m_Pages = new QStackedWidget(this); m_Pages.Layout().Margin = 0; layout.AddWidget(m_Pages, 1); m_TabBar = new TabBar(this); layout.AddWidget(m_TabBar, 0); }
static void tab_EventTabChangeSelect(TabBar _sender, uint _index) { Export.DebugOut("EventTabChangeSelect index=" + _index.ToString()); }
static void tab_EventTabChangeSelect(TabBar _sender, uint _index) { ExampleApplication.DebugOut("EventTabChangeSelect index=" + _index.ToString()); }