Example #1
0
        public AddProjectForm(DatabaseTools databaseTools, SettingClass settingClass)
        {
            InitializeComponent();

            m_DatabaseTools = databaseTools;
            m_SettingClass = settingClass;
        }
Example #2
0
        public MainForm()
        {
            InitializeComponent();

            m_SettingClass       = new SettingClass();
            m_DatabaseTools      = new DatabaseTools();
            m_LockChangeSettings = true;
        }
Example #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;
        }
Example #4
0
        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;
        }
Example #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();
        }
Example #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();
        }
Example #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;
        }
Example #8
0
        public SettingForm(SettingClass settingClass)
        {
            InitializeComponent();

            m_SettingClass = settingClass;
        }