Exemplo n.º 1
0
 private void panel3_MouseClick(object sender, MouseEventArgs e)
 {
     Properties.Settings.Default.TextDocumentsThreadCount = 0;
     newtxt.Opacity = 0;
     newtxt.Show();
     Hide();
     Log.WriteEntry("Created a new Plain Text Document", "TEXT EDITOR");
 }
Exemplo n.º 2
0
        private void button21_Click(object sender, EventArgs e)
        {
            txtDocument myform = new txtDocument();

            myform.Show();
            new_pane_show = false;
            new_animation.Start();
            menuopen = false;
        }
Exemplo n.º 3
0
        public void text_document_recovery_load()
        {
            if (System.IO.File.Exists(Application.StartupPath.Replace("Ninponix Office.exe", "") + "\\" + "Recovery\\TextDocument.txt") == true)
            {
                txtDocument myform = new txtDocument();

                using (System.IO.StreamReader sr = new System.IO.StreamReader(Application.StartupPath.Replace("Ninponix Office.exe", "") + "\\" + "Recovery\\TextDocument.txt"))
                {
                    string temptext;
                    temptext             = sr.ReadToEnd();
                    myform.textBox1.Text = temptext;
                    myform.doctitle      = "New Text Document";
                    myform.docloc        = "";
                    myform.tempString    = "";
                }

                Properties.Settings.Default.TextDocumentsThreadCount = 0;
                myform.Opacity = 0;
                myform.Show();
                Hide();
            }
        }