示例#1
0
文件: Form1.cs 项目: ma2d33/printapp
        private void Form1_Load(object sender, EventArgs e)
        {
            conn = new SQLiteConnection("Data Source = C:\\myCsv\\dbfiles\\payed.db; Version = 3; Password = 123456;");
            conn.Open();

            getDB_Date(1);

            populatePrintViedDG();
            printViewGrid.Columns[6].Visible = false;
            printViewGrid.Columns[0].Visible = false;
            if (printViewGrid.RowCount != 0)
            {
                printViewGrid.FirstDisplayedScrollingRowIndex = printViewGrid.RowCount - 1;
            }
            AdminChangeForm form = new AdminChangeForm();

            form.ShowDialog();
            displayTime(1);
            populatePayedDG();
        }
示例#2
0
文件: Form1.cs 项目: ma2d33/printapp
        private void endShiftButton_Click(object sender, EventArgs e)
        {
            AdminChangeForm form = new AdminChangeForm();

            form.ShowDialog();
        }