Exemplo n.º 1
0
 public FormOverview()
 {
     InitializeComponent();
     LoadTheme();
     SetPermissions();
     this.Text = Text + AuthInfo.FormInfo();
 }
Exemplo n.º 2
0
 public FormSubjectGrade()
 {
     InitializeComponent();
     LoadTheme();
     SetPermissions();
     this.Text = Text + AuthInfo.FormInfo();
     IniKlassenstufen();
 }
Exemplo n.º 3
0
 public FormClassGrade()
 {
     InitializeComponent();
     LoadTheme();
     SetPermissions();
     this.Text = "Zuordnung der Klassen zu einer Klassenstufe" + AuthInfo.FormInfo();
     IniKlassenstufen();
 }
Exemplo n.º 4
0
        public FormUser()
        {
            InitializeComponent();
            LoadTheme();

            this.Text = Text + AuthInfo.FormInfo();
            userHelper.FillGrid(ref gridUser);
            radioAdd.Select();
        }
Exemplo n.º 5
0
 public FormBorrow()
 {
     HandleCreated += Form1_HandleCreated;
     InitializeComponent();
     LoadTheme();
     SetPermissions();
     this.Text = Text + AuthInfo.FormInfo();
     timer_start.Start();
 }
Exemplo n.º 6
0
 public FormReturn(string[] list)
 {
     InitializeComponent();
     LoadTheme();
     SetPermissions();
     rueckgabe.FillRueckListe(list);
     rueckgabe.SetSlider(ref rueckList_Slider, ref tb_listVon, ref tb_listBis);
     this.Text = Text + AuthInfo.FormInfo();
 }
Exemplo n.º 7
0
 public Form_Copy(string isbn)
 {
     InitializeComponent();
     LoadTheme();
     SetPermissions();
     this.Text    = Text + AuthInfo.FormInfo();
     tb_ISBN.Text = isbn;
     conditionHelper.FillCombobox(ref acb_Zustand, 0);
     tb_ExempCount.Text = gv_Exemplare.RowCount.ToString();
 }
Exemplo n.º 8
0
 public FormBorrow(string[] list)
 {
     HandleCreated += Form1_HandleCreated;
     InitializeComponent();
     LoadTheme();
     SetPermissions();
     this.Text = Text + AuthInfo.FormInfo();
     timer_start.Start();
     borrowHelper.FillAusleihListe(list);
     borrowHelper.SetSlider(ref leihList_Slider, ref tb_listVon, ref tb_listBis);
 }
Exemplo n.º 9
0
        public FormAutoBorrow()
        {
            InitializeComponent();
            LoadTheme();
            SetPermissions();
            this.Text = Text + AuthInfo.FormInfo();

            a_cb_Modus.SelectedIndex = 0;
            bt_bestaetigen.Text      = "Schüler laden";
            inAusleihAction          = false;
        }
Exemplo n.º 10
0
 public FormBookSubject()
 {
     InitializeComponent();
     LoadTheme();
     SetPermissions();
     this.Text = Text + AuthInfo.FormInfo();
     subjectHelper.FillGrid(ref gv_Faecher);
     foreach (DataGridViewColumn column in gv_Faecher.Columns)
     {
         column.SortMode = DataGridViewColumnSortMode.NotSortable;
     }
 }
Exemplo n.º 11
0
        public FormMain()
        {
            InitializeComponent();

            this.Text = "     greenLib" + AuthInfo.FormInfo();

            LoadTheme();
            SetPermissions();
            CreateWorkingDirectory();

            animationTimer.Start();
        }
Exemplo n.º 12
0
 public FormBookCopySearch(int stufe)
 {
     InitializeComponent();
     LoadTheme();
     this.currentstufe = stufe;
     this.Text         = Text + AuthInfo.FormInfo();
     bookHelper.FillComboboxSearch(ref a_cb_Buecher, CurrentStufe, 0);
     if (stufe == -1)
     {
         return;
     }
     a_cb_Buecher.SelectedIndex = 0;
 }
Exemplo n.º 13
0
        public Form_Copy(int copyId)
        {
            InitializeComponent();
            LoadTheme();
            SetPermissions();
            this.Text = Text + AuthInfo.FormInfo();
            Copy copy = new Copy(copyId);

            tb_ISBN.Text = copy.CopyIsbn;
            tb_ID.Text   = copy.CopyId.ToString();
            conditionHelper.FillCombobox(ref acb_Zustand, 0);
            tb_ExempCount.Text = gv_Exemplare.RowCount.ToString();
            LoadForm(copy);
        }
Exemplo n.º 14
0
        public FormAttribute(string modus)
        {
            InitializeComponent();
            LoadTheme();

            this.currentModus = modus;

            if (currentModus == "Fach")
            {
                this.StyleManager.Style = MetroColorStyle.Teal;
                subjectHelper           = new SubjectHelper();
                subjectHelper.FillGrid(ref gv_manage);
                Text = "Fächer" + AuthInfo.FormInfo();
            }
            else if (currentModus == "Sprache")
            {
                this.StyleManager.Style = MetroColorStyle.Blue;

                Text           = "Sprachen" + AuthInfo.FormInfo();
                languageHelper = new LanguageHelper();
                languageHelper.FillGrid(ref gv_manage);
            }
            else if (currentModus == "Autor")
            {
                this.StyleManager.Style = MetroColorStyle.Blue;

                Text         = "Autoren" + AuthInfo.FormInfo();
                authorHelper = new AuthorHelper();
                authorHelper.FillGrid(ref gv_manage);
            }
            else if (currentModus == "Genre")
            {
                this.StyleManager.Style = MetroColorStyle.Blue;

                Text        = "Genres" + AuthInfo.FormInfo();
                genreHelper = new GenreHelper();
                genreHelper.FillGrid(ref gv_manage);
            }
            else if (currentModus == "Zustand")
            {
                this.StyleManager.Style = MetroColorStyle.Blue;

                Text            = "Buchzustände" + AuthInfo.FormInfo();
                conditionHelper = new ConditionHelper();
                conditionHelper.FillGrid(ref gv_manage);
            }
            else if (currentModus == "Verlag")
            {
                this.StyleManager.Style = MetroColorStyle.Blue;
                Text            = "Verlage" + AuthInfo.FormInfo();
                publisherHelper = new PublisherHelper();
                publisherHelper.FillGrid(ref gv_manage);
            }
            else if (currentModus == "Klasse")
            {
                this.StyleManager.Style = MetroColorStyle.Teal;
                Text = "Klasse" + AuthInfo.FormInfo();
                schoolClassHelper = new SchoolClassHelper();
                schoolClassHelper.FillGrid(ref gv_manage);
            }
            originalHeightLabel             = tLP_Faecher.RowStyles[0].Height;
            originalHeightText              = tLP_Faecher.RowStyles[1].Height;
            tLP_Faecher.RowStyles[0].Height = 0;
            tLP_Faecher.RowStyles[1].Height = 0;
        }