Ejemplo n.º 1
0
        public void DestoryTransForm()
        {
            if (MyBasicTransForm != null)
            {
                MyBasicTransForm.destroyForm();
            }

            if (MyLayerTransForm != null)
            {
                MyLayerTransForm.destroyForm();
            }

            MyBasicTransForm = null;
            MyLayerTransForm = null;
        }
Ejemplo n.º 2
0
        public void MakeBasicTransForm(bool isTranslateFormTopMostFlag)
        {
            if (MyBasicTransForm == null)
            {
                MyBasicTransForm               = new TransForm();
                MyBasicTransForm.Name          = "TransForm";
                MyBasicTransForm.StartPosition = FormStartPosition.Manual;
                MyBasicTransForm.Location      = new Point(20, Screen.PrimaryScreen.Bounds.Height - 300);
                MyBasicTransForm.setTopMostFlag(isTranslateFormTopMostFlag);

                MyBasicTransForm.Show();
            }
            else
            {
                MyBasicTransForm.setTopMostFlag(isTranslateFormTopMostFlag);
                MyBasicTransForm.Activate();
                MyBasicTransForm.StartTrans();
                MyBasicTransForm.Show();
            }

            //만약 번역창을 찾지 못했으면
        }