예제 #1
0
        private void AccountRegester_Load(object sender, EventArgs e)
        {
            //nameBox.Items.AddRange(Sqlite.LoadClients());

            subComboBox.Items.Clear();
            subComboBox.Text = "";

            subComboBox.Items.AddRange(Sqlite.LoadClients());
        }
예제 #2
0
        private void Pay_Load(object sender, EventArgs e)
        {
            tempFileNo = fileno.Text;
            tempPayer  = payer.Text;

            payer.Items.AddRange(Sqlite.LoadClients());
            fileno.Items.AddRange(Sqlite.LoadFiles(payer.Text));

            //SQLiteConnection scn = new SQLiteConnection(@"data source = main.db");
            //scn.Open();

            //SQLiteCommand sq = new SQLiteCommand("select received, remarks from pay where fileno = '" + fileno.Text + "' and receivecheck = '1'", scn);
            //SQLiteDataReader dr = sq.ExecuteReader();

            //while (dr.Read())
            //{
            //    receive.Text = dr["received"].ToString();
            //    remarks.Text = dr["remarks"].ToString();
            //}

            //scn.Close();
        }
 private void ReceivingServices_Load(object sender, EventArgs e)
 {
     fileno.Items.AddRange(Sqlite.LoadFiles());
     payer.Items.AddRange(Sqlite.LoadClients());
 }
예제 #4
0
 private void DebitNote_Load(object sender, EventArgs e)
 {
     nameBox.Items.AddRange(Sqlite.LoadClients());
 }
예제 #5
0
 private void ReceivedFiles_Load(object sender, EventArgs e)
 {
     nameBox.Items.AddRange(Sqlite.LoadClients());
 }
예제 #6
0
 private void button4_Click(object sender, EventArgs e)
 {
     namebox.Items.Clear();
     namebox.Items.AddRange(Sqlite.LoadClients());
 }
예제 #7
0
 private void NewFile_Load(object sender, EventArgs e)
 {
     refreshlist();
     namebox.Items.AddRange(Sqlite.LoadClients());
 }
예제 #8
0
 private void OfficePay_Load(object sender, EventArgs e)
 {
     payer.Items.AddRange(Sqlite.LoadClients());
     fileno.Items.AddRange(Sqlite.LoadFiles());
 }