Пример #1
0
        /// <summary>
        /// doSelectClient: show the client search in selection mode
        /// </summary>
        /// <param name="clientId"></param>
        /// <returns></returns>
        protected Boolean doSelectClient(ref string clientId)
        {
            fClientSearch f = new fClientSearch();

            f.onShowClient += new ShowClientEvent(showClientHandler);
            return(f.selectClient(ref clientId));
        }
Пример #2
0
        /// <summary>
        /// doClientSearch: show the client search form.
        /// </summary>
        /// <remarks>
        /// this form is used both for client maintenance and for selections.
        /// </remarks>
        protected void doClientSearch()
        {
            fClientSearch f = new fClientSearch();

            f.onShowClient += new ShowClientEvent(showClientHandler);
            f.MdiParent     = this;

            f.Show();
        }