Ejemplo n.º 1
0
        //Functions to be performed at application load
        private void Form1_Load(object sender, EventArgs e)
        {
            try
            {
                if (!File.Exists("PATH.txt") || File.ReadLines("PATH.txt").ToString() != null)
                {
                    //CreateFile f2 = new CreateFile();
                    //f2.ShowDialog();
                }
                else
                {
                }
            }
            catch (FileNotFoundException)
            {
                CreateFile f2 = new CreateFile();
                f2.ShowDialog();
            }


            //Displays the application build version
            VersionBox.Text = "Version: " + Application.ProductVersion.ToString();

            //Setup for email placeholder
            EmailInsBox.Text      = "*****@*****.**";
            EmailInsBox.ForeColor = Color.Gray;
        }
Ejemplo n.º 2
0
        private void createToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CreateFile f3 = new CreateFile();

            f3.ShowDialog();
        }