Beispiel #1
0
        public Fexploration(Fcontainer parent)
        {
            InitializeComponent();
            //CASUAL
            MdiParent = parent;
            this.Dock = DockStyle.Fill;
            Visible = true;
            FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;

            //SPECIFIC
            L_coordonee.Text = P_plan.Location.ToString();

            //V_Exploration.Scrollable = true;
            //V_Exploration.View = View.Details;
            //ColumnHeader header = new ColumnHeader();
            //header.Text = "";
            //header.Name = "col1";
            //V_column.
            //V_Exploration.Columns.ContainsKey();

            for (int i = 0; i < 50; i++)
            {
                //Test t = new Test(i);
                V_Exploration.Items.Add(Convert.ToString(i));
            }
        }
Beispiel #2
0
        public Fcalender(Fcontainer parent, Factivity activity)
        {
            InitializeComponent();
            //CASUAL
            MdiParent       = parent;
            this.Dock       = DockStyle.Fill;
            Visible         = true;
            FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;

            //SPECIFIC
            for (int i = 0; i < 50; i++)
            {
                Test t = new Test(i);
                V_Activities.Items.Add(Convert.ToString(i));//, t.numTest);
            }
            f_activity = activity;
            //parent.Fcalendar_Set();


            /*if(Parent.SizeChanged == true)
             * {
             *  this.Size = new Size(Parent.Width-4, Parent.Height-4);
             * }*/
            //Size = new System.Drawing.Size(Parent.Width - 4, Parent.Height - 4);
            //Size = new Size();
            //this.Size.Width = this.MdiParent.Size.Width;
            // (MdiParent.Size);
            // = this.MdiParent.GetContainerControl();
        }
Beispiel #3
0
        public Fexploration(Fcontainer parent)
        {
            InitializeComponent();
            //CASUAL
            MdiParent       = parent;
            this.Dock       = DockStyle.Fill;
            Visible         = true;
            FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;

            //SPECIFIC
            L_coordonee.Text = P_plan.Location.ToString();

            //V_Exploration.Scrollable = true;
            //V_Exploration.View = View.Details;
            //ColumnHeader header = new ColumnHeader();
            //header.Text = "";
            //header.Name = "col1";
            //V_column.
            //V_Exploration.Columns.ContainsKey();

            for (int i = 0; i < 50; i++)
            {
                //Test t = new Test(i);
                V_Exploration.Items.Add(Convert.ToString(i));
            }
        }
Beispiel #4
0
        public Fcalender(Fcontainer parent, Factivity activity)
        {
            InitializeComponent();
            //CASUAL
            MdiParent = parent;
            this.Dock = DockStyle.Fill;
            Visible = true;
            FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;

            //SPECIFIC
            for (int i = 0; i < 50; i++)
            {
                Test t = new Test(i);
                V_Activities.Items.Add(Convert.ToString(i));//, t.numTest);
            }
            f_activity = activity;
            //parent.Fcalendar_Set();

            /*if(Parent.SizeChanged == true)
            {
                this.Size = new Size(Parent.Width-4, Parent.Height-4);
            }*/
            //Size = new System.Drawing.Size(Parent.Width - 4, Parent.Height - 4);
            //Size = new Size();
            //this.Size.Width = this.MdiParent.Size.Width;
                // (MdiParent.Size);
                // = this.MdiParent.GetContainerControl();
        }
Beispiel #5
0
        public Fsettings(Fcontainer parent)
        {
            InitializeComponent();
            //CASUAL
            MdiParent       = parent;
            this.Dock       = DockStyle.Fill;
            Visible         = true;
            FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;

            //SPECIFIC
            //Timer display IRT
            date_Earth        = DateTime.UtcNow;
            L_dayOnEarth.Text = date_Earth.ToString();

            //refreshing date displays every seconds.
            timerTime.InitializeLifetimeService();
            timerTime.Tick += (sender, eventArgs) =>
            {
                date_Earth.AddMinutes(1);
                L_dayOnEarth.Text = date_Earth.ToString();
                if (date_mars != null && date_EarthStarting != null && date_Earth.CompareTo(date_EarthStarting) > 0)
                {
                    date_mars.AddMinutes(1);
                    L_dayOnMars.Text = date_mars.ToString();
                }
            };
            timerTime.Interval = (1000) * (60);

            //Fixed when settings on the screen.
            N_hourOnEarth.Value   = date_EarthStarting.Hour;
            N_minuteOnEarth.Value = date_EarthStarting.Minute;

            //Loading date_mars and date_Earth from XML
            show_timeOnMars();
        }
Beispiel #6
0
        private void Fcalender_Activated(object sender, EventArgs e)
        {
            Fcontainer parent = this.MdiParent as Fcontainer;

            if (parent != null)
            {
                parent.f_calendar_Activate();
            }
        }
Beispiel #7
0
        //
        //(DE)ACTIVATE SETTINGS
        //
        private void Fsettings_Activated(object sender, EventArgs e)
        {
            Fcontainer parent = this.MdiParent as Fcontainer;

            if (parent != null)
            {
                parent.f_settings_Activate();
            }
        }
Beispiel #8
0
        public Factivity(Fcontainer parent)
        {
            InitializeComponent();
            //CASUAL
            MdiParent = parent;
            this.Dock = DockStyle.Fill;
            Visible = true;
            FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;

            //SPECIFIC
        }
Beispiel #9
0
        public Factivity(Fcontainer parent)
        {
            InitializeComponent();
            //CASUAL
            MdiParent       = parent;
            this.Dock       = DockStyle.Fill;
            Visible         = true;
            FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;

            //SPECIFIC
        }
Beispiel #10
0
        //private Activity selectedActivity;
        //private String selectedWords;
        //private int selectedDateFrom;
        //private int selectedDateTo;
        public Fresearch(Fcontainer parent)
        {
            InitializeComponent();
            //CASUAL
            MdiParent = parent;
            this.Dock = DockStyle.Fill;
            Visible = true;
            FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;

            //SPECIFIC
            L_error.Text = "";
            //N_dateFrom.Maximum = mission.Duration;
            //N_dateTo.Maximum = mission.Duration;
        }
Beispiel #11
0
        //private Activity selectedActivity;
        //private String selectedWords;
        //private int selectedDateFrom;
        //private int selectedDateTo;

        public Fresearch(Fcontainer parent)
        {
            InitializeComponent();
            //CASUAL
            MdiParent       = parent;
            this.Dock       = DockStyle.Fill;
            Visible         = true;
            FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;

            //SPECIFIC
            L_error.Text = "";
            //N_dateFrom.Maximum = mission.Duration;
            //N_dateTo.Maximum = mission.Duration;
        }