private void btnForceClose_Click(object sender, EventArgs e) { if (RTLTabStrip.SelectedItem != null) { RTLTabStrip.RemoveTab(RTLTabStrip.SelectedItem); } }
private void AddTab_Click(object sender, EventArgs e) { FATabStripItem item = new FATabStripItem(string.Format("New Document {0}", RTLTabStrip.Items.Count + 1), null); RTLTabStrip.AddTab(item); }