public MainWindow()
 {
     InitializeComponent();
     SQLMan = new SQLiteManager();
     SQLMan.Init();
     menu = new MenuBar(SQLMan, this);
     menu.generateGroups(OpenMenu);
     menu.generateGroups(delMenu);
 }
Example #2
0
 public GroupListScreen(SQLiteManager SQLman, String currentGroup)
 {
     InitializeComponent();
     SQLMan = SQLman;
     SQLMan.OpenTable(currentGroup);
     initGrid();
     GenerateList();
     menu = new MenuBar(SQLMan, this);
     menu.generateGroups(CopyJobs);
     menu.generateGroups(MoveJobs);
     this.Title   = currentGroup;
     currGrp      = currentGroup;
     IsOpen       = true;
     this.Closed += new EventHandler(GLSwin_Close);
 }
Example #3
0
        public PositionForm(String company, String position, String date, String reqid, String other, SQLiteManager SQLman)
        {
            InitializeComponent();
            SQLMan = SQLman;

            /* FORMAT:
             * original text = Current textbox text = given text;
             *
             * The Textbox is populated by text given from parameters, which is then also fed to the first assignment
             * so that the item can be deleted and replaced if necessary.
             */
            comp = Company.Text = company;
            pos  = Position.Text = position;
            dat  = Date_of_App.Text = date;
            req  = Requisition_ID.Text = reqid;
            oth  = Addition_Info.Text = other;
        }
Example #4
0
 public GroupItemManagement(SQLiteManager SQLman, GroupListScreen window)
 {
     SQLMan = SQLman;
 }
 public MenuBar(SQLiteManager SQLman, GroupListScreen GLSMain)
 {
     SQLMan  = SQLman;
     glsmain = GLSMain;
 }
 public MenuBar(SQLiteManager SQLman, MainWindow main)
 {
     SQLMan = SQLman;
     mainW  = main;
 }
 public InputForm(SQLiteManager SQLman)
 {
     this.SQLMan = SQLman;
     InitializeComponent();
 }