コード例 #1
0
        public WorkMaintainControl(MainController mainController)
        {
            InitializeComponent();
            _mainController = mainController;
            _workManager    = mainController.WorkManager;

            int Num, Fin;

            Num = _workManager.GetNoncont();

            Fin = _workManager.GetFincont();

            Nontbx1.Text = Convert.ToString(Num);

            Fintbx1.Text = Convert.ToString(Fin);
        }
コード例 #2
0
        private void btnSearch_KeyDown(object sender, KeyEventArgs e)
        {
            Nontbx1.Text = "";
            Fintbx1.Text = "";
            tbxnom.Text  = "";

            int Num, Fin, Non;

            Non =

                Num = _workManager.GetNoncont();

            Fin = _workManager.GetFincont();

            Nontbx1.Text = Convert.ToString(Num);

            Fintbx1.Text = Convert.ToString(Fin);
        }