Ejemplo n.º 1
0
        private void MainFrm_Load(object sender, EventArgs e)
        {
            #region 显示窗体
            navFm = new NavFrm(this);
            selectFm = new SelectFrm(this);
            waiteditFm = new WaitEdit(this);
            waitsendFm = new WaitSendFrm(this);
            ruleFm = new RuleFrm(this);
            hassendfm = new HasSendFrm(this);

            navFm.Show(dockPanel, DockState.DockLeft);
            ruleFm.Show(navFm.Pane, DockAlignment.Bottom, 0.5);
            selectFm.Show(dockPanel);
            
            waiteditFm.Show(dockPanel, DockState.DockRight);
            waitsendFm.Show(waiteditFm.Pane, DockAlignment.Bottom, 0.5);
            hassendfm.Show(waitsendFm.Pane, DockAlignment.Bottom, 0.5);

            editFm = new EditFrm(this);
            editFm.Show(dockPanel);
            selectFm.Activate();
            #endregion


            Thread ts = new Thread(new ThreadStart(delegate
            {
                GetConfig();
            }));
            ts.Start();

            //Thread t = new Thread(new ThreadStart(delegate
            //{
            Reg();
            //}));
            //t.Start();

        }
Ejemplo n.º 2
0
 private void 编辑ToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     //判断打开窗口
     if (editFm == null || editFm.IsDisposed)
     {
         editFm = new EditFrm(this);
         editFm.Show(dockPanel);
     }
     editFm.Activate();
 }
Ejemplo n.º 3
0
 //到编辑窗体编辑“待处理” 项
 public void RssToEditFm(int ID)//RssItem its)
 {
     //判断打开窗口
     if (editFm == null || editFm.IsDisposed)
     {
         editFm = new EditFrm(this);
         editFm.Show(dockPanel);
        // editFm.EditRssItem(ID);
     }
     editFm.Activate();
     editFm.EditRssItem(ID);
 }
Ejemplo n.º 4
0
 //待报送重新编辑
 internal void EditWaitSendUp(upsend upsend)
 {
     if (editFm == null || editFm.IsDisposed)
     {
         editFm = new EditFrm(this);
         editFm.Show(dockPanel);
     }
     editFm.Activate();
     editFm.ReloadUpsendItem(upsend);
 }
Ejemplo n.º 5
0
 //到编辑窗体编辑“待处理” 项
 public void RssToEditFm(string title)
 {
     //判断打开窗口
     if (editFm == null || editFm.IsDisposed)
     {
         editFm = new EditFrm(this);
         editFm.Show(dockPanel);
     }
     editFm.Activate();
     editFm.EditRssItem(title);
 }