Example #1
0
        private void HTDC_ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            const string _c_frm_name = "Frm_HTDC";

            if (CLS_FORM.Func_check_form_exists(_c_frm_name) != null)
            {
                CLS_FORM.LoadFormChild(CLS_FORM.Func_check_form_exists(_c_frm_name), this);
            }
            else
            {
                try
                {
                    Frm_HTDC _Frm_HTDC = new Frm_HTDC();
                    CLS_FORM.LoadFormChild(_Frm_HTDC, this);
                }
                catch (Exception ex)
                {
                    MessageBox.Show(ex.Message.ToString());
                }
            }
        }
Example #2
0
        private void HTDC_ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            const string _c_frm_name = "Frm_HTDC";

            if (CLS_FORM.Func_check_form_exists(_c_frm_name) != null)
            {
                CLS_FORM.LoadFormChild(CLS_FORM.Func_check_form_exists(_c_frm_name), this);
            }
            else
            {
                try
                {
                    Frm_HTDC _Frm_HTDC = new Frm_HTDC();
                    CLS_FORM.LoadFormChild(_Frm_HTDC, this);
                }
                catch (Exception ex)
                {
                    MessageBox.Show(ex.Message.ToString());
                }
            }
        }