public static void ShowTimeline()
        {
            if (Properties.Settings.Default.FloatTimeline)
            {
                if (singleton == null)
                {
                    var kf = new KeyFramer();

                    kf.Owner = Earth3d.MainWindow;
                    Earth3d.MainWindow.AddOwnedForm(kf);
                    kf.Location = new Point(Earth3d.MainWindow.Location.X, Earth3d.MainWindow.Location.Y + Earth3d.MainWindow.Height - kf.Height);
                    kf.Width = Earth3d.MainWindow.Width;
                    kf.Show();
                }
            }
            else
            {
                ContextPanel.ShowTimeline = true;
            }
        }
Example #2
0
        public static void ShowTimeline()
        {
            if (Properties.Settings.Default.FloatTimeline)
            {
                if (singleton == null)
                {
                    KeyFramer kf = new KeyFramer();

                    kf.Owner = Earth3d.MainWindow;
                    Earth3d.MainWindow.AddOwnedForm(kf);
                    kf.Location = new Point(Earth3d.MainWindow.Location.X, Earth3d.MainWindow.Location.Y + Earth3d.MainWindow.Height - kf.Height);
                    kf.Width    = Earth3d.MainWindow.Width;
                    kf.Show();
                }
            }
            else
            {
                ContextPanel.ShowTimeline = true;
            }
        }
 private void KeyFramer_FormClosing(object sender, FormClosingEventArgs e)
 {
     TimeLine.RemoveInstance(TimeLine);
     singleton = null;
 }
 public KeyFramer()
 {
     InitializeComponent();
     singleton = this;
     SetUiStrings();
 }
 private void PushPin_Click(object sender, EventArgs e)
 {
     Properties.Settings.Default.FloatTimeline = true;
     ShowTimeline = false;
     KeyFramer.ShowTimeline();
 }
Example #6
0
 private void KeyFramer_FormClosing(object sender, FormClosingEventArgs e)
 {
     TimeLine.RemoveInstance(this.TimeLine);
     singleton = null;
 }
Example #7
0
 public KeyFramer()
 {
     InitializeComponent();
     singleton = this;
     SetUiStrings();
 }