Ejemplo n.º 1
0
        public TagView(Entry e, MainWindow _root)
        {
            InitializeComponent();
            this.root = _root;
            this.entry = e;     

            Keys = entry.Meta.getKeys();
            tagListBox.ItemsSource = this.entry.Meta.getKeys();
        }
Ejemplo n.º 2
0
 public SettingView(MainWindow _mw)
 {            
     InitializeComponent();
     mw = _mw;
     if (!mw.initSuccess)
     {
         mw.WindowState = WindowState.Minimized;
     }            
     flag = false;
 }
Ejemplo n.º 3
0
        public void attach()
        {
            if (!CloudUSB.MainWindow.IsWindowOpened)
            {
                CloudUSB.MainWindow.IsWindowOpened = true;
                main = new MainWindow();

                main.Show();
            }
        }
        public CollisionView(MainWindow _mw)
        {
            mw = _mw;
            InitializeComponent();
            serverTable = new Hashtable();
            localTable = new Hashtable();
            serverTableIdx = new Hashtable();
            localTableIdx = new Hashtable();

            ServerFileListBox_List();
            LocalFileListBox_List();
        }
Ejemplo n.º 5
0
        public LoginView(MainWindow _root)
        {
            root = _root;
            InitializeComponent();

            //if (isLoginSuccess == true)
            //{
            //    ImageBrush img = new ImageBrush(new BitmapImage(new Uri("pack://application:,,,/img/logout.png", UriKind.Absolute)));
            //    root.LoginBtn.Background = img;
            //}
            //else
            //{
            //    ImageBrush img = new ImageBrush(new BitmapImage(new Uri("pack://application:,,,/img/login.png", UriKind.Absolute)));
            //    root.LoginBtn.Background = img;
            //}

        }
Ejemplo n.º 6
0
 private void TrayIcon_Click(object sender, EventArgs e)
 {
     MouseEventArgs me = (MouseEventArgs)e;
     if (me.Button == MouseButtons.Left)
     {
         //if (MainWindow.IsWindowOpend)
         if (!CloudUSB.MainWindow.IsWindowOpened)
         {
             main = new MainWindow();
             CloudUSB.MainWindow.IsWindowOpened = true;
             main.Show();
         }
         else
         {
             //System.Windows.MessageBox.Show("already opened");
         }
     }
     else
     {
         
     }
 }
Ejemplo n.º 7
0
 public JoinView(MainWindow _root)
 {
     root = _root;
     InitializeComponent();
 }
Ejemplo n.º 8
0
 public HistoryView(MainWindow _mw)
 {
     InitializeComponent();
     mw = _mw;
 }