예제 #1
0
 public void finish()
 {
     FrmMain lft = new FrmMain();
     lft.Updatetext();
     FrmTool lft1 = new FrmTool();
     lft1.Close();
 }
예제 #2
0
        private void work_Click(object sender, EventArgs e)
        {
            frm = (FrmMain)this.Owner;

            if (Gib.ftextinter)
                str = Gib.ftextinterstr;
            else
                str = frm.lrcv.Text;
            len = str.Length;

            if (nowtab == 1)
                work1();
            else
                work2();

            if (!Gib.ftextinter)
                frm.lrcv.Text = str;

            this.Close();
        }
예제 #3
0
 private void FrmFind_Load(object sender, EventArgs e)
 {
     frm = (FrmMain) this.Owner;
     tbox = frm.lrcv;
 }
예제 #4
0
 private void FrmTextWork_Load(object sender, EventArgs e)
 {
     this.Left = Gib.mx;
     this.Top = Gib.my;
     Point fpoint = this.PointToClient(Control.MousePosition);
     fx = fpoint.X;
     fy = fpoint.Y;
     this.Opacity = CalcOpacity(fx, fy);
     Gib.TextFormatFormOpened = true;
     frm = (FrmMain) this.Owner;
     TextSize.Text = frm.lrcv.SelectionFont.Size.ToString();
     beginfont = frm.lrcv.SelectionFont;
     Bold.Checked = frm.lrcv.SelectionFont.Bold;
     Italic.Checked = frm.lrcv.SelectionFont.Italic;
     Underline.Checked = frm.lrcv.SelectionFont.Underline;
 }