Example #1
0
 private void DataGrid_本期凭证_Row_MouseDoubleClick(object sender, RoutedEventArgs e)
 {
     if (this.DataGrid_本期凭证.SelectedCells.Count != 0)
     {
         Model_凭证管理 asd  = this.DataGrid_本期凭证.SelectedCells[0].Item as Model_凭证管理;
         Guid       guid = asd.ID;
         PA.View.Windows.Win_记账凭证 win = new PA.View.Windows.Win_记账凭证(guid);
         win.ShowDialog();
     }
 }
 private void Button_Add_Click(object sender, RoutedEventArgs e)
 {
     if (vsy.ValidateRuning() == false)
     {
         MessageBoxCommon.Show("试用期已过,不能使用此功能!");
         return;
     }
     if (CommonInfo.是否初始化年初数)
     {
         PA.View.Windows.Win_记账凭证 win = new PA.View.Windows.Win_记账凭证();
         win.ShowDialog();
     }
     else
     {
         MessageBoxCommon.Show("当前未初始化科目年初数,请设置!");
     }
 }
Example #3
0
 private void Button_Add_Click(object sender, RoutedEventArgs e)
 {
     if (vsy.ValidateRuning() == false)
     {
         MessageBoxCommon.Show("试用期已过,不能使用此功能!");
         return;
     }
     if (CommonInfo.是否初始化年初数)
     {
         PA.View.Windows.Win_记账凭证 win = new PA.View.Windows.Win_记账凭证();
         win.ShowDialog();
     }
     else
     {
         MessageBoxCommon.Show("当前未初始化科目年初数,请设置!");
     }
 }
 private void DataGrid_本期凭证_Row_MouseDoubleClick(object sender, RoutedEventArgs e)
 {
     if (this.DataGrid_本期凭证.SelectedCells.Count != 0)
     {
         Model_凭证管理 asd = this.DataGrid_本期凭证.SelectedCells[0].Item as Model_凭证管理;
         Guid guid = asd.ID;
         PA.View.Windows.Win_记账凭证 win = new PA.View.Windows.Win_记账凭证(guid);
         win.ShowDialog();
     }
 }