Beispiel #1
0
        private void Mainfrm_Load(object sender, EventArgs e)
        {
            LoadSetRegistryClass lsr = new LoadSetRegistryClass();

            LoadSetRegistryClass.RegGetSysTVel(this);
            lsr.chkRegRun();
            LoadSetRegistryClass.RegGetReminderVel(this);
            SQLToXMLDataOutputClass.xmlRefeshlst(this);
            this.greenFingersTableAdapter.Fill(this.greenFingersDBDataSet.GreenFingers);
            nfyIGf.Visible = true;
            ico            = nfyIGf.Icon;
        }
Beispiel #2
0
        private void chkfiles()
        {
            if (System.IO.File.Exists(@"GreenFingersDB.mdf"))
            {
            }
            else
            {
                MessageBox.Show("GreenFingersDB.mdf Database file is missing! Creating a new one, restart Green Fingers after it has closed.", "Green Fingers Error!", MessageBoxButtons.OK, MessageBoxIcon.Error); CreateNewDatabaseClass.ExtDB(this); this.Close();
            }

            if (System.IO.File.Exists(@"Resources\SavedReminders.xml"))
            {
            }
            else
            {
                MessageBox.Show("Resources/SavedReminders.xml is missing! Creating a new one, restart Green Fingers after it has closed.", "Green Fingers Error!", MessageBoxButtons.OK, MessageBoxIcon.Error); SQLToXMLDataOutputClass.makeNewXmlFile(this); this.Close();
            }
        }
Beispiel #3
0
 private void delReminder_Click(object sender, EventArgs e)
 {
     SQLToXMLDataOutputClass.DelXML(this);
 }
Beispiel #4
0
 private void btnClrXml_Click(object sender, EventArgs e)
 {
     SQLToXMLDataOutputClass.makeNewXmlFile(this);
 }
Beispiel #5
0
 private void BtnSendToSQL_Click(object sender, EventArgs e)
 {
     SQLToXMLDataOutputClass.SQLOutputToXML(this);
 }