Exemple #1
0
        private void LaporanStatusPerBarang_Load(object sender, EventArgs e)
        {
            var bulanSekarang = CultureInfo.CurrentCulture.DateTimeFormat
                                .MonthNames[DateTime.Now.AddMonths(-1).Month];

            comboBoxBulan.SelectedItem      = bulanSekarang;
            comboBoxBulanAkhir.SelectedItem = bulanSekarang;

            OnLoadView?.Invoke(sender, e);
            ActiveControl = buttonTutup;
        }
Exemple #2
0
        private void DetailView_Load(object sender, EventArgs e)
        {
            OnLoadView?.Invoke(sender, e);

            if (_lastColumnFill != null)
            {
                listDataGrid.SetLastColumnFill(_lastColumnFill);
            }

            ActiveControl = buttonTutup;
        }
Exemple #3
0
        private void GrafikPenjualanView_Load(object sender, EventArgs e)
        {
            var bulanSekarang = CultureInfo.CurrentCulture.DateTimeFormat
                                .MonthNames[DateTime.Now.AddMonths(-1).Month];

            comboBoxBulan.SelectedItem = bulanSekarang;

            var tahun = DateTime.Now.Year;

            numericUpDownTahun.Value = tahun;

            OnLoadView?.Invoke(sender, e);
            ActiveControl = buttonTutup;
        }
 private void ReturnPenjualanView_Load(object sender, EventArgs e)
 {
     labelTanggalReturn.Text = DateTime.Now.ToShortDateString();
     OnLoadView?.Invoke(sender, e);
     ActiveControl = buttonTutup;
 }
Exemple #5
0
 private void LoginView_Load(object sender, EventArgs e)
 {
     OnLoadView?.Invoke(sender, e);
     ActiveControl = textBoxLoginID;
 }