Пример #1
0
    // Use this for initialization
    void Start()
    {
        create();

        _backButton.onClick.AddListener(onClick);

        CalendarPanel.Show();
        ProfilePanel.Show();
        CmdPanel.Show();
    }
Пример #2
0
 private void Settings_Click(object sender, EventArgs e)
 {
     InfoPanel.Hide();
     UpdateProfile();
     ProfilePanel.Location = loc;
     ProfilePanel.Show();
     QuestionPanel.Hide();
     NewDeliveryPanel.Hide();
     MyDeliveryPanel.Hide();
     NamePanel.Text        = "Профиль";
     Question.ForeColor    = Color.FromArgb(227, 213, 212);
     NewDelivery.ForeColor = Color.FromArgb(227, 213, 212);
     Orders.ForeColor      = Color.FromArgb(227, 213, 212);
     Help.ForeColor        = Color.FromArgb(227, 213, 212);
     NavPanel.Height       = Settings.Height;
     NavPanel.Top          = Settings.Top;
     NavPanel.Left         = Settings.Left;
     Settings.ForeColor    = Color.FromArgb(217, 35, 73);
     Settings.Image        = Properties.Resources.Settings_on;
     NewDelivery.Image     = Properties.Resources.NewDelivery;
 }
Пример #3
0
 private void ProfilePic_Click(object sender, EventArgs e)
 {
     MyDeliveryPanel.Hide();
     UpdateProfile();
     NewDeliveryPanel.Hide();
     NamePanel.Text        = "Профиль";
     ProfilePanel.Location = loc;
     ProfilePanel.Show();
     Settings.ForeColor    = Color.FromArgb(227, 213, 212);
     Question.ForeColor    = Color.FromArgb(227, 213, 212);
     Orders.ForeColor      = Color.FromArgb(227, 213, 212);
     Help.ForeColor        = Color.FromArgb(227, 213, 212);
     NewDelivery.ForeColor = Color.FromArgb(227, 213, 212);
     NavPanel.Height       = 0;
     NavPanel.Top          = 0;
     NavPanel.Left         = 0;
     Orders.Image          = Properties.Resources.MyDelivery;
     Settings.Image        = Properties.Resources.Settings;
     Question.Image        = Properties.Resources.Question;
     Help.Image            = Properties.Resources.Help;
     NewDelivery.Image     = Properties.Resources.NewDelivery;
     ProfilePic.Image      = Properties.Resources.Profile_on;
 }