예제 #1
0
		private void RemoveTabPage(ClosePageEventArgs args)
		{
			if (args.NeedReleasePage)
				args.Page.Release();
			xtraTabControl.TabPages.Remove(args.Page);
			UpdateTabControlState();
		}
예제 #2
0
		private void OnClosePage(object sender, ClosePageEventArgs e)
		{
			RemoveTabPage(e);
		}