/* C R E A T E N E W V I E W */ /*---------------------------------------------------------------------------- * %%Function: CreateNewView * %%Qualified: AzLog.AzLogWindow.CreateNewView * %%Contact: rlittle * * Create a new view copied from the current view. Ask the user to give us * a name for the new view * ----------------------------------------------------------------------------*/ private void CreateNewView() { string sName; if (TCore.UI.InputBox.ShowInputBox("New view name", "View name", "", out sName)) { // create a new view based on the current view AzLogViewSettings azlvs = m_azlvs.Clone(); azlvs.SetName(sName); m_cbView.Items.Insert(m_cbView.Items.Count - 1, azlvs); m_cbView.SelectedIndex = m_cbView.Items.Count - 2; //m_azlvs = azlvs; } }