コード例 #1
0
        private void doanhthutungngaytheothang_Click(object sender, EventArgs e)
        {
            if (ActiveMdiChild != null)
            {
                ActiveMdiChild.Close();
            }
            TKDoanhThu tkdoanhthu = new TKDoanhThu("doanhthutungngaytrongthang");

            tkdoanhthu.MdiParent = this;
            tkdoanhthu.Show();
            tkdoanhthu.Location = new Point(1, 1);
        }
コード例 #2
0
        private void doanhThuTừngTuầnTheoNămToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (ActiveMdiChild != null)
            {
                ActiveMdiChild.Close();
            }
            TKDoanhThu tkdoanhthu = new TKDoanhThu("doanhthutungthangtrongnam");

            tkdoanhthu.MdiParent = this;
            tkdoanhthu.Show();
            tkdoanhthu.Location = new Point(1, 1);
        }