Exemplo n.º 1
0
        /* D O  E D I T  R E M O V E  F I L T E R S */

        /*----------------------------------------------------------------------------
        *       %%Function: DoEditRemoveFilters
        *       %%Qualified: AzLog.AzLogWindow.DoEditRemoveFilters
        *       %%Contact: rlittle
        *
        *  ----------------------------------------------------------------------------*/
        private void DoEditRemoveFilters(object sender, EventArgs e)
        {
            AzLogFilter azlfNew = AzEditFilters.EditFilters(m_azlv.Filter.Clone());

            if (azlfNew != null)
            {
                m_azlv.SetFilter(azlfNew);
            }
        }
Exemplo n.º 2
0
        /* F  E D I T  F I L T E R S */

        /*----------------------------------------------------------------------------
        *       %%Function: EditFilters
        *       %%Qualified: AzLog.AzEditFilters.EditFilters
        *       %%Contact: rlittle
        *
        *  ----------------------------------------------------------------------------*/
        public static AzLogFilter EditFilters(AzLogFilter azlf)
        {
            AzEditFilters azef = new AzEditFilters(azlf.Clone());

            return(azef.ShowDialog() == System.Windows.Forms.DialogResult.OK ? azef.Filters : null);
        }