コード例 #1
0
ファイル: AddProjectForm.cs プロジェクト: kong8313/MyPrograms
        public AddProjectForm(DatabaseTools databaseTools, SettingClass settingClass)
        {
            InitializeComponent();

            m_DatabaseTools = databaseTools;
            m_SettingClass = settingClass;
        }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: kong8313/MyPrograms
        public MainForm()
        {
            InitializeComponent();

            m_SettingClass       = new SettingClass();
            m_DatabaseTools      = new DatabaseTools();
            m_LockChangeSettings = true;
        }
コード例 #3
0
        public DeleteProjectForm(DatabaseTools databaseTools, Exchange.ProjectInfo projectInfo, SettingClass settingClass)
        {
            InitializeComponent();

            m_DatabaseTools = databaseTools;
            m_ProjectInfo   = projectInfo;
            m_SettingClass  = settingClass;

            textBoxName.Text = m_ProjectInfo.Name;
        }
コード例 #4
0
ファイル: TimesForm.cs プロジェクト: kong8313/MyPrograms
        public TimesForm(DatabaseTools databaseTools, SettingClass settingClass, Exchange.ProjectInfo projectInfo)
        {
            m_LockChangeSettings = true;
            InitializeComponent();

            m_DatabaseTools = databaseTools;
            m_ProjectInfo   = projectInfo;
            m_SettingClass  = settingClass;

            labelCaption.Text = "Выбранный проект:\r\n" + projectInfo.Name;
        }
コード例 #5
0
        public DeleteTimesForm(Exchange.TimesInfo timesInfo, DatabaseTools dayabaseTools, SettingClass settingClass)
        {
            InitializeComponent();

            m_TimesInfo     = timesInfo;
            m_DatabaseTools = dayabaseTools;
            m_SettingClass  = settingClass;

            textBoxDateStart.Text = timesInfo.DateStart.ToString();
            textBoxDateStop.Text  = timesInfo.DateStop.ToString();
        }
コード例 #6
0
        public EditTimesForm(int currentNumber, DatabaseTools dayabaseTools, SettingClass settingClass, Exchange.TimesInfo[] timesInfos)
        {
            InitializeComponent();

            m_SettingClass  = settingClass;
            m_CurrentNumber = currentNumber;
            m_DatabaseTools = dayabaseTools;
            m_TimesInfos    = timesInfos;

            textBoxDateStart.Text = m_TimesInfos[m_CurrentNumber].DateStart.ToString();
            textBoxDateStop.Text  = m_TimesInfos[m_CurrentNumber].DateStop.ToString();
        }
コード例 #7
0
        public EditProjectForm(DatabaseTools databaseTools, SettingClass settingClass, Exchange.ProjectInfo projectInfo)
        {
            InitializeComponent();

            m_SettingClass  = settingClass;
            m_DatabaseTools = databaseTools;
            m_ProjectInfo   = projectInfo;

            textBoxName.Text = m_ProjectInfo.Name;
            textBoxPay.Text  = m_ProjectInfo.Pay.ToString();
            textBoxInfo.Text = m_ProjectInfo.Info;
        }